Usually they are using gettext installed by some dependency which has NLS enabled by default, but we can not rely on it. I have custom NLS-disabled poudriere repo and I am getting build failures: ===> Building for libglapi-10.3.0 gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/libglapi/work/Mesa-10.3.0/src/mesa/drivers/dri/common/xmlpool' cd ../../../../../.. && gmake am--refresh cd ../../../../../.. && gmake am--refresh Updating (ca) ca/LC_MESSAGES/options.mo from ca.po. msgfmt: not found Makefile:638: recipe for target 'ca/LC_MESSAGES/options.mo' failed gmake[1]: *** [ca/LC_MESSAGES/options.mo] Error 127 gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/libglapi/work/Mesa-10.3.0/src/mesa/drivers/dri/common/xmlpool' *** Error code 2 Stop. make: stopped in /usr/ports/graphics/libglapi Adding USES= gettext:build to the Makefile (all of graphics/libEGL, graphics/libglapi, graphics/libGL and graphics/libglesv2) solves the problem.
Maintainers CC'd
Hmm, I'd like to see this fixed if the issue is confirmed.
John, please see http://freebsd.1045724.n5.nabble.com/graphics-libEGL-amp-graphics-libglapi-fail-Localization-td5961228.html
I can confirm it's a problem with poudriere-devel-3.0.99.20141010 on 10.1-RC4 using a 10.1-RC4 jail. Here's the build log: http://pkg.trp.ftfl.ca/data/10amd64-default/2014-11-04_00h38m12s/logs/errors/libglapi-10.3.2.log I can also confirm that adding USES= gettext:build fixes the issue.
Confirmed +1
Confirmed.
FYI, the problem is fixed in our development Ports tree (along with an update to Mesa 10.3.3). It should be committed in the following week, I hope.
I'd really prefer fixes like this to be merged right into the tree asap (+MFH). These must not be blocked by waiting on merge from third-party repositories which may or may not happen "in the week". (also moving the bug to patch ready state, relevent commit: https://github.com/freebsd/freebsd-ports-graphics/commit/265f8d6d98bbf50818d1b451d6e169bcd23f02be)
Fixed in r372988.