[Bug 231260] www/chromium: compilation failure

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 9 10:12:55 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231260

            Bug ID: 231260
           Summary: www/chromium: compilation failure
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium at FreeBSD.org
          Reporter: samy.mahmoudi at gmail.com
          Assignee: chromium at FreeBSD.org
             Flags: maintainer-feedback?(chromium at FreeBSD.org)

Hi,

[13/31182] c++ -MMD -MF obj/components/nacl/common/switches/nacl_switches.o.d
-DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1
-DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_CLANG_REVISION=\"332838-1\" -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen
-fprofile-sample-use=/usr/ports/www/chromium/work/chromium-68.0.3440.106/chrome/android/profiles/afdo.prof
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants
-no-canonical-prefixes -m64 -march=x86-64 -Wall -Wextra -Wimplicit-fallthrough
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-c++11-narrowing -Wno-covered-switch-default
-Wno-unneeded-internal-declaration -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-address-of-packed-member
-Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch
-Wno-null-pointer-arithmetic -O2 -fno-ident -fdata-sections -ffunction-sections
-fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -std=gnu++14 -fno-exceptions
-fno-rtti -fvisibility-inlines-hidden -O2 -pipe -march=sandybridge
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem
/usr/local/include -c ../../components/nacl/common/nacl_switches.cc -o
obj/components/nacl/common/switches/nacl_switches.o
FAILED: obj/components/nacl/common/switches/nacl_switches.o 
c++ -MMD -MF obj/components/nacl/common/switches/nacl_switches.o.d
-DV8_DEPRECATION_WARNINGS -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1
-DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DOFFICIAL_BUILD -DCHROMIUM_BUILD
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DCR_CLANG_REVISION=\"332838-1\" -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen
-fprofile-sample-use=/usr/ports/www/chromium/work/chromium-68.0.3440.106/chrome/android/profiles/afdo.prof
-fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-funwind-tables -fPIC -pipe -pthread -fcolor-diagnostics -fmerge-all-constants
-no-canonical-prefixes -m64 -march=x86-64 -Wall -Wextra -Wimplicit-fallthrough
-Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter
-Wno-c++11-narrowing -Wno-covered-switch-default
-Wno-unneeded-internal-declaration -Wno-undefined-var-template
-Wno-nonportable-include-path -Wno-address-of-packed-member
-Wno-unused-lambda-capture -Wno-user-defined-warnings -Wno-enum-compare-switch
-Wno-null-pointer-arithmetic -O2 -fno-ident -fdata-sections -ffunction-sections
-fno-omit-frame-pointer -g0 -fvisibility=hidden -Wheader-hygiene
-Wstring-conversion -Wtautological-overlap-compare -std=gnu++14 -fno-exceptions
-fno-rtti -fvisibility-inlines-hidden -O2 -pipe -march=sandybridge
-fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem
/usr/local/include -c ../../components/nacl/common/nacl_switches.cc -o
obj/components/nacl/common/switches/nacl_switches.o
c++: error: unrecognized command line option
'-fprofile-sample-use=/usr/ports/www/chromium/work/chromium-68.0.3440.106/chrome/android/profiles/afdo.prof'
c++: error: unrecognized command line option '-fcolor-diagnostics'
c++: error: unrecognized command line option '-Wimplicit-fallthrough'; did you
mean '-Wno-fallthrough'?
c++: error: unrecognized command line option '-Wthread-safety'; did you mean
'-fthread-jumps'?
c++: error: unrecognized command line option '-Wheader-hygiene'
c++: error: unrecognized command line option '-Wstring-conversion'; did you
mean '-Wint-conversion'?
c++: error: unrecognized command line option '-Wtautological-overlap-compare';
did you mean '-Wtautological-compare'?
ninja: build stopped: subcommand failed.

This failure may be due to a confusion between clang and gcc at some point.
What I can not understand is that I have successfully built 68.0.3440.106_2 on
a machine and now I can neither build 68.0.3440.106_3 nor 68.0.3440.106_2 on
two newly installed systems.

• System 1: CURRENT-r338488

   # /etc/make.conf
   CPUTYPE?=sandybridge
   MAKE_JOBS_NUMBER=4

   OPTIONS_UNSET+=DOCS EXAMPLES IPV6 LPR

   OPTIONS_SET+=CUPS
   CUPS_OVERWRITE_BASE=YES


• System 2: CURRENT-r338488

   # /etc/make.conf
   CPUTYPE?=core2
   MAKE_JOBS_NUMBER=6

   OPTIONS_UNSET+=DOCS EXAMPLES IPV6 LPR

   OPTIONS_SET+=CUPS
   CUPS_OVERWRITE_BASE=YES

   # DEFAULT_VERSIONS+=ssl=openssl

   DEVELOPER=YES

   .if !empty(.CURDIR:M/usr/ports/math/sc-im)
   WITH_DEBUG=YES
   .endif

• System that successfully built port revision 2: CURRENT-r337705

   # /etc/make.conf
   CPUTYPE?=ivybridge
   MAKE_JOBS_NUMBER=6

   OPTIONS_UNSET+=DOCS EXAMPLES IPV6 LPR

   OPTIONS_SET+=CUPS
   CUPS_OVERWRITE_BASE=YES

   DEVELOPER=YES

   .if !empty(.CURDIR:M/usr/ports/math/sc-im)
   WITH_DEBUG=YES
   .endif

   # DEFAULT_VERSIONS+=ssl=openssl

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list