Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2013 14:56:20 +0400
From:      awarecons <awarecons@gmail.com>
To:        ports-bugs@freebsd.org, gnome@freebsd.org
Subject:   Fwd: Re: ports-mgmt/packagekit ISSUE libarchive.so: undefined reference to `lzma_stream_decoder'
Message-ID:  <CACGq7x2W8zzhke6tOV9PVyq71XSchpXLz8TCqCMt_7eWuMVhEQ@mail.gmail.com>
In-Reply-To: <CACGq7x1P9cAvrBt_gtpLGUGKV5JtyYKhigu_zi4H0WreNk8QdQ@mail.gmail.com>
References:  <CACGq7x3mR6obs=Y0Q_fk3aTw0-Co3XTngXFW5WrKr-=G=%2BtsBQ@mail.gmail.com> <CAN6yY1t4qu-kaCuYq%2B4S0qKAV7MTcZAn7%2Bv9qnO_niqCKky=BQ@mail.gmail.com> <516472A8.7030302@FreeBSD.org> <CACGq7x1P9cAvrBt_gtpLGUGKV5JtyYKhigu_zi4H0WreNk8QdQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ports-mgmt/packagekit & textproc/libxml2 ISSUEs

---------- Forwarded message ----------
From: awarecons <awarecons@gmail.com>
Date: 2013/5/1
Subject: Re: Re: ports-mgmt/packagekit ISSUE libarchive.so: undefined
reference to `lzma_stream_decoder'
To: Jung-uk Kim <jkim@freebsd.org>


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 <jkim@freebsd.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>> On Mon, Apr 8, 2013 at 3:35 AM, awarecons <awarecons@gmail.com>
>> 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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACGq7x2W8zzhke6tOV9PVyq71XSchpXLz8TCqCMt_7eWuMVhEQ>