Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16526 closed defect (fixed)

qt4-mac +noframework stage error

Reported by: darren.weber.lists@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Qt qt4 4.4.1 Cc: clubjuggler@…, erickt@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: qt4-mac 4.4.1

Description

[ root@elegans /usr/src ]# port install qt4-mac +dbus +noframework +nis +cups +mysql5 +psql +sqlite +ssl +examples +demos +docs
--->  Fetching qt4-mac
--->  Attempting to fetch qt-mac-opensource-src-4.4.1.tar.gz from ftp://ftp.trolltech.com/qt/source/
--->  Attempting to fetch qt-mac-opensource-src-4.4.1.tar.gz from http://ftp.iasi.roedu.net/mirrors/ftp.trolltech.com/qt/source/
--->  Attempting to fetch qt-mac-opensource-src-4.4.1.tar.gz from http://ftp.ntua.gr/pub/X11/Qt/qt/source/
--->  Verifying checksum(s) for qt4-mac
--->  Extracting qt4-mac
--->  Applying patches to qt4-mac
--->  Configuring qt4-mac
--->  Building qt4-mac with target first
--->  Staging qt4-mac into destroot
Error: Target org.macports.destroot returned: shell command "mv /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/destroot/opt/local/Library/Frameworks/pkgconfig /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/destroot//opt/local/lib/" returned error 1
Command output: mv: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work/destroot/opt/local/Library/Frameworks/pkgconfig: No such file or directory

Error: Status 1 encountered during processing.
[ root@elegans /usr/src ]# 

Change History (8)

comment:1 Changed 16 years ago by clubjuggler@…

We need to check for the +noframework variant before attempting to move the pkgconfig directory out of the framework directory. I'll see if I can work up a patch to the portfile.

comment:2 Changed 16 years ago by dweber@…

Do we have a patch for this? I've tried again on Oct 15th, 2008, with the same bug.

comment:3 Changed 16 years ago by dweber@…

I don't know anything about pkgconfig for a noframework build, but how about this fix:

    # Put pkgconfig directory in correct place (Fix Ticket #15353)
    if { ![variant_isset noframework]} {
        system "mv ${destroot}${frameworkdir}/pkgconfig ${destroot}/${prefix}/lib/"
    }

comment:4 Changed 16 years ago by dweber@…

I made the change above in my local repository copy of the Portfile and it works OK for me, ie:

[ dweber@X ~/ports ]$ sudo port install qt4-mac +dbus +noframework +nis +cups +mysql5 +psql +sqlite +ssl +examples +demos +docs
--->  Fetching qt4-mac
--->  Verifying checksum(s) for qt4-mac
--->  Extracting qt4-mac
--->  Applying patches to qt4-mac
--->  Configuring qt4-mac
--->  Building qt4-mac with target first
--->  Staging qt4-mac into destroot
--->  Installing qt4-mac 4.4.3_0+cups+dbus+demos+docs+examples+mysql5+nis+noframework+psql+sqlite+ssl
--->  Activating qt4-mac 4.4.3_0+cups+dbus+demos+docs+examples+mysql5+nis+noframework+psql+sqlite+ssl
--->  Cleaning qt4-mac

comment:5 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:6 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is a proposed fix in #16862 which hopefully would fix this as well.

comment:7 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Fixed in r44203.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.