... [ 18%] Building CXX object Source/kwsys/CMakeFiles/cmsysTestsCxx.dir/testIOS.o /var/tmp/portage/dev-util/cmake-2.8.3/work/cmake-2.8.3/Source/cmArchiveWrite.cxx: In constructor ‘cmArchiveWrite::cmArchiveWrite(std::ostream&, cmArchiveWrite::Compress, cmArchiveWrite::Type)’: /var/tmp/portage/dev-util/cmake-2.8.3/work/cmake-2.8.3/Source/cmArchiveWrite.cxx:118: error: ‘archive_write_set_format_zip’ was not declared in this scope make[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmArchiveWrite.o] Error 1 make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 18%] Building CXX object Source/kwsys/CMakeFiles/cmsysTestsCxx.dir/testSystemTools.o [ 19%] Building CXX object Source/kwsys/CMakeFiles/cmsysTestsCxx.dir/testCommandLineArguments.o [ 19%] Building CXX object Source/kwsys/CMakeFiles/cmsysTestsCxx.dir/testCommandLineArguments1.o [ 20%] [ 20%] Building CXX object Source/kwsys/CMakeFiles/cmsysTestsCxx.dir/testSystemInformation.o Building CXX object Source/kwsys/CMakeFiles/cmsysTestsCxx.dir/testDynamicLoader.o Linking CXX executable cmsysTestsCxx [ 20%] Built target cmsysTestsCxx make: *** [all] Error 2 emake failed * ERROR: dev-util/cmake-2.8.3 failed: * Make failed! * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3414: Called cmake-utils_src_compile * environment, line 895: Called _execute_optionaly 'src_compile' * environment, line 349: Called enable_cmake-utils_src_compile * environment, line 1403: Called cmake-utils_src_make * environment, line 914: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * * If you need support, post the output of 'emerge --info =dev-util/cmake-2.8.3', * the complete build log and the output of 'emerge -pqv =dev-util/cmake-2.8.3'. * The complete build log is located at '/var/tmp/portage/dev-util/cmake-2.8.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.8.3/temp/environment'. * S: '/var/tmp/portage/dev-util/cmake-2.8.3/work/cmake-2.8.3' Reproducible: Always # emerge --info =dev-util/cmake-2.8.3 Portage 2.1.9.24 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12cgroup x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-r12cgroup-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-1.12.14 Timestamp of tree: Thu, 16 Dec 2010 17:15:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13::<unknown repository>, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -Os -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://ftp.snt.ipv6.utwente.nl/pub/os/linux/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en_GB" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="64bit X a52 aalib acl acpi alsa amd64 arts avi berkdb branding bzip2 bzlib cairo caps cdr chm cracklib crypt curl dbus dga dio djvu dlloader dri dvd dvdr dvdread encode exceptions exif fam ffmpeg font-server ftp gif glib gtk gtk2 handbook hddtemp idn imap imlib ipv6 jabber java joystick jpeg lock mad maildir mbox memlimit midi mime mmap mng motif mozbranding mp3 mpeg multilib musepack ncurses nls nntp nocd nptl nptlonly nsplugin offensive ogg oggvorbis opengl pam pcntl pcre pdf pdflib perl png pnp posix ps python rdesktop rdp readline sdl semantic-desktop session shared sharedmem sockets sqlite ssl startup-notification svg sysvipc tcl tcltk threads thunar tiff tk truetype truetype-fonts trusted type1-fonts unicode usb userlocales vnc vorbis wavelan wireshark wmf xcomposite xine xml xml2 xmlrpc xorg xpm xsl xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev ati" XFCE_PLUGINS="menu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS # emerge -pqv =dev-util/cmake-2.8.3 [ebuild U ] dev-util/cmake-2.8.3 [2.8.1-r2] USE="ncurses -emacs -qt4 -vim-syntax"
Attach full build log.
Created attachment 257382 [details] Full build log
What's your version of libarchive ?
Installing my new ~amd64 system I run into the same problem building cmake-2.8.3 - now I'm stuck with my install and can't move any further :( emerge --info =dev-util/cmake-2.8.3 ------------------------------------ Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 16 Dec 2010 14:45:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.6.8 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--color y --with-bdeps y --keep-going" FEATURES="assume-digests binpkg-logs buildsyspkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.muntinternet.net/pub/gentoo/ " LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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" PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /var/lib/layman/mpd /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
and that libarchive version is?
(In reply to comment #5) > and that libarchive version is? > emerge -qpv libarchive ---------------------- [ebuild R ] app-arch/libarchive-2.8.4 USE="acl bzip2 lzma zlib -static -static-libs -xattr" You mention this problem even in your last blog ;-)
(In reply to comment #6) > (In reply to comment #5) > > and that libarchive version is? > > > > emerge -qpv libarchive > ---------------------- > [ebuild R ] app-arch/libarchive-2.8.4 USE="acl bzip2 lzma zlib -static > -static-libs -xattr" > > You mention this problem even in your last blog ;-) > Actually in this version i fixed the thing i whined in my blog entry :) Interesting i have the exactly same version :/
Created attachment 257408 [details] build.log from swimmer It bails out on a sligthly different place - let me know if you need more information ...
Stefan, actualy i can fix your bug :) Just sync your tree, i commited ebuild and THEN the eclass and i should've done it in oposite order.
(In reply to comment #9) > Stefan, actualy i can fix your bug :) > Just sync your tree, i commited ebuild and THEN the eclass and i should've done > it in oposite order. > That was it! Thank you very much Tomáŝ!!! *Big hug*
app-arch/libarchive-2.7.1-r1 was built with the following: USE="acl bzip2 (multilib) zlib -lzma -static -static-libs -xattr" CFLAGS="-march=native -Os -pipe -Wno-error" CXXFLAGS="-march=native -Os -pipe -Wno-error"
(In reply to comment #11) > app-arch/libarchive-2.7.1-r1 was built with the following: > USE="acl bzip2 (multilib) zlib -lzma -static -static-libs -xattr" > CFLAGS="-march=native -Os -pipe -Wno-error" > CXXFLAGS="-march=native -Os -pipe -Wno-error" > Yes, as noted resync. You need 2.8.
Ok it worked, although libarchive 2.8.x is ~amd64 so I had to explicitly enable it.
In such case, it *not* fixed yet. I misunderstood Tomáš, I thought he meant the dep was already bumped in the ebuild. So, do bump it.
Hit this on ARM too (synced Sat, 18 Dec 2010 14:30:20 +0000). If cmake 2.8.3 needs some particular libarchive version just state that in dependency string. libarchive is 2.7.1-r1 here if anyone wonders.
(In reply to comment #15) > Hit this on ARM too (synced Sat, 18 Dec 2010 14:30:20 +0000). If cmake 2.8.3 > needs some particular libarchive version just state that in dependency string. > libarchive is 2.7.1-r1 here if anyone wonders. > Ok try 2.8 or later if that works. Cmake does not specify the depstring so i need to test it to find the proper version :)
(In reply to comment #16) > (In reply to comment #15) > > Hit this on ARM too (synced Sat, 18 Dec 2010 14:30:20 +0000). If cmake 2.8.3 > > needs some particular libarchive version just state that in dependency string. > > libarchive is 2.7.1-r1 here if anyone wonders. > > > > Ok try 2.8 or later if that works. Cmake does not specify the depstring so i > need to test it to find the proper version :) > Tomas, Installing libarchive-2.8.0 fixes the error on my amd64-stable box. Thomas
(In reply to comment #17) > Tomas, > > Installing libarchive-2.8.0 fixes the error on my amd64-stable box. > > Thomas > Thanks Tom :) Also remember if you use english notation of my name i am too Thomas :DDDD