From owner-freebsd-gnome@FreeBSD.ORG Tue Apr 9 20:00:09 2013 Return-Path: Delivered-To: freebsd-gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EB07E92D for ; Tue, 9 Apr 2013 20:00:09 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 551999A9; Tue, 9 Apr 2013 20:00:09 +0000 (UTC) Message-ID: <516472A8.7030302@FreeBSD.org> Date: Tue, 09 Apr 2013 15:57:28 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130408 Thunderbird/17.0.5 MIME-Version: 1.0 To: awarecons Subject: Re: Re: ports-mgmt/packagekit ISSUE libarchive.so: undefined reference to `lzma_stream_decoder' References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/mixed; boundary="------------010702010509020807070808" Cc: rkoberman@gmail.com, freebsd-gnome@FreeBSD.org X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2013 20:00:10 -0000 This is a multi-part message in MIME format. --------------010702010509020807070808 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > On Mon, Apr 8, 2013 at 3:35 AM, awarecons > wrote: > >> Both 9 and 9.1 releases >> >> gcc is standard 4.2.1 >> >> All ports are up-to-date >> >> pkg_info -r PackageKit-0.6.11_2 Information for >> PackageKit-0.6.11_2: >> >> Depends on: Dependency: lsof-4.88.d,8 Dependency: gmp-5.1.1 >> Dependency: mpfr-3.1.2 Dependency: mpc-0.9 Dependency: >> libexecinfo-1.1_3 Dependency: gdbm-1.9.1 Dependency: >> perl-threaded-5.14.2_3 Dependency: libiconv-1.14_1 Dependency: >> gettext-0.18.1.1_1 Dependency: binutils-2.23.1 Dependency: >> gcc-4.6.3 Dependency: ruby-1.8.7.371,1 Dependency: >> python27-2.7.3_6 Dependency: pkgconf-0.9.1_2 Dependency: >> xproto-7.0.22 Dependency: pcre-8.32 Dependency: libxml2-2.7.8_5 >> Dependency: libpthread-stubs-0.3_3 Dependency: >> libinotify-20110829 Dependency: libffi-3.0.13 Dependency: >> libXdmcp-1.1.0 Dependency: libXau-1.0.6 Dependency: libxcb-1.7 >> Dependency: libICE-1.0.7,1 Dependency: libSM-1.2.0,1 Dependency: >> kbproto-1.0.5 Dependency: libX11-1.4.4,1 Dependency: icu-50.1.2 >> Dependency: sqlite3-3.7.14.1 Dependency: gnome_subr-1.0 >> Dependency: glib-2.34.3 Dependency: gamin-0.1.10_5 Dependency: >> gio-fam-backend-2.34.3 Dependency: shared-mime-info-1.0_2 >> Dependency: gobject-introspection-1.34.2 Dependency: >> expat-2.0.1_2 Dependency: dbus-1.6.8 Dependency: >> dbus-glib-0.100.1 Dependency: eggdbus-0.6_1 Dependency: >> polkit-0.105_1 Dependency: db41-4.1.25_4 Dependency: >> ruby18-bdb-0.6.6 Dependency: portupgrade-2.4.10.5_1,2 Dependency: >> consolekit-0.4.3 >> >> >> ... CCLD pk-socket-example GISCAN PackageKitGlib-1.0.gir >> pk-control-sync.c:42: Warning: PackageKitGlib: multiple comment >> blocks documenting 'pk_control_get_properties_cb:' identifier. >> pk-control-sync.c:94: Warning: PackageKitGlib: multiple comment >> blocks documenting 'pk_control_get_transaction_list_cb:' >> identifier. pk-control-sync.c:146: Warning: PackageKitGlib: >> multiple comment blocks documenting >> 'pk_control_suggest_daemon_quit_cb:' identifier. >> pk-control-sync.c:198: Warning: PackageKitGlib: multiple comment >> blocks documenting 'pk_control_set_root_cb:' identifier. >> pk-control-sync.c:251: Warning: PackageKitGlib: multiple comment >> blocks documenting 'pk_control_set_proxy_cb:' identifier. >> pk-enum.c:23: Warning: PackageKitGlib: multiple comment blocks >> documenting 'SECTION:pk-enum:' identifier. pk-progress.c:501: >> Warning: PackageKitGlib: multiple comment blocks documenting >> 'PkPackage:package-id:' identifier. pk-service-pack.c:624: >> Warning: PackageKitGlib: multiple comment blocks documenting >> 'pk_service_pack_create_from_files:' identifier. >> /usr/lib/libarchive.so: undefined reference to >> `lzma_stream_decoder' /usr/lib/libarchive.so: undefined reference >> to `lzma_alone_encoder' /usr/lib/libarchive.so: undefined >> reference to `lzma_memusage' /usr/lib/libarchive.so: undefined >> reference to `lzma_lzma_preset' /usr/lib/libarchive.so: undefined >> reference to `lzma_alone_decoder' /usr/lib/libarchive.so: >> undefined reference to `lzma_code' /usr/lib/libarchive.so: >> undefined reference to `lzma_end' /usr/lib/libarchive.so: >> undefined reference to `lzma_stream_encoder' ... > Looks like something went wrong when the system liblzma replaced > the one from ports. I hit this one, too. > > Rebuild all ports that depend on xz to get them linked to the base > system version. I hit something similar today. Please try the attached patch, rebuild textproc/libxml2, and try again. This patch is also available from here: http://people.freebsd.org/~jkim/libxml2.diff What's happening is the lzma.h and liblzma are available from base and the configure script started picking them up automatically. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJRZHKoAAoJECXpabHZMqHOcmwH+gN9H4gx9HrRungyppXOP7ix RZDNDuNlAMDZ3k8NLjaMqECKxtFevu1qKNG6wYZg+Nn6qbA7dsk6afpafT0VpRDE E/7fh6S7JppJLCRnoRniFGeSYkdvnR3K0X6tXBmwCiE7unHC9qqbjVut4FSoCgMg jlei4oqIN156q/O+0G2wec09Gd/IBUSk+vReFlbf3fp0vhvi/6njFVrMpE2hVSoI 5KC2QtML+3DD678pil88ncdNujaaaLT07uKK/xWqIP1jPOGRmhuZZ5JXUSP+jiHa mF1GNIzdgQRCRTAsk4yK/GKO12NARyop6cdDeMcaq3oPGG5PeM+tvvbhbOPJxA8= =dhdQ -----END PGP SIGNATURE----- --------------010702010509020807070808 Content-Type: text/x-patch; name="libxml2.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="libxml2.diff" Index: Makefile =================================================================== --- Makefile (revision 315766) +++ Makefile (working copy) @@ -4,7 +4,7 @@ PORTNAME= libxml2 PORTVERSION= 2.8.0 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES?= textproc gnome MASTER_SITES= ftp://xmlsoft.org/libxml2/ \ http://xmlsoft.org/sources/ \ Index: files/patch-libxml-2.0-uninstalled.pc.in =================================================================== --- files/patch-libxml-2.0-uninstalled.pc.in (revision 0) +++ files/patch-libxml-2.0-uninstalled.pc.in (working copy) @@ -0,0 +1,9 @@ +--- libxml-2.0-uninstalled.pc.in.orig 2009-07-30 11:24:34.000000000 -0400 ++++ libxml-2.0-uninstalled.pc.in 2013-04-09 15:37:18.000000000 -0400 +@@ -8,5 +8,5 @@ + Version: @VERSION@ + Description: libXML library version2. + Requires: +-Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@ ++Libs: -L${libdir} -lxml2 @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @LIBS@ + Cflags: -I${includedir} @XML_INCLUDEDIR@ @XML_CFLAGS@ Property changes on: files/patch-libxml-2.0-uninstalled.pc.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-libxml-2.0.pc.in =================================================================== --- files/patch-libxml-2.0.pc.in (revision 0) +++ files/patch-libxml-2.0.pc.in (working copy) @@ -0,0 +1,9 @@ +--- libxml-2.0.pc.in.orig 2010-05-14 11:26:41.000000000 -0400 ++++ libxml-2.0.pc.in 2013-04-09 15:35:53.000000000 -0400 +@@ -9,5 +9,5 @@ + Description: libXML library version2. + Requires: + Libs: -L${libdir} -lxml2 +-Libs.private: @THREAD_LIBS@ @Z_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@ ++Libs.private: @THREAD_LIBS@ @Z_LIBS@ @LZMA_LIBS@ @ICONV_LIBS@ @M_LIBS@ @WIN32_EXTRA_LIBADD@ @LIBS@ + Cflags: @XML_INCLUDEDIR@ @XML_CFLAGS@ Property changes on: files/patch-libxml-2.0.pc.in ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property --------------010702010509020807070808--