Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 2021 18:12:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260394] java/openjdk7 make flags not taking into account during configure fase of poudriere build.
Message-ID:  <bug-260394-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260394

            Bug ID: 260394
           Summary: java/openjdk7 make flags not taking into account
                    during configure fase of poudriere build.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: glewis@FreeBSD.org
          Reporter: devosalain@ymail.com
             Flags: maintainer-feedback?(glewis@FreeBSD.org)
          Assignee: glewis@FreeBSD.org

Used make.conf:

MYFLAGS=3D" -D_FORTIFY_SOURCE=3D2 -D_GLIBCXX_ASSERTIONS -fident
-mno-unaligned-access -Wformat -Wformat-security -Werror=3Dformat-security =
-fPIC
-fPIE -fcf-protection -fexceptions -fno-short-enums -fomit-frame-pointer
-fstrict-aliasing -fstack-protector-all -fstack-protector
-fstack-protector-strong -fstack-clash-protection -O2 -pipe "
CFLAGS+=3D"${MYFLAGS}"
CXXFLAGS+=3D"${MYFLAGS}"


.if ${.CURDIR:M*/java/openjdk7}
CONFIGURE_ARGS=3D" --with-extra-cflags --with-extra-cxxflags --with-extra-l=
dflags
"
WITH_EXTRA_CFLAGS+=3D"${MYFLAGS}"
WITH_EXTRA_CXXFLAGS+=3D"${MYFLAGS}"
WITH-EXTRA-CFLAGS+=3D"${MYFLAGS}"
WITH-EXTRA-CXXFLAGS+=3D"${MYFLAGS}"
.endif

Results in poudriere log,

[00:01:11]
[00:01:11] The following warnings were produced. Repeated here for convenie=
nce:
[00:01:11] WARNING: Ignoring value of MAKE from the environment. Use command
line variables instead.
[00:01:11] WARNING: Ignoring CFLAGS(-O2 -pipe  --with-extra-cflags
--with-extra-cxxflags --with-extra-ldflags -D_FORTIFY_SOURCE=3D2
-D_GLIBCXX_ASSERTIONS -fident -mno-unaligned-access -Wformat -Wformat-secur=
ity
-Werror=3Dformat-security -fPIC -fPIE -fcf-protection -fexceptions
-fno-short-enums -fomit-frame-pointer -fstrict-aliasing -fstack-protector-a=
ll
-fstack-protector -fstack-protector-strong -fstack-clash-protection -O2 -pi=
pe=20
-march=3Divybridge  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-al=
iasing
) found in environment. Use --with-extra-cflags
[00:01:11] WARNING: Ignoring CXXFLAGS(-O2 -pipe  --with-extra-cflags
--with-extra-cxxflags --with-extra-ldflags -D_FORTIFY_SOURCE=3D2
-D_GLIBCXX_ASSERTIONS -fident -mno-unaligned-access -Wformat -Wformat-secur=
ity
-Werror=3Dformat-security -fPIC -fPIE -fcf-protection -fexceptions
-fno-short-enums -fomit-frame-pointer -fstrict-aliasing -fstack-protector-a=
ll
-fstack-protector -fstack-protector-strong -fstack-clash-protection -O2 -pi=
pe=20
-march=3Divybridge -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-ali=
asing=20
--with-extra-cflags --with-extra-cxxflags --with-extra-ldflags
-D_FORTIFY_SOURCE=3D2 -D_GLIBCXX_ASSERTIONS -fident -mno-unaligned-access
-Wformat -Wformat-security -Werror=3Dformat-security -fPIC -fPIE -fcf-prote=
ction
-fexceptions -fno-short-enums -fomit-frame-pointer -fstrict-aliasing
-fstack-protector-all -fstack-protector -fstack-protector-strong
-fstack-clash-protection -O2 -pipe   -DLIBICONV_PLUG ) found in environment.
Use --with-extra-cxxflags
[00:01:11] WARNING: Ignoring LDFLAGS( -fstack-protector-strong ) found in
environment. Use --with-extra-ldflags
[00:01:11] WARNING: Option --enable-hotspot-gtest is deprecated and will be
ignored.


I.e. make flags remain ignored.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260394-7788>