qt3-mac build failure: ranlib can't find libdesignercore.a

Dan Stowell danstowell at gmail.com
Mon Apr 9 13:01:23 PDT 2007


2007/4/9, Daniel J. Luke <dluke at 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



More information about the macports-users mailing list