Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#15476 closed defect (fixed)

python25 build failure

Reported by: ewira@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: python25

Description

hello this is what i have obtained when updated outdated ports:

PowerPop:/Users/popop will$ port outdated
The following installed ports are outdated:
iso-codes                      1.4_0 < 2.0_0
PowerPop:/Users/popop will$ sudo port upgrade outdated
--->  Building python25 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2" && make all " returned error 1
Command output: sh: line 1: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2: No such file or directory

Error: The following dependencies failed to build: python25
--->  Building python25 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2" && make all " returned error 1
Command output: sh: line 1: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2: No such file or directory

--->  Building python25 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2" && make all " returned error 1
Command output: sh: line 1: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2: No such file or directory

Error: The following dependencies failed to build: py25-hashlib python25
Error: Unable to upgrade port: 1

Before this oudated command, I have tried to install gnumeric and obtained the following, after several attempt:

PowerPop:/Users/popop will$ sudo port install gnumeric
--->  Building python25 with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2" && make all " returned error 1
Command output: sh: line 1: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python25/work/Python-2.5.2: No such file or directory

Error: The following dependencies failed to build: gnome-doc-utils py25-gobject python25 py25-hashlib py25-libxml2 py25-numeric rarian intltool gnome-common goffice libgnomeprintui gnome-icon-theme hicolor-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-xml-namespacesupport p5-xml-sax libgnomecanvas gail libart_lgpl libglade2 libgnomeprint bison m4 libgnomecups popt libgsf gnome-vfs desktop-file-utils gconf orbit2 libidl gnome-mime-data libbonobo pcre py25-gtk py25-cairo py25-numpy fftw-3 g95 odcctools subversion apr apr-util db44 sqlite3 gawk gmake readline neon
Error: Status 1 encountered during processing.

my setup:

PowerPop:/Users/popop will$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.4.11
BuildVersion:   8S165
PowerPop:/Users/popop will$ uname -a
Darwin PowerPop.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
PowerPop:/Users/popop will$ port version
Version: 1.600

Xcode = 2.5

anyone could help me as I would like to install gnumeric... Thanks in advance, and for the macport team, MacPorts is really nice... Will

Change History (6)

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

Summary: The following dependencies failed to build: py25-hashlib python25python25 build failure

Python25 is failing to build because its work directory is missing and MacPorts thinks that it should be there. Try running sudo port clean python25 to tell MacPorts to remove the work directory and thus match up its perception with reality.

comment:2 Changed 16 years ago by ewira@…

Hi, thanks this was working. I learn a lot with cleaning and unistalling ports. So I have start agin the installation of gnumeric, but it seems that the g95 port is not available :

Fetching g95
--->  Attempting to fetch gcc-core-4.0.4.tar.bz2 from ftp://
gcc.gnu.org/pub/gcc/releases/gcc-4.0.4/
--->  Attempting to fetch g95_source.tgz from http://ftp.g95.org/v0.91/
Error: Target org.macports.fetch returned: fetch failed
Error: The following dependencies failed to build: py25-gtk py25- cairo py25-numpy g95
Error: Status 1 encountered during processing.

Should I wait for the website to be up, or is there another way to get g95?

comment:3 in reply to:  description Changed 16 years ago by ewira@…

Replying to ewira@free.fr: Oops, the solution is there -> #15489

comment:4 Changed 16 years ago by ewira@…

ok this is working now, Gnumeric is installed, thanks for the help. Will

comment:5 Changed 16 years ago by akira@…

Resolution: fixed
Status: newclosed

comment:6 in reply to:  1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Port: python25 added

Replying to jmr@…:

Python25 is failing to build because its work directory is missing and MacPorts thinks that it should be there.

This was probably caused by #29223.

Note: See TracTickets for help on using tickets.