Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381665 - Please update net-misc/batman-adv to 2011.3.1 and net-misc/batctl to 2011.3.0
Summary: Please update net-misc/batman-adv to 2011.3.1 and net-misc/batctl to 2011.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Michael Weber (RETIRED)
URL: https://lists.open-mesh.org/pipermail...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-03 09:35 UTC by Franz Schrober
Modified: 2011-11-14 10:25 UTC (History)
0 users

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 Franz Schrober 2011-09-03 09:35:18 UTC
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'
Comment 1 Michael Weber (RETIRED) gentoo-dev 2011-11-13 23:36:20 UTC
+*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)
+
Comment 2 Michael Weber (RETIRED) gentoo-dev 2011-11-13 23:39:28 UTC
+*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)
+
Comment 3 Michael Weber (RETIRED) gentoo-dev 2011-11-13 23:39:44 UTC
sorry for the delay.
Comment 4 Franz Schrober 2011-11-14 08:40:02 UTC
No, the title says batman-adv 2011.3.1 and not 2011.3.0. Can you please update to the current bugfix version? Thanks
Comment 5 Michael Weber (RETIRED) gentoo-dev 2011-11-14 10:25:06 UTC
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)
+