Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18196 closed defect (duplicate)

py25-nose: option --no-user-cfg not recognized

Reported by: tim.stoop@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: py25-nose, no-user-cfg Cc:
Port: py25-nose

Description

When trying to build py25-nose with MacPorts 1.700 I get the following error:

{{{---> Fetching py25-nose ---> Attempting to fetch nose-0.10.4.tar.gz from http://arn.se.distfiles.macports.org/python ---> Verifying checksum(s) for py25-nose ---> Extracting py25-nose ---> Configuring py25-nose ---> Building py25-nose 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-nose/work/nose-0.10.4" && /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: The following dependencies failed to build: py25-gtk py25-cairo py25-numpy py25-nose py25-gobject libxslt Error: Status 1 encountered during processing. asterisk:~ tim$}}}

Change History (4)

comment:1 Changed 16 years ago by tim.stoop@…

Hm... that should've been:

--->  Fetching py25-nose
--->  Attempting to fetch nose-0.10.4.tar.gz from http://arn.se.distfiles.macports.org/python
--->  Verifying checksum(s) for py25-nose
--->  Extracting py25-nose
--->  Configuring py25-nose
--->  Building py25-nose
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-nose/work/nose-0.10.4" && /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: The following dependencies failed to build: py25-gtk py25-cairo py25-numpy py25-nose py25-gobject libxslt
Error: Status 1 encountered during processing.
asterisk:~ tim$

comment:2 Changed 16 years ago by blb@…

You need to update your python25 port; --no-user-cfg was added in 2.5.2_6 and python25 is now at 2.5.4.

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Duplicate of #18033.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.