[Bug 260394] java/openjdk7 make flags not taking into account during configure fase of poudriere build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Dec 2021 18:12:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260394 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=" -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fident -mno-unaligned-access -Wformat -Wformat-security -Werror=format-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+="${MYFLAGS}" CXXFLAGS+="${MYFLAGS}" .if ${.CURDIR:M*/java/openjdk7} CONFIGURE_ARGS=" --with-extra-cflags --with-extra-cxxflags --with-extra-ldflags " WITH_EXTRA_CFLAGS+="${MYFLAGS}" WITH_EXTRA_CXXFLAGS+="${MYFLAGS}" WITH-EXTRA-CFLAGS+="${MYFLAGS}" WITH-EXTRA-CXXFLAGS+="${MYFLAGS}" .endif Results in poudriere log, [00:01:11] [00:01:11] The following warnings were produced. Repeated here for convenience: [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=2 -D_GLIBCXX_ASSERTIONS -fident -mno-unaligned-access -Wformat -Wformat-security -Werror=format-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 -march=ivybridge -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing ) 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=2 -D_GLIBCXX_ASSERTIONS -fident -mno-unaligned-access -Wformat -Wformat-security -Werror=format-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 -march=ivybridge -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing --with-extra-cflags --with-extra-cxxflags --with-extra-ldflags -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fident -mno-unaligned-access -Wformat -Wformat-security -Werror=format-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 -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. -- You are receiving this mail because: You are the assignee for the bug.