Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656776 - sys-devel/bison-3.0.5 : [TEST] Can t open tests/testsuite.tmp: No such file or directory.
Summary: sys-devel/bison-3.0.5 : [TEST] Can t open tests/testsuite.tmp: No such file o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: TESTFAILURE
: 656756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-28 18:08 UTC by Toralf Förster
Modified: 2020-03-07 16:38 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.55 KB, text/plain)
2018-05-28 18:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,444.79 KB, text/plain)
2018-05-28 18:08 UTC, Toralf Förster
Details
environment (environment,90.32 KB, text/plain)
2018-05-28 18:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,25.75 KB, application/x-bzip)
2018-05-28 18:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,46.31 KB, application/x-bzip)
2018-05-28 18:09 UTC, Toralf Förster
Details
sys-devel:bison-3.0.5:20180528-121728.log (sys-devel:bison-3.0.5:20180528-121728.log,113.83 KB, text/plain)
2018-05-28 18:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.74 KB, application/x-bzip)
2018-05-28 18:09 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,326.84 KB, application/x-bzip)
2018-05-28 18:09 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 2018-05-28 18:08:45 UTC
  /bin/sh /var/tmp/portage/sys-devel/bison-3.0.5/work/bison-3.0.5/build-aux/missing autom4te --language=autotest -I ./tests ./tests/testsuite.at -o tests/testsuite.tmp
/usr/bin/perl -pi -e 's/\@tb\@/\t/g' tests/testsuite.tmp
Can't open tests/testsuite.tmp: No such file or directory.
mv tests/testsuite.tmp tests/testsuite
mv: cannot stat 'tests/testsuite.tmp': No such file or directory
make[3]: *** [Makefile:7432: tests/testsuite] Error 1

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

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

java-config:
The following VMs are available for generation-2:


emerge -qpv sys-devel/bison
[ebuild     U ] sys-devel/bison-3.0.5 [3.0.4-r1] USE="nls {test*} -examples -static" 

!!! The following installed packages are masked:
- dev-util/automoc-0.9.88-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (27 May 2018)
# Depends on dead Qt4. No more revdeps. Masked for removal in 30 days.

