Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 375451 - www-client/chromium-14.0.814.0 requires bison to build
Summary: www-client/chromium-14.0.814.0 requires bison to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-17 10:34 UTC by Albert W. Hopkins
Modified: 2011-07-18 17:13 UTC (History)
0 users

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


Attachments
emerge --info (emerge--info.txt,2.70 KB, text/plain)
2011-07-17 10:34 UTC, Albert W. Hopkins
Details
build.log (build.log,929.71 KB, text/plain)
2011-07-17 13:06 UTC, Albert W. Hopkins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albert W. Hopkins 2011-07-17 10:34:13 UTC
Created attachment 280217 [details]
emerge --info

It seems that chromium now requires sys-devel/bison to build:

[...]

  export LD_LIBRARY_PATH=/var/tmp/portage/www-client/chromium-14.0.814.0/work/chromium-14.0.814.0/out/Release/lib.host:/var/tmp/portage/www-client/chromium-14.0.814.0/work/chromium-14.0.814.0/out/Release/lib.target:$LD_LIBRARY_PATH; cd third_party/WebKit/Source/WebCore/WebCore.gyp; mkdir -p /var/tmp/portage/www-client/chromium-14.0.814.0/work/chromium-14.0.814.0/out/Release/obj/gen/webkit; python scripts/rule_bison.py "/var/tmp/portage/www-client/chromium-14.0.814.0/work/chromium-14.0.814.0/third_party/WebKit/Source/WebCore/css/CSSGrammar.y" "/var/tmp/portage/www-client/chromium-14.0.814.0/work/chromium-14.0.814.0/out/Release/obj/gen/webkit"
Traceback (most recent call last):
  File "scripts/rule_bison.py", line 72, in <module>
    returnCode = subprocess.call(['bison', '-d', '-p', prefix, inputFile, '-o', outputCpp])
  File "/usr/lib64/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()                                   
  File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1228, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
make: *** [out/Release/obj/gen/webkit/CSSGrammar.cpp] Error 1


# which bison
which: no bison in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2)

Manually emerging bison works around the issue.
Comment 1 Agostino Sarubbo gentoo-dev 2011-07-17 10:36:26 UTC
Please add FULL build log as attachment. It fails in src_test or other?
Comment 2 Albert W. Hopkins 2011-07-17 11:58:48 UTC
(In reply to comment #1)
> Please add FULL build log as attachment. It fails in src_test or other?

It happens in src_compile.

Will re-create and attache the full log.
Comment 3 Albert W. Hopkins 2011-07-17 13:06:37 UTC
Created attachment 280231 [details]
build.log
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-07-18 00:25:08 UTC
Sorry, I don't get it how you don't have bison installed. I think it's a part of the system set, and all packages can implicitly depend on it: http://devmanual.gentoo.org/general-concepts/dependencies/index.html .

Feel free to re-open the bug with a good explanation.
Comment 5 Mike Gilbert gentoo-dev 2011-07-18 00:47:47 UTC
Reopening. bison was recently removed from the system set. See bug 221311.
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-07-18 17:13:02 UTC
Done, thank you for the report and explanation - that was very helpful.