Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927864 - dev-libs/apr-1.7.4: binary package only works with merged-usr installations
Summary: dev-libs/apr-1.7.4: binary package only works with merged-usr installations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: usrmerge, usrmerge-fixes
  Show dependency tree
 
Reported: 2024-03-26 08:31 UTC by Gabriele Svelto
Modified: 2024-03-27 07:36 UTC (History)
1 user (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 Gabriele Svelto 2024-03-26 08:31:56 UTC
I migrated an installation from the `default/linux/amd64/17.1/no-multilib` profile to the `default/linux/amd64/23.0/split-usr/no-multilib` profile, following the instructions available here: https://www.gentoo.org/support/news-items/2024-03-22-new-23-profiles.html using binary packages available from https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3/

After the upgrade the www-servers/apache packaged couldn't be rebuilt because of a failure in the `/usr/share/apr/build/libtool` tool that belongs to the `dev-libs/apr` package. Inspecting the contents of the tool shows that it looks for several commands (such as `sed` and `grep`) into `/usr/bin` instead of `/bin`.

The problem appears to be also in the latest binary package available which is this one if I'm not mistaken:

https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3/dev-libs/apr/apr-1.7.4-2.gpkg.tar

Merging the package from source fixes the issue, so it seems to be only a problem with the binary package.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-03-26 23:03:44 UTC
The bug has been closed via the following commit(s):

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

commit 5cb81c1f63a4dcd927f8284e79d53718ead890f0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-26 23:01:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-26 23:03:14 +0000

    dev-libs/apr: fix hardcoded paths to grep, sed, bash
    
    Just like we did in dev-build/libtool (apr installs its own in /usr/share).
    
    Closes: https://bugs.gentoo.org/927864
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/apr/apr-1.7.4-r2.ebuild | 162 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 162 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-26 23:09:37 UTC
Thank you for reporting these and I'm sorry about the speedbumps.
Comment 3 Gabriele Svelto 2024-03-27 07:36:30 UTC
(In reply to Sam James from comment #2)
> Thank you for reporting these and I'm sorry about the speedbumps.

I'm glad I could help find out issues with the binary packages. I'm a long-time user and I don't mind a little breakage now and then, but I think they're a huge boon for new users and will greatly help making Gentoo more accessible. Thank you for fixing these issues so quickly!