qt3-mac build failure: ranlib can't find libdesignercore.a
Hi, qt3-mac fails to build for me, complaining that ranlib can't find a file called libdesignercore.a. Does anyone have any clues for fixing this? Session output is below. I've tried it using both 4.0 and 3.3 as the system default gcc, just in case that was part of the issue, but it makes no difference to the behaviour. PowerBook:~ dan$ sudo port clean --all qt3-mac Password: ---> Cleaning qt3-mac PowerBook:~ dan$ sudo gcc_select 4.0 Default compiler has been set to: gcc version 4.0.1 (Apple Computer, Inc. build 5341) PowerBook:~ dan$ sudo port install qt3-mac Password: ---> Fetching qt3-mac ---> Attempting to fetch qt-mac-free-3.3.8.tar.gz from ftp://ftp.trolltech.com/qt/source/ ---> Verifying checksum(s) for qt3-mac ---> Extracting qt3-mac ---> Applying patches to qt3-mac ---> Configuring qt3-mac ---> Building qt3-mac with target symlinks src-qmake src-moc sub-src sub-tools ---> Staging qt3-mac into destroot Error: Target com.apple.destroot returned: shell command "ranlib -s /opt/local/var/db/dports/build/_private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/libdesignercore.a" returned error 1 Command output: ranlib: can't open file: /opt/local/var/db/dports/build/_private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/libdesignercore.a (No such file or directory) I've googled and searched the bugtracker, to no avail. So thanks in advance for any tips - Dan
On Apr 9, 2007, at 11:09 AM, Dan Stowell wrote:
PowerBook:~ dan$ sudo port clean --all qt3-mac Password: ---> Cleaning qt3-mac PowerBook:~ dan$ sudo gcc_select 4.0 Default compiler has been set to: gcc version 4.0.1 (Apple Computer, Inc. build 5341) PowerBook:~ dan$ sudo port install qt3-mac Password: ---> Fetching qt3-mac ---> Attempting to fetch qt-mac-free-3.3.8.tar.gz from ftp://ftp.trolltech.com/qt/source/ ---> Verifying checksum(s) for qt3-mac ---> Extracting qt3-mac ---> Applying patches to qt3-mac ---> Configuring qt3-mac ---> Building qt3-mac with target symlinks src-qmake src-moc sub- src sub-tools ---> Staging qt3-mac into destroot Error: Target com.apple.destroot returned: shell command "ranlib -s /opt/local/var/db/dports/build/ _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d pupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/ libdesignercore.a" returned error 1 Command output: ranlib: can't open file: /opt/local/var/db/dports/build/ _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d pupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/ libdesignercore.a (No such file or directory)
There is probably something else in the build output that explains why that file isn't there when the build process wants it to be there. Try again with the -dv arguments to port so you can see what is going on: port clean --all qt3-mac port -dv install qt3-mac -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
2007/4/9, Daniel J. Luke <dluke@geeklair.net>:
On Apr 9, 2007, at 11:09 AM, Dan Stowell wrote:
PowerBook:~ dan$ sudo port clean --all qt3-mac Password: ---> Cleaning qt3-mac PowerBook:~ dan$ sudo gcc_select 4.0 Default compiler has been set to: gcc version 4.0.1 (Apple Computer, Inc. build 5341) PowerBook:~ dan$ sudo port install qt3-mac Password: ---> Fetching qt3-mac ---> Attempting to fetch qt-mac-free-3.3.8.tar.gz from ftp://ftp.trolltech.com/qt/source/ ---> Verifying checksum(s) for qt3-mac ---> Extracting qt3-mac ---> Applying patches to qt3-mac ---> Configuring qt3-mac ---> Building qt3-mac with target symlinks src-qmake src-moc sub- src sub-tools ---> Staging qt3-mac into destroot Error: Target com.apple.destroot returned: shell command "ranlib -s /opt/local/var/db/dports/build/ _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d pupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/ libdesignercore.a" returned error 1 Command output: ranlib: can't open file: /opt/local/var/db/dports/build/ _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d pupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/ libdesignercore.a (No such file or directory)
There is probably something else in the build output that explains why that file isn't there when the build process wants it to be there.
Try again with the -dv arguments to port so you can see what is going on:
port clean --all qt3-mac port -dv install qt3-mac
OK, having looked through the verbose output I find the following: cp -f "../../../lib/libdesignercore.a" "/opt/local/var/db/dports/build/_private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/destroot/private/opt/local/lib/libdesignercore.a" which is the last mention of the file before ranlib: can't open file: /opt/local/var/db/dports/build/_private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/libdesignercore.a (No such file or directory) I note that the "cp" command is aiming at .../destroot/private/opt/local/lib whereas ranlib is searching in .../destroot/opt/local/lib - but what does this tell me? I'm afraid I don't know... Best Dan
On Apr 9, 2007, at 15:01, Dan Stowell wrote:
OK, having looked through the verbose output I find the following:
cp -f "../../../lib/libdesignercore.a" "/opt/local/var/db/dports/build/ _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d pupdate_dports_aqua_qt3-mac/work/destroot/private/opt/local/lib/ libdesignercore.a"
which is the last mention of the file before
ranlib: can't open file: /opt/local/var/db/dports/build/ _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d pupdate_dports_aqua_qt3-mac/work/destroot/opt/local/lib/ libdesignercore.a (No such file or directory)
I note that the "cp" command is aiming at .../destroot/private/opt/local/lib whereas ranlib is searching in .../destroot/opt/local/lib - but what does this tell me? I'm afraid I don't know...
Is there a /private/opt on your system? There isn't on mine. I believe the Cisco VPN installer installs, or used to install, in / private/opt [1]... But I can't see anything in the qt3-mac source code or the portfile or its patches that explicitly uses /private/opt... [1] http://trac.macosforge.org/projects/macports/wiki/FAQ? version=1#IjustinstalledMacPorts1.2fromthe.dmgandIseemtohavelostallmyins talledportsakaCiscoVPNatemyMacPorts
participants (3)
-
Dan Stowell
-
Daniel J. Luke
-
Ryan Schmidt