Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884289 - dev-util/ostree-2022.7 - configure: error: bison not found but required
Summary: dev-util/ostree-2022.7 - configure: error: bison not found but required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-04 11:29 UTC by Toralf Förster
Modified: 2023-05-10 00:29 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.79 KB, text/plain)
2022-12-04 11:29 UTC, Toralf Förster
Details
dev-util:ostree-2022.7:20221204-104116.log (dev-util:ostree-2022.7:20221204-104116.log,12.04 KB, text/plain)
2022-12-04 11:29 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,79.80 KB, application/x-bzip)
2022-12-04 11:29 UTC, Toralf Förster
Details
environment (environment,84.39 KB, text/plain)
2022-12-04 11:29 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,705 bytes, application/x-bzip)
2022-12-04 11:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.34 KB, application/x-bzip)
2022-12-04 11:29 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.54 KB, application/x-bzip)
2022-12-04 11:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.70 KB, application/x-bzip)
2022-12-04 11:29 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 2022-12-04 11:29:50 UTC
checking for clock_gettime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for sys/xattr.h... yes
configure: error: bison not found but required

!!! Please attach the following file when seeking support:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221128-220028

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit e4521f24efb05b061f1cbc8940e316794605dbaf
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 4 09:53:29 2022 +0000

    2022-12-04 09:53:28 UTC

emerge -qpvO dev-util/ostree
[ebuild  N    ] dev-util/ostree-2022.7  USE="curl gnutls gpg http2 soup ssl systemd zeroconf -archive -doc -dracut -grub -httpd -introspection -libmount (-selinux) -sodium"
Comment 1 Toralf Förster gentoo-dev 2022-12-04 11:29:51 UTC
Created attachment 839753 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-04 11:29:52 UTC
Created attachment 839755 [details]
dev-util:ostree-2022.7:20221204-104116.log
Comment 3 Toralf Förster gentoo-dev 2022-12-04 11:29:54 UTC
Created attachment 839757 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-12-04 11:29:55 UTC
Created attachment 839759 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-04 11:29:56 UTC
Created attachment 839761 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-04 11:29:57 UTC
Created attachment 839763 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-04 11:29:58 UTC
Created attachment 839765 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-04 11:29:59 UTC
Created attachment 839767 [details]
temp.tar.bz2
Comment 9 ernsteiswuerfel archtester 2023-01-07 20:21:31 UTC
Only a problem if byacc is used via app-alternatives/yacc.

Builds fine when bison is used as default.
Comment 10 Anna Vyalkova 2023-01-18 09:14:39 UTC
(In reply to ernsteiswuerfel from comment #9)
> Only a problem if byacc is used via app-alternatives/yacc.
> 
> Builds fine when bison is used as default.

To fix this issue, set YACC variable in the ebuild.
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.71/html_node/Particular-Programs.html
Comment 11 Larry the Git Cow gentoo-dev 2023-05-10 00:29:47 UTC
The bug has been closed via the following commit(s):

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

commit 6b9b4ebfc35ab5c718e21a20def3e7bbfcbc52e3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-10 00:24:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-10 00:29:26 +0000

    dev-util/ostree: unset YACC for bison
    
    Closes: https://bugs.gentoo.org/884289
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/ostree/ostree-2022.2.ebuild    | 5 ++++-
 dev-util/ostree/ostree-2022.5-r1.ebuild | 5 ++++-
 dev-util/ostree/ostree-2022.6.ebuild    | 5 ++++-
 dev-util/ostree/ostree-2022.7-r1.ebuild | 3 +++
 dev-util/ostree/ostree-2023.1.ebuild    | 3 +++
 5 files changed, 18 insertions(+), 3 deletions(-)