problem building py25-boto

Clytie Siddall clytie at riverland.net.au
Sun Mar 1 22:20:52 PST 2009


Hi everyone :)

Adam Mercer <ram <at> macports.org> writes:

 >
 > On Sun, Jan 25, 2009 at 01:42, John Joseph Bachir
 > <johnjosephbachir <at> gmail.com> wrote:
 > > I encountered this problem when trying to build py25-boto:
 > >
 > > $ sudo port install py25-boto
 > > --->  Building py25-boto
 > > Error: Target org.macports.build returned: shell command " cd
 > >
"/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_py
thon_py25-boto/work/boto-1.6b"
 > > && /opt/local/bin/python2.5 setup.py --no-user-cfg build "  
returned error 1
 > > Command output: usage: setup.py [global_opts] cmd1 [cmd1_opts]  
[cmd2
 > > [cmd2_opts] ...]
 > >   or: setup.py --help [cmd1 cmd2 ...]
 > >   or: setup.py --help-commands
 > >   or: setup.py cmd --help
 > >
 > > error: option --no-user-cfg not recognized
 > >
 > > Error: Status 1 encountered during processing.
 > >
 > >
 > > I am on 10.5.6, intel. let me know if you would like any more info.
 >
 > Thats very odd, I'm on the same platform and it builds without issue
 > for me (setup.py recognises the --no-user-cfg flag). Can you send me
 > the full debug output, i.e. the output of
 >
 > $ sudo port -d install py25-boto &> log

I have exactly the same problem installing py25-lxml. I'm also on  
Intel 10.5.6; MacPorts was selfupdated
before this installation attempt. Any help would be very much  
welcome. :)

Install log (using your command syntax above):
___
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py25-xml
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/python/py25-xml
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing  
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- 
existing procedure. Target override will not be provided
DEBUG: Using group file /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/_resources/port1.0/group/ 
python25-1.0.tcl
DEBUG: not using configure, so not adding the default universal variant
DEBUG: Requested variant darwin is not provided by port py25-xml.
DEBUG: Requested variant i386 is not provided by port py25-xml.
DEBUG: Requested variant macosx is not provided by port py25-xml.
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python25
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/lang/python25
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing  
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- 
existing procedure. Target override will not be provided
DEBUG: universal variant already exists, so not adding the default one
DEBUG: Requested variant darwin is not provided by port python25.
DEBUG: Requested variant i386 is not provided by port python25.
DEBUG: Executing variant macosx provides macosx
DEBUG: Executing variant darwin_9 provides darwin_9
DEBUG: Searching for dependency: python25
DEBUG: Found Dependency: receipt exists for python25
DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
DEBUG: Changing to port directory: /opt/local/var/macports/sources/ 
rsync.macports.org/release/ports/textproc/expat
DEBUG: setting option os.universal_supported to yes
DEBUG: org.macports.load registered provides 'load', a pre-existing  
procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- 
existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Requested variant darwin is not provided by port expat.
DEBUG: Requested variant i386 is not provided by port expat.
DEBUG: Requested variant macosx is not provided by port expat.
DEBUG: Searching for dependency: expat
DEBUG: Found Dependency: receipt exists for expat
DEBUG: Executing org.macports.main (py25-xml)
--->  Fetching py25-xml
DEBUG: Executing org.macports.fetch (py25-xml)
--->  PyXML-0.8.4.tar.gz doesn't seem to exist in /opt/local/var/ 
macports/distfiles/python
DEBUG: Pinging downloads.sourceforge.net...
DEBUG: Pinging easynews.dl.sourceforge.net...
DEBUG: Pinging internap.dl.sourceforge.net...
DEBUG: Pinging superb-east.dl.sourceforge.net...
DEBUG: Pinging superb-west.dl.sourceforge.net...
DEBUG: Pinging voxel.dl.sourceforge.net...
DEBUG: Pinging ufpr.dl.sourceforge.net...
DEBUG: Pinging dfn.dl.sourceforge.net...
DEBUG: Pinging garr.dl.sourceforge.net...
DEBUG: Pinging heanet.dl.sourceforge.net...
DEBUG: Pinging kent.dl.sourceforge.net...
DEBUG: Pinging mesh.dl.sourceforge.net...
DEBUG: Pinging puzzle.dl.sourceforge.net...
DEBUG: Pinging surfnet.dl.sourceforge.net...
DEBUG: Pinging switch.dl.sourceforge.net...
DEBUG: Pinging nchc.dl.sourceforge.net...
DEBUG: Pinging internode.dl.sourceforge.net...
DEBUG: Pinging transact.dl.sourceforge.net...
DEBUG: Pinging optusnet.dl.sourceforge.net...
DEBUG: Pinging distfiles.macports.org...
DEBUG: Pinging trd.no.distfiles.macports.org...
DEBUG: Pinging arn.se.distfiles.macports.org...
DEBUG: downloads.sourceforge.net ping time is 336.383
DEBUG: easynews.dl.sourceforge.net ping time is 204.650
DEBUG: internap.dl.sourceforge.net ping time is 267.508
DEBUG: superb-east.dl.sourceforge.net ping time is 272.159
DEBUG: superb-west.dl.sourceforge.net ping time is 233.755
DEBUG: voxel.dl.sourceforge.net ping time is 299.545
DEBUG: ufpr.dl.sourceforge.net ping time is 534.097
DEBUG: dfn.dl.sourceforge.net ping time is 357.660
DEBUG: garr.dl.sourceforge.net ping time is 405.445
DEBUG: heanet.dl.sourceforge.net ping time is 362.231
DEBUG: kent.dl.sourceforge.net ping time is 361.285
DEBUG: mesh.dl.sourceforge.net ping time is 364.264
DEBUG: puzzle.dl.sourceforge.net ping time is 367.412
DEBUG: surfnet.dl.sourceforge.net ping time is 366.091
DEBUG: switch.dl.sourceforge.net ping time is 384.705
DEBUG: nchc.dl.sourceforge.net ping time is 270.851
DEBUG: internode.dl.sourceforge.net ping time is 26.083
DEBUG: transact.dl.sourceforge.net ping time is 67.700
DEBUG: optusnet.dl.sourceforge.net ping time is 66.127
DEBUG: distfiles.macports.org ping time is 237.945
DEBUG: trd.no.distfiles.macports.org ping time is 414.815
DEBUG: arn.se.distfiles.macports.org ping time is 372.576
--->  Attempting to fetch PyXML-0.8.4.tar.gz from http://internode.dl.sourceforge.net/pyxml
   % Total    % Received % Xferd  Average Speed   Time    Time      
