g++-uc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\" -I../lib -Os -pipe -MT baselist.o -MD -MP -MF .deps/baselist.Tpo -c -o baselist.o baselist.cc In file included from ../lib/dpkg.h:438, from basecmds.cc:30: ../lib/gettext.h:58:23: libintl.h: No such file or directory In file included from ../lib/dpkg.h:438, from baselist.cc:35: ../lib/gettext.h:58:23: libintl.h: No such file or directory g++-uc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../intl -DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\" -I../lib -Os -pipe -MT basetop.o -MD -MP -MF .deps/basetop.Tpo -c -o basetop.o basetop.cc make[3]: *** [baselist.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../lib/dpkg.h:438, from basetop.cc:30: ../lib/gettext.h:58:23: libintl.h: No such file or directory make[3]: *** [basecmds.o] Error 1 make[3]: *** [basetop.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-arch/dpkg-1.14.12/work/dpkg-1.14.12/dselect' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-arch/dpkg-1.14.12/work/dpkg-1.14.12/dselect' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-arch/dpkg-1.14.12/work/dpkg-1.14.12' make: *** [all] Error 2
Created attachment 143289 [details, diff] dpkg-1.14.12-nonls.patch funny. even if they define the _() macro they don't use it. This patch if a quick and dirty fix that just defines gettext().
I cleaned up code to consequently use _() rather than mix with gettext() and sent upstream. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465420
The dpkg-1.14.12-nonls.patch applies just fine and solves the same problem in 1.14.16.6 (which is marked stable) Seems to be fixed upstream in 1.14.17.
1.14.17 now in the tree