Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215670 - app-arch/dpkg-1.14.17 bump request
Summary: app-arch/dpkg-1.14.17 bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 07:52 UTC by Natanael Copa
Modified: 2008-04-09 19:02 UTC (History)
1 user (show)

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


Attachments
dpkg-1.14.17.ebuild (dpkg-1.14.17.ebuild,1.34 KB, text/plain)
2008-04-01 07:55 UTC, Natanael Copa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2008-04-01 07:52:04 UTC
Fixes #209782
Comment 1 Natanael Copa 2008-04-01 07:55:13 UTC
Created attachment 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) \
Comment 2 SpanKY gentoo-dev 2008-04-02 03:04:55 UTC
1.14.17 now in the tree

is there a reason you want to control dselect ?
Comment 3 Natanael Copa 2008-04-02 06:04:14 UTC
(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
Comment 4 Jörg Gollnick 2008-04-06 16:38:24 UTC
(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.
Comment 5 SpanKY gentoo-dev 2008-04-06 22:00:03 UTC
minimal is irrelevant, as is uclibc

file a new bug about dpkg failing to build when ncurses is built with USE=-unicode
Comment 6 Jörg Gollnick 2008-04-09 19:02:31 UTC
(In reply to comment #5)
> minimal is irrelevant, as is uclibc
> 
> file a new bug about dpkg failing to build when ncurses is built with
> USE=-unicode
> 

New bug http://bugs.gentoo.org/show_bug.cgi?id=217046