Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#54917 closed defect (duplicate)

serf1 @1.3.8: SyntaxError: invalid syntax

Reported by: Dmole (Tim) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: serf1

Description

Error: Failed to build serf1: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port nmap failed
version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/serf1/work
:debug:clean dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Executing org.macports.main (serf1)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Wed Sep 27 11:06:19 EDT 2017
:msg:archivefetch --->  Fetching archive for serf1
:debug:archivefetch Executing org.macports.archivefetch (serf1)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  serf1-1.3.8_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch serf1-1.3.8_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/serf1
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch serf1-1.3.8_0.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/serf1
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
:msg:archivefetch --->  Attempting to fetch serf1-1.3.8_0.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/serf1
: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 Wed Sep 27 11:06:20 EDT 2017
:notice:fetch --->  Fetching distfiles for serf1
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
:debug:fetch Executing org.macports.fetch (serf1)
:info:fetch --->  serf-1.3.8.tar.bz2 does not exist in /opt/local/var/macports/distfiles/serf1
:notice:fetch --->  Attempting to fetch serf-1.3.8.tar.bz2 from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/serf1
:debug:fetch Fetching distfile failed: The requested URL returned error: 404 Not Found
:notice:fetch --->  Attempting to fetch serf-1.3.8.tar.bz2 from https://distfiles.macports.org/serf1
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Wed Sep 27 11:06:20 EDT 2017
:notice:checksum --->  Verifying checksums for serf1
:debug:checksum Executing org.macports.checksum (serf1)
:info:checksum --->  Checksumming serf-1.3.8.tar.bz2
:debug:checksum Calculated (sha1) is 1d45425ca324336ce2f4ae7d7b4cfbc5567c5446
:debug:checksum Correct (sha1) checksum for serf-1.3.8.tar.bz2
:debug:checksum Calculated (sha256) is e0500be065dbbce490449837bb2ab624e46d64fc0b090474d9acaa87c82b2590
:debug:checksum Correct (sha256) checksum for serf-1.3.8.tar.bz2
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Wed Sep 27 11:06:20 EDT 2017
:notice:extract --->  Extracting serf1
:debug:extract setting option extract.cmd to /usr/bin/bzip2
:debug:extract Executing org.macports.extract (serf1)
:info:extract --->  Extracting serf-1.3.8.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/serf1/serf-1.3.8.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_release_tarballs_ports_www_serf1/serf1/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.13'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/serf1/serf-1.3.8.tar.bz2' | /usr/bin/tar -xf - 
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/serf1/serf-1.3.8.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_release_tarballs_ports_www_serf1/serf1/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Wed Sep 27 11:06:20 EDT 2017
:debug:patch Executing org.macports.patch (serf1)
:notice:patch --->  Applying patches to serf1
:info:patch --->  Applying patch-SConstruct.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_release_tarballs_ports_www_serf1/serf1/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/serf1/files/patch-SConstruct.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/serf1/files/patch-SConstruct.diff'
:info:patch patching file ./SConstruct
:info:patch Hunk #3 succeeded at 223 (offset -2 lines).
:info:patch Hunk #4 succeeded at 400 (offset -2 lines).
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Wed Sep 27 11:06:21 EDT 2017
:notice:configure --->  Configuring serf1
:debug:configure Preferred compilers: clang macports-clang-3.9 macports-clang-3.8 macports-clang-3.7
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (serf1)
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Sep 27 11:06:21 EDT 2017
:notice:build --->  Building serf1
:debug:build Executing org.macports.build (serf1)
: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_release_tarballs_ports_www_serf1/serf1/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='10.13'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8" && /opt/local/bin/scons -j4 APR=/opt/local APU=/opt/local OPENSSL=/opt/local PREFIX=/opt/local CC=/usr/bin/clang CPPFLAGS="-I/opt/local/include" CFLAGS="-Os -arch x86_64" LINKFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64" CC="MACOSX_DEPLOYMENT_TARGET=10.13 /usr/bin/clang" 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8" && /opt/local/bin/scons -j4 APR=/opt/local APU=/opt/local OPENSSL=/opt/local PREFIX=/opt/local CC=/usr/bin/clang CPPFLAGS="-I/opt/local/include" CFLAGS="-Os -arch x86_64" LINKFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64" CC="MACOSX_DEPLOYMENT_TARGET=10.13 /usr/bin/clang" 
:info:build scons: Reading SConscript files ...
:info:build   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8/SConstruct", line 181
:info:build     print 'Unknown variables:', ', '.join(unknown.keys())
:info:build                              ^
:info:build SyntaxError: invalid syntax
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.8" && /opt/local/bin/scons -j4 APR=/opt/local APU=/opt/local OPENSSL=/opt/local PREFIX=/opt/local CC=/usr/bin/clang CPPFLAGS="-I/opt/local/include" CFLAGS="-Os -arch x86_64" LINKFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64" CC="MACOSX_DEPLOYMENT_TARGET=10.13 /usr/bin/clang" 
:info:build Exit code: 2
:error:build Failed to build serf1: command execution failed
:debug:build Error code: CHILDSTATUS 13989 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"
:debug:build Failed to locate 'lbzip2' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?
:debug:build     while executing
:debug:build "error "$eMessage or at its MacPorts configuration time location, did you move it?""
:debug:build     invoked from within
:debug:build "try -pass_signal {
:debug:build             set cmd_path [macports::binaryInPath $prog]
:debug:build             return $cmd_path
:debug:build         } catch {{*} eCode eMessage} {
:debug:build        ..."
:debug:build     (procedure "macports::findBinary" line 5)
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_serf1/serf1/main.log for details.

Change History (2)

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

Port: serf1 added; nmap removed
Resolution: duplicate
Status: newclosed
Summary: nmap @7.60_1 fails to serf1 build falure on macOS 10.13, Xcode 9.0serf1 @1.3.8: SyntaxError: invalid syntax

Duplicate of #54915.

comment:2 in reply to:  1 Changed 7 years ago by Dmole (Tim)

Replying to ryandesign:

Duplicate of #54915.

Thanks, I missed that, maybe you can fix https://trac.macports.org/wiki/HighSierraProblems to show a more complete list or no list at all.

Note: See TracTickets for help on using tickets.