[MacPorts] #45564: py27-setuptools @2.3.2: failed to install py27-setuptools

MacPorts noreply at macports.org
Wed Oct 22 12:03:52 PDT 2014


#45564: py27-setuptools @2.3.2: failed to install py27-setuptools
------------------------------+--------------------------------
  Reporter:  xixi.wang577@…   |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.2
Resolution:                   |   Keywords:
      Port:  py27-setuptools  |
------------------------------+--------------------------------

Comment (by xixi.wang577@…):

 Replying to [comment:3 larryv@…]:
 > We’ll have to see the log. Could you run the following commands and
 attach the `main.log` file that’s mentioned at failure?
 > {{{
 > % sudo port clean py27-numpy py27-setuptools
 > % sudo port install py27-setuptools
 > }}}

 Hi,

 I ran the commands and attached the log file here: (I just copy and paste
 and I'm sorry if the log file is not in the right format.. i'm a beginner
 ;)) Thanks!

 {{{
 :info:build     rootObject = p.parse(pathOrFile)
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
 line 406, in parse
 :info:build     parser.ParseFile(fileobj)
 :info:build xml.parsers.expat.ExpatError: XML or text declaration not at
 start of entity: line 2, column 0
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-
 setuptools/py27-setuptools/work/setuptools-7.0" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
 setup.py --no-user-cfg build
 :info:build Exit code: 1
 :error:build org.macports.build for port py27-setuptools returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 84141 1
 :debug:build Backtrace: command execution failed
     while executing
 "system -nice 0 $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "portbuild::build_main org.macports.build"
     ("eval" body line 1)
     invoked from within
 "eval $procedure $targetname"
 :info:build Warning: targets not executed for py27-setuptools:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Please see the log file for port py27-setuptools for
 details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_python_py-setuptools/py27-setuptools/main.log

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45564#comment:4>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list