Bug 157708 - Chromium doesnt compile
Summary: Chromium doesnt compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-chromium (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 16:30 UTC by Scrootie
Modified: 2011-06-09 07:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scrootie 2011-06-08 16:30:13 UTC
[root@freebsd /usr/ports/www/chromium]# make
===>   chromium-12.0.742.91 depends on file: /usr/local/bin/flex - found
===>   chromium-12.0.742.91 depends on file: /usr/local/bin/gperf - found
===>   chromium-12.0.742.91 depends on executable: bash - found
===>   chromium-12.0.742.91 depends on executable: yasm - found
===>   chromium-12.0.742.91 depends on package: nss>=3.12 - found
===>   chromium-12.0.742.91 depends on file: /usr/local/bin/as - found
===>   chromium-12.0.742.91 depends on file: /usr/local/bin/python2.7 - found
===>   chromium-12.0.742.91 depends on package: p5-Switch>=0 - found
===>   chromium-12.0.742.91 depends on executable: gmake - found
===>   chromium-12.0.742.91 depends on executable: bison - found
===>   chromium-12.0.742.91 depends on file: /usr/local/libdata/pkgconfig/scrnsaverproto.pc - found
===>   chromium-12.0.742.91 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   chromium-12.0.742.91 depends on file: /usr/local/libdata/pkgconfig/xproto.pc - found
===>   chromium-12.0.742.91 depends on file: /usr/local/libdata/pkgconfig/xscrnsaver.pc - found
===>   chromium-12.0.742.91 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found
===>   chromium-12.0.742.91 depends on file: /usr/local/bin/perl5.14.0 - found
===>   chromium-12.0.742.91 depends on file: /usr/local/bin/intltool-extract - found
===>   chromium-12.0.742.91 depends on executable: pkg-config - found
===>   chromium-12.0.742.91 depends on shared library: execinfo.1 - found
===>   chromium-12.0.742.91 depends on shared library: cairo.2 - found
===>   chromium-12.0.742.91 depends on shared library: dbus-1.3 - found
===>   chromium-12.0.742.91 depends on shared library: dbus-glib-1.2 - found
===>   chromium-12.0.742.91 depends on shared library: asound.2 - found
===>   chromium-12.0.742.91 depends on shared library: freetype.9 - found
===>   chromium-12.0.742.91 depends on shared library: nss3.1 - found
===>   chromium-12.0.742.91 depends on shared library: gnome-keyring.0 - found
===>   chromium-12.0.742.91 depends on shared library: ibus.2 - found
===>   chromium-12.0.742.91 depends on shared library: cups.2 - found
===>   chromium-12.0.742.91 depends on shared library: vpx - found
===>   chromium-12.0.742.91 depends on shared library: atk-1.0.0 - found
===>   chromium-12.0.742.91 depends on shared library: gconf-2.4 - found
===>   chromium-12.0.742.91 depends on shared library: glib-2.0.0 - found
===>   chromium-12.0.742.91 depends on shared library: gtk-x11-2.0.0 - found
===>   chromium-12.0.742.91 depends on shared library: IDL-2.0 - found
===>   chromium-12.0.742.91 depends on shared library: xml2.5 - found
===>   chromium-12.0.742.91 depends on shared library: xslt.2 - found
===>   chromium-12.0.742.91 depends on shared library: ORBit-2.0 - found
===>   chromium-12.0.742.91 depends on shared library: pango-1.0.0 - found
===>   chromium-12.0.742.91 depends on shared library: dconf.0 - found
===>  Configuring for chromium-12.0.742.91
cd /usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91 &&  GYP_DEFINES="use_system_libxml=1 use_system_ffmpeg=0 use_system_yasm=1 python_ver=2.7 ffmpeg_branding=Chrome use_proprietary_codecs=1 disable_sse2=1 use_system_vpx=1" /usr/local/bin/python2.7  ./build/gyp_chromium chrome/chrome.gyp --depth .
Updating projects from gyp files...
readlink: illegal option -- f
usage: readlink [-n] [file ...]
Traceback (most recent call last):
  File "./build/gyp_chromium", line 167, in <module>
    sys.exit(gyp.main(args))
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/__init__.py", line 446, in main
    options.circular_check)
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/__init__.py", line 84, in Load
    depth, generator_input_info, check, circular_check)
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/input.py", line 2174, in Load
    depth, check)
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/input.py", line 379, in LoadTargetBuildFile
    build_file_path)
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/input.py", line 888, in ProcessVariablesAndConditionsInDict
    variables, build_file, 'variables')
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/input.py", line 940, in ProcessVariablesAndConditionsInDict
    ProcessConditionsInDict(the_dict, is_late, variables, build_file)
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/input.py", line 817, in ProcessConditionsInDict
    variables, build_file)
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/input.py", line 895, in ProcessVariablesAndConditionsInDict
    expanded = ExpandVariables(value, is_late, variables, build_file)
  File "/usr/ports/www/chromium/work/chromium-courgette-redacted-12.0.742.91/tools/gyp/pylib/gyp/input.py", line 652, in ExpandVariables
    (contents, p.returncode))
Exception: Call to '../build/linux/python_arch.sh /usr/local/lib/libpython2.7.so.1' returned exit status 0. while trying to load chrome/chrome.gyp
*** Error code 1

Stop in /usr/ports/www/chromium.
*** Error code 1

Stop in /usr/ports/www/chromium.
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2011-06-08 17:51:03 UTC
Responsible Changed
From-To: freebsd-www->freebsd-chromium

Fix category and responsible
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-06-08 19:45:22 UTC
rene        2011-06-08 18:45:08 UTC

  FreeBSD ports repository

  Added files:
    www/chromium/files   patch-build__linux__python_arch.sh 
  Log:
  Re-add a patch to fix a build failure happening under certain circumstances.
  
  PR:             ports/157708
  Submitted by:   Pedro Garcia [sawp sawp.com br]
  Obtained from:  Chromium development repository (George Liaskos)
  
  Revision  Changes    Path
  1.3       +16 -0     ports/www/chromium/files/patch-build__linux__python_arch.sh (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2011-06-08 19:48:00 UTC
Can you update your Ports Tree and try to rebuild the port?
Comment 4 Rene Ladan freebsd_committer freebsd_triage 2011-06-08 19:48:28 UTC
State Changed
From-To: open->feedback

Awaiting submitter feedback to see if patch helped.
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2011-06-09 07:55:05 UTC
State Changed
From-To: feedback->closed

Patch works for submitter