Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957898 - =chromium-138.0.7204.15 ebuild typo produces: ERROR at the command-line "--args":1:763: Newline in string constant.
Summary: =chromium-138.0.7204.15 ebuild typo produces: ERROR at the command-line "--ar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-06-12 06:33 UTC by tdr
Modified: 2025-06-12 10:23 UTC (History)
1 user (show)

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


Attachments
build fail log (chromium-138.0.7204.15-build-fail.log,8.24 KB, text/plain)
2025-06-12 06:34 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2025-06-12 06:33:20 UTC
mismatched quotes in ebuild result in a newline character being captured as part of argument


Reproducible: Always

Actual Results:  
 * Configuring Chromium ...
gn gen --args=target_cpu="x64" blink_enable_generated_code_formatting=false dcheck_always_on=false dcheck_is_configurable=false disable_fieldtrial_testing_config=true enable_freetype=true enable_hangout_services_extension=false enable_nacl=false enable_nocompile_tests=false enable_pseudolocales=false enable_widevine=true fatal_linker_warnings=false google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" is_component_build=false is_debug=false is_official_build=true ozone_auto_platforms=false ozone_platform_headless=true safe_browsing_use_unrar=true thin_lto_enable_optimizations=true treat_warnings_as_errors=false use_custom_libcxx=true use_ozone=true use_sysroot=false use_system_harfbuzz=true use_thin_lto=true v8_use_libm_trig_functions=true proprietary_codecs=true"
			"ffmpeg_branding="Chrome" is_component_ffmpeg=true gtk_version=4 link_pulseaudio=true ozone_platform_wayland=true ozone_platform_x11=true ozone_platform="wayland" rtc_use_pipewire=true use_cups=true use_kerberos=false use_pulseaudio=true use_qt5=false use_system_libffi=true use_system_minigbm=true use_vaapi=true use_xkbcommon=true use_qt6=true moc_qt6_path="/usr/lib64/qt6/libexec" is_cfi=true symbol_level=0 chrome_pgo_phase=0 out/Release
ERROR at the command-line "--args":1:763: Newline in string constant.
target_cpu="x64" blink_enable_generated_code_formatting=false dcheck_always_on=false dcheck_is_configurable=false disable_fieldtrial_testing_config=true enable_freetype=true enable_hangout_services_extension=false enable_nacl=false enable_nocompile_tests=false enable_pseudolocales=false enable_widevine=true fatal_linker_warnings=false google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" is_component_build=false is_debug=false is_official_build=true ozone_auto_platforms=false ozone_platform_headless=true safe_browsing_use_unrar=true thin_lto_enable_optimizations=true treat_warnings_as_errors=false use_custom_libcxx=true use_ozone=true use_sysroot=false use_system_harfbuzz=true use_thin_lto=true v8_use_libm_trig_functions=true proprietary_codecs=true"


ebuild diff that fixes the failure:

1109,1110c1109,1110
< 			'proprietary_codecs=true"
< 			"ffmpeg_branding="Chrome"'
---
> 			"proprietary_codecs=true"
> 			'ffmpeg_branding="Chrome"'
Comment 1 tdr 2025-06-12 06:34:32 UTC
Created attachment 933348 [details]
build fail log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-06-12 06:38:25 UTC

*** This bug has been marked as a duplicate of bug 957508 ***
Comment 3 Larry the Git Cow gentoo-dev 2025-06-12 10:23:01 UTC
The bug has been closed via the following commit(s):

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

commit 8e754d7e4af758dfb2043d0bac1fdad68c8cac88
Author:     Rahul Sandhu <nvraxn@gmail.com>
AuthorDate: 2025-06-12 06:45:00 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2025-06-12 10:05:09 +0000

    www-client/chromium: fix build with USE=bindist for all ebuilds in tree
    
    Previous commit[1] did not address all the ebuilds in the tree.
    
    [1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9acbd07df34ab92d58006c3d0410ac14fb9efe0
    
    Closes: https://bugs.gentoo.org/957508
    Closes: https://bugs.gentoo.org/957898
    Signed-off-by: Rahul Sandhu <nvraxn@gmail.com>
    Part-of: https://github.com/gentoo/gentoo/pull/42555
    Closes: https://github.com/gentoo/gentoo/pull/42555
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 www-client/chromium/chromium-137.0.7151.103.ebuild | 4 ++--
 www-client/chromium/chromium-138.0.7204.15.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)