#63281 closed defect (fixed)
macports-gcc-7 is not selected on libstdc++ systems with compiler.cxx_standard 2017
Reported by: | evanmiller (Evan Miller) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.7.2 |
Component: | base | Version: | 2.7.1 |
Keywords: | Cc: | kencu (Ken) | |
Port: | webkit2-gtk gcc7 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
---> Configuring webkit2-gtk Failed to configure webkit2-gtk: Invalid value for configure.compiler:
It appears that the GCC7 installed on my system is not recognized as supporting C++17 (contrary to CompilerSelection). Manually setting the compiler
sudo port configure webkit2-gtk configure.compiler=macports-gcc-7
allows configuration to proceed.
Attachments (1)
Change History (9)
Changed 3 years ago by evanmiller (Evan Miller)
Attachment: | webkit2-gtk-main.log added |
---|
comment:1 Changed 3 years ago by kencu (Ken)
This error comes from MacPorts, and it seems to think you have set configure.compiler to ""
270 :error:configure Failed to configure webkit2-gtk: Invalid value for configure.compiler: 271 :debug:configure Error code: NONE
Can you clean and try again, in case you might have accidentally left a space around the "=" sign or something?
comment:2 Changed 3 years ago by kencu (Ken)
oh, is this log coming from your first attempt, before you forced configure.compiler on the command line?
If so, that is weird. But not impossible. This pathway is not well travelled, and there could be hiccups in it.
configure.compiler, as chosen by base, should never be empty....but ....
comment:3 Changed 3 years ago by kencu (Ken)
I was able to get webkit2-gtk working as far back as 10.6 with several days worth of efforts.
I can't recall just now if I ever got it working on 10.5 Intel.
It would be a very pleasant and unexpected surprise if it build on anything before that!
comment:4 Changed 3 years ago by evanmiller (Evan Miller)
Yes, the error appears before forcing configure.compiler
on the command line. FWIW I don't see this error with any other packages. But any command involving webkit2-gtk produces the warning:
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
comment:5 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:6 Changed 3 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|---|
Summary: | webkit2-gtk @2.28.2_2+minibrowser+x11: Failed to configure webkit2-gtk → macports-gcc-7 is not selected on libstdc++ systems with compiler.cxx_standard 2017 |
comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:8 Changed 3 years ago by jmroot (Joshua Root)
Milestone: | → MacPorts 2.7.2 |
---|
Build log