Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209782 - app-arch/dpkg-1.14.16.6 fails to compile on uclibc due to missing libintl.h
Summary: app-arch/dpkg-1.14.16.6 fails to compile on uclibc due to missing libintl.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-12 07:54 UTC by Natanael Copa
Modified: 2008-04-02 03:04 UTC (History)
0 users

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


Attachments
dpkg-1.14.12-nonls.patch (dpkg-1.14.12-nonls.patch,592 bytes, patch)
2008-02-12 08:39 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2008-02-12 07:54:04 UTC
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
Comment 1 Natanael Copa 2008-02-12 08:39:12 UTC
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().
Comment 2 Natanael Copa 2008-02-12 10:25:13 UTC
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
Comment 3 Natanael Copa 2008-04-01 07:16:50 UTC
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.
Comment 4 SpanKY gentoo-dev 2008-04-02 03:04:51 UTC
1.14.17 now in the tree