[MacPorts] #27892: pdflib install fails, but macports doesn't know it
MacPorts
noreply at macports.org
Fri Jan 7 16:08:10 PST 2011
#27892: pdflib install fails, but macports doesn't know it
-------------------------------+--------------------------------------------
Reporter: ejtttje@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: pdflib
-------------------------------+--------------------------------------------
Old description:
> pdflib 7.0.5_0 does not actually install the library... it fails during
> install, as shown in the debug log:
>
> ../../config/install-sh -c -m 644 pdflib.h
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/include
> ../../libtool --silent ../../config/install-sh -c -m 644 libpdf.la
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/lib;
> libtool: you must specify a MODE
> libtool: Try `libtool --help' for more information.
> make[2]: *** [install] Error 1
> make[1]: *** [install] Error 2
> make[3]: Nothing to be done for `install'.
> make[3]: Nothing to be done for `install'.
>
> However, somehow the install continues...
>
> mkdir -p
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/bin
> ../../config/install-sh -c pdfimage text2pdf
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/bin
>
> ....and so on.
>
> So MacPorts believes the library has been installed, but actually only
> the header file is available:
> $ port contents pdflib
> Port pdflib contains:
> /opt/local/bin/pdfimage
> /opt/local/bin/pdflib-config
> /opt/local/bin/text2pdf
> /opt/local/include/pdflib.h
> /opt/local/share/doc/pdflib/changes.txt
> /opt/local/share/doc/pdflib/compatibility.txt
> /opt/local/share/doc/pdflib/licensekeys.txt
> /opt/local/share/doc/pdflib/PDFlib-API-reference.pdf
> /opt/local/share/doc/pdflib/PDFlib-Lite-license.pdf
> /opt/local/share/doc/pdflib/PDFlib-tutorial.pdf
> /opt/local/share/doc/pdflib/readme-source-unix.txt
> /opt/local/share/doc/pdflib/readme-source-windows.txt
> /opt/local/share/doc/pdflib/readme.txt
>
> I'd help fix this, but I've never really grokked libtool. :(
New description:
pdflib 7.0.5_0 does not actually install the library... it fails during
install, as shown in the debug log:
{{{
../../config/install-sh -c -m 644 pdflib.h
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/include
../../libtool --silent ../../config/install-sh -c -m 644 libpdf.la
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/lib;
libtool: you must specify a MODE
libtool: Try `libtool --help' for more information.
make[2]: *** [install] Error 1
make[1]: *** [install] Error 2
make[3]: Nothing to be done for `install'.
make[3]: Nothing to be done for `install'.
}}}
However, somehow the install continues...
{{{
mkdir -p
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/bin
../../config/install-sh -c pdfimage text2pdf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/bin
}}}
....and so on.
So MacPorts believes the library has been installed, but actually only the
header file is available:
{{{
$ port contents pdflib
Port pdflib contains:
/opt/local/bin/pdfimage
/opt/local/bin/pdflib-config
/opt/local/bin/text2pdf
/opt/local/include/pdflib.h
/opt/local/share/doc/pdflib/changes.txt
/opt/local/share/doc/pdflib/compatibility.txt
/opt/local/share/doc/pdflib/licensekeys.txt
/opt/local/share/doc/pdflib/PDFlib-API-reference.pdf
/opt/local/share/doc/pdflib/PDFlib-Lite-license.pdf
/opt/local/share/doc/pdflib/PDFlib-tutorial.pdf
/opt/local/share/doc/pdflib/readme-source-unix.txt
/opt/local/share/doc/pdflib/readme-source-windows.txt
/opt/local/share/doc/pdflib/readme.txt
}}}
I'd help fix this, but I've never really grokked libtool. :(
--
Comment(by jmr@…):
Please remember to preview and use WikiFormatting.
There isn't really anything we can do to detect a failure if the build
command exits with status 0. I just tried this myself and everything
appears to have been installed correctly. Please attach the complete
main.log generated by running
{{{
sudo port destroot pdflib
}}}
--
Ticket URL: <https://trac.macports.org/ticket/27892#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list