#54915 closed defect (fixed)
scons @3.0.0 doesn't support python 2 print statements
Reported by: | trwyant | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | Dmole (Tim) | |
Port: | scons |
Description (last modified by mf2k (Frank Schima))
Installation of serf1 failed with error
:info:build scons: Reading SConscript files ... :info:build File "/opt/local/var/macports/build /_opt_local_var_macports_sources_rsync.macports.org_macports_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
The problem appears to be that the Python print command is a function, and requires parentheses. At any rate, I supplied parentheses around the print() arguments, and was able to install successfully. The full log file is attached.
$ uname -a Darwin <censored>.local 17.0.0 Darwin Kernel Version 17.0.0: Thu Aug 24 21:48:19 PDT 2017; root:xnu-4570.1.46~2/RELEASE_X86_64 x86_64
Yes, this is High Sierra; I built MacPorts from source.
Attachments (1)
Change History (17)
Changed 7 years ago by trwyant
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Owner: | set to blair |
---|---|
Status: | new → assigned |
In the future, please Cc the port maintainers (port info --maintainers serf1
), if any.
comment:2 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | highsierra added |
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Dmole added |
---|
Has duplicate #54917.
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | highsierra removed |
---|
The issue is not High Sierra-specific, but users of earlier macOS versions aren't generally seeing the problem because they get binaries from our server. The question is, why did we not see the issue back when we made the binaries last year?
The answer appears to be scons 3.0.0. Reverting to scons 2.5.1 allows the build to succeed. So I'm inclined to call this a bug in scons 3. Anybody want to report it to the developers of scons for guidance?
Note that in python 2, print
is a statement, not a function. It changed to a function in python 3, and thus requires parentheses. So then we must ask: did scons 3.0.0 switch from python 2 to 3 and now require all other projects' SConstruct files to be python 3-compatible? Surely they can't have done that; that would be awful.
comment:6 Changed 7 years ago by Dmole (Tim)
I did not have this issue on 10.12 and currently do not have it on 10.11 so I think this is 10.13 specific.
(lists @1.3.8 vs @1.3.8_0)
comment:7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
The issue is not OS-specific. The problem is caused by scons 3.0.0. I see the issue on macoS 10.12 when building from source. You won't see it on 10.12 or below if you have a MacPorts configuration that receives our pre-built binaries, which were built before scons 3.0.0 existed.
The documentation for scons 3.0.0 shows print
being used as a function—and shows "SyntaxError: invalid syntax" occurring as a result! It's as if the documentation is generated by actually running scons and showing its real output, and nobody noticed that print
doesn't work anymore.
comment:8 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from blair to ryandesign |
---|---|
Port: | scons added; serf1 removed |
Summary: | serf1 @1.3.8_0 install error: Syntax error in serf-1.3.8/SConstruct → scons @3.0.0 doesn't support python 2 print statements |
Looks like they've already fixed the problem.
comment:9 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:10 follow-up: 11 Changed 7 years ago by Dmole (Tim)
Is there a way to install this yet?
sudo port selfupdate sudo port uninstall serf1 sudo port clean serf1 ---> Cleaning serf1 sudo port -s install serf1 ---> Computing dependencies for serf1 ---> Fetching distfiles for serf1 ---> Verifying checksums for serf1 ---> Extracting serf1 ---> Applying patches to serf1 ---> Configuring serf1 ---> Building serf1 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 serf1 failed
version:1 :debug:main epoch: in tree: 0 installed: 0 :debug:main scons 3.0.0_0 exists in the ports tree :debug:main scons 3.0.0_0 is the latest installed :debug:main scons 3.0.0_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/scons :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Re-registering default for build.cmd :debug:main Re-registering default for destroot.cmd :debug:main Re-registering default for destroot.destdir :debug:main Sourcing PortGroup python 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/python-1.0.tcl :debug:main only one arch supported, so not adding the default universal variant :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! scons 3.0.0_0 >= scons 3.0.0_0 :debug:main epoch: in tree: 2 installed: 2 :debug:main python27 2.7.14_0 exists in the ports tree :debug:main python27 2.7.14_0 is the latest installed :debug:main python27 2.7.14_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python27 :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! python27 2.7.14_0 >= python27 2.7.14_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main bzip2 1.0.6_0 exists in the ports tree :debug:main bzip2 1.0.6_0 is the latest installed :debug:main bzip2 1.0.6_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/bzip2 :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! bzip2 1.0.6_0 >= bzip2 1.0.6_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main db48 4.8.30_4 exists in the ports tree :debug:main db48 4.8.30_4 is the latest installed :debug:main db48 4.8.30_4 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/db48 :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! db48 4.8.30_4 >= db48 4.8.30_4 :debug:main epoch: in tree: 0 installed: 0 :debug:main expat 2.2.4_0 exists in the ports tree :debug:main expat 2.2.4_0 is the latest installed :debug:main expat 2.2.4_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! expat 2.2.4_0 >= expat 2.2.4_0 :debug:main epoch: in tree: 2 installed: 2 :debug:main gettext 0.19.8.1_0 exists in the ports tree :debug:main gettext 0.19.8.1_0 is the latest installed :debug:main gettext 0.19.8.1_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main compiler clang 900.0.37 not blacklisted because it doesn't match {clang < 211.10.1} :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! gettext 0.19.8.1_0 >= gettext 0.19.8.1_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main libiconv 1.15_0 exists in the ports tree :debug:main libiconv 1.15_0 is the latest installed :debug:main libiconv 1.15_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! libiconv 1.15_0 >= libiconv 1.15_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main ncurses 6.0-20170916_0 exists in the ports tree :debug:main ncurses 6.0-20170916_0 is the latest installed :debug:main ncurses 6.0-20170916_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! ncurses 6.0-20170916_0 >= ncurses 6.0-20170916_0 :debug:main epoch: in tree: 20090923 installed: 20090923 :debug:main libedit 20170329-3.1_1 exists in the ports tree :debug:main libedit 20170329-3.1_1 is the latest installed :debug:main libedit 20170329-3.1_1 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libedit :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! libedit 20170329-3.1_1 >= libedit 20170329-3.1_1 :debug:main epoch: in tree: 0 installed: 0 :debug:main libffi 3.2.1_0 exists in the ports tree :debug:main libffi 3.2.1_0 is the latest installed :debug:main libffi 3.2.1_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/libffi :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! libffi 3.2.1_0 >= libffi 3.2.1_0 :debug:main epoch: in tree: 1 installed: 1 :debug:main openssl 1.0.2l_0 exists in the ports tree :debug:main openssl 1.0.2l_0 is the latest installed :debug:main openssl 1.0.2l_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! openssl 1.0.2l_0 >= openssl 1.0.2l_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main zlib 1.2.11_0 exists in the ports tree :debug:main zlib 1.2.11_0 is the latest installed :debug:main zlib 1.2.11_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main sqlite3 3.20.1_0 exists in the ports tree :debug:main sqlite3 3.20.1_0 is the latest installed :debug:main sqlite3 3.20.1_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/sqlite3 :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! sqlite3 3.20.1_0 >= sqlite3 3.20.1_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main python_select 0.3_7 exists in the ports tree :debug:main python_select 0.3_7 is the latest installed :debug:main python_select 0.3_7 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/python_select :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl :debug:main universal_variant is false, so not adding the default universal variant :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! python_select 0.3_7 >= python_select 0.3_7 :debug:main epoch: in tree: 0 installed: 0 :debug:main python2_select 0.0_2 exists in the ports tree :debug:main python2_select 0.0_2 is the latest installed :debug:main python2_select 0.0_2 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/python2_select :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Sourcing PortGroup select 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl :debug:main universal_variant is false, so not adding the default universal variant :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! python2_select 0.0_2 >= python2_select 0.0_2 :debug:main epoch: in tree: 0 installed: 0 :debug:main apr 1.6.2_0 exists in the ports tree :debug:main apr 1.6.2_0 is the latest installed :debug:main apr 1.6.2_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/apr :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! apr 1.6.2_0 >= apr 1.6.2_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main apr-util 1.6.0_0 exists in the ports tree :debug:main apr-util 1.6.0_0 is the latest installed :debug:main apr-util 1.6.0_0 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/apr-util :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main adding the default universal variant :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! apr-util 1.6.0_0 >= apr-util 1.6.0_0 :debug:main epoch: in tree: 0 installed: 0 :debug:main db46 4.6.21_10 exists in the ports tree :debug:main db46 4.6.21_10 is the latest installed :debug:main db46 4.6.21_10 is active :debug:main Merging existing variants '' into variants :debug:main new fully merged portvariants: :debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/db46 :debug:main OS darwin/17.0.0 (Mac OS X 10.13) arch i386 :debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf :debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl :debug:main universal variant already exists, so not adding the default one :debug:main Running callback portconfigure::add_automatic_compiler_dependencies :debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies :debug:main Running callback portbuild::add_automatic_buildsystem_dependencies :debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies :debug:main No need to upgrade! db46 4.6.21_10 >= db46 4.6.21_10 :msg:main ---> Computing dependencies for serf1:info:main .:debug:main serf1 has no conflicts :debug:main Searching for dependency: scons :debug:main Found Dependency: receipt exists for scons :debug:main Searching for dependency: apr :debug:main Found Dependency: receipt exists for apr :debug:main Searching for dependency: apr-util :debug:main Found Dependency: receipt exists for apr-util :debug:main Searching for dependency: openssl :debug:main Found Dependency: receipt exists for openssl :debug:main Searching for dependency: zlib :debug:main Found Dependency: receipt exists for zlib :debug:main Executing org.macports.main (serf1) :debug:main dropping privileges: euid changed to 502, egid changed to 501. :debug:archivefetch archivefetch phase started at Wed Sep 27 15:44:53 EDT 2017 :debug:archivefetch Executing org.macports.archivefetch (serf1) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Wed Sep 27 15:44:53 EDT 2017 :notice:fetch ---> Fetching distfiles for serf1 :debug:fetch Executing org.macports.fetch (serf1) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Wed Sep 27 15:44:53 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 15:44:53 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 15:44:53 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 15:44:53 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 15:44:53 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 45913 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_release_tarballs_ports_www_serf1/serf1/main.log for details.
comment:11 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to Dmole:
Is there a way to install this yet?
It takes time for changes to propagate from git to our rsync server. Maybe an hour, sometimes more. If you can't wait, set up your ports tree to pull directly from git. Instructions are in the wiki.
comment:12 Changed 7 years ago by Dmole (Tim)
OK, I was confused because one the other bugs was because "sourceforge is down" and I thought macports supported alternative download locations which I assumed would include sourceforge / github / etc, but I guess macports has not figured out redundancy yet. Thanks for taking the time to answer my n00b question, I'll just wait and try again in a few days (I can nmap from Linux or homebrew until then if I need to)
comment:13 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
The fact that SourceForge is down doesn't affect scons or serf right now. serf isn't hosted there, and although scons is, MacPorts also has a global network of mirror servers and a content delivery network which have the current scons source code file.
The only "problem" here is that changes we commit to our repository are not instantaneously available on our rsync server. The script that generates the content that will go on the rsync server runs every half hour. After it runs, the result has to be synchronized to the rsync server; that synchronization runs every half hour as well. Sometimes there are a lot of files to synchronize, which can make it take longer than an hour before you receive changes. If you configure MacPorts to get its port definitions from git instead of rsync, you can get changes instantly.
comment:14 Changed 7 years ago by Dmole (Tim)
Sorry if this is going way off topic but for my own education this issue: #54918 leads me to believe that the macports CDN is generally limited (Not just a bit delayed).
comment:15 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
netpbm and other ports that are programmed to fetch directly from a source code repository cannot currently be mirrored, without manual effort expended by the port author. This is why we prefer that portfiles are authored to fetch from a tarball or other similar single file, but some software, like netpbm, is not distributed that way. Work has been done on MacPorts base master to automatically create tarballs in these situations; that will be released in a future version of MacPorts, probably 2.5.
Log file of failed installation