Bug 191558 - Recent databases/sqlite3 libtool update breaks x11/yelp build
Summary: Recent databases/sqlite3 libtool update breaks x11/yelp build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 13:24 UTC by Chris Nehren
Modified: 2014-07-04 12:20 UTC (History)
4 users (show)

See Also:


Attachments
failing yelp build log (3.52 KB, text/plain)
2014-07-02 13:24 UTC, Chris Nehren
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Nehren 2014-07-02 13:24:20 UTC
Created attachment 144340 [details]
failing yelp build log

Just did the databases/sqlite3 update that removed the :keepla flag from the libtool USES line, and tried to install x11/yelp.  The yelp build is looking for libsqlite3.la still.  Looks like we still need the :keepla flag, or perhaps the yelp port needs fixed?  If this latter is the case, I'd be fine to do the work myself, but I don't know where to start as it's not clear why it wants libsqlite3.la.

Build log attached.
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2014-07-02 13:37:55 UTC
Can you post the output of this command:

find /usr/local/lib -name '*.la' | xargs grep -l libsqlite3.la
Comment 2 Chris Nehren 2014-07-02 13:56:35 UTC
(In reply to Tijl Coosemans from comment #1)
> Can you post the output of this command:
> 
> find /usr/local/lib -name '*.la' | xargs grep -l libsqlite3.la

root@behemoth:/usr/ports/databases/sqlite3 # find /usr/local/lib -name '*.la' | xargs grep -l libsqlite3.la
/usr/local/lib/libsoup-gnome-2.4.la
/usr/local/lib/libwebkitgtk-1.0.la

root@behemoth:/usr/ports/databases/sqlite3 # pkg info -r webkit-gtk2
webkit-gtk2-1.8.3_3:
	gimp-app-2.8.10_3,1
	yelp-2.30.2_7

I think we've found our culprit; I'll try rebuilding webkit-gtk2 and see if it fixes things.
Comment 3 Chris Nehren 2014-07-02 14:00:48 UTC
(In reply to Chris Nehren from comment #2)
> (In reply to Tijl Coosemans from comment #1)
> > Can you post the output of this command:
> > 
> > find /usr/local/lib -name '*.la' | xargs grep -l libsqlite3.la
> 
> root@behemoth:/usr/ports/databases/sqlite3 # find /usr/local/lib -name
> '*.la' | xargs grep -l libsqlite3.la
> /usr/local/lib/libsoup-gnome-2.4.la
> /usr/local/lib/libwebkitgtk-1.0.la
> 
> root@behemoth:/usr/ports/databases/sqlite3 # pkg info -r webkit-gtk2
> webkit-gtk2-1.8.3_3:
> 	gimp-app-2.8.10_3,1
> 	yelp-2.30.2_7
> 
> I think we've found our culprit; I'll try rebuilding webkit-gtk2 and see if
> it fixes things.

I should clarify that I managed to get yelp to install by locally and temporarily modifying the sqlite3 port to ship the .la file so I could carry on what I wanted to do.
Comment 4 Chris Nehren 2014-07-02 14:11:01 UTC
(In reply to Chris Nehren from comment #2)
> (In reply to Tijl Coosemans from comment #1)
> > Can you post the output of this command:
> > 
> > find /usr/local/lib -name '*.la' | xargs grep -l libsqlite3.la
> 
> root@behemoth:/usr/ports/databases/sqlite3 # find /usr/local/lib -name
> '*.la' | xargs grep -l libsqlite3.la
> /usr/local/lib/libsoup-gnome-2.4.la
> /usr/local/lib/libwebkitgtk-1.0.la
> 
> root@behemoth:/usr/ports/databases/sqlite3 # pkg info -r webkit-gtk2
> webkit-gtk2-1.8.3_3:
> 	gimp-app-2.8.10_3,1
> 	yelp-2.30.2_7
> 
> I think we've found our culprit; I'll try rebuilding webkit-gtk2 and see if
> it fixes things.

Indeed, after rebuilding webkit-gtk2 I'm able to build yelp properly.  It looks like the ports that depend on sqlite3 need a bump to chase the keepla change--this should probably be standard procedure.

Thank you for helping me troubleshoot this!
Comment 5 Tijl Coosemans freebsd_committer freebsd_triage 2014-07-02 14:28:37 UTC
(In reply to Chris Nehren from comment #4)
> Indeed, after rebuilding webkit-gtk2 I'm able to build yelp properly.  It
> looks like the ports that depend on sqlite3 need a bump to chase the keepla
> change--this should probably be standard procedure.

It looks like ports with a *_DEPENDS on databases/sqlite3 were bumped, but not those with USE_SQLITE.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2014-07-04 00:39:01 UTC
Notify maintainer of databases/sqlite3 and maintainer of x11/yelp.
Comment 7 rkoberman 2014-07-04 00:54:03 UTC
There was a period of just over three hours when an error in the sqlite3 port inadvertently bumped the libsqlite3.so from 0 to 8. If you built sqlite3 from a port downloaded during that interval (On June 27), any ports linking to libsqlite3 until sqlite3 was rebuilt from the corrected port will be broken.

Use pkg_libchk to find any port linked to libsqlite3.so.8 and re-link it. If you still have /usr/local/lib/libsqlite3.so.8 on your system, you need to re-install databases/sqlite3 first and then check. 

This was a weird one and only caught a fairly small number of people who just happened to build sqlite3 from the briefly broken port.
Comment 8 Tijl Coosemans freebsd_committer freebsd_triage 2014-07-04 09:44:23 UTC
I think all ports have been bumped now in r360588.
Comment 9 Chris Nehren 2014-07-04 12:20:56 UTC
(In reply to Tijl Coosemans from comment #8)
> I think all ports have been bumped now in r360588.

Excellent, thank you!