Opened 10 years ago

Last modified 8 years ago

#46366 new defect

namebench @1.3.1: can't open file 'setup.py': [Errno 2] No such file or directory

Reported by: barnstorming92@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: ivl1705, subs@…, larryv (Lawrence Velázquez), ryandesign (Ryan Carsten Schmidt), jpenney (Jason Penney), tim@…
Port: namebench

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello all
I'm having issue building namebench, even though my Port tree is clean. It seems too have an issue's with:

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory

even though it is there.

I have a main.log

:msg:main 
:debug:main Executing org.macports.main (namebench)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (namebench)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (namebench)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (namebench)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (namebench)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (namebench)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (namebench)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Thu Jan  1 03:25:30 EST 2015
:notice:build --->  Building namebench
:debug:build Executing proc-pre-org.macports.build-build-0
:debug:build Executing org.macports.build (namebench)
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_namebench/namebench/work/namebench-1.3.1/cocoa" && CFLAGS="-arch x86_64" OBJCFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" FFLAGS="-m64" F90FLAGS="-m64" FCFLAGS="-m64" LDFLAGS="-arch x86_64" CC="/usr/bin/clang" OBJC="/usr/bin/clang" CXX="/usr/bin/clang++" /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg  -target "build" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libstdc++" '
:info:build /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_namebench/namebench/work/namebench-1.3.1/cocoa" && CFLAGS="-arch x86_64" OBJCFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" FFLAGS="-m64" F90FLAGS="-m64" FCFLAGS="-m64" LDFLAGS="-arch x86_64" CC="/usr/bin/clang" OBJC="/usr/bin/clang" CXX="/usr/bin/clang++" /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg  -target "build" -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.8 ARCHS=x86_64 SDKROOT="" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libstdc++" 
:info:build Exit code: 2
:error:build org.macports.build for port namebench returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for namebench: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port namebench for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_namebench/namebench/main.log

Attachments (1)

main.log (37.9 KB) - added by barnstorming92@… 10 years ago.

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by barnstorming92@…

Attachment: main.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: barnstorming92@… removed

In the future, please use WikiFormatting. As reporter, you do not need to Cc yourself.

This is not a clean build log. Please clean the port and try again. Then attach the new main.log file.

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

Description: modified (diff)

comment:4 Changed 10 years ago by ivl1705

the namebench README states Python 2.4 - 2.6 as requirement.

tried to build on Snow Leopard after

port select python python26-apple

still get the same error

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

Cc: listmember@… subs@… added
Summary: namebench fails to build on Mountain lionnamebench @1.3.1: can't open file 'setup.py': [Errno 2] No such file or directory

Has duplicate #47066.

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

Cc: larryv@… ryandesign@… added

Larry, your change in r128751 to use the python portgroup has caused it to override the build phase, which was previously being controlled by the xcode portgroup. I suggest removing the python portgroup from this port again. Any objections or other ideas?

comment:7 in reply to:  6 Changed 10 years ago by larryv (Lawrence Velázquez)

The easiest solution is probably to undo r128751. The only reason I added python-1.0 (that I can remember, anyway) was for python.version and python.bin, but those are easily set manually.

comment:8 Changed 9 years ago by jpenney (Jason Penney)

Cc: jpenney@… added

Cc Me!

comment:9 Changed 8 years ago by tim@…

Cc: tim@… added

Cc Me!

Note: See TracTickets for help on using tickets.