Bug 192176 - www/mod_dav_svn: Cannot compile this port against apache24: sqlite3 misses .la file
Summary: www/mod_dav_svn: Cannot compile this port against apache24: sqlite3 misses .l...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Lev A. Serebryakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-27 19:42 UTC by Nick Hibma
Modified: 2016-01-17 14:16 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Hibma freebsd_committer freebsd_triage 2014-07-27 19:42:59 UTC
===>  Building for mod_dav_svn-1.8.9_5
    if true ; then cd subversion/mod_dav_svn && /bin/sh /usr/ports/www/mod_dav_svn/work/subversion-1.8.9/libtool --tag=CC --silent --mode=link cc  -O2 -pipe -fpic -DPIC -fno-strict-aliasing    -L/usr/local/lib -L/usr/local/lib/db48 -L/usr/local/lib  -rpath /usr/local/libexec/apache24 -avoid-version -module   -o mod_dav_svn.la  activity.lo authz.lo deadprops.lo liveprops.lo lock.lo merge.lo mirror.lo mod_dav_svn.lo posts/create_txn.lo reports/dated-rev.lo reports/deleted-rev.lo reports/file-revs.lo reports/get-location-segments.lo reports/get-locations.lo reports/get-locks.lo reports/inherited-props.lo reports/log.lo reports/mergeinfo.lo reports/replay.lo reports/update.lo repos.lo util.lo version.lo -lsvn_repos-1 -lsvn_fs-1 -lsvn_delta-1 -lsvn_subr-1 -lintl ; else echo "fake" > subversion/mod_dav_svn/mod_dav_svn.la ; fi
libtool: link: cannot find the library `/usr/local/lib/libsqlite3.la' or unhandled argument `/usr/local/lib/libsqlite3.la'
*** [subversion/mod_dav_svn/mod_dav_svn.la] Error code 1
    1 error
    ===> Compilation failed unexpectedly.
    Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
    the maintainer.

When manually compiling sqlite3 I notice the following:

    ===>  Staging for sqlite3-3.8.5_1
    ===>   Generating temporary packing list
    ...
    libtool: install: warning: `./libsqlite3.la' has not been installed in `/usr/local/lib'
    ...
    ====> Compressing man pages (compress-man)

But I am not sure whether that has any significance. The fact is that the PLIST_FILES entry in the Makefile does not contain a .la file, and neither do /usr/local/lib nor the stage directory.

I do have have other .la files for other libs installed through ports in /usr/local/lib.

Let me know if I can provide more information.
Comment 1 John Marino freebsd_committer freebsd_triage 2014-07-27 21:46:40 UTC
over to maintainer
Comment 2 Lev A. Serebryakov freebsd_committer freebsd_triage 2014-07-28 08:06:16 UTC
Now ports are in process of conversion to "LA-less" state. It looks like, something broken locally or globally.

Could you please re-install devel/apr1 and www/apache24 from very fresh ports and try again?

It works for me now (ports from 28/07/2014, about 00:00 UTC)
Comment 3 Nick Hibma freebsd_committer freebsd_triage 2014-07-28 09:07:35 UTC
I've removed apache24, apr1, sqlite3, subversion, mod_dav_svn and done an autoremove afterwards.

Then ran make in www/mod_dav_svn:

mod_dav_svn.la ; fi
libtool: link: cannot find the library `/usr/local/lib/libsqlite3.la' or unhandled argument `/usr/local/lib/libsqlite3.la'
*** [subversion/mod_dav_svn/mod_dav_svn.la] Error code 1
1 error
===> Compilation failed unexpectedly.

Same error.

But feel free to close this PR if you are sure that this will be resolved once the move to .la-less ports is complete. Installing from packages does work, so no problem there. It might well be something in my local configuration. This machine has been upgraded a few times in the past, so there might be something left behind.
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2016-01-17 14:16:11 UTC
Close per request.