From owner-freebsd-gnome@FreeBSD.ORG Mon Feb 28 17:00:10 2011 Return-Path: Delivered-To: gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F8CA106564A for ; Mon, 28 Feb 2011 17:00:10 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id F11508FC18 for ; Mon, 28 Feb 2011 17:00:09 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id p1SH09Gw030818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 28 Feb 2011 09:00:09 -0800 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E0E031CC0B; Mon, 28 Feb 2011 09:00:08 -0800 (PST) To: Jesper Wallin In-reply-to: Your message of "Mon, 28 Feb 2011 10:46:38 +0100." <4D6B6EFE.5020008@ifconfig.se> Date: Mon, 28 Feb 2011 09:00:08 -0800 From: "Kevin Oberman" Message-Id: <20110228170008.E0E031CC0B@ptavv.es.net> Cc: gnome@FreeBSD.org Subject: Re: A missing dependency for ports-mgmt/packagekit ? X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Feb 2011 17:00:10 -0000 > Date: Mon, 28 Feb 2011 10:46:38 +0100 > From: Jesper Wallin > Sender: owner-freebsd-gnome@freebsd.org > > I'm not quite sure where to report this, so if this is the wrong place, > my apologies... > > > I'm trying to update PackageKit from 0.6.11 to 0.6.11_1 via ports and > the installation fails with the following message/error: > > -- snip -- > CC pk_socket_example-pk-socket-example.o > CCLD pk-socket-example > GISCAN PackageKitGlib-1.0.gir > /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@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_alone_decoder@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_memusage@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_stream_decoder@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_code@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_end@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_lzma_preset@XZ_5.0' > /usr/lib/libarchive.so: undefined reference to `lzma_alone_encoder@XZ_5.0' > Traceback (most recent call last): > File "/usr/local/bin/g-ir-scanner", line 45, in > 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-introspectHj2jdU/PackageKitGlib-1.0', > '-export-dynamic', '-O2', '-fno-strict-aliasing', '-pipe', > '-march=nocona', '-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-introspectHj2jdU/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. > -- /snip -- > > > I'm no developer but noticed that it uses /usr/lib/libarchive.so and > thought I'd give archivers/libarchive a try, which seems to solve this > issue. Perhaps a dependency is missing here? Either way, I thought I'd > report it at least. :-) > > > Regards, > Jesper Wallin > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" > I have had the same error on one of my systems for for 0.6.11. Last week I re-installed all ports (which took a while), and the problem vanished. I am baffled as libarchive and liblzma are in the base system, not ports. All I know is that I was unable to build 0.6.11 on that system, though it worked on all of my other systems. Rebuilding libarchive and liblzma did not help. Only re-installing ports fixed it. I just upgraded to 0.6.11_1 and it went fine. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751