staging failing on local Portfile for GCC 4.6.1

Ryan Schmidt ryandesign at macports.org
Fri Jul 22 17:34:18 PDT 2011


On Jul 22, 2011, at 18:32, doug livesey wrote:

> Hi -- I've been trying to install GCC 4.6.1 from the Portfile that someone submitted to the ticket requesting that the port be updated, here: https://trac.macports.org/ticket/29184
> I've got it to the point where it is installing, but then it fails with this:
> 
> --->  Computing dependencies for gcc46
> --->  Fetching archive for gcc46
> --->  Fetching gcc46
> --->  Verifying checksum(s) for gcc46
> --->  Extracting gcc46
> --->  Configuring gcc46
> --->  Building gcc46
> --->  Staging gcc46 into destroot
> Error: Target org.macports.destroot returned: xinstall: Cannot stat: /Users/douglivesey/src/ports/lang/gcc46/files/mp-gcc46, No such file or directory
> Log for gcc46 is at: /opt/local/var/macports/logs/_Users_douglivesey_src_ports_lang_gcc46/gcc46/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>

Right, the mp-gcc46 file is missing. We discussed by private mail how you would need to copy that file from the gcc46 port's directory.


> I tried creating the directory /Users/douglivesey/src/ports/lang/gcc46/files/mp-gcc46 and running it again, but I got this error:
> 
> --->  Computing dependencies for gcc46
> --->  Fetching archive for gcc46
> --->  Fetching gcc46
> --->  Verifying checksum(s) for gcc46
> --->  Extracting gcc46
> --->  Configuring gcc46
> --->  Building gcc46
> --->  Staging gcc46 into destroot
> Error: Target org.macports.destroot returned: xinstall: Inappropriate file type: /Users/douglivesey/src/ports/lang/gcc46/files/mp-gcc46
> Log for gcc46 is at: /opt/local/var/macports/logs/_Users_douglivesey_src_ports_lang_gcc46/gcc46/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
> 
> Can anyone advise me on how I might try to get the Portfile to succeed right to the end?

mp-gcc46 should be a file with a specific contents, not a directory.

https://trac.macports.org/browser/trunk/dports/lang/gcc46/files/mp-gcc46





More information about the macports-users mailing list