Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 796791 - dev-libs/gnulib - why is this package in the gentoo repo?
Summary: dev-libs/gnulib - why is this package in the gentoo repo?
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-19 21:50 UTC by Alessandro Barbieri
Modified: 2021-07-29 17:54 UTC (History)
2 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 Alessandro Barbieri 2021-06-19 21:50:21 UTC
please keyword for ~amd64, I need it for a guru package
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-19 21:57:06 UTC
I think I need details on this.. this is *really* unusual. Everyone bundles it and it's pretty much by design.
Comment 2 Alessandro Barbieri 2021-06-19 22:27:31 UTC
I'll use it at buildtime for ttfautohint
--gnulib-srcdir="${EPREFIX}/usr/share/gnulib"
Comment 3 Mike Gilbert gentoo-dev 2021-06-20 15:22:53 UTC
The ttfautohint source tarballs include a copy of gnulib already.

If you are creating a live ebuild, you should probably fetch a copy of gnulib within the ebuild itself.
Comment 4 Alessandro Barbieri 2021-06-20 15:51:35 UTC
Treeclean it then
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-20 16:01:01 UTC
(In reply to Alessandro Barbieri from comment #4)
> Treeclean it then

% grep -rsin "dev-libs/gnulib"                                      
net-ftp/lftp/lftp-9999.ebuild:39:       dev-libs/gnulib

Also, prefix@ may have it packaged for a reason.
Comment 6 Mike Gilbert gentoo-dev 2021-06-20 16:59:40 UTC
net-ftp/lftp probably should not be using dev-libs/gnulib this either.

I really have no idea why this package was added to gentoo in the first place.
Comment 7 Mike Gilbert gentoo-dev 2021-06-20 17:41:11 UTC
Only net-ftp/lftp-9999 is using the dev-libs/gnulib package. I guess that's ok, since bootstrapping the source would pull down gnulib from git anyway.

What makes no sense to me is the 2019.03.17.09.24.57 snapshot with prefix keywords. How is that meant to be used?
Comment 8 Fabian Groffen gentoo-dev 2021-06-21 06:22:43 UTC
please, don't remove this package, thanks!
Comment 9 Michael Haubenwallner (RETIRED) gentoo-dev 2021-06-21 06:32:26 UTC
(In reply to Mike Gilbert from comment #6)
> I really have no idea why this package was added to gentoo in the first
> place.

By design, gnulib should be used by upstream package maintainers, so it does make sense to have the live ebuild be available as gentoo package.

(In reply to Mike Gilbert from comment #7)
> What makes no sense to me is the 2019.03.17.09.24.57 snapshot with prefix
> keywords. How is that meant to be used?

Although the number has decreased recently, prefix still does support a number of target platforms with libc implementations other than glibc, musl or uclibc.

On the other hand, quite some upstream package maintainers are not aware of these target platforms at all, so they don't use gnulib for their packages. For prefix, it is less work to install gnulib as distinct package to get these packages work, compared to introducing gnulib into the ebuilds.
Comment 10 NATTkA bot gentoo-dev 2021-07-29 17:21:42 UTC Comment hidden (obsolete)
Comment 11 NATTkA bot gentoo-dev 2021-07-29 17:29:51 UTC Comment hidden (obsolete)
Comment 12 NATTkA bot gentoo-dev 2021-07-29 17:37:50 UTC Comment hidden (obsolete)
Comment 13 NATTkA bot gentoo-dev 2021-07-29 17:45:55 UTC Comment hidden (obsolete)