Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44539 - sys-apps/quota won't build without gettext
Summary: sys-apps/quota won't build without gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 45005 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-13 00:08 UTC by Johan Petersson
Modified: 2004-11-29 18:33 UTC (History)
2 users (show)

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


Attachments
ebuild for latest 3.11 version with proposed changes (quota-3.11.ebuild,1.42 KB, text/plain)
2004-03-13 00:10 UTC, Johan Petersson
Details
Patch needed to disable nls (quota-nls.patch,349 bytes, patch)
2004-03-13 00:11 UTC, Johan Petersson
Details | Diff
quota-3.12-r1.ebuild (quota-3.12-r1.ebuild,1.33 KB, text/plain)
2004-10-28 16:36 UTC, Johan Petersson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Petersson 2004-03-13 00:08:47 UTC
sys-apps/quota installation uses "msgfmt" from sys-devel/gettext regardless of whether nls is in USE or not, and does not list it as a dependency.

Reproducible: Always
Steps to Reproduce:
1. unmerge sys-devel/gettext
2. merge sys-apps/quota

Actual Results:  
>>> Install quota-3.06-r2 into /var/tmp/portage/quota-3.06-r2/image/ category 
sys-apps
for n in po/pl.po; do \
msgfmt -o po/`basename $n .po`.mo $n; \
done
/bin/sh: line 1: msgfmt: command not found
make: *** [mo] Error 127

!!! ERROR: sys-apps/quota-3.06-r2 failed.
!!! Function src_install, Line 36, Exitcode 2
!!! (no error message)


Expected Results:  
The ebuild needs to take its USE flags into account properly.
Comment 1 Johan Petersson 2004-03-13 00:10:14 UTC
Created attachment 27275 [details]
ebuild for latest 3.11 version with proposed changes
Comment 2 Johan Petersson 2004-03-13 00:11:49 UTC
Created attachment 27276 [details, diff]
Patch needed to disable nls
Comment 3 Johan Petersson 2004-03-13 00:22:15 UTC
See attachments. The ebuild is for the latest version (3.11) which is not yet in the portage tree, but the changes should be safe to backport to existing quota ebuilds.
Comment 4 barthek 2004-03-19 01:08:43 UTC
*** Bug 45005 has been marked as a duplicate of this bug. ***
Comment 5 barthek 2004-10-21 07:38:58 UTC
when would it make it into the portage ?
i failed to use the attachements in properly modified ebuild :\
Comment 6 Johan Petersson 2004-10-28 16:36:19 UTC
Created attachment 42813 [details]
quota-3.12-r1.ebuild

This package obviously have been renamed to sys-fs/quota; unfortunately the bug
is still present in portage package sys-fs/quota-3.12.

linuxquota 3.12 supports the --enable-nls configuration option so there is no
longer any need to patch the source. Fixed ebuild for this version is attached.
Comment 7 barthek 2004-11-14 06:25:07 UTC
i have tested this ebuild and it seems to work just fine.
please put it in portage tree for others :D
Comment 8 SpanKY gentoo-dev 2004-11-29 18:33:28 UTC
added to 3.12

thanks :)