Bug 275164 - math/octave-forge-parallel: Fails to build with GCC 13: configure: error: could not enforce using C++11 features
Summary: math/octave-forge-parallel: Fails to build with GCC 13: configure: error: cou...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Stephen Montgomery-Smith
URL:
Keywords:
Depends on:
Blocks: 273397
  Show dependency treegraph
 
Reported: 2023-11-18 10:38 UTC by Lorenzo Salvadore
Modified: 2023-12-23 08:50 UTC (History)
0 users

See Also:
salvadore: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2023-11-18 10:38:08 UTC
This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help finding a fix: https://gcc.gnu.org/gcc-13/porting_to.html

===>  Configuring for octave-forge-parallel-4.0.2
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking for mkoctfile... mkoctfile
checking for octave-config... octave-config
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++13 accepts -g... yes
checking for g++13 option to enable C++11 features... unsupported
checking for g++13 option to enable C++98 features... unsupported
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of g++13... gcc3
configure: error: could not enforce using C++11 features
===>  Script "configure" failed unexpectedly.

Full log: https://pkg-status.freebsd.org/package22/data/132amd64-default-foo/2023-11-10_07h48m13s/logs/errors/octave-forge-parallel-4.0.2.log
Comment 1 Stephen Montgomery-Smith freebsd_committer freebsd_triage 2023-11-19 21:39:00 UTC
I am unable to reproduce this error.  I am running FreeBSD-13 with DEFAULT_VERSIONS+=gcc=13 in /etc/make.conf.
Comment 2 Lorenzo Salvadore freebsd_committer freebsd_triage 2023-12-23 08:50:06 UTC
This might have been a temporary error in the exp-run. I am going to close this for now. I will reopen it if another exp-run reproduces it.