Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253284 - libarchive-2.6.0 fails to emerge when USE="-bzip2 -zlib"
Summary: libarchive-2.6.0 fails to emerge when USE="-bzip2 -zlib"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-31 19:00 UTC by Javier Villavicencio (RETIRED)
Modified: 2009-01-02 21:46 UTC (History)
0 users

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


Attachments
patch for USE="-bzip2 -zlib" (libarchive-2.6.0-bzip2-zlib.patch,1.03 KB, patch)
2009-01-01 14:44 UTC, Lifeng Sun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Villavicencio (RETIRED) gentoo-dev 2008-12-31 19:00:46 UTC
Fails with the following error on both linux and fbsd, while linking bsdcpio:
i686-gentoo-freebsd7.0-gcc -O2 -march=k8 -msse3 -frename-registers -pipe -o .libs/bsdcpio cpio/bsdcpio-cmdline.o cpio/bsdcpio-cpio.o cpio/bsdcpio-err.o cpio/bsdcpio-matching.o cpio/bsdcpio-pathmatch.o  ./.libs/libarchive.so
creating bsdtar
cpio/bsdcpio-cpio.o: In function `main':
cpio.c:(.text+0x1b50): undefined reference to `archive_write_set_compression_bzip2'
cpio.c:(.text+0x1d44): undefined reference to `archive_write_set_compression_gzip'
collect2: ld returned 1 exit status
gmake[1]: *** [bsdcpio] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/app-arch/libarchive-2.6.0/work/libarchive-2.6.0'
gmake: *** [all] Error 2

Not really useful (having -bzip2 and -zlib) but kinda troublesome when doing catalyst stages.
Comment 1 Lifeng Sun 2009-01-01 14:44:15 UTC
Created attachment 177008 [details, diff]
patch for USE="-bzip2 -zlib"

It seems to work with this patch.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-01-02 21:46:10 UTC
Thanks, fixed and reported upstream (who's going for a different method for 2.6.1).