kde-base/ark-4.2.0 compile fails [ 66%] Built target ark [ 69%] Building CXX object ark/part/CMakeFiles/arkpart.dir/archivemodel.o [ 71%] Building CXX object ark/part/CMakeFiles/arkpart.dir/archiveview.o Scanning dependencies of target kerfuffle_libarchive [ 74%] Building CXX object ark/plugins/libarchive/CMakeFiles/kerfuffle_libarchive.dir/kerfuffle_libarchive_automoc.o [ 76%] Building CXX object ark/plugins/libarchive/CMakeFiles/kerfuffle_libarchive.dir/libarchivehandler.o [ 79%] Building CXX object ark/part/CMakeFiles/arkpart.dir/jobtracker.o /var/tmp/portage/kde-base/ark-4.2.0/work/ark-4.2.0/ark/part/archivemodel.cpp:474: Warnung: unbenutzter Parameter »row« /var/tmp/portage/kde-base/ark-4.2.0/work/ark-4.2.0/ark/part/archivemodel.cpp:474: Warnung: unbenutzter Parameter »column« /var/tmp/portage/kde-base/ark-4.2.0/work/ark-4.2.0/ark/part/archivemodel.cpp:474: Warnung: unbenutzter Parameter »parent« [ 82%] Building CXX object ark/part/CMakeFiles/arkpart.dir/dnddbusinterface.o Linking CXX shared module ../../../lib/kerfuffle_libarchive.so [ 84%] Building CXX object ark/part/CMakeFiles/arkpart.dir/settings.o CMakeFiles/kerfuffle_libarchive.dir/libarchivehandler.o: In function `LibArchiveInterface::deleteFiles(QList<QVariant> const&)': libarchivehandler.cpp:(.text+0x1ca7): undefined reference to `archive_write_set_compression_gzip' CMakeFiles/kerfuffle_libarchive.dir/libarchivehandler.o: In function `LibArchiveInterface::addFiles(QStringList const&, QHash<QString, QVariant> const&)': libarchivehandler.cpp:(.text+0x3eec): undefined reference to `archive_write_set_compression_gzip' libarchivehandler.cpp:(.text+0x4602): undefined reference to `archive_write_set_compression_gzip' libarchivehandler.cpp:(.text+0x4744): undefined reference to `archive_write_set_compression_gzip' collect2: ld gab 1 als Ende-Status zurück make[2]: *** [lib/kerfuffle_libarchive.so] Fehler 1 make[1]: *** [ark/plugins/libarchive/CMakeFiles/kerfuffle_libarchive.dir/all] Fehler 2 make[1]: *** Warte auf noch nicht beendete Prozesse... Linking CXX shared module ../../lib/libarkpart.so [ 84%] Built target arkpart make: *** [all] Fehler 2 * * ERROR: kde-base/ark-4.2.0 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3726: Called kde4-meta_src_compile * environment, line 2842: Called kde4-base_src_make * environment, line 2605: Called cmake-utils_src_make * environment, line 993: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/ark-4.2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/ark-4.2.0/temp/environment'. * >>> Failed to emerge kde-base/ark-4.2.0, Log file: >>> '/var/tmp/portage/kde-base/ark-4.2.0/temp/build.log' Reproducible: Always # emerge --info Portage 2.2_rc20 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.26-tuxonice i686) ================================================================= System uname: Linux-2.6.26-tuxonice-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0 Timestamp of tree: Fri, 30 Jan 2009 09:15:01 +0000 app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.4.4-r4, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.3.3 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="de_DE.utf8@euro" LC_ALL="de_DE.utf8@euro" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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://rsync1.de.gentoo.org/gentoo-portage" USE="X X509 a52 aac aalib acl acpi alsa apache2 bash-completion bidi bindist bittorrent bluetooth branding bzip2 cairo cdda cddb cdio cdr cgi chipcard cli cracklib crypt css cups curl dba dbus dbx dga directfb divx dri dts dvb dvd dvdr dvdread eds emacs emboss encode esd evo fam fat fbcon ffmpeg firefox flac fortran ftp gd gdbm gif glut gnome gnutls gpm gstreamer gtk hal hbci httpd icc iconv icq jabber java javascript john jpeg junitkde kde4 kdebuild kdeprefix kdm ldap libnotify live mad matroska mdnsresponder-compat midi mikmod mime mjpeg mmx mmxext mono mozdevelop mozsvg mp3 mpeg mplayer mudflap mule mysql nfs nls no-seamonkey nodoc nosrc nptl nptlonly nsplugin ntfs ogg opengl openmp openssh pam pcre pda pdf perl phppng postgres ppds python qt-static qt3 qt3support qt4 quicktime readline reiser4 reiserfs samba sdl session shout smartcard spell spl sqlite sse sse2 ssl startup-notification stream svg svga swat sysfs tcltk tcpd tetex threads tidy tiff truetype type1 unicode usb v4l v4l2 vcd vfat vlm vorbis webkit wifi win32codecs wxwindows x86 xcomposite xfs xine xinerama xml xorg xrandr xulrunner xv xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
How about sharing whole build.log with us :] Thanks
Created attachment 180297 [details] build.log Here ist the build.log
Version of app-arch/libarchive ? i have 2.6.2 and have no issues.
erm 2.6.1 :] not 2.6.2...
I have also 2.6.1.
Darn, in that case i have no idea what is missing. Hope others will.
I have the compilation problem only with libarchive version 2.6.0 and 2.6.1. It works for me with libarchive-2.5.5.
Downgrading libarchive to version 2.5.5 worked for me as well.
(In reply to comment #7) > I have the compilation problem only with libarchive version 2.6.0 and 2.6.1. > It works for me with libarchive-2.5.5. > Same here. Only libarchive-2.5.5 seems to work with ark.
Not a libarchive verison issue. Libarchive needs to have the 'zlib' USE flag enabled for ark to compile successfully against it (if 'archive' USE flag is enabled for ark). So there needs to be a check in ark's ebuild if 'archive' USE flag is enabled, to see if libarchive has been built with 'zlib' USE enabled.
Great, tested and works, added to 4.2.1 and live ebuilds, where 4.2.1 goes to the tree next week, so sit tight :]