Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465796 - break quota dependencies for systemd on uclibc
Summary: break quota dependencies for systemd on uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-13 14:40 UTC by pmn
Modified: 2013-07-13 22:56 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 pmn 2013-04-13 14:40:09 UTC
quota requires rpc and rpcbind doesn't build on uclibc even with USE flag rpc enabled on uclibc. however quota is not a strickt requirement for systemd. i have worked around this by adding quota to the list of *provided* ports but there should be a sane way of doing this i suppose.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-13 15:00:18 UTC
If quota is totally disabled on uclibc, I guess we can just conditionally omit the dep.
Comment 2 pmn 2013-04-13 15:25:00 UTC
(In reply to comment #1)
> If quota is totally disabled on uclibc, I guess we can just conditionally
> omit the dep.

it is not disabled as far as i remember (don't have my machine here to check). but i guess it should be at least masked for now since it doesn't compile on uclibc.
Comment 3 Mike Gilbert gentoo-dev 2013-04-13 15:33:44 UTC
Are you able to build/install sys-fs/quota with USE="-rpc"?
Comment 4 pmn 2013-04-13 15:40:14 UTC
(In reply to comment #3)
> Are you able to build/install sys-fs/quota with USE="-rpc"?

i must have tried it at some point but i will confirm later.
Comment 5 pmn 2013-04-13 15:44:32 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Are you able to build/install sys-fs/quota with USE="-rpc"?
> 
> i must have tried it at some point but i will confirm later.

[and] it must have failed is what i was trying to say. i will give it a go again and report back here.
Comment 6 pmn 2013-04-13 16:25:38 UTC
(In reply to comment #3)
> Are you able to build/install sys-fs/quota with USE="-rpc"?

nop!

i don't much about ebuilds so this all could be way off:

based on this:
<http://devmanual.gentoo.org/quickstart/>
"The package's ./configure script takes the usual --enable-nls or --disable-nls argument. We use the use_enable utility function to generate this automatically, depending on the user's USE flags"

quota's configure doesn't seem to be doing that:
<http://sourceforge.net/p/linuxquota/code/ci/master/tree/configure.in>

"
AC_ARG_ENABLE(rpc,
	[  --enable-rpc=[yes/no]           Enable RPC support [default=yes].],
	,
	enable_rpc="yes")
"
so this in quota's ebuild fails to do disable rpc:

$(use_enable rpc) \
Comment 7 Mike Gilbert gentoo-dev 2013-04-13 16:29:46 UTC
You should file a separate bug for that, and make sure to attach a build log.
Comment 8 pmn 2013-04-13 16:35:48 UTC
(In reply to comment #7)
> You should file a separate bug for that, and make sure to attach a build log.

done, without the build log for now:
<https://bugs.gentoo.org/show_bug.cgi?id=465810>
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-04-15 13:33:41 UTC
I see that quota was dep only because of path finding code. But we can just inline the paths in the ebuild, and -9999 now does that. I'll backport it to earlier ebuilds when I finish auditing the ebuild.
Comment 10 Mike Gilbert gentoo-dev 2013-07-13 22:56:34 UTC
  15 Apr 2013; Michał Górny <mgorny@gentoo.org> systemd-201.ebuild:
  Backport quota dep removal and configure cleanup from -9999. No need to
  revbump since the changes affect build process only.