Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266516 - app-arch/libarchive-2.7.0 fails to recompile
Summary: app-arch/libarchive-2.7.0 fails to recompile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 11:59 UTC by André Terpstra
Modified: 2009-12-28 10:54 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 André Terpstra 2009-04-17 11:59:53 UTC
libarchive-2.7.0 fails to recompile

Reproducible: Always

Steps to Reproduce:
1.emerge -uND world
2.
3.

Actual Results:  
checking whether optind is declared... yes                                                                                                                                                     
configure: creating ./config.status                                                                                                                                                            
config.status: creating Makefile                                                                                                                                                               
config.status: creating config.h                                                                                                                                                               
config.status: executing depfiles commands                                                                                                                                                     
make -j3                                                                                                                                                                                       
cat ./libarchive/test/test_*.c | grep DEFINE_TEST > libarchive/test/list.h                                                                                                                     
cat ./tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h                                                                                                                                   
cat ./cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h                                                                                                                                 
make  all-am                                                                                                                                                                                   
make[1]: Entering directory `/var/tmp/portage/app-arch/libarchive-2.7.0/work/libarchive-2.7.0'                                                                                                 
/bin/sh ./libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I ./libarchive  -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c -o libarchive/libarchive_la-archive_check_magic.lo `test -f 'libarchive/archive_check_magic.c' || echo './'`libarchive/archive_check_magic.c                                                                          
/bin/sh ./libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I ./libarchive  -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c -o libarchive/libarchive_la-archive_entry.lo `test -f 'libarchive/archive_entry.c' || echo './'`libarchive/archive_entry.c                                                                                            
/bin/sh ./libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I ./libarchive  -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c -o libarchive/libarchive_la-archive_entry_copy_stat.lo `test -f 'libarchive/archive_entry_copy_stat.c' || echo './'`libarchive/archive_entry_copy_stat.c                                                              
mkdir libarchive/.libs                                                                                                                                                                         
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry.c  -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry.o                                                                                                                                                                          
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry_copy_stat.c  -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_copy_stat.o                                                                                                                                                      
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry.c -o libarchive/libarchive_la-archive_entry.o >/dev/null 2>&1                                                                                                                                                                             
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_check_magic.c  -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_check_magic.o                                                                                                                                                              
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry_copy_stat.c -o libarchive/libarchive_la-archive_entry_copy_stat.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I ./libarchive  -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c -o libarchive/libarchive_la-archive_entry_link_resolver.lo `test -f 'libarchive/archive_entry_link_resolver.c' || echo './'`libarchive/archive_entry_link_resolver.c
/bin/sh ./libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I ./libarchive  -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c -o libarchive/libarchive_la-archive_entry_stat.lo `test -f 'libarchive/archive_entry_stat.c' || echo './'`libarchive/archive_entry_stat.c
cc1: warnings being treated as errors
libarchive/archive_check_magic.c: In function 'errmsg':
libarchive/archive_check_magic.c:53: error: ignoring return value of 'write', declared with attribute warn_unused_result
make[1]: *** [libarchive/libarchive_la-archive_check_magic.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry_link_resolver.c  -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_link_resolver.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry_stat.c  -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_stat.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry_stat.c -o libarchive/libarchive_la-archive_entry_stat.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -fomit-frame-pointer -pipe -c libarchive/archive_entry_link_resolver.c -o libarchive/libarchive_la-archive_entry_link_resolver.o >/dev/null 2>&1
make[1]: Leaving directory `/var/tmp/portage/app-arch/libarchive-2.7.0/work/libarchive-2.7.0'
make: *** [all] Error 2
 *
 * ERROR: app-arch/libarchive-2.7.0 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2530:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   emake failed.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-arch:libarchive-2.7.0:20090417-115813.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/libarchive-2.7.0/temp/environment'.
 *



ZeusGentoo2 ~ # emerge --info
Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.0
Timestamp of tree: Fri, 17 Apr 2009 10:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS=" -O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.1.222/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.1.222/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bzip2 cdaudio cleartype cli cracklib crypt cups dbus device-mapper dga directfb doc dri exif fam fat fbcon floppy fortran gdbm gif glitz gphoto2 gpm hal htmlhandbook iconv ieee1394 ipv6 isdnlog jadetex java jpeg jpeg2k kde kde4 kdehiddenvisibility lm_sensors logitech-mouse logrotate messenger midi mmx mng mp3tunes mp4 mudflap multilib mysql ncurses network-cron nls nptl nptlonly nsplugin ntfs offensive opengl openmp pam pcre pdf perl png ppds pppd python qt4 readline reflection reiser4 reiserfs session sms spell spl sse sse2 ssl ssse3 svg sysfs tcpd tiff toolbar truetype unicode usb utils visualization webkit winpopup xcb xcomposite xinerama xorg xscreensaver zlib" ALSA_CARDS=" intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS=" canon" ELIBC="glibc" INPUT_DEVICES=" keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" USERLAND="GNU" VIDEO_CARDS=" fbdev nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 André Terpstra 2009-04-17 12:17:38 UTC
Sorry for the mess but apparently my portage tree was not synchronized well. Resyncing solved this problem.