I seem to be getting hung up on something here. This is all on MacPorts 1.320, with a sync run before all this. ---> Configuring py-cairo sh: line 1: ./configure: No such file or directory Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_python_py-cairo/work/pycairo-1.2.6" && ./configure --prefix=/opt/ local" returned error 127 Command output: sh: line 1: ./configure: No such file or directory Warning: the following items did not execute (for py-cairo): com.apple.destroot com.apple.configure com.apple.build Error: Unable to upgrade port: 1 That's all true: there is nothing in that directory, no configure script to run. If I run gzip -cd /opt/local/var/db/dports/distfiles/py-cairo/ pycairo-1.2.6.tar.gz | tar xf - I get a cairo-1.2.6 directory. And from there, I can configure and make just fine. I'm not sure where the python bindings enter the picture. -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem? -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
Le 07-01-30 à 15:38, Paul Beard a écrit :
I seem to be getting hung up on something here.
This is all on MacPorts 1.320, with a sync run before all this.
---> Configuring py-cairo sh: line 1: ./configure: No such file or directory Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_python_py-cairo/work/pycairo-1.2.6" && ./configure --prefix=/ opt/local" returned error 127 Command output: sh: line 1: ./configure: No such file or directory
Warning: the following items did not execute (for py-cairo): com.apple.destroot com.apple.configure com.apple.build Error: Unable to upgrade port: 1
That's all true: there is nothing in that directory, no configure script to run. If I run
gzip -cd /opt/local/var/db/dports/distfiles/py-cairo/ pycairo-1.2.6.tar.gz | tar xf -
I get a cairo-1.2.6 directory. And from there, I can configure and make just fine.
I'm not sure where the python bindings enter the picture.
Nowhere, py-cairo does not use the python PortGroup. This is rather strange. what does "port -d extract" give ? yves
On Jan 30, 2007, at 2:34 PM, Yves de Champlain wrote:
Nowhere, py-cairo does not use the python PortGroup.
port info py-cairo yields this: py-cairo 1.2.6, python/py-cairo http://cairographics.org/pycairo/ {Pycairo is set of Python bindings for the cairo graphics library}
This is rather strange. what does "port -d extract" give ?
white:~ root# port -d extract py-cairo DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Requested variant powerpc is not provided by port py-cairo. DEBUG: Requested variant darwin is not provided by port py-cairo. DEBUG: Requested variant macosx is not provided by port py-cairo. DEBUG: Skipping completed com.apple.main (py-cairo) DEBUG: Skipping completed com.apple.fetch (py-cairo) DEBUG: Skipping completed com.apple.checksum (py-cairo) DEBUG: Skipping completed com.apple.extract (py-cairo) w -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
This is rather strange. what does "port -d extract" give ?
white:~ root# port -d extract py-cairo DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Requested variant powerpc is not provided by port py-cairo. DEBUG: Requested variant darwin is not provided by port py-cairo. DEBUG: Requested variant macosx is not provided by port py-cairo. DEBUG: Skipping completed com.apple.main (py-cairo) DEBUG: Skipping completed com.apple.fetch (py-cairo) DEBUG: Skipping completed com.apple.checksum (py-cairo) DEBUG: Skipping completed com.apple.extract (py-cairo) w
you need to do "port clean" before to see what happens yves
On Jan 30, 2007, at 9:39 PM, Yves de Champlain wrote:
you need to do "port clean" before to see what happens
sudo port -d extract py-cairo Password: DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Requested variant powerpc is not provided by port py-cairo. DEBUG: Requested variant darwin is not provided by port py-cairo. DEBUG: Requested variant macosx is not provided by port py-cairo. DEBUG: Executing com.apple.main (py-cairo) ---> Fetching py-cairo DEBUG: Executing com.apple.fetch (py-cairo) ---> pycairo-1.2.6.tar.gz doesn't seem to exist in /opt/local/var/db/ dports/distfiles/py-cairo ---> Attempting to fetch pycairo-1.2.6.tar.gz from http:// cairographics.org/releases/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 469k 100 469k 0 0 39436 0 0:00:12 0:00:12 --:--:-- 61227 ---> Verifying checksum(s) for py-cairo DEBUG: Executing com.apple.checksum (py-cairo) ---> Checksumming pycairo-1.2.6.tar.gz DEBUG: Correct (md5) checksum for pycairo-1.2.6.tar.gz ---> Extracting py-cairo DEBUG: Executing com.apple.extract (py-cairo) ---> Extracting pycairo-1.2.6.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/ distfiles/py-cairo/pycairo-1.2.6.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_python_py-cairo/work" && gzip -dc /opt/local/var/db/dports/ distfiles/py-cairo/pycairo-1.2.6.tar.gz | /usr/bin/gnutar --no-same- owner -xf -' "port -d build py-cairo" seems to be working now. i have been through this manually a few times and never got this far. should cleaning be a required step? -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
Le 07-01-31 à 00:47, Paul Beard a écrit :
On Jan 30, 2007, at 9:39 PM, Yves de Champlain wrote:
you need to do "port clean" before to see what happens
sudo port -d extract py-cairo Password: DEBUG: Found port in file:///opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/ rsync.rsync.darwinports.org_dpupdate_dports/python/py-cairo DEBUG: Requested variant powerpc is not provided by port py-cairo. DEBUG: Requested variant darwin is not provided by port py-cairo. DEBUG: Requested variant macosx is not provided by port py-cairo. DEBUG: Executing com.apple.main (py-cairo) ---> Fetching py-cairo DEBUG: Executing com.apple.fetch (py-cairo) ---> pycairo-1.2.6.tar.gz doesn't seem to exist in /opt/local/var/ db/dports/distfiles/py-cairo ---> Attempting to fetch pycairo-1.2.6.tar.gz from http:// cairographics.org/releases/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 469k 100 469k 0 0 39436 0 0:00:12 0:00:12 --:--:-- 61227 ---> Verifying checksum(s) for py-cairo DEBUG: Executing com.apple.checksum (py-cairo) ---> Checksumming pycairo-1.2.6.tar.gz DEBUG: Correct (md5) checksum for pycairo-1.2.6.tar.gz ---> Extracting py-cairo DEBUG: Executing com.apple.extract (py-cairo) ---> Extracting pycairo-1.2.6.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/ distfiles/py-cairo/pycairo-1.2.6.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_ dports_python_py-cairo/work" && gzip -dc /opt/local/var/db/dports/ distfiles/py-cairo/pycairo-1.2.6.tar.gz | /usr/bin/gnutar --no-same- owner -xf -'
"port -d build py-cairo" seems to be working now. i have been through this manually a few times and never got this far. should cleaning be a required step?
Not at all, but it may happen from time to time that a step is not completed but recorded as completed by the port system. It has happened a few times to me but in a very erratic way (hard to reproduce, pinpoint or understand) with fetch (downloads) yves
On Jan 30, 2007, at 10:01 PM, Yves de Champlain wrote:
Not at all, but it may happen from time to time that a step is not completed but recorded as completed by the port system. It has happened a few times to me but in a very erratic way (hard to reproduce, pinpoint or understand) with fetch (downloads)
Hmm, first time for me, but I'll keep it in mind. Thanks. -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf pictures: http://www.flickr.com/photos/pdb206/ Are you trying to win an argument or solve a problem?
participants (2)
-
Paul Beard
-
Yves de Champlain