Bug 215670 - app-arch/dpkg-1.14.17 bump request
|
Bug#:
215670
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: base-system@gentoo.org
|
Reported By: natanael.copa@gmail.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: app-arch/dpkg-1.14.17 bump request
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-04-01 07:52 0000
|
Created an attachment (id=147944) [details]
dpkg-1.14.17.ebuild
Added a local use flag, 'dselect'. Might be that 'minimal' could be used
instead.
--- dpkg-1.14.16.6.ebuild.orig 2008-04-01 07:26:18 +0000
+++ dpkg-1.14.17.ebuild 2008-04-01 07:53:05 +0000
@@ -10,11 +10,11 @@
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha ~amd64 arm ~hppa ia64 m68k ~ppc s390 sh sparc x86"
-IUSE="bzip2 nls selinux test zlib"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~s390 ~sh ~sparc ~x86"
+IUSE="bzip2 dselect nls selinux test zlib"
RDEPEND=">=dev-lang/perl-5.6.0
- >=sys-libs/ncurses-5.2-r7
+ dselect? ( >=sys-libs/ncurses-5.2-r7 )
zlib? ( >=sys-libs/zlib-1.1.4 )
bzip2? ( app-arch/bzip2 )"
DEPEND="${RDEPEND}
@@ -25,12 +25,12 @@
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PN}-1.14.12-nls.patch #192819
- epatch "${FILESDIR}"/${PN}-1.14.16.6-check-PATH.patch #210997
}
src_compile() {
econf \
$(use_with bzip2 bz2lib) \
+ $(use_with dselect) \
$(use_enable nls) \
$(use_with selinux) \
$(use_with zlib) \
1.14.17 now in the tree
is there a reason you want to control dselect ?
(In reply to comment #2)
> 1.14.17 now in the tree
>
> is there a reason you want to control dselect ?
>
Yes. It fails to build with uclibc and I'm tired of patching dpkg.
g++-uc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\"
-DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\" -idirafter ../libcompat
-I../lib -Os -pipe -MT basetop.o -MD -MP -MF .deps/basetop.Tpo -c -o
basetop.o basetop.cc
In file included from basetop.cc:33:
dselect.h:31:29: ncursesw/curses.h: No such file or directory
In file included from basetop.cc:33:
dselect.h:56: error: ISO C++ forbids declaration of `WINDOW' with no type
dselect.h:56: error: expected `;' before '*' token
(In reply to comment #3)
> (In reply to comment #2)
> > 1.14.17 now in the tree
> >
> > is there a reason you want to control dselect ?
> >
>
> Yes. It fails to build with uclibc and I'm tired of patching dpkg.
>
> g++-uc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\"
> -DADMINDIR=\"/var/lib/dpkg\" -DLIBDIR=\"/usr/lib/dpkg\" -idirafter ../libcompat
> -I../lib -Os -pipe -MT basetop.o -MD -MP -MF .deps/basetop.Tpo -c -o
> basetop.o basetop.cc
> In file included from basetop.cc:33:
> dselect.h:31:29: ncursesw/curses.h: No such file or directory
> In file included from basetop.cc:33:
> dselect.h:56: error: ISO C++ forbids declaration of `WINDOW' with no type
> dselect.h:56: error: expected `;' before '*' token
>
This not related only to uclibc. Reproduced on amd64 with ncurses build with
minmal.
minimal is irrelevant, as is uclibc
file a new bug about dpkg failing to build when ncurses is built with
USE=-unicode