Bug 254122 - [PATCH] editors/libreoffice: fix build after box2d 2.4.1 update
Summary: [PATCH] editors/libreoffice: fix build after box2d 2.4.1 update
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 Office Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 04:35 UTC by Jonathan Chen
Modified: 2021-03-09 01:25 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (office)


Attachments
fix build after boxd-2.4.1 update (470 bytes, patch)
2021-03-08 04:35 UTC, Jonathan Chen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Chen 2021-03-08 04:35:06 UTC
Created attachment 223083 [details]
fix build after boxd-2.4.1 update

editors/libreoffice is currently failing to build with:
===>   libreoffice-7.1.0.3_2 depends on shared library:
libboost_date_time.so - found (/usr/local/lib/libboost_date_time.so)
===>   Returning to build of libreoffice-7.1.0.3_2
===>   libreoffice-7.1.0.3_2 depends on shared library: libBox2D.so - not found
===>   Installing existing package /packages/All/Box2D-2.4.1.txz
Installing Box2D-2.4.1...
Extracting Box2D-2.4.1: .......... done
===>   libreoffice-7.1.0.3_2 depends on shared library: libBox2D.so - not found
*** Error code 1

Stop.
make: stopped in /xports/editors/libreoffice

A quick look at Box2D reveals that with the update to 2.4.1, the
shared library name has been renamed to libbox2d.so (all in lower
case):

Attached is a patch that fixes the build.
Comment 1 Dima Panov freebsd_committer 2021-03-08 11:27:30 UTC
Fixed in r567837

https://svnweb.freebsd.org/changeset/ports/567837 

Quarterly branch is not touched 'cause box2d is not MFH'ed yes
Comment 2 Jonathan Chen 2021-03-08 20:10:47 UTC
Can someone please explain to me how an update to devel/zziplib fixes the problem with devel/box2d shared-lib naming?
Comment 3 Jonathan Chen 2021-03-08 20:15:45 UTC
In fact, I see that other box2d dependencies are being updated to reflect the shared-lib name change, eg: py-box2d-py https://svnweb.freebsd.org/changeset/ports/567853

I'm reopening this PR.
Comment 4 Jonathan Chen 2021-03-09 01:25:02 UTC
After looking at the tree, I see that the commit to fix was at https://svnweb.freebsd.org/changeset/ports/567836

Closing PR.