ports/158639: packagekit from ports cannot be build

Roelof Wobben rwobben at hotmail.com
Mon Jul 4 15:00:29 UTC 2011


>Number:         158639
>Category:       ports
>Synopsis:       packagekit from ports cannot be build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 04 15:00:28 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Roelof Wobben
>Release:        Freebsd 8,2
>Organization:
>Environment:
FreeBSD tamara.private 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
When I tried to build packagekit by portupgrade -a it fails with this error report.

/usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0"
 : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:123: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0"
 : "+r" (__X)); __X; }));' at ';'
/usr/include/machine/endian.h:130: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0"
 : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:130: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0"
 : "+r" (__X)); __X; }));' at ';'
/usr/lib/libarchive.so: undefined reference to `lzma_stream_encoder at XZ_5.0'
/usr/lib/libarchive.so: undefined reference to `lzma_alone_decoder at XZ_5.0'
/usr/lib/libarchive.so: undefined reference to `lzma_memusage at XZ_5.0'
/usr/lib/libarchive.so: undefined reference to `lzma_stream_decoder at XZ_5.0'
/usr/lib/libarchive.so: undefined reference to `lzma_code at XZ_5.0'
/usr/lib/libarchive.so: undefined reference to `lzma_end at XZ_5.0'
/usr/lib/libarchive.so: undefined reference to `lzma_lzma_preset at XZ_5.0'
/usr/lib/libarchive.so: undefined reference to `lzma_alone_encoder at XZ_5.0'
Traceback (most recent call last):
  File "/usr/local/bin/g-ir-scanner", line 45, in <module>
    sys.exit(scanner_main(sys.argv))
  File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line 405, in scanner_main
    shlibs = create_binary(transformer, options, args)
  File "/usr/local/lib/gobject-introspection/giscanner/scannermain.py", line 309, in create_binary
    gdump_parser.get_get_type_functions())
  File "/usr/local/lib/gobject-introspection/giscanner/dumper.py", line 238, in compile_introspection_binary
    return dc.run()
  File "/usr/local/lib/gobject-introspection/giscanner/dumper.py", line 140, in run
    self._link(bin_path, o_path)
  File "/usr/local/lib/gobject-introspection/giscanner/dumper.py", line 233, in _link
    subprocess.check_call(args)
  File "/usr/local/lib/python2.6/subprocess.py", line 488, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/bin/sh', '../../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o',
 '/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-glib2/tmp-introspectnjrXqw/PackageKitGlib-1.0', '-export-dynamic',
 '-O2', '-pipe', '-fno-strict-aliasing', '-L.', '-L/usr/local/lib', 'libpackagekit-glib2.la', '-pthread', '-L/usr/local/lib', '-lgio-2.0',
 '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lglib-2.0', '/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-
 glib2/tmp-introspectnjrXqw/PackageKitGlib-1.0.o']' returned non-zero exit status 1
gmake[4]: *** [PackageKitGlib-1.0.gir] Error 1
gmake[4]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-glib2'
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib/packagekit-glib2'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/ports-mgmt/packagekit/work/PackageKit-0.6.11'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/ports-mgmt/packagekit.
*** Error code 1

Stop in /usr/ports/ports-mgmt/packagekit.
>How-To-Repeat:
portupgrade -a 
wait till packagekit will be updated.


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list