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.
Created attachment 177008 [details, diff] patch for USE="-bzip2 -zlib" It seems to work with this patch.
Thanks, fixed and reported upstream (who's going for a different method for 2.6.1).