Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 350247

Summary: app-misc/realpath should DEPEND on sys-devel/gettext
Product: Gentoo Linux Reporter: Richard Grant <richard>
Component: New packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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
+