Opened 3 years ago

Closed 3 years ago

#64357 closed defect (fixed)

par2 fails to build on 10.5.8 PPC

Reported by: barracuda156 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: PowerPC, Leopard, ppc64 Cc:
Port: par2

Description

Last login: Tue Jan  4 18:57:51 on ttys000
36-111:~ svacchanda$ sudo port -v install par2
--->  Fetching archive for par2
--->  par2-0.8.1_0+universal.darwin_9.ppc-ppc64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
--->  Attempting to fetch par2-0.8.1_0+universal.darwin_9.ppc-ppc64.tbz2 from http://packages.macports.org/par2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   126    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
--->  Attempting to fetch par2-0.8.1_0+universal.darwin_9.ppc-ppc64.tbz2 from http://nue.de.packages.macports.org/par2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   278    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
--->  Attempting to fetch par2-0.8.1_0+universal.darwin_9.ppc-ppc64.tbz2 from http://atl.us.packages.macports.org/par2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   360    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
--->  Fetching distfiles for par2
--->  par2cmdline-0.8.1.tar.gz does not exist in /opt/local/var/macports/distfiles/par2
--->  Attempting to fetch par2cmdline-0.8.1.tar.gz from https://github.com/Parchive/par2cmdline/releases/download/v0.8.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   659  100   659    0     0    615      0  0:00:01  0:00:01 --:--:--   616
100 3568k  100 3568k    0     0   647k      0  0:00:05  0:00:05 --:--:--  955k
--->  Verifying checksums for par2
--->  Checksumming par2cmdline-0.8.1.tar.gz
--->  Extracting par2
--->  Extracting par2cmdline-0.8.1.tar.gz
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/par2/par2cmdline-0.8.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
--->  Configuring par2
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1" && ./configure --prefix=/opt/local --disable-dependency-tracking --mandir=/opt/local/share/man 
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
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 /usr/bin/g++-4.2 accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of /usr/bin/g++-4.2... none
checking for ranlib... ranlib
checking for gcc... /usr/bin/gcc-4.2
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking whether /usr/bin/gcc-4.2 understands -c and -o together... yes
checking dependency style of /usr/bin/gcc-4.2... none
checking for ar... ar
checking the archiver (ar) interface... ar
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
checking for grep that handles long lines and -e... /opt/local/bin/ggrep
checking for egrep... /opt/local/bin/ggrep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for ANSI C header files... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for size_t... yes
checking whether byte ordering is bigendian... universal
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for /usr/bin/g++-4.2 option to support OpenMP... -fopenmp
checking for working memcmp... yes
checking for stricmp... no
checking for strcasecmp... yes
checking for strchr... yes
checking for memcpy... yes
checking for getopt... yes
checking for getopt_long... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating stamp-h
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
--->  Building par2
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1" && /usr/bin/make -j4 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1'
/usr/bin/make  all-am
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1'
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I.   -I/opt/local/include -Wall -std=c++11 -fopenmp -pipe -Os -arch ppc -arch ppc64 -c -o src/par2cmdline.o src/par2cmdline.cpp
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I.   -I/opt/local/include -Wall -std=c++11 -fopenmp -pipe -Os -arch ppc -arch ppc64 -c -o src/commandline.o src/commandline.cpp
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I.   -I/opt/local/include -Wall -std=c++11 -fopenmp -pipe -Os -arch ppc -arch ppc64 -c -o src/crc.o src/crc.cpp
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I.   -I/opt/local/include -Wall -std=c++11 -fopenmp -pipe -Os -arch ppc -arch ppc64 -c -o src/creatorpacket.o src/creatorpacket.cpp
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-std=c++11"
fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/.tmp/ccpUldAo.out (No such file or directory)
fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/.tmp/cc4xSxLn.out (No such file or directory)
make[1]: *** [src/crc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/.tmp/ccpkkqRT.out (No such file or directory)
make[1]: *** [src/par2cmdline.o] Error 1
make[1]: *** [src/creatorpacket.o] Error 1
fatal error: lipo: can't open input file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/.tmp/ccvX6VQX.out (No such file or directory)
make[1]: *** [src/commandline.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1" && /usr/bin/make -j4 -w all 
Exit code: 2
Error: Failed to build par2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_par2/par2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port par2 failed
36-111:~ svacchanda$ 

Attachments (1)

main.log (16.7 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 1734bb82e3945bf158cee4d5432ccb27f513b986/macports-ports (master):

par2: Requires C++11

Closes: #64357

Note: See TracTickets for help on using tickets.