Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350247 - app-misc/realpath should DEPEND on sys-devel/gettext
Summary: app-misc/realpath should DEPEND on sys-devel/gettext
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-31 19:26 UTC by Richard Grant
Modified: 2011-01-01 08:45 UTC (History)
0 users

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 Richard Grant 2010-12-31 19:26:24 UTC
Compilation of realpath fails until gettext is emerged. This doesn't appear to be version specific (Tested with the stable 1.15-r1 and the latest 1.15.r3).

The compilation failed with "msgfmt: Command not found". Msgfmt is provided by the gettext package which a deep world update was not attempting to bring in on my hardened AMD64 profile.

Reproducible: Always

Steps to Reproduce:
1. Emerge realpath on a system that doesn't already have either realpath or gettext packages.
Actual Results:  
Compilation fails with the error "msgfmt: Command not found".

Expected Results:  
Compilation should complete.

This bug was found while updating a very old Gentoo server using the AMD64 hardened profile. I'm unsure whether this bug cropped up in any specific version of realpath as the package was not already installed on the system.

This bug should be easily resolved by making gettext a dependency of realpath.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-01-01 08:45:01 UTC
+  01 Jan 2011; Justin Lecher <jlec@gentoo.org> realpath-1.15.ebuild,
+  realpath-1.15-r1.ebuild, realpath-1.15-r2.ebuild, realpath-1.15-r3.ebuild:
+  Added missing DEPEND on sys-devel/gettext, #350247
+