Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#65556 closed defect (fixed)

serf1 @1.3.9 Build failed on Monterey

Reported by: lyskov (Sergey Lyskov) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: serf1

Description

Dear Support, i got a build failure for this port when trying trying to deploy it on Monterey where there is no system-default python2 present. Here is the relevant snippet from the main.log. Thanks,

:info:build Executing:  cd "/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.9" && /Users/benchmark/prefix/macports.monterey/bin/scons -j32 APR=/Users/benchmark/prefix/macports.monterey APU=/Users/benchmark/prefix/macports.monterey OPENSSL=/Users/benchmark/prefix/macports.monterey/libexec/openssl11 PREFIX=/Users/benchmark/prefix/macports.monterey CC="MACOSX_DEPLOYMENT_TARGET=12.0 /usr/bin/clang" CC="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/cc/usr/bin/clang" CXX="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/cxx/usr/bin/clang++" OBJC="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/objc/usr/bin/clang" OBJCXX="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/objcxx/usr/bin/clang++" INSTALL="/usr/bin/install -c" 
:debug:build system:  cd "/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.9" && /Users/benchmark/prefix/macports.monterey/bin/scons -j32 APR=/Users/benchmark/prefix/macports.monterey APU=/Users/benchmark/prefix/macports.monterey OPENSSL=/Users/benchmark/prefix/macports.monterey/libexec/openssl11 PREFIX=/Users/benchmark/prefix/macports.monterey CC="MACOSX_DEPLOYMENT_TARGET=12.0 /usr/bin/clang" CC="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/cc/usr/bin/clang" CXX="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/cxx/usr/bin/clang++" OBJC="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/objc/usr/bin/clang" OBJCXX="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/objcxx/usr/bin/clang++" INSTALL="/usr/bin/install -c" 
:info:build scons: Reading SConscript files ...
:info:build   File "/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.9/SConstruct", line 187
:info:build     print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
:info:build     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:info:build SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
:info:build Command failed:  cd "/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/serf-1.3.9" && /Users/benchmark/prefix/macports.monterey/bin/scons -j32 APR=/Users/benchmark/prefix/macports.monterey APU=/Users/benchmark/prefix/macports.monterey OPENSSL=/Users/benchmark/prefix/macports.monterey/libexec/openssl11 PREFIX=/Users/benchmark/prefix/macports.monterey CC="MACOSX_DEPLOYMENT_TARGET=12.0 /usr/bin/clang" CC="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/cc/usr/bin/clang" CXX="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/cxx/usr/bin/clang++" OBJC="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/objc/usr/bin/clang" OBJCXX="/Users/benchmark/prefix/macports.monterey/var/macports/build/_Users_benchmark_prefix_macports.monterey_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_serf1/serf1/work/compwrap/objcxx/usr/bin/clang++" INSTALL="/usr/bin/install -c" 
:info:build Exit code: 2
:error:build Failed to build serf1: command execution failed

Change History (6)

comment:1 Changed 2 years ago by jmroot (Joshua Root)

Port: serf1 added; serf1@1.3.9 removed
Summary: Build failed on Montereyserf1 @1.3.9 Build failed on Monterey

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

Thanks. This is probably due to scons switching from python 2 to 3 recently. I mentioned the possibility of such breakage in comment:ticket:59303:1.

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

The developers of serf fixed this problem in 2017 but have not released a new version of serf since 2016. We will have to add a patch to the Portfile.

comment:4 Changed 2 years ago by lyskov (Sergey Lyskov)

Thank you for looking this up Ryan! Please let me know if there is anything i can do to help.

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 15df45428050e8fb89dc97aca252a30b148f2ff8/macports-ports (master):

serf1: Fix SConstruct for Python 3.x

Closes: #65556

comment:6 Changed 2 years ago by lyskov (Sergey Lyskov)

Awesome, - thank you Ryan!

Note: See TracTickets for help on using tickets.