^ tree.c:1650:8: warning: variable ‘parh’ set but not used [-Wunused-but-set-variable] nh_t parh; ^ tree.c: In function ‘tsi_cmd_pwd_recurse’: tree.c:2846:20: warning: variable ‘namelen’ set but not used [-Wunused-but-set-variable] register intgen_t namelen; ^ tree.c: In function ‘tsi_cmd_ls’: tree.c:2932:13: warning: variable ‘namelen’ set but not used [-Wunused-but-set-variable] intgen_t namelen; ^ tree.c: In function ‘tsi_cmd_parse’: tree.c:3105:2: warning: implicit declaration of function ‘min’ [-Wimplicit-function-declaration] tranp->t_inter.i_argc = ( size_t )min( max( 0, wordcnt ), INTER_ARGMAX ); ^ tree.c:3105:2: warning: implicit declaration of function ‘max’ [-Wimplicit-function-declaration] win.c: In function ‘win_map’: win.c:250:12: warning: variable ‘rval’ set but not used [-Wunused-but-set-variable] intgen_t rval; ^ tree.c: In function ‘tsi_walkpath’: tree.c:3346:13: warning: variable ‘siblen’ set but not used [-Wunused-but-set-variable] intgen_t siblen; ^ tree.c: In function ‘link_matchh’: tree.c:3864:13: warning: variable ‘namelen’ set but not used [-Wunused-but-set-variable] intgen_t namelen; ^ drive_scsitape.o: In function `do_get_write_buf': drive_scsitape.c:(.text+0x4a9): undefined reference to `min' drive_scsitape.o: In function `do_read': drive_scsitape.c:(.text+0x1d94): undefined reference to `min' drive_simple.o: In function `do_get_write_buf': drive_simple.c:(.text+0x586): undefined reference to `min' drive_simple.o: In function `do_read': drive_simple.c:(.text+0x727): undefined reference to `min' drive_minrmt.o: In function `do_get_write_buf': drive_minrmt.c:(.text+0x4b9): undefined reference to `min' drive_minrmt.o:drive_minrmt.c:(.text+0x1344): more undefined references to `min' follow content.o: In function `dump_file_reg': content.c:(.text+0x28e5): undefined reference to `max' inomap.o: In function `cb_add': inomap.c:(.text+0x8e4): undefined reference to `max' collect2: error: ld returned 1 exit status ../include/buildrules:32: recipe for target 'xfsdump' failed gmake[2]: *** [xfsdump] Error 1 include/buildrules:22: recipe for target 'dump' failed gmake[1]: *** [dump] Error 2 gmake[1]: *** Waiting for unfinished jobs.... [LD] xfsrestore drive_scsitape.o: In function `do_get_write_buf': drive_scsitape.c:(.text+0x499): undefined reference to `min' drive_scsitape.o: In function `do_read': drive_scsitape.c:(.text+0x1ce4): undefined reference to `min' content.o: In function `restore_extent_group': content.c:(.text+0x2c9d): undefined reference to `min' drive_simple.o: In function `do_get_write_buf': drive_simple.c:(.text+0x576): undefined reference to `min' drive_simple.o: In function `do_read': drive_simple.c:(.text+0x717): undefined reference to `min' drive_minrmt.o:drive_minrmt.c:(.text+0x4a9): more undefined references to `min' follow dirattr.o: In function `dirattr_init': dirattr.c:(.text+0x249): undefined reference to `max' dirattr.c:(.text+0x2d9): undefined reference to `max' namreg.o: In function `namreg_init': namreg.c:(.text+0x2a0): undefined reference to `max' namreg.c:(.text+0x329): undefined reference to `max' node.o: In function `node_init': node.c:(.text+0x88): undefined reference to `max' node.c:(.text+0xf4): undefined reference to `min' tree.o: In function `tree_init': tree.c:(.text+0x27ae): undefined reference to `min' tree.c:(.text+0x27d0): undefined reference to `max' tree.c:(.text+0x27dd): undefined reference to `min' tree.o: In function `tree_subtree_inter': tree.c:(.text+0x4258): undefined reference to `max' tree.c:(.text+0x4266): undefined reference to `min' collect2: error: ld returned 1 exit status ../include/buildrules:32: recipe for target 'xfsrestore' failed gmake[2]: *** [xfsrestore] Error 1 include/buildrules:22: recipe for target 'restore' failed gmake[1]: *** [restore] Error 2 Makefile:53: recipe for target 'default' failed make: *** [default] Error 2 * ERROR: sys-fs/xfsdump-3.1.4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-fs/xfsdump-3.1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-fs/xfsdump-3.1.4::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-fs/xfsdump-3.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-fs/xfsdump-3.1.4/temp/environment'. * Working directory: '/var/tmp/portage/sys-fs/xfsdump-3.1.4/work/xfsdump-3.1.4' * S: '/var/tmp/portage/sys-fs/xfsdump-3.1.4/work/xfsdump-3.1.4' >>> Failed to emerge sys-fs/xfsdump-3.1.4, Log file: >>> '/var/tmp/portage/sys-fs/xfsdump-3.1.4/temp/build.log' Reproducible: Always Portage 2.2.12 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.15.0-gentoo-r1 x86_64) ================================================================= System uname: Linux-3.15.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24627364 total, 11729372 free KiB Swap: 25461756 total, 25461756 free Timestamp of tree: Wed, 03 Sep 2014 09:00:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.2_p47 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.8, 3.3.5-r1, 3.4.1 dev-util/cmake: 2.8.12.2-r2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.1 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo bitcoin steam-overlay bumblebee printer-drivers lokal ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /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" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/mnt/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/portage"
Created attachment 384152 [details] error log
Created attachment 384154 [details] environment
content.c:5943:11: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system(media_change_alert_program); ^ [CC] inomap.o inomap.c: In function ‘cb_add’: inomap.c:508:2: warning: implicit declaration of function ‘max’ [-Wimplicit-function-declaration] register time32_t ltime = max( mtime, ctime ); ^ [CC] var.o [LD] xfsdump drive_scsitape.o: In function `do_get_write_buf': drive_scsitape.c:(.text+0x479): undefined reference to `min' drive_scsitape.o: In function `do_read': drive_scsitape.c:(.text+0x1de4): undefined reference to `min' drive_simple.o: In function `do_get_write_buf': drive_simple.c:(.text+0x55e): undefined reference to `min' drive_simple.o: In function `do_read': drive_simple.c:(.text+0x6ef): undefined reference to `min' drive_minrmt.o: In function `do_get_write_buf': drive_minrmt.c:(.text+0x4a1): undefined reference to `min' drive_minrmt.o:drive_minrmt.c:(.text+0x13e4): more undefined references to `min' follow content.o: In function `dump_file_reg': content.c:(.text+0x28ed): undefined reference to `max' inomap.o: In function `cb_add': inomap.c:(.text+0x8ac): undefined reference to `max' collect2: error: ld returned 1 exit status ../include/buildrules:32: recipe for target 'xfsdump' failed gmake[2]: *** [xfsdump] Error 1 include/buildrules:22: recipe for target 'dump' failed gmake[1]: *** [dump] Error 2 Makefile:53: recipe for target 'default' failed make: *** [default] Error 2 * ERROR: sys-fs/xfsdump-3.1.4::gentoo failed (compile phase): I can reproduce it here, even with MAKEOPTS="-j1"
+ 04 Sep 2014; Lars Wendler <polynomial-c@gentoo.org> xfsdump-3.1.4.ebuild: + Fixed dependency on xfsprogs which lead to a compile failure (bug #522030). + Funny... the package RDEPENDs on >=xfsprogs-3.2.0 (which was not in the tree when I bumped the package but I already had it installed). Should be fixed now.