chromium-28.0.1500.71 build failed on a system without base gcc
Andriy Gapon
avg at FreeBSD.org
Sun Aug 4 18:33:00 UTC 2013
on 04/08/2013 15:55 Andriy Gapon said the following:
> on 04/08/2013 15:10 George Liaskos said the following:
>> Try this,
>>
>> diff --git a/www/chromium/Makefile b/www/chromium/Makefile
>> index af1fd1b..dab973d 100644
>> --- a/www/chromium/Makefile
>> +++ b/www/chromium/Makefile
>> @@ -192,7 +192,7 @@ post-patch:
>> ${WRKSRC}/ui/base/strings/app_locale_settings_th.xtb
>>
>> do-configure:
>> - cd ${WRKSRC} && \
>> + cd ${WRKSRC} && CC="${CC}" CXX="${CXX}" \
>> GYP_DEFINES="${GYP_DEFINES}" ${PYTHON_CMD} \
>> ./build/gyp_chromium chrome/chrome.gyp --depth .
>
> Thank you very much! This has helped.
>
Unfortunately, the build failed at a later stage:
open2: exec of /usr/bin/gcc -E -P -x c++ -DENABLE_3D_PLUGIN=1
-DENABLE_BATTERY_STATUS=0 -DENABLE_CANVAS_USES_MAILBOX=0 -DENABLE_CSS3_TEXT=0
-DENABLE_CSS_COMPOSITING=0 -DENABLE_CSS_DEVICE_ADAPTATION=0
-DENABLE_CSS_EXCLUSIONS=1 -DENABLE_CSS_REGIONS=1
-DENABLE_CUSTOM_SCHEME_HANDLER=0 -DENABLE_ENCRYPTED_MEDIA=1
-DENABLE_JAVASCRIPT_I18N_API=1 -DENABLE_RESOLUTION_MEDIA_QUERY=0 -DENABLE_RUBY=1
-DENABLE_SANDBOX=1 -DENABLE_SVG=1 -DENABLE_SVG_FONTS=1
-DENABLE_TOUCH_ICON_LOADING=0 -DENABLE_WEBGL=1 -DENABLE_XHR_TIMEOUT=0
-DWTF_USE_BUILTIN_UTF8_CODEC=1 -DWTF_USE_WEBKIT_IMAGE_DECODERS=1
-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DENABLE_CALENDAR_PICKER=1
-DENABLE_DATALIST_ELEMENT=1 -DENABLE_INPUT_SPEECH=1 -DENABLE_INPUT_TYPE_COLOR=1
-DENABLE_INPUT_MULTIPLE_FIELDS_UI=1 -DENABLE_LEGACY_NOTIFICATIONS=1
-DENABLE_MEDIA_CAPTURE=0 -DENABLE_NAVIGATOR_CONTENT_UTILS=1
-DENABLE_NOTIFICATIONS=1 -DENABLE_ORIENTATION_EVENTS=0 -DENABLE_PAGE_POPUP=1
-DENABLE_PRINTING=1 -DENABLE_WEB_AUDIO=1 -DENABLE_8BIT_TEXTRUN=1
-DENABLE_BINDING_INTEGRITY=1 -DWTF_USE_WEBAUDIO_FFMPEG=1
-DENABLE_OPENTYPE_VERTICAL=1 -DWTF_USE_HARFBUZZ=1
-DENABLE_DEFAULT_RENDER_THEME=1 ../css/CSSGrammar.y.in failed at
../scripts/preprocessor.pm line 80.
gmake: *** [out/Release/obj/gen/webkit/CSSGrammar.y] Error 2
gmake: *** Waiting for unfinished jobs....
===> Compilation failed unexpectedly.
Looks like the script would honor CC in environment if it were set.
--
Andriy Gapon
More information about the freebsd-chromium
mailing list