Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889394 - sys-devel/autogen-5.18.16-r1 fails test - FAIL: stress.test
Summary: sys-devel/autogen-5.18.16-r1 fails test - FAIL: stress.test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 847148
  Show dependency tree
 
Reported: 2023-01-02 18:28 UTC by Toralf Förster
Modified: 2023-12-02 07:13 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.92 KB, text/plain)
2023-01-02 18:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,228.67 KB, text/plain)
2023-01-02 18:28 UTC, Toralf Förster
Details
environment (environment,60.29 KB, text/plain)
2023-01-02 18:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.59 KB, application/x-bzip)
2023-01-02 18:28 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,26.55 KB, application/x-bzip)
2023-01-02 18:28 UTC, Toralf Förster
Details
sys-devel:autogen-5.18.16-r1:20230102-051230.log (sys-devel:autogen-5.18.16-r1:20230102-051230.log,65.73 KB, text/plain)
2023-01-02 18:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.22 KB, application/x-bzip)
2023-01-02 18:28 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 2023-01-02 18:28:22 UTC
PASS: string.test
PASS: gperf.test
PASS: strxform.test
PASS: time.test
PASS: pseudo.test
PASS: strtable.test
FAIL: stress.test
PASS: str2m.test
============================================================================

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4_test-20221230-070027

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.66.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit dee97618e70db543c3aaa254fd56413c634d9899
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 2 04:17:00 2023 +0000

    Merge updates from master

emerge -qpvO sys-devel/autogen
[ebuild  N    ] sys-devel/autogen-5.18.16-r1  USE="-libopts -static-libs"
Comment 1 Toralf Förster gentoo-dev 2023-01-02 18:28:24 UTC
Created attachment 846660 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-01-02 18:28:25 UTC
Created attachment 846662 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-01-02 18:28:26 UTC
Created attachment 846664 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-01-02 18:28:28 UTC
Created attachment 846666 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-01-02 18:28:29 UTC
Created attachment 846668 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-01-02 18:28:30 UTC
Created attachment 846670 [details]
sys-devel:autogen-5.18.16-r1:20230102-051230.log
Comment 7 Toralf Förster gentoo-dev 2023-01-02 18:28:31 UTC
Created attachment 846672 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-12 08:07:00 UTC
From stress.log:
```
>stress-run_ag> opts=
>stress-run_ag> shift
>stress-run_ag> case " $* " in
>stress-run_ag> opts=-L/var/tmp/portage/sys-devel/autogen-5.18.16-r1/work/autogen-5.18.16/autoopts/tpl
>stress-run_ag> /var/tmp/portage/sys-devel/autogen-5.18.16-r1/work/autogen-5.18.16/agen5/autogen -L/var/tmp/portage/sys-devel/autogen-5.18.16-r1/work/autogen-5.18.16/autoopts/tpl -b stress -
*** buffer overflow detected ***: terminated
./defs: line 175: 20016 Aborted                 ${AGexe} ${opts} "$@"
./stress.test: line 49: echo: write error: Broken pipe
./stress.test: line 49: echo: write error: Broken pipe
```

Fedora are applying a few patches:
* https://src.fedoraproject.org/rpms/autogen/blob/rawhide/f/autogen-overlap.patch
* https://src.fedoraproject.org/rpms/autogen/blob/rawhide/f/autogen-configure-c99.patch
* https://src.fedoraproject.org/rpms/autogen/blob/rawhide/f/autogen-fortify.patch (-> https://sourceforge.net/p/autogen/bugs/212/)
Comment 9 Larry the Git Cow gentoo-dev 2023-12-02 07:13:08 UTC
The bug has been closed via the following commit(s):

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

commit bc1a2e327998227c5537b25bd81a146c17b3431c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-02 07:09:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-02 07:10:16 +0000

    sys-devel/autogen: fix configure modern c issues, fix FORTIFY_SOURCE=3 test issue
    
    Closes: https://bugs.gentoo.org/889394
    Closes: https://bugs.gentoo.org/898590
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/autogen/autogen-5.18.16-r3.ebuild        |  74 +++++++++++++++
 .../files/autogen-5.18.16-FORTIFY_SOURCE.patch     | 100 +++++++++++++++++++++
 .../files/autogen-5.18.16-configure-c99.patch      |  42 +++++++++
 3 files changed, 216 insertions(+)