Time  Current
                                  Dload  Upload   Total   Spent     
Left  Speed

   0  717k    0  1154    0     0  13715      0  0:00:53 --:--:--   
0:00:53 13715
   2  717k    2 20866    0     0  47464      0  0:00:15 --:--:--   
0:00:15 55370
  17  717k   17  123k    0     0  83653      0  0:00:08  0:00:01   
0:00:07 87753
  32  717k   32  232k    0     0  97247      0  0:00:07  0:00:02   
0:00:05   97k
  50  717k   50  365k    0     0   106k      0  0:00:06  0:00:03   
0:00:03  108k
  71  717k   71  509k    0     0   115k      0  0:00:06  0:00:04   
0:00:02  117k
  88  717k   88  636k    0     0   117k      0  0:00:06  0:00:05   
0:00:01  123k
100  717k  100  717k    0     0   120k      0  0:00:05  0:00:05  
--:--:--  133k
--->  Verifying checksum(s) for py25-xml
DEBUG: Executing org.macports.checksum (py25-xml)
--->  Checksumming PyXML-0.8.4.tar.gz
DEBUG: Correct (md5) checksum for PyXML-0.8.4.tar.gz
--->  Extracting py25-xml
DEBUG: Executing org.macports.extract (py25-xml)
--->  Extracting PyXML-0.8.4.tar.gz
DEBUG: setting option extract.args to /opt/local/var/macports/ 
distfiles/python/PyXML-0.8.4.tar.gz
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_python_py25-xml/work" && gzip -dc /opt/ 
local/var/macports/distfiles/python/PyXML-0.8.4.tar.gz | /usr/bin/ 
gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (py25-xml)
--->  Configuring py25-xml
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (py25-xml)
--->  Building py25-xml
DEBUG: Executing org.macports.build (py25-xml)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' CC='gcc'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_python_py25-xml/work/PyXML-0.8.4" && /opt/ 
local/bin/python2.5 setup.py --no-user-cfg build --with-libexpat=/opt/ 
local'
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

error: option --no-user-cfg not recognized
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/ 
_opt_local_var_macports_sources_rsync 
.macports.org_release_ports_python_py25-xml/work/PyXML-0.8.4" && /opt/ 
local/bin/python2.5 setup.py --no-user-cfg build --with-libexpat=/opt/ 
local " returned error 1
Command output: usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2  
[cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

error: option --no-user-cfg not recognized

Warning: the following items did not execute (for py25-xml):  
org.macports.activate org.macports.build org.macports.destroot  
org.macports.install
Error: Status 1 encountered during processing.
___

from Clytie

Vietnamese Free Software Translation Team
http://vnoss.net/dokuwiki/doku.php?id=projects:l10n





More information about the macports-users mailing list