Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58556 closed defect (fixed)

highlight @3.51: Build/install fails

Reported by: herrbischoff (Marcel Bischoff) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: highlight

Description

version:1
:debug:sysinfo macOS 10.14 (darwin/18.6.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.2.1
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:msg:clean --->  Computing dependencies for highlight:info:clean .:debug:clean highlight has no conflicts
:debug:clean Searching for dependency: boost
:debug:clean Found Dependency: receipt exists for boost
:debug:clean Searching for dependency: cctools
:debug:clean Found Dependency: receipt exists for cctools
:debug:clean Searching for dependency: pkgconfig
:debug:clean Found Dependency: receipt exists for pkgconfig
:debug:clean Searching for dependency: lua
:debug:clean Found Dependency: receipt exists for lua
:debug:main Executing org.macports.main (highlight)
:debug:main dropping privileges: euid changed to 501, egid changed to 20.
:debug:archivefetch archivefetch phase started at Mon Jun  3 23:51:40 CEST 2019
:msg:archivefetch --->  Fetching archive for highlight
:debug:archivefetch Executing org.macports.archivefetch (highlight)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 501/20
:info:archivefetch --->  highlight-3.51_0.darwin_18.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch highlight-3.51_0.darwin_18.x86_64.tbz2 from https://packages.macports.org/highlight
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch highlight-3.51_0.darwin_18.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/highlight
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch highlight-3.51_0.darwin_18.x86_64.tbz2 from http://lil.fr.packages.macports.org/highlight
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Jun  3 23:51:40 CEST 2019
:notice:fetch --->  Fetching distfiles for highlight
:debug:fetch Executing org.macports.fetch (highlight)
:info:fetch --->  highlight-3.51.tar.bz2 does not exist in /opt/local/var/macports/distfiles/highlight
:notice:fetch --->  Attempting to fetch highlight-3.51.tar.bz2 from http://www.andre-simon.de/zip/
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Jun  3 23:51:41 CEST 2019
:notice:checksum --->  Verifying checksums for highlight
:debug:checksum Executing org.macports.checksum (highlight)
:info:checksum --->  Checksumming highlight-3.51.tar.bz2
:debug:checksum Calculated (rmd160) is 2b1f6ae13a4ed4e3e76799f4c9fbfa3d8340053e
:debug:checksum Correct (rmd160) checksum for highlight-3.51.tar.bz2
:debug:checksum Calculated (sha256) is 69ba1ebcfd3364227df03e5ad91078264757aaf6719c7844f727c38548a9a497
:debug:checksum Correct (sha256) checksum for highlight-3.51.tar.bz2
:debug:checksum Calculated (size) is 1396851
:debug:checksum Correct (size) checksum for highlight-3.51.tar.bz2
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Mon Jun  3 23:51:41 CEST 2019
:notice:extract --->  Extracting highlight
:debug:extract setting option extract.cmd to /usr/bin/bzip2
:debug:extract Executing org.macports.extract (highlight)
:info:extract --->  Extracting highlight-3.51.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/highlight/highlight-3.51.tar.bz2'
:debug:extract Environment: 
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.14'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/highlight/highlight-3.51.tar.bz2' | /usr/bin/tar -xf - 
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/highlight/highlight-3.51.tar.bz2' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work to macports
:debug:extract euid/egid changed to: 501/20
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Mon Jun  3 23:51:42 CEST 2019
:debug:patch Executing org.macports.patch (highlight)
:notice:patch --->  Applying patches to highlight
:info:patch --->  Applying patch-makefile.diff
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.14'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/highlight/files/patch-makefile.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/highlight/files/patch-makefile.diff'
:info:patch patching file makefile
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Jun  3 23:51:42 CEST 2019
:notice:configure --->  Configuring highlight
:debug:configure Preferred compilers: clang macports-clang-5.0 macports-clang-4.0
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (highlight)
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Jun  3 23:51:42 CEST 2019
:notice:build --->  Building highlight
:debug:build Executing org.macports.build (highlight)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.14'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/make -j8 -w cli lib CXX="/usr/bin/clang++" CFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64" PREFIX="/opt/local" 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/make -j8 -w cli lib CXX="/usr/bin/clang++" CFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64" PREFIX="/opt/local" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./src -f ./makefile HL_DATA_DIR=/opt/local/share/highlight/ HL_CONFIG_DIR=/opt/local/etc/highlight/
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./src -f ./makefile HL_DATA_DIR=/opt/local/share/highlight/ HL_CONFIG_DIR=/opt/local/etc/highlight/ lib-static
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/stylecolour.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/stylecolour.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/stringtools.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/stringtools.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/xhtmlgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/xhtmlgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/latexgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/latexgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/texgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/texgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/rtfgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/rtfgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/htmlgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/htmlgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/ansigenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/ansigenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/svggenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/codegenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/xterm256generator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/svggenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/pangogenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/codegenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/xterm256generator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/bbcodegenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/pangogenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/odtgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/syntaxreader.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/bbcodegenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/odtgenerator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/syntaxreader.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/elementstyle.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/   ./core/Diluculum/InternalUtils.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/elementstyle.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/   ./core/Diluculum/InternalUtils.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/   ./core/Diluculum/LuaExceptions.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/   ./core/Diluculum/LuaExceptions.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaFunction.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaFunction.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaState.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaUserData.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaState.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaUserData.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaUtils.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  -fno-strict-aliasing ./core/Diluculum/LuaValue.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaVariable.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaWrappers.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/datadir.cpp -DHL_DATA_DIR=\"/opt/local/share/highlight/\" -DHL_CONFIG_DIR=\"/opt/local/etc/highlight/\"
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaUtils.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/preformatter.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/Diluculum/LuaVariable.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/platform_fs.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/datadir.cpp -DHL_DATA_DIR=\"/opt/local/share/highlight/\" -DHL_CONFIG_DIR=\"/opt/local/etc/highlight/\"
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/preformatter.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASStreamIterator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASResource.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASFormatter.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/platform_fs.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASStreamIterator.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASBeautifier.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASEnhancer.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASResource.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASFormatter.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./cli/arg_parser.cc
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/astyle/ASBeautifier.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./cli/cmdlineoptions.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./cli/main.cpp -DHL_DATA_DIR=\"/opt/local/share/highlight/\" -DHL_CONFIG_DIR=\"/opt/local/etc/highlight/\"
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./cli/help.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/themereader.cpp
:info:build /usr/bin/clang++ -Os -std=c++11 -stdlib=libc++ -arch x86_64 -c -I ./include/  ./core/themereader.cpp
:info:build ar -crs libhighlight.a stylecolour.o stringtools.o xhtmlgenerator.o latexgenerator.o texgenerator.o rtfgenerator.o htmlgenerator.o ansigenerator.o svggenerator.o codegenerator.o xterm256generator.o pangogenerator.o bbcodegenerator.o odtgenerator.o syntaxreader.o elementstyle.o themereader.o datadir.o preformatter.o platform_fs.o ASStreamIterator.o ASResource.o ASFormatter.o ASBeautifier.o ASEnhancer.o InternalUtils.o  LuaExceptions.o  LuaFunction.o  LuaState.o LuaUserData.o  LuaUtils.o  LuaValue.o  LuaVariable.o  LuaWrappers.o
:info:build ar -crs libhighlight.a stylecolour.o stringtools.o xhtmlgenerator.o latexgenerator.o texgenerator.o rtfgenerator.o htmlgenerator.o ansigenerator.o svggenerator.o codegenerator.o xterm256generator.o pangogenerator.o bbcodegenerator.o odtgenerator.o syntaxreader.o elementstyle.o themereader.o datadir.o preformatter.o platform_fs.o ASStreamIterator.o ASResource.o ASFormatter.o ASBeautifier.o ASEnhancer.o InternalUtils.o  LuaExceptions.o  LuaFunction.o  LuaState.o LuaUserData.o  LuaUtils.o  LuaValue.o  LuaVariable.o  LuaWrappers.o
:info:build /usr/bin/clang++ -L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64 -o highlight arg_parser.o cmdlineoptions.o main.o help.o -L. -lhighlight -L/opt/local/lib -llua -lm
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build ld: malformed archive TOC entry for __ZN9Diluculum8LuaValueD1Ev, offset 3469816 is beyond end of file 1122304
:info:build  file './libhighlight.a'
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [cli] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build make: *** [cli] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/make -j8 -w cli lib CXX="/usr/bin/clang++" CFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64" PREFIX="/opt/local" 
:info:build Exit code: 2
:error:build Failed to build highlight: command execution failed
:debug:build Error code: CHILDSTATUS 10014 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/main.log for details.
version:1
:debug:sysinfo macOS 10.14 (darwin/18.6.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.2.1
:debug:sysinfo SDK 10.14
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.14
:msg:main --->  Computing dependencies for highlight:info:main .:debug:main highlight has no conflicts
:debug:main Searching for dependency: boost
:debug:main Found Dependency: receipt exists for boost
:debug:main Searching for dependency: cctools
:debug:main Found Dependency: receipt exists for cctools
:debug:main Searching for dependency: pkgconfig
:debug:main Found Dependency: receipt exists for pkgconfig
:debug:main Searching for dependency: lua
:debug:main Found Dependency: receipt exists for lua
:debug:main Executing org.macports.main (highlight)
:debug:main dropping privileges: euid changed to 501, egid changed to 20.
:debug:main Skipping completed org.macports.archivefetch (highlight)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (highlight)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (highlight)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (highlight)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (highlight)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (highlight)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Jun  3 23:53:13 CEST 2019
:notice:build --->  Building highlight
:debug:build Executing org.macports.build (highlight)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.14'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/make -j8 -w cli lib CXX="/usr/bin/clang++" CFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64" PREFIX="/opt/local" 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/make -j8 -w cli lib CXX="/usr/bin/clang++" CFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64" PREFIX="/opt/local" 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./src -f ./makefile HL_DATA_DIR=/opt/local/share/highlight/ HL_CONFIG_DIR=/opt/local/etc/highlight/
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./src -f ./makefile HL_DATA_DIR=/opt/local/share/highlight/ HL_CONFIG_DIR=/opt/local/etc/highlight/ lib-static
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build ar -crs libhighlight.a stylecolour.o stringtools.o xhtmlgenerator.o latexgenerator.o texgenerator.o rtfgenerator.o htmlgenerator.o ansigenerator.o svggenerator.o codegenerator.o xterm256generator.o pangogenerator.o bbcodegenerator.o odtgenerator.o syntaxreader.o elementstyle.o themereader.o datadir.o preformatter.o platform_fs.o ASStreamIterator.o ASResource.o ASFormatter.o ASBeautifier.o ASEnhancer.o InternalUtils.o  LuaExceptions.o  LuaFunction.o  LuaState.o LuaUserData.o  LuaUtils.o  LuaValue.o  LuaVariable.o  LuaWrappers.o
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build /usr/bin/clang++ -L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64 -o highlight arg_parser.o cmdlineoptions.o main.o help.o -L. -lhighlight -L/opt/local/lib -llua -lm
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build 0  0x1000c8748  __assert_rtn + 129
:info:build 1  0x10010f7c2  archive::File<x86_64>::makeObjectFileForMember(archive::File<x86_64>::Entry const*) const + 1228
:info:build 2  0x10010ec2f  archive::File<x86_64>::justInTimeforEachAtom(char const*, ld::File::AtomHandler&) const + 145
:info:build 3  0x10012c977  ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool, ld::File::AtomHandler&) const + 251
:info:build 4  0x100137d70  ld::tool::Resolver::resolveUndefines() + 146
:info:build 5  0x10013a90d  ld::tool::Resolver::resolve() + 75
:info:build 6  0x1000c9580  main + 798
:info:build 7  0x7fff6262c3d5  start + 1
:info:build A linker snapshot was created at:
:info:build 	/tmp/highlight-2019-05-03-235313.ld-snapshot
:info:build ld: Assertion failed: (memberIndex != 0), function makeObjectFileForMember, file /Library/Caches/com.apple.xbs/Sources/ld64/ld64-450.3/src/ld/parsers/archive_file.cpp, line 388.
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[1]: *** [cli] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51/src'
:info:build make: *** [cli] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.51" && /usr/bin/make -j8 -w cli lib CXX="/usr/bin/clang++" CFLAGS="-Os -std=c++11 -stdlib=libc++ -arch x86_64" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64" PREFIX="/opt/local" 
:info:build Exit code: 2
:error:build Failed to build highlight: command execution failed
:debug:build Error code: CHILDSTATUS 10323 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/main.log for details.

Change History (3)

comment:1 Changed 5 years ago by herrbischoff (Marcel Bischoff)

Version: 2.5.4

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In d6b0fd32f47d922b16ef8c0fec5c79b23f0c617e/macports-ports (master):

highlight: Disable parallel build

The build system evidently doesn't declare its dependencies correctly.
As a result, several source files end up getting built more than once.
When it comes time to run ar on the object files, the multiple
simultaneous ar commands can end up corrupting the object files.

Closes: #58556

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

I meant that the libarchive.a static library gets corrupted, not the object files from which it is created.

Note: See TracTickets for help on using tickets.