Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458554 - app-arch/libarchive - ?
Summary: app-arch/libarchive - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 09:26 UTC by Trixtrax
Modified: 2013-02-26 14:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Trixtrax 2013-02-21 09:26:42 UTC
In the course of updating my system to the newest stable KDE 4.9 series libarchive failed to build in the compile stage with gcc i686-pc-linux-gnu-4.5.4 but succeeded with gcc i686-pc-linux-gnu-4.4.5. I am using libtool-2.4-r1.From Googling it appears this is a libtool bug? 

/bin/sh ./libtool  --tag=CC   --mode=link i686-pc-linux-gnu-gcc -Wall -Wformat -Wformat-security  -march=k8 -msse3 -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o libarchive_fe.la  libarchive_fe/libarchive_fe_la-err.lo libarchive_fe/libarchive_fe_la-line_reader.lo  -lacl -lexpat -llzo2 -llzma -lbz2 -lz   -lcrypto
libtool: link: i686-pc-linux-gnu-ar cru .libs/libarchive_fe.a libarchive_fe/.libs/libarchive_fe_la-err.o libarchive_fe/.libs/libarchive_fe_la-line_reader.o 
libtool: link: i686-pc-linux-gnu-ranlib .libs/libarchive_fe.a
libtool: link: ( cd ".libs" && rm -f "libarchive_fe.la" && ln -s "../libarchive_fe.la" "libarchive_fe.la" )
libtool: link: i686-pc-linux-gnu-gcc -shared  -DPIC  libarchive/.libs/archive_acl.o libarchive/.libs/archive_check_magic.o libarchive/.libs/archive_cmdline.o libarchive/.libs/archive_crypto.o libarchive/.libs/archive_entry.o libarchive/.libs/archive_entry_copy_stat.o libarchive/.libs/archive_entry_link_resolver.o libarchive/.libs/archive_entry_sparse.o libarchive/.libs/archive_entry_stat.o libarchive/.libs/archive_entry_strmode.o libarchive/.libs/archive_entry_xattr.o libarchive/.libs/archive_getdate.o libarchive/.libs/archive_match.o libarchive/.libs/archive_options.o libarchive/.libs/archive_pathmatch.o libarchive/.libs/archive_ppmd7.o libarchive/.libs/archive_rb.o libarchive/.libs/archive_read.o libarchive/.libs/archive_read_append_filter.o libarchive/.libs/archive_read_data_into_fd.o libarchive/.libs/archive_read_disk_entry_from_file.o libarchive/.libs/archive_read_disk_posix.o libarchive/.libs/archive_read_disk_set_standard_lookup.o libarchive/.libs/archive_read_extract.o libarchive/.libs/archive_read_open_fd.o libarchive/.libs/archive_read_open_file.o libarchive/.libs/archive_read_open_filename.o libarchive/.libs/archive_read_open_memory.o libarchive/.libs/archive_read_set_format.o libarchive/.libs/archive_read_set_options.o libarchive/.libs/archive_read_support_filter_all.o libarchive/.libs/archive_read_support_filter_bzip2.o libarchive/.libs/archive_read_support_filter_compress.o libarchive/.libs/archive_read_support_filter_grzip.o libarchive/.libs/archive_read_support_filter_gzip.o libarchive/.libs/archive_read_support_filter_lrzip.o libarchive/.libs/archive_read_support_filter_lzop.o libarchive/.libs/archive_read_support_filter_none.o libarchive/.libs/archive_read_support_filter_program.o libarchive/.libs/archive_read_support_filter_rpm.o libarchive/.libs/archive_read_support_filter_uu.o libarchive/.libs/archive_read_support_filter_xz.o libarchive/.libs/archive_read_support_format_7zip.o libarchive/.libs/archive_read_support_format_all.o libarchive/.libs/archive_read_support_format_ar.o libarchive/.libs/archive_read_support_format_by_code.o libarchive/.libs/archive_read_support_format_cab.o libarchive/.libs/archive_read_support_format_cpio.o libarchive/.libs/archive_read_support_format_empty.o libarchive/.libs/archive_read_support_format_iso9660.o libarchive/.libs/archive_read_support_format_lha.o libarchive/.libs/archive_read_support_format_mtree.o libarchive/.libs/archive_read_support_format_rar.o libarchive/.libs/archive_read_support_format_raw.o libarchive/.libs/archive_read_support_format_tar.o libarchive/.libs/archive_read_support_format_xar.o libarchive/.libs/archive_read_support_format_zip.o libarchive/.libs/archive_string.o libarchive/.libs/archive_string_sprintf.o libarchive/.libs/archive_util.o libarchive/.libs/archive_virtual.o libarchive/.libs/archive_write.o libarchive/.libs/archive_write_disk_acl.o libarchive/.libs/archive_write_disk_posix.o libarchive/.libs/archive_write_disk_set_standard_lookup.o libarchive/.libs/archive_write_open_fd.o libarchive/.libs/archive_write_open_file.o libarchive/.libs/archive_write_open_filename.o libarchive/.libs/archive_write_open_memory.o libarchive/.libs/archive_write_add_filter.o libarchive/.libs/archive_write_add_filter_b64encode.o libarchive/.libs/archive_write_add_filter_by_name.o libarchive/.libs/archive_write_add_filter_bzip2.o libarchive/.libs/archive_write_add_filter_compress.o libarchive/.libs/archive_write_add_filter_grzip.o libarchive/.libs/archive_write_add_filter_gzip.o libarchive/.libs/archive_write_add_filter_lrzip.o libarchive/.libs/archive_write_add_filter_lzop.o libarchive/.libs/archive_write_add_filter_none.o libarchive/.libs/archive_write_add_filter_program.o libarchive/.libs/archive_write_add_filter_uuencode.o libarchive/.libs/archive_write_add_filter_xz.o libarchive/.libs/archive_write_set_format.o libarchive/.libs/archive_write_set_format_7zip.o libarchive/.libs/archive_write_set_format_ar.o libarchive/.libs/archive_write_set_format_by_name.o libarchive/.libs/archive_write_set_format_cpio.o libarchive/.libs/archive_write_set_format_cpio_newc.o libarchive/.libs/archive_write_set_format_iso9660.o libarchive/.libs/archive_write_set_format_mtree.o libarchive/.libs/archive_write_set_format_pax.o libarchive/.libs/archive_write_set_format_shar.o libarchive/.libs/archive_write_set_format_ustar.o libarchive/.libs/archive_write_set_format_v7tar.o libarchive/.libs/archive_write_set_format_gnutar.o libarchive/.libs/archive_write_set_format_xar.o libarchive/.libs/archive_write_set_format_zip.o libarchive/.libs/archive_write_set_options.o libarchive/.libs/filter_fork_posix.o   -Wl,--as-needed -lacl -lexpat -llzo2 -llzma -lbz2 -lz -lcrypto -lc  -march=k8 -msse3 -O2 -O1   -soname libarchive.so.13 -o .libs/libarchive.so.13.1.1
i686-pc-linux-gnu-gcc: libarchive.so.13: No such file or directory
i686-pc-linux-gnu-gcc: unrecognized option '-soname'
make[1]: *** [libarchive.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-arch/libarchive-3.1.1/work/libarchive-3.1.1'
make: *** [all] Error 2
 * ERROR: app-arch/libarchive-3.1.1 failed (compile phase):
 *   emake failed
 *
Comment 1 Jeroen Roovers gentoo-dev 2013-02-21 15:28:50 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-02-21 18:38:20 UTC
Make sure that you don't have ccache in your FEATURES. One of the common causes of the "unrecognized option '-soname'" error is stale or corrupted data retained in ccache.

(Be aware that ccache offers almost no advantages for most Gentoo users; it's there for developers who sometimes need to rebuild the same revision of the same ebuild with the same flags and same compiler many times. If you *do* need ccache, consider deleting /var/tmp/ccache (or whatever you have as portage's CCACHE_DIR) to clear it of potentially corrupted data.)