From owner-freebsd-gnome@FreeBSD.ORG Wed May 1 10:56:20 2013 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C141E5FF; Wed, 1 May 2013 10:56:20 +0000 (UTC) (envelope-from awarecons@gmail.com) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) by mx1.freebsd.org (Postfix) with ESMTP id 8FBC01708; Wed, 1 May 2013 10:56:20 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id 16so1728764iea.24 for ; Wed, 01 May 2013 03:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=mJ6F+tElLr4syuzckJ7pPq53i/myQaaNV+ddOK+Ggik=; b=R/48poEJvzic2OJEuwH6MmSYNf2GRHpF8KLY0CGU86TRx9H3gYd8U1lgFgqOi8AwJY Bcgk42A4c43PP02wcGUThelgE8LMjoCwEuH/8ARZx8bHA20sOH23dQKJFWAsAQycQ6Ax ETXHjE+YeY+a2DuNCGrdi1njJDNU9Jc9iKqQXB4KqDtXE9TBjHgL/F2ynbqd6OjI/s20 ggXaIQTbTEmppqT5CksYrzU+M4Iwtqe2dD7IC8NsEhhgP/2yggpz1890PQ1ViId0QBma cxEiVZ3Ffk0luEC0+W8e7I2RgSNdAhEBX1HLvjtywE7U45XRz6Xozjr42555uDeCF72M Qdzw== MIME-Version: 1.0 X-Received: by 10.42.32.5 with SMTP id b5mr1153312icd.40.1367405780282; Wed, 01 May 2013 03:56:20 -0700 (PDT) Received: by 10.64.34.225 with HTTP; Wed, 1 May 2013 03:56:20 -0700 (PDT) In-Reply-To: References: <516472A8.7030302@FreeBSD.org> Date: Wed, 1 May 2013 14:56:20 +0400 Message-ID: Subject: Fwd: Re: ports-mgmt/packagekit ISSUE libarchive.so: undefined reference to `lzma_stream_decoder' From: awarecons To: ports-bugs@freebsd.org, gnome@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 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: Wed, 01 May 2013 10:56:20 -0000 ports-mgmt/packagekit & textproc/libxml2 ISSUEs ---------- Forwarded message ---------- From: awarecons Date: 2013/5/1 Subject: Re: Re: ports-mgmt/packagekit ISSUE libarchive.so: undefined reference to `lzma_stream_decoder' To: Jung-uk Kim Thanks, but uselesss checking for lzma_code in -llzma... no in any case of Makefile: CONFIGURE_ARGS?=--with-iconv=${LOCALBASE} \ ... --with-lzma=/usr/lib \ --with-lzma=/usr \ --with-lzma=/usr/local \ --with-lzma=/usr/local/lib \ ... CCLD reader1 ../../.libs/libxml2.so: undefined reference to `lzma_auto_decoder' ../../.libs/libxml2.so: undefined reference to `lzma_code' ../../.libs/libxml2.so: undefined reference to `lzma_end' ../../.libs/libxml2.so: undefined reference to `lzma_properties_decode' gmake[3]: *** [xpath2] Error 1 gmake[3]: *** Waiting for unfinished jobs.... ../../.libs/libxml2.so: undefined reference to `lzma_auto_decoder' ../../.libs/libxml2.so: undefined reference to `lzma_code' ../../.libs/libxml2.so: undefined reference to `lzma_end' ../../.libs/libxml2.so: undefined reference to `lzma_properties_decode' Onviously, that might be internal liblzma & libxml2 lzma-code incompatibleness, for e.g. libs version asynchro or what-so-ever... NB No official patch yet, aint that queer a bit?) PS Don't install fresh py27-libxml2-2.8xxx bind as it leads to numerous errors due to old libxml2-2.7.8_5 incompat. 2013/4/9 Jung-uk Kim : > -----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-----