Re: [36679] trunk/base/src — extract stage doesn't get the right tarball path

nox n.oxyde at gmail.com
Tue May 13 03:01:47 PDT 2008


Le 11 mai 08 à 19:14, nox a écrit :

> Le 11 mai 08 à 10:18, jmr at macports.org a écrit :
>
>> Revision 36679
>> Author jmr at macports.org
>> Date 2008-05-11 01:18:24 -0700 (Sun, 11 May 2008)
>>
>> Log Message
>> fetch_init, archive_init, unarchive_init:
>> Avoid creating too many subdirectory levels when these procedures  
>> are called
>> more than once. Fix for #11971.
>> Modified Paths
>> 	• trunk/base/src/package1.0/portarchive.tcl
>> 	• trunk/base/src/package1.0/portunarchive.tcl
>> 	• trunk/base/src/port1.0/portfetch.tcl
>
>
>
> Hi,
> I think this commit broke something:
>
> Bellcross:~ nox$ cd src/MacPorts/dports/multimedia/libogg/
> Bellcross:libogg nox$ sudo port clean --all
> Password:
> --->  Cleaning libogg
> Bellcross:libogg nox$ sudo port -d extract
> DEBUG: Changing to port directory: /Users/nox/src/MacPorts/dports/ 
> multimedia/libogg
> 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: Requested variant darwin is not provided by port libogg.
> DEBUG: Requested variant i386 is not provided by port libogg.
> DEBUG: Requested variant macosx is not provided by port libogg.
> DEBUG: Changing to port directory: /Users/nox/src/MacPorts/dports/ 
> multimedia/libogg
> 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: Requested variant darwin is not provided by port libogg.
> DEBUG: Requested variant i386 is not provided by port libogg.
> DEBUG: Requested variant macosx is not provided by port libogg.
> DEBUG: Portfile changed since installation
> DEBUG: Executing org.macports.main (libogg)
> DEBUG: Portfile changed since installation
> --->  Fetching libogg
> DEBUG: Executing org.macports.fetch (libogg)
> --->  libogg-1.1.3.tar.gz doesn't seem to exist in /opt/local/var/ 
> macports/distfiles/libogg
> --->  Attempting to fetch libogg-1.1.3.tar.gz from http://downloads.xiph.org/releases/ogg/
>  % Total    % Received % Xferd  Average Speed   Time    Time      
> Time  Current
>                                 Dload  Upload   Total   Spent     
> Left  Speed
> 100  394k  100  394k    0     0   217k      0  0:00:01  0:00:01  
> --:--:--  267k
> DEBUG: Portfile changed since installation
> --->  Verifying checksum(s) for libogg
> DEBUG: Executing org.macports.checksum (libogg)
> --->  Checksumming libogg-1.1.3.tar.gz
> Error: Target org.macports.checksum returned: Could not open file: / 
> opt/local/var/macports/distfiles/libogg-1.1.3.tar.gz
> Warning: the following items did not execute (for libogg):  
> org.macports.extract org.macports.checksum
> Error: Status 1 encountered during processing.
>

jmr fixed this specific problem in r36687 and r36688, but I've found  
another one in the patch stage:

$ sudo port install +universal
--->  Fetching jpeg
--->  Attempting to fetch jpegsrc.v6b.tar.gz from ftp://ftp.uu.net/graphics/jpeg
--->  Attempting to fetch jpegsrc.v6b.tar.gz from http://www.ijg.org/files
--->  Attempting to fetch droppatch.tar.gz from http://sylvana.net/jpegcrop/
--->  Verifying checksum(s) for jpeg
--->  Extracting jpeg
--->  Applying patches to jpeg
Error: Target org.macports.patch returned: shell command "cd /opt/ 
local/var/macports/build/_Users_nox_src_MacPorts_dports_graphics_jpeg/ 
work/jpeg-6b &&
         tar zxf /opt/local/var/macports/distfiles/droppatch.tar.gz"  
returned error 2
Command output: tar (child): /opt/local/var/macports/distfiles/ 
droppatch.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

Error: Status 1 encountered during processing.


More information about the macports-dev mailing list