I wanted to install batman-adv on my gentoo box, but the versions provided by gentoo seems to be outdated since 3 months. I tried to fix it myself but it failed to build with 2011.3.0 (2011.2.0 works). Reproducible: Always Steps to Reproduce: localhost batctl # cd /usr/portage/net-misc/batctl/ localhost batctl # cp batctl-2011.1.0.ebuild batctl-2011.3.0.ebuild localhost batctl # ebuild batctl-2011.3.0.ebuild digest ... localhost batctl # emerge batctl Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) net-misc/batctl-2011.3.0 * batctl-2011.3.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * You need the batman-adv kernel module, * either from the kernel tree or via net-misc/batman-adv >>> Unpacking source... >>> Unpacking batctl-2011.3.0.tar.gz to /var/tmp/portage/net-misc/batctl-2011.3.0/work >>> Source unpacked in /var/tmp/portage/net-misc/batctl-2011.3.0/work >>> Preparing source in /var/tmp/portage/net-misc/batctl-2011.3.0/work/batctl-2011.3.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/batctl-2011.3.0/work/batctl-2011.3.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/batctl-2011.3.0/work/batctl-2011.3.0 ... make -j2 CC=x86_64-pc-linux-gnu-gcc V=1 x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o main.o main.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o bat-hosts.o bat-hosts.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o functions.o functions.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o sys.o sys.c functions.c: In function ‘read_file’: functions.c:153:9: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o debug.o debug.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o ping.o ping.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o traceroute.o traceroute.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o tcpdump.o tcpdump.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o list-batman.o list-batman.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o hash.o hash.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o vis.o vis.c vis.c: In function ‘format’: vis.c:189:8: warning: ‘line_save_ptr’ may be used uninitialized in this function x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o debugfs.o debugfs.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=amdfam10 -pedantic -Wall -W -std=gnu99 -fno-strict-aliasing -MD -c -o bisect.o bisect.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed main.o bat-hosts.o functions.o sys.o debug.o ping.o traceroute.o tcpdump.o list-batman.o hash.o vis.o debugfs.o bisect.o -lm -o batctl >>> Source compiled. >>> Test phase [not enabled]: net-misc/batctl-2011.3.0 >>> Install batctl-2011.3.0 into /var/tmp/portage/net-misc/batctl-2011.3.0/image/ category net-misc make -j2 INSTALL_PREFIX=/var/tmp/portage/net-misc/batctl-2011.3.0/image/ install mkdir -p /usr/local/sbin mkdir -p /usr/local/share/man/man8 ACCESS DENIED mkdir: /usr/local/share/man/man8 mkdir: cannot create directory `/usr/local/share/man/man8': Permission denied make: *** [install] Error 1 emake failed * ERROR: net-misc/batctl-2011.3.0 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 3045: Called die * The specific snippet of code: * emake INSTALL_PREFIX="${D}" install || die; * * If you need support, post the output of 'emerge --info =net-misc/batctl-2011.3.0', * the complete build log and the output of 'emerge -pqv =net-misc/batctl-2011.3.0'. * The complete build log is located at '/var/tmp/portage/net-misc/batctl-2011.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/batctl-2011.3.0/temp/environment'. * S: '/var/tmp/portage/net-misc/batctl-2011.3.0/work/batctl-2011.3.0' --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-4254.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: mkdir S: deny P: man8 A: /usr/local/share/man/man8 R: /usr/local/share/man/man8 C: mkdir -p /usr/local/share/man/man8 -------------------------------------------------------------------------------- >>> Failed to emerge net-misc/batctl-2011.3.0, Log file: >>> '/var/tmp/portage/net-misc/batctl-2011.3.0/temp/build.log' * Messages for package net-misc/batctl-2011.3.0: * You need the batman-adv kernel module, * either from the kernel tree or via net-misc/batman-adv * ERROR: net-misc/batctl-2011.3.0 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_install * environment, line 3045: Called die * The specific snippet of code: * emake INSTALL_PREFIX="${D}" install || die; * * If you need support, post the output of 'emerge --info =net-misc/batctl-2011.3.0', * the complete build log and the output of 'emerge -pqv =net-misc/batctl-2011.3.0'. * The complete build log is located at '/var/tmp/portage/net-misc/batctl-2011.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/batctl-2011.3.0/temp/environment'. * S: '/var/tmp/portage/net-misc/batctl-2011.3.0/work/batctl-2011.3.0'
+*batctl-2011.3.0 (13 Nov 2011) + + 13 Nov 2011; Michael Weber <xmw@gentoo.org> +batctl-2011.3.0.ebuild: + Version bump (thanks to Franz Schrober for the report, bug 381665) +
+*batman-adv-2011.3.0 (13 Nov 2011) + + 13 Nov 2011; Michael Weber <xmw@gentoo.org> +batman-adv-2011.3.0.ebuild: + Version bump (thanks to Franz Schrober for the report, bug 381665) +
sorry for the delay.
No, the title says batman-adv 2011.3.1 and not 2011.3.0. Can you please update to the current bugfix version? Thanks
sure, sorry. should be on the rsync mirrors within the hour. +*batman-adv-2011.3.1 (14 Nov 2011) + + 14 Nov 2011; Michael Weber <xmw@gentoo.org> -batman-adv-2011.3.0.ebuild, + +batman-adv-2011.3.1.ebuild: + Version bump (bug 381665) +