Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716036 - media-gfx/asymptote runtime-depends on net-libs/libtirpc if it was present at build time
Summary: media-gfx/asymptote runtime-depends on net-libs/libtirpc if it was present at...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-03 16:00 UTC by July Tikhonov
Modified: 2021-02-28 13:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description July Tikhonov 2020-04-03 16:00:49 UTC
The easiest way to verify this is to run
ldd /usr/bin/asy
assuming that net-libs/libtirpc was present in the system when media-gfx/asymptote was built.

Also, you can see libtirpc detection in asymptote's configure.ac:
https://github.com/vectorgraphics/asymptote/blob/2.65/configure.ac#L350-L354

Also, I asked the author and he just added this library as an official requirement (in the upstream master repo):
https://github.com/vectorgraphics/asymptote/issues/148#issuecomment-608471260
https://github.com/vectorgraphics/asymptote/commit/decb4d5109744545082eb1843dcb2f1a52d4158c
and I don't expect that Gentoo will try to condition it with a USE flag (it seems possible, but not necessary, since libtirpc is a relatively basic library, as far as I can tell).

What to do with current versions of asymptote in Gentoo portage tree (2.61 and 2.62), I have no idea. I suppose that most asymptote installs have this unaccounted dependency…
Comment 1 July Tikhonov 2021-01-20 13:57:25 UTC
libtirpc is included in the dependencies since asymptote-2.66
https://github.com/vectorgraphics/asymptote/blob/2.66/asymptote.spec#L27
but new asymptote ebuilds still do not require it. Is this a clear case of an unaccounted dependency, or am I missing something?
Comment 2 Larry the Git Cow gentoo-dev 2021-02-28 13:02:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5dea7521772bdd8be77f1f9f910dfdb2cd8848d

commit c5dea7521772bdd8be77f1f9f910dfdb2cd8848d
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2021-02-28 13:01:53 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2021-02-28 13:01:53 +0000

    media-gfx/asymptote: bump to 2.69
    
    xasy is currently broken and temporarily removed
    Closes: https://bugs.gentoo.org/716036
    Closes: https://bugs.gentoo.org/766279
    Closes: https://bugs.gentoo.org/737122
    Package-Manager: Portage-3.0.16, Repoman-3.0.2
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 media-gfx/asymptote/Manifest                       |   1 +
 media-gfx/asymptote/asymptote-2.69.ebuild          | 205 +++++++++++++++++++++
 .../asymptote/files/asymptote-2.69-info.patch      |  13 ++
 .../asymptote/files/asymptote-2.69-xdg-utils.patch |  23 +++
 media-gfx/asymptote/metadata.xml                   |   2 +
 5 files changed, 244 insertions(+)