Date: Mon, 8 Apr 2013 14:22:45 -0700 From: Kevin Oberman <rkoberman@gmail.com> To: awarecons <awarecons@gmail.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org>, ports-bugs@freebsd.org Subject: Re: ports-mgmt/packagekit ISSUE libarchive.so: undefined reference to `lzma_stream_decoder' Message-ID: <CAN6yY1t4qu-kaCuYq%2B4S0qKAV7MTcZAn7%2Bv9qnO_niqCKky=BQ@mail.gmail.com> In-Reply-To: <CACGq7x3mR6obs=Y0Q_fk3aTw0-Co3XTngXFW5WrKr-=G=%2BtsBQ@mail.gmail.com> References: <CACGq7x3mR6obs=Y0Q_fk3aTw0-Co3XTngXFW5WrKr-=G=%2BtsBQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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' > > There's no user-land installed libarchive: > pkg_info -Ix libarch > pkg_info: no packages match pattern(s) > > Installing so is impossible due to the close failures: > config and version > libarchive-3.1.2,1 > > =E2=94=82 =E2=94=82 [ ] LIBXML2 Support writing xar via libxml2 > =E2=94=82 =E2=94=82 [ ] LZO Support lzo compression via liblzo2 > =E2=94=82 =E2=94=82 [ ] NETTLE Use Nettle instead of OpenSSL > > ... > CCLD bsdcpio > CCLD bsdtar > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `drive_compressor': > archive_write_add_filter_xz.c:(.text+0x259): undefined reference to > `lzma_code' > archive_write_add_filter_xz.c:(.text+0x2ba): undefined reference to > `lzma_memusage' > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `archive_compressor_xz_open': > archive_write_add_filter_xz.c:(.text+0x3ca): undefined reference to > `lzma_lzma_preset' > archive_write_add_filter_xz.c:(.text+0x50e): undefined reference to > `lzma_raw_encoder' > archive_write_add_filter_xz.c:(.text+0x6a4): undefined reference to > `lzma_stream_encoder' > archive_write_add_filter_xz.c:(.text+0x6b8): undefined reference to > `lzma_alone_encoder' > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `archive_compressor_xz_write': > archive_write_add_filter_xz.c:(.text+0x77f): undefined reference to > `lzma_crc32' > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `archive_compressor_xz_close': > archive_write_add_filter_xz.c:(.text+0x812): undefined reference to > `lzma_end' > ./.libs/libarchive.a(archive_read_support_format_7zip.o): In function > `archive_read_format_7zip_cleanup': > archive_read_support_format_7zip.c:(.text+0xba1): undefined reference > to `lzma_end' > ./.libs/libarchive.a(archive_read_support_format_7zip.o): In function > `init_decompression': > archive_read_support_format_7zip.c:(.text+0xe96): undefined reference > to `lzma_properties_decode' > archive_read_support_format_7zip.c:(.text+0xed7): undefined reference > to `lzma_raw_decoder' > archive_read_support_format_7zip.c:(.text+0x1211): undefined reference > to `lzma_end' > ./.libs/libarchive.a(archive_read_support_format_7zip.o): In function > `extract_pack_stream': > archive_read_support_format_7zip.c:(.text+0x16e4): undefined reference > to `lzma_code' > archive_read_support_format_7zip.c:(.text+0x2060): undefined reference > to `lzma_end' > ./.libs/libarchive.a(archive_write_set_format_7zip.o): In function > `compression_init_encoder_lzma': > archive_write_set_format_7zip.c:(.text+0x77b): undefined reference to > `lzma_lzma_preset' > archive_write_set_format_7zip.c:(.text+0x7b5): undefined reference to > `lzma_properties_size' > archive_write_set_format_7zip.c:(.text+0x7e3): undefined reference to > `lzma_properties_encode' > archive_write_set_format_7zip.c:(.text+0x80f): undefined reference to > `lzma_raw_encoder' > ./.libs/libarchive.a(archive_write_set_format_7zip.o): In function > `compression_end_lzma': > archive_write_set_format_7zip.c:(.text+0xe35): undefined reference to > `lzma_end' > ./.libs/libarchive.a(archive_write_set_format_7zip.o): In function > `compression_code_lzma': > archive_write_set_format_7zip.c:(.text+0xea5): undefined reference to > `lzma_code' > archive_write_set_format_7zip.c:(.text+0xf1d): undefined reference to > `lzma_memusage' > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `drive_compressor': > *** Error code 1 > archive_write_add_filter_xz.c:(.text+0x259): undefined reference to > `lzma_code' > archive_write_add_filter_xz.c:(.text+0x2ba): undefined reference to > `lzma_memusage' > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `archive_compressor_xz_open': > archive_write_add_filter_xz.c:(.text+0x3ca): undefined reference to > `lzma_lzma_preset' > archive_write_add_filter_xz.c:(.text+0x50e): undefined reference to > `lzma_raw_encoder' > archive_write_add_filter_xz.c:(.text+0x6a4): undefined reference to > `lzma_stream_encoder' > archive_write_add_filter_xz.c:(.text+0x6b8): undefined reference to > `lzma_alone_encoder' > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `archive_compressor_xz_write': > archive_write_add_filter_xz.c:(.text+0x77f): undefined reference to > `lzma_crc32' > ./.libs/libarchive.a(archive_write_add_filter_xz.o): In function > `archive_compressor_xz_close': > archive_write_add_filter_xz.c:(.text+0x812): undefined reference to > `lzma_end' > ./.libs/libarchive.a(archive_write_set_format_7zip.o): In function > `compression_init_encoder_lzma': > archive_write_set_format_7zip.c:(.text+0x77b): undefined reference to > `lzma_lzma_preset' > archive_write_set_format_7zip.c:(.text+0x7b5): undefined reference to > `lzma_properties_size' > archive_write_set_format_7zip.c:(.text+0x7e3): undefined reference to > `lzma_properties_encode' > archive_write_set_format_7zip.c:(.text+0x80f): undefined reference to > `lzma_raw_encoder' > ./.libs/libarchive.a(archive_write_set_format_7zip.o): In function > `compression_end_lzma': > archive_write_set_format_7zip.c:(.text+0xe35): undefined reference to > `lzma_end' > ./.libs/libarchive.a(archive_write_set_format_7zip.o): In function > `compression_code_lzma': > archive_write_set_format_7zip.c:(.text+0xea5): undefined reference to > `lzma_code' > archive_write_set_format_7zip.c:(.text+0xf1d): undefined reference to > `lzma_memusage' > ./.libs/libarchive.a(archive_read_support_format_7zip.o): In function > `archive_read_format_7zip_cleanup': > archive_read_support_format_7zip.c:(.text+0xba1): undefined reference > to `lzma_end' > ./.libs/libarchive.a(archive_read_support_format_7zip.o): In function > `init_decompression': > archive_read_support_format_7zip.c:(.text+0xe96): undefined reference > to `lzma_properties_decode' > archive_read_support_format_7zip.c:(.text+0xed7): undefined reference > to `lzma_raw_decoder' > archive_read_support_format_7zip.c:(.text+0x1211): undefined reference > to `lzma_end' > ./.libs/libarchive.a(archive_read_support_format_7zip.o): In function > `extract_pack_stream': > archive_read_support_format_7zip.c:(.text+0x16e4): undefined reference > to `lzma_code' > archive_read_support_format_7zip.c:(.text+0x2060): undefined reference > to `lzma_end' > *** Error code 1 > 2 errors > *** Error code 2 > 1 error > *** Error code 1 > > Stop in /usr/ports/archivers/libarchive. > *** Error code 1 > 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. --=20 R. Kevin Oberman, Network Engineer E-mail: rkoberman@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1t4qu-kaCuYq%2B4S0qKAV7MTcZAn7%2Bv9qnO_niqCKky=BQ>