Bug 256999 - graphics/inkscape: add missing dependencies
Summary: graphics/inkscape: add missing dependencies
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-05 16:57 UTC by Philipp Ost
Modified: 2021-08-08 17:56 UTC (History)
2 users (show)

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


Attachments
graphics/inkscape: add missing dependencies (1002 bytes, patch)
2021-07-05 16:57 UTC, Philipp Ost
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Ost 2021-07-05 16:57:23 UTC
Created attachment 226243 [details]
graphics/inkscape: add missing dependencies

inkscape is linked to libboost_filesystem.so.1.72.0 and /usr/local/lib/libreadline.so.8 which are both not declared as dependencies.

The attached patch adds these.
Comment 1 Ting-Wei Lan 2021-07-06 17:31:08 UTC
(In reply to Philipp Ost from comment #0)
Do you know which file depends on them? I ran 'readelf -d' but I couldn't find boost and readline in the output.
Comment 2 Philipp Ost 2021-07-06 18:11:52 UTC
(In reply to Ting-Wei Lan from comment #1)

It's inkscape itself:

# readelf -d work/stage/usr/local/bin/inkscape | grep boost
 0x0000000000000001 NEEDED               Shared library: [libboost_filesystem.so.1.72.0]
# readelf -d work/stage/usr/local/bin/inkscape | grep readline
 0x0000000000000001 NEEDED               Shared library: [libreadline.so.8]
Comment 3 Ting-Wei Lan 2021-07-08 17:11:12 UTC
(In reply to Philipp Ost from comment #2)
Do you know where they come from? Do they come from some non-default options? Running 'readelf -d /usr/local/bin/inkscape | grep -e boost -e readline' shows nothing on my system.
Comment 4 Philipp Ost 2021-07-09 13:28:46 UTC
(In reply to Ting-Wei Lan from comment #3)

No, I currently do not know where these missing dependencies come from.

poudriere testport using a 12.2-Release amd64 jail also reports libboost_filesystem.so and libreadline.so as missing dependencies. This is with the default options.

I will investigate further and report back with my findings.
Comment 5 Ting-Wei Lan 2021-07-09 13:49:55 UTC
(In reply to Philipp Ost from comment #4)
I found you are right. These dependencies are introduced in version 1.1. I was using version 1.0.2_6, which didn't depend on boost and readline.
Comment 6 Alexandre C. Guimarães freebsd_committer 2021-08-08 03:44:19 UTC
The last version fail for me with "missing_header" if the POPPLER option is disabled.
Comment 7 Philipp Ost 2021-08-08 17:46:39 UTC
(In reply to Alexandre C. Guimarães from comment #6)

That's already fixed upstream: https://gitlab.com/inkscape/inkscape/-/blob/e8d1acbb2ba23bcbf360bcd1ad6adccd1f6b8a31/src/inkscape-version-info.cpp
Comment 8 Philipp Ost 2021-08-08 17:56:27 UTC
(In reply to Alexandre C. Guimarães from comment #6)

I created a separate bug report: Bug 257687