Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677926 - dev-build/autoconf-2.13-r6 fails tests: FAIL: AC_FUNC_GETLOADAVG, problem with executing
Summary: dev-build/autoconf-2.13-r6 fails tests: FAIL: AC_FUNC_GETLOADAVG, problem wit...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
: 882439 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-13 19:22 UTC by Toralf Förster
Modified: 2024-01-22 11:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.80 KB, text/plain)
2019-02-13 19:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,158.75 KB, text/plain)
2019-02-13 19:22 UTC, Toralf Förster
Details
environment (environment,17.89 KB, text/plain)
2019-02-13 19:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.80 KB, application/x-bzip)
2019-02-13 19:22 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.46 KB, application/x-bzip)
2019-02-13 19:22 UTC, Toralf Förster
Details
sys-devel:autoconf-2.13-r1:20190213-190826.log (sys-devel:autoconf-2.13-r1:20190213-190826.log,9.42 KB, text/plain)
2019-02-13 19:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.87 KB, application/x-bzip)
2019-02-13 19:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-02-13 19:22:25 UTC
AC_FUNC_ALLOCA
AC_FUNC_GETLOADAVG
FAIL: AC_FUNC_GETLOADAVG, problem with executing
AC_FUNC_UTIME_NULL
AC_FUNC_STRCOLL
AC_FUNC_SETVBUF_REVERSED

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_test_20190209-222026

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.32.0 *



emerge -qpvO sys-devel/autoconf
[ebuild   R   ] sys-devel/autoconf-2.69-r4  USE="-emacs"
Comment 1 Toralf Förster gentoo-dev 2019-02-13 19:22:28 UTC
Created attachment 565188 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-02-13 19:22:31 UTC
Created attachment 565190 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-02-13 19:22:33 UTC
Created attachment 565192 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-02-13 19:22:36 UTC
Created attachment 565194 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-02-13 19:22:39 UTC
Created attachment 565196 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-02-13 19:22:42 UTC
Created attachment 565198 [details]
sys-devel:autoconf-2.13-r1:20190213-190826.log
Comment 7 Toralf Förster gentoo-dev 2019-02-13 19:22:44 UTC
Created attachment 565200 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2022-02-13 09:55:31 UTC
Update summary. [something] is used when something refers to an overlay
Comment 9 Agostino Sarubbo gentoo-dev 2022-11-08 09:00:53 UTC
lto_tinderbox has reproduced this issue with version 2.13-r6 - Updating summary.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-22 06:03:43 UTC
*** Bug 882439 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-22 06:06:36 UTC
From /var/tmp/portage/sys-devel/autoconf-2.13-r7/work/autoconf-2.13/testsuite/autoconf.log:
```
AC_FUNC_GETLOADAVG
/var/tmp/portage/sys-devel/autoconf-2.13-r7/work/autoconf-2.13/autoconf -m /var/tmp/portage/sys-devel/autoconf-2.13-r7/work/autoconf-2.13 AC_FUNC_GETLOADAVG.in > AC_FUNC_GETLOADAVG
FAIL: AC_FUNC_GETLOADAVG, problem with executing
ls: cannot access '/dev/kmem': No such file or directory
```
Comment 12 Toralf Förster gentoo-dev 2022-11-22 09:04:23 UTC
(In reply to Sam James from comment #11)
> ls: cannot access '/dev/kmem': No such file or directory
> ```
Indeed, this is a bubblewrap environment, /dev only contains:



17-1-desktop-plasma-j4-20221120-222342 /var/tmp/tb # ls -l /dev/
total 0
crw--w---- 1 root tty  136, 0 Nov 22 09:03 console
lrwxrwxrwx 1 root root     11 Nov 22 09:03 core -> /proc/kcore
lrwxrwxrwx 1 root root     13 Nov 22 09:03 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1, 7 Nov 16 20:16 full
drwxrwxrwt 2 root root     40 Nov 22 09:03 mqueue
crw-rw-rw- 1 root root   1, 3 Nov 16 20:16 null
lrwxrwxrwx 1 root root      8 Nov 22 09:03 ptmx -> pts/ptmx
drwxr-xr-x 2 root root      0 Nov 22 09:03 pts
crw-rw-rw- 1 root root   1, 8 Nov 16 20:16 random
drwxrwxrwt 2 root root     40 Nov 22 09:03 shm
lrwxrwxrwx 1 root root     15 Nov 22 09:03 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root     15 Nov 22 09:03 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root     15 Nov 22 09:03 stdout -> /proc/self/fd/1
crw-rw-rw- 1 root tty    5, 0 Nov 20 16:49 tty
crw-rw-rw- 1 root root   1, 9 Nov 16 20:16 urandom
crw-rw-rw- 1 root root   1, 5 Nov 16 20:16 zero
Comment 13 Toralf Förster gentoo-dev 2022-11-22 09:05:07 UTC
but even outside I do not have that device here.
Comment 14 Larry the Git Cow gentoo-dev 2024-01-22 11:51:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f

commit d7dbfacbf92767bfa5aa46c9cc7ee12dcbcc558f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-22 11:50:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-22 11:50:12 +0000

    dev-build/autoconf: skip AC_FUNC_GETLOADAVG test for 2.13
    
    The macro itself is broken in autoconf-2.13 but this is caused by newer kernels
    etc rather than anything else. Very, very few packages use autoconf-2.13, let
    alone AC_FUNC_GETLOADAVG, so not going to worry about it much.
    
    Do as Fedora and Debian do and skip the test for it.
    
    Closes: https://bugs.gentoo.org/406723
    Closes: https://bugs.gentoo.org/677926
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-build/autoconf/autoconf-2.13-r8.ebuild           |  1 +
 .../autoconf-2.13-skip-AC_FUNC_GETLOADAVG-test.patch | 20 ++++++++++++++++++++
 2 files changed, 21 insertions(+)