Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#67906 closed defect (fixed)

ocp @0.2.106 still broken due to missing C++ standard

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: ocp

Description

The port is still broken after the update. Setting correct standard was forgotten.

--->  Checksumming ocp-0.2.106.tar.xz
--->  Extracting ocp
--->  Extracting ocp-0.2.106.tar.xz
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_ocp/ocp/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/ocp/ocp-0.2.106.tar.xz' | /usr/bin/gnutar --no-same-owner -xf - 
--->  Configuring ocp
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_ocp/ocp/work/ocp-0.2.106" && ./configure --prefix=/opt/local --with-ncurses --without-alsa --without-desktop_file_install --with-flac --without-libgme --with-mad --without-oss --without-sdl --with-sdl2 --without-update-desktop-database --without-update-mime-database --with-x11 --with-coreaudio 
checking build system type... powerpc-apple-darwin10.0.0d2
checking host system type... powerpc-apple-darwin10.0.0d2
checking GIT submodules are checked out... ok
checking for gcc... /usr/bin/gcc-4.2
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 the compiler supports GNU C... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to enable C11 features... unsupported
checking for /usr/bin/gcc-4.2 option to enable C99 features... -std=gnu99
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/time.h... yes
checking for gcc... (cached) /usr/bin/gcc-4.2
checking whether the compiler supports GNU C... (cached) yes
checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.2 option to enable C11 features... (cached) unsupported
checking for /usr/bin/gcc-4.2 option to enable C99 features... (cached) -std=gnu99
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -std=gnu99 -E
checking for powerpc-apple-darwin10.0.0d2-gcc... no
checking for gcc... gcc
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... unsupported
checking for gcc option to enable C99 features... -std=gnu99
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 how to run the C preprocessor... gcc -std=gnu99 -E
checking whether the compiler supports GNU C++... yes
checking whether /usr/bin/g++-4.2 accepts -g... yes
checking for /usr/bin/g++-4.2 option to enable C++11 features... unsupported
checking for /usr/bin/g++-4.2 option to enable C++98 features... unsupported
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -std=gnu99 -E
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
checking whether make sets $(MAKE)... yes
checking whether byte ordering is bigendian... yes
checking for known broken gcc versions... not gcc, ok
checking for broken signed char to signed int in loops (gcc version 4.1.1)... ok
checking for PIC... -fPIC
checking for memmem... no
checking for getopt... yes
checking for getpwuid... yes
checking for popen... yes
checking for qsort... yes
checking for gettimeofday... yes
checking for sleep... yes
checking for sysconf... yes
checking for strerror... yes
checking for strdup... yes
checking for strstr... yes
checking for strupr... no
checking for getcwd... yes
checking for snprintf... yes
checking for usleep... yes
checking for vsnprintf... yes
checking for strncasecmp... yes
checking for mkstemp... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for sqrt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for struct dirent.d_type... yes
checking for dirent.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for getopt.h... yes
checking for ndir.h... no
checking for sys/io... no
checking for sys/ndir.h... no
checking for sys/dir.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for byteswap.h... no
checking for unistd.h... (cached) yes
checking for limits.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for errno.h... yes
checking for sys/cdefs.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/param.h... yes
checking for machine/endian.h... yes
checking for pwd.h... yes
checking for Availability.h... yes
checking for AvailabilityMacros.h... yes
checking for AvailabilityVersions.h... no
checking for getpwnam... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for ncursesw via pkg-config... yes
checking for working ncursesw/curses.h... no
checking for working ncursesw.h... no
checking for working ncurses.h... yes
checking for resize_term... yes
checking for zlibVersion in -lz... yes
checking for zlib.h... yes
checking for BZ2_bzDecompress in -lbz2... yes
checking for bzlib.h... yes
checking for dlopen... yes
checking for mad... yes
checking for libjpeg... yes
libjpeg flags ...  -L/opt/local/lib -ljpeg
checking for libpng... yes
checking for ogg... yes
checking for vorbis... yes
checking for vorbisfile... yes
checking for flac... yes
checking for X11/extensions/xf86vmode.h... yes
checking for X11/extensions/XShm.h... yes
checking for X11/xpm.h... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for XShmQueryExtension in -lXext... yes
checking for XF86VidModeQueryExtension in -lXxf86vm... yes
checking for sdl2 >= 2.0.0... yes
checking for freetype2... yes
checking for /opt/local/share/fonts/truetype/unifont/unifont.ttf... yes
checking for /opt/local/share/fonts/opentype/unifont/unifont.otf... yes
checking for /opt/local/share/fonts/truetype/unifont/unifont_csur.ttf... yes
checking for /opt/local/share/fonts/opentype/unifont/unifont_csur.otf... yes
checking for /opt/local/share/fonts/truetype/unifont/unifont_upper.ttf... yes
checking for /opt/local/share/fonts/opentype/unifont/unifont_upper.otf... yes
checking whether /usr/bin/g++-4.2 supports C++14 features with -std=c++14... no
checking whether /usr/bin/g++-4.2 supports C++14 features with +std=c++14... no
checking whether /usr/bin/g++-4.2 supports C++14 features with -h std=c++14... no
checking whether /usr/bin/g++-4.2 supports C++14 features with -std:c++14... no
checking whether /usr/bin/g++-4.2 supports C++14 features with -std=c++1y... no
checking whether /usr/bin/g++-4.2 supports C++14 features with +std=c++1y... no
checking whether /usr/bin/g++-4.2 supports C++14 features with -h std=c++1y... no
checking whether /usr/bin/g++-4.2 supports C++14 features with -std:c++1y... no
configure: No compiler with C++14 support was found
checking whether /usr/bin/g++-4.2 supports C++11 features with -std=c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with +std=c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with -h std=c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with -std:c++11... no
checking whether /usr/bin/g++-4.2 supports C++11 features with -std=c++0x... no
checking whether /usr/bin/g++-4.2 supports C++11 features with +std=c++0x... no
checking whether /usr/bin/g++-4.2 supports C++11 features with -h std=c++0x... no
checking whether /usr/bin/g++-4.2 supports C++11 features with -std:c++0x... no
configure: No compiler with C++11 support was found
checking for main in -lstdc++... yes
checking for main in -lstdc++... (cached) yes
checking for std::basic_istream<char>... yes
checking for ldexp... yes
checking for long long... yes
checking for long double... yes
checking GIT submodules are checked out... ok
checking whether /usr/bin/g++-4.2 supports C++14 features with -std=c++14... (cached) no
checking whether /usr/bin/g++-4.2 supports C++14 features with +std=c++14... (cached) no
checking whether /usr/bin/g++-4.2 supports C++14 features with -h std=c++14... (cached) no
checking whether /usr/bin/g++-4.2 supports C++14 features with -std:c++14... (cached) no
checking whether /usr/bin/g++-4.2 supports C++14 features with -std=c++1y... (cached) no
checking whether /usr/bin/g++-4.2 supports C++14 features with +std=c++1y... (cached) no
checking whether /usr/bin/g++-4.2 supports C++14 features with -h std=c++1y... (cached) no
checking whether /usr/bin/g++-4.2 supports C++14 features with -std:c++1y... (cached) no
configure: No compiler with C++14 support was found
checking whether /usr/bin/g++-4.2 supports C++11 features with -std=c++11... (cached) no
checking whether /usr/bin/g++-4.2 supports C++11 features with +std=c++11... (cached) no
checking whether /usr/bin/g++-4.2 supports C++11 features with -h std=c++11... (cached) no
checking whether /usr/bin/g++-4.2 supports C++11 features with -std:c++11... (cached) no
checking whether /usr/bin/g++-4.2 supports C++11 features with -std=c++0x... (cached) no
checking whether /usr/bin/g++-4.2 supports C++11 features with +std=c++0x... (cached) no
checking whether /usr/bin/g++-4.2 supports C++11 features with -h std=c++0x... (cached) no
checking whether /usr/bin/g++-4.2 supports C++11 features with -std:c++0x... (cached) no
configure: No compiler with C++11 support was found
checking for xa... /opt/local/bin/xa
checking for hexdump... /usr/bin/hexdump
checking for perl... /opt/local/bin/perl
checking whether C++ compiler accepts -fvisibility=hidden -fvisibility-inlines-hidden... yes
checking size of short... 2
checking size of int... 4
checking for /usr/bin/g++-4.2 options needed to detect all undeclared functions... none needed
checking whether strcasecmp is declared... yes
checking for strcasecmp... yes
checking whether strncasecmp is declared... yes
checking for strncasecmp... (cached) yes
checking for working bool... yes
checking for log1p... yes
checking for __builtin_expect... yes
checking for libdiscid... yes
checking for libcjson... yes
checking for libancient... yes
checking whether /usr/bin/g++-4.2 supports C++17 features with -std=c++17... no
checking whether /usr/bin/g++-4.2 supports C++17 features with +std=c++17... no
checking whether /usr/bin/g++-4.2 supports C++17 features with -h std=c++17... no
checking whether /usr/bin/g++-4.2 supports C++17 features with -std:c++17... no
checking whether /usr/bin/g++-4.2 supports C++17 features with -std=c++1z... no
checking whether /usr/bin/g++-4.2 supports C++17 features with +std=c++1z... no
checking whether /usr/bin/g++-4.2 supports C++17 features with -h std=c++1z... no
checking whether /usr/bin/g++-4.2 supports C++17 features with -std:c++1z... no
configure: error: *** A compiler with support for C++17 language features is required.
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_ocp/ocp/work/ocp-0.2.106" && ./configure --prefix=/opt/local --with-ncurses --without-alsa --without-desktop_file_install --with-flac --without-libgme --with-mad --without-oss --without-sdl --with-sdl2 --without-update-desktop-database --without-update-mime-database --with-x11 --with-coreaudio

Change History (2)

comment:1 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In c9b0fa12929d069e5fb33721f177cde11c9b303a/macports-ports (master):

ocp: Require C++17

Closes: #67906

comment:2 in reply to:  1 Changed 16 months ago by barracuda156

Replying to ryandesign:

In c9b0fa12929d069e5fb33721f177cde11c9b303a/macports-ports (master):

ocp: Require C++17

Closes: #67906

Thank you, that was fast!

Note: See TracTickets for help on using tickets.