- net-misc/urlview-0.9::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Chema Alonso Josa <nimiux@gentoo.org> (28 May 2018)
# Upstream is dead.
# Masked for removal in 30 days. Bug #646118

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-05-28 18:08:48 UTC
Created attachment 533764 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-28 18:08:51 UTC
Created attachment 533766 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-28 18:08:54 UTC
Created attachment 533768 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-28 18:08:57 UTC
Created attachment 533770 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-28 18:09:00 UTC
Created attachment 533772 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-28 18:09:04 UTC
Created attachment 533774 [details]
sys-devel:bison-3.0.5:20180528-121728.log
Comment 7 Toralf Förster gentoo-dev 2018-05-28 18:09:07 UTC
Created attachment 533776 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-05-28 18:09:10 UTC
Created attachment 533778 [details]
tests.tbz2
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-05-29 17:56:48 UTC
*** Bug 656756 has been marked as a duplicate of this bug. ***
Comment 10 Thomas Deutschmann (RETIRED) gentoo-dev 2018-05-29 18:30:40 UTC
This is somehow caused by our bison-3.0.5-avoid_autoreconf.patch. Without that patch, test suite will run (and pass).
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-30 06:41:30 UTC
(In reply to Thomas Deutschmann from comment #10)
> This is somehow caused by our bison-3.0.5-avoid_autoreconf.patch. Without
> that patch, test suite will run (and pass).

The same happens with our stable bison-3.0.4-r1 ebuild. I gonna look at it later.
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-31 12:01:38 UTC
Okay, so the tests also fail when we overwrite build-aux/missing and just let it "exit 0" and nothing else.
I wonder why build-aux/missing is still being called even with the bison-3.0.5-avoid_autoreconf.patch patch. My sole intention was to avoid this (see bug #648012).
I wonder if it's still worth patching the build system to avoid perl dependency with the whole hassle involved...
Comment 13 Paolo Pedroni 2018-08-22 13:13:25 UTC
Is there any progress on this? Tests are broken on current stable ATM.
Comment 14 Larry the Git Cow gentoo-dev 2018-08-31 02:10:04 UTC
The bug has been closed via the following commit(s):

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

commit ceba04a47e4f86462451230f74988b245d3f71b6
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-08-31 02:07:58 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-08-31 02:08:21 +0000

    sys-devel/bison: backport ebuild fixes from v3.1
    
    - Due to touching right files we can avoid regeneration of
      files in tests/.
    
    - build-aux/missing hack removed, no longer necessary.
    
    - USE=examples fixed: Due to a bug in previous patch to avoid
      perl dependencies, examples were never installed even if
      requested.
    
    Bug: https://bugs.gentoo.org/648012
    Closes: https://bugs.gentoo.org/656776
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sys-devel/bison/Manifest                           |  2 +-
 .../{bison-3.0.5.ebuild => bison-3.0.5-r1.ebuild}  | 22 +++++++++++++++-------
 2 files changed, 16 insertions(+), 8 deletions(-)
Comment 15 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-09-12 02:09:02 UTC
(In reply to Larry the Git Cow from comment #14)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=ceba04a47e4f86462451230f74988b245d3f71b6
> 
> commit ceba04a47e4f86462451230f74988b245d3f71b6
> Author:     Thomas Deutschmann <whissi@gentoo.org>
> AuthorDate: 2018-08-31 02:07:58 +0000
> Commit:     Thomas Deutschmann <whissi@gentoo.org>
> CommitDate: 2018-08-31 02:08:21 +0000
> 
>     sys-devel/bison: backport ebuild fixes from v3.1
>     
>     - Due to touching right files we can avoid regeneration of
>       files in tests/.
>     
>     - build-aux/missing hack removed, no longer necessary.
>     
>     - USE=examples fixed: Due to a bug in previous patch to avoid
>       perl dependencies, examples were never installed even if
>       requested.
>     
>     Bug: https://bugs.gentoo.org/648012
>     Closes: https://bugs.gentoo.org/656776
>     Package-Manager: Portage-2.3.48, Repoman-2.3.10
> 
>  sys-devel/bison/Manifest                           |  2 +-
>  .../{bison-3.0.5.ebuild => bison-3.0.5-r1.ebuild}  | 22
> +++++++++++++++-------
>  2 files changed, 16 insertions(+), 8 deletions(-)

Is the plan to stabilize bison 3.0.5 and purge older versions? Current stable 3.0.4 is still broken.

  /bin/sh /var/tmp/portage/sys-devel/bison-3.0.4-r1/work/bison-3.0.4/build-aux/missing autom4te --language=autotest -I ./tests ./tests/testsuite.at -o tests/testsuite.tmp
/usr/bin/perl -pi -e 's/\@tb\@/\t/g' tests/testsuite.tmp
Can't open tests/testsuite.tmp: No such file or directory.
mv tests/testsuite.tmp tests/testsuite
mv: cannot stat 'tests/testsuite.tmp': No such file or directory
make[3]: *** [Makefile:6848: tests/testsuite] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 16 Thomas Deutschmann (RETIRED) gentoo-dev 2018-09-12 14:43:57 UTC
(In reply to Kent Fredric (IRC: kent\n) from comment #15)
> (In reply to Larry the Git Cow from comment #14)
> > The bug has been closed via the following commit(s):
> > 
> > https://gitweb.gentoo.org/repo/gentoo.git/commit/
> > ?id=ceba04a47e4f86462451230f74988b245d3f71b6
> > 
> > commit ceba04a47e4f86462451230f74988b245d3f71b6
> > Author:     Thomas Deutschmann <whissi@gentoo.org>
> > AuthorDate: 2018-08-31 02:07:58 +0000
> > Commit:     Thomas Deutschmann <whissi@gentoo.org>
> > CommitDate: 2018-08-31 02:08:21 +0000
> > 
> >     sys-devel/bison: backport ebuild fixes from v3.1
> >     
> >     - Due to touching right files we can avoid regeneration of
> >       files in tests/.
> >     
> >     - build-aux/missing hack removed, no longer necessary.
> >     
> >     - USE=examples fixed: Due to a bug in previous patch to avoid
> >       perl dependencies, examples were never installed even if
> >       requested.
> >     
> >     Bug: https://bugs.gentoo.org/648012
> >     Closes: https://bugs.gentoo.org/656776
> >     Package-Manager: Portage-2.3.48, Repoman-2.3.10
> > 
> >  sys-devel/bison/Manifest                           |  2 +-
> >  .../{bison-3.0.5.ebuild => bison-3.0.5-r1.ebuild}  | 22
> > +++++++++++++++-------
> >  2 files changed, 16 insertions(+), 8 deletions(-)
> 
> Is the plan to stabilize bison 3.0.5 and purge older versions? Current
> stable 3.0.4 is still broken.

Yes, we are currently stabilizing =sys-devel/bison/3.0.5-r1 via bug 664926 where this is fixed. Once stabilized, we will drop previous versions.
Comment 17 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2019-07-31 12:14:13 UTC
Still an issue with latst bison?
Comment 18 Toralf Förster gentoo-dev 2019-08-03 16:19:22 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #17)
> Still an issue with latst bison?

no
Comment 19 Jonas Stein gentoo-dev 2020-03-07 16:38:53 UTC
sys-devel/bison-3.0.5 is no longer in the tree,
fixed in >=sys-devel/bison-3.0.5
closing here.