[MacPorts] #64200: Unable to Upgrade par2

MacPorts noreply at macports.org
Sun Dec 12 20:09:49 UTC 2021


#64200: Unable to Upgrade par2
--------------------+--------------------
 Reporter:  RobK88  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.1
 Keywords:  lion    |       Port:  par2
--------------------+--------------------
 I am unable to upgrade the par2 port on Lion.  The port fails at the build
 stage.

 I also tried using clang-9.0 as the compiler without success.
 I will attach main.log.


 {{{
 port outdated
 The following installed ports are outdated:
 par2                           0.4_4 < 0.8.1_0

 grinch$ sudo port clean par2
 --->  Cleaning par2

 Grinchs-Mac-Pro:~ grinch$ sudo port -v upgrade par2
 --->  Computing dependencies for par2.
 --->  Fetching distfiles for par2
 --->  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_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_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... x86_64-apple-darwin11.4.2
 checking host system type... x86_64-apple-darwin11.4.2
 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 /opt/local/bin/clang++-mp-9.0 accepts -g... yes
 checking whether make supports the include directive... yes (GNU style)
 checking dependency style of /opt/local/bin/clang++-mp-9.0... none
 checking for ranlib... ranlib
 checking for gcc... /opt/local/bin/clang-mp-9.0
 checking whether we are using the GNU C compiler... yes
 checking whether /opt/local/bin/clang-mp-9.0 accepts -g... yes
 checking for /opt/local/bin/clang-mp-9.0 option to accept ISO C89... none
 needed
 checking whether /opt/local/bin/clang-mp-9.0 understands -c and -o
 together... yes
 checking dependency style of /opt/local/bin/clang-mp-9.0... 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... /opt/local/bin/clang++-mp-9.0
 -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... no
 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 /opt/local/bin/clang++-mp-9.0 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_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_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_release_tarballs_ports_archivers_par2/par2/work/par2cmdline-0.8.1'
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par2cmdline.o src/par2cmdline.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/commandline.o src/commandline.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/crc.o src/crc.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/creatorpacket.o src/creatorpacket.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/criticalpacket.o src/criticalpacket.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/datablock.o src/datablock.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/descriptionpacket.o src/descriptionpacket.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/diskfile.o src/diskfile.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/filechecksummer.o src/filechecksummer.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/galois.o src/galois.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/mainpacket.o src/mainpacket.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/md5.o src/md5.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par1fileformat.o src/par1fileformat.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par1repairer.o src/par1repairer.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par1repairersourcefile.o src/par1repairersourcefile.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par2creator.o src/par2creator.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par2creatorsourcefile.o src/par2creatorsourcefile.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par2fileformat.o src/par2fileformat.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par2repairer.o src/par2repairer.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/par2repairersourcefile.o src/par2repairersourcefile.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/recoverypacket.o src/recoverypacket.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/reedsolomon.o src/reedsolomon.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/verificationhashtable.o src/verificationhashtable.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/verificationpacket.o src/verificationpacket.cpp
 /opt/local/bin/clang++-mp-9.0 -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -Wall -std=c++11 -fopenmp -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386
 -c -o src/libpar2.o src/libpar2.cpp
 rm -f libpar2.a
 ar cru libpar2.a src/crc.o src/creatorpacket.o src/criticalpacket.o
 src/datablock.o src/descriptionpacket.o src/diskfile.o
 src/filechecksummer.o src/galois.o src/mainpacket.o src/md5.o
 src/par1fileformat.o src/par1repairer.o src/par1repairersourcefile.o
 src/par2creator.o src/par2creatorsourcefile.o src/par2fileformat.o
 src/par2repairer.o src/par2repairersourcefile.o src/recoverypacket.o
 src/reedsolomon.o src/verificationhashtable.o src/verificationpacket.o
 src/libpar2.o
 ranlib libpar2.a
 ranlib: for architecture: x86_64 file: libpar2.a(galois.o) has no symbols
 ranlib: for architecture: i386 file: libpar2.a(galois.o) has no symbols
 /opt/local/bin/clang++-mp-9.0 -Wall -std=c++11 -fopenmp -pipe -Os
 -stdlib=libc++ -arch x86_64 -arch i386  -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -o par2
 src/par2cmdline.o src/commandline.o libpar2.a
 Undefined symbols for architecture i386:
   "___atomic_compare_exchange", referenced from:
       _.omp_outlined..22 in libpar2.a(par2creator.o)
       Par2Repairer::ScanDataFile(DiskFile*, std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 Par2RepairerSourceFile*&, MatchType&, MD5Hash&, MD5Hash&, unsigned int&)
 in libpar2.a(par2repairer.o)
       _.omp_outlined..97 in libpar2.a(par2repairer.o)
       Par2CreatorSourceFile::Open(NoiseLevel,
 std::__1::basic_ostream<char, std::__1::char_traits<char> >&,
 std::__1::basic_ostream<char, std::__1::char_traits<char> >&,
 std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> > const&, unsigned long long, bool,
 std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >, unsigned long long, unsigned long long&) in
 libpar2.a(par2creatorsourcefile.o)
   "___atomic_load", referenced from:
       _.omp_outlined..22 in libpar2.a(par2creator.o)
       Par2Repairer::ScanDataFile(DiskFile*, std::__1::basic_string<char,
 std::__1::char_traits<char>, std::__1::allocator<char> >,
 Par2RepairerSourceFile*&, MatchType&, MD5Hash&, MD5Hash&, unsigned int&)
 in libpar2.a(par2repairer.o)
       _.omp_outlined..97 in libpar2.a(par2repairer.o)
       Par2CreatorSourceFile::Open(NoiseLevel,
 std::__1::basic_ostream<char, std::__1::char_traits<char> >&,
 std::__1::basic_ostream<char, std::__1::char_traits<char> >&,
 std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> > const&, unsigned long long, bool,
 std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >, unsigned long long, unsigned long long&) in
 libpar2.a(par2creatorsourcefile.o)
 ld: symbol(s) not found for architecture i386
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[1]: *** [par2] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_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_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_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_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.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64200>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list