Bug#462677: dpkg fails to install on arm
I'm running oabi on an i.MX27. I see errors with rm when my kernel kernel is built with EABI+OABI. If I build without EABI, things function normally. linux-2.6.22.6-mx kernel (from ltib). Haven't tested with an armel runtime to see if the problem is specific to EABI or EABI+OABI. b.g. -- Bill Gatliff [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#465340: dpkg: Broken call to open in Dpkg/Control.pm
On Tue, Feb 12, 2008 at 05:44:31PM +0100, Raphael Hertzog wrote: > On Tue, 12 Feb 2008, Frank Lichtenheld wrote: > > On Tue, Feb 12, 2008 at 12:39:21AM +0100, Soren Hansen wrote: > > > On Tue, Feb 12, 2008 at 12:25:13AM +0100, Frank Lichtenheld wrote: > > > Granted my perl-fu is not that strong, and looking at the documentation, > > > I might have exaggerated the extent of this bug somewhat. > > > > > > > Could you please go into more detail what you tried to fix? > > > > > > The particular bug I was fixing was when called with "-c-", i.e. read > > > the control file from stdin. From perldoc: > > > > > > In the 2-arguments (and 1-argument) form opening '-' opens STDIN > > > and opening '>-' opens STDOUT. > > > > > > Without my patch, it's the 3-argument version of open, so opening "-" > > > fails (as there is no such file). > > > > Ok, thanks. Now I understand :) > > Even if we understand it, I don't think it's a change that we really want. > > The documentation doesn't mention the possibility of using "-" as filename > for standard input and I'd rather that you fix the Ubuntu package that is > doing that instead of changing dpkg. > > The precise point the 3 arg syntax is to be able to use weird filenames > without encountering problems due to the various syntax of the open call. Fully agreed. This doesn't mean we couldn't support using STDIN there, I just wouldn't do it implictly. Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#465340: dpkg: Broken call to open in Dpkg/Control.pm
On Tue, 12 Feb 2008, Frank Lichtenheld wrote: > On Tue, Feb 12, 2008 at 12:39:21AM +0100, Soren Hansen wrote: > > On Tue, Feb 12, 2008 at 12:25:13AM +0100, Frank Lichtenheld wrote: > > Granted my perl-fu is not that strong, and looking at the documentation, > > I might have exaggerated the extent of this bug somewhat. > > > > > Could you please go into more detail what you tried to fix? > > > > The particular bug I was fixing was when called with "-c-", i.e. read > > the control file from stdin. From perldoc: > > > > In the 2-arguments (and 1-argument) form opening '-' opens STDIN > > and opening '>-' opens STDOUT. > > > > Without my patch, it's the 3-argument version of open, so opening "-" > > fails (as there is no such file). > > Ok, thanks. Now I understand :) Even if we understand it, I don't think it's a change that we really want. The documentation doesn't mention the possibility of using "-" as filename for standard input and I'd rather that you fix the Ubuntu package that is doing that instead of changing dpkg. The precise point the 3 arg syntax is to be able to use weird filenames without encountering problems due to the various syntax of the open call. Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/
Bug#465282: dpkg-dev: Set a set of compiler flags for a build
Frank Lichtenheld writes: > On Mon, Feb 11, 2008 at 05:39:10PM +0100, Matthias Klose wrote: > Content-Description: message body text > > Package: dpkg-dev > > Severity: wishlist > > > > Please find attached a patch which implements setting a set of > > compiler flags for a build; this was first announced in > > http://lists.debian.org/debian-devel/2007/12/msg00090.html > > Now simpliefied to just use the CFLAGS/CFLAGS_APPEND naming by Colin > > Watson. > > Maybe more like this (still missing l10n, but a lot less code > duplication): thanks for the cleanup! Matthias -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Processed: reassign 311843 dpkg
Processing commands for [EMAIL PROTECTED]: > package dpkg debsig-verify Ignoring bugs not assigned to: debsig-verify dpkg > reassign 311843 dpkg Bug#311843: debsig-verify: Completely breaks installation of standard sarge packages Bug reassigned from package `debsig-verify' to `dpkg'. > tags 311843 patch Bug#311843: debsig-verify: Completely breaks installation of standard sarge packages Tags were: sid lenny etch sarge Tags added: patch > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#465420: [PATCH] dpkg-1.14.16.6 does not compile on non-nls systems
Package: dpkg Version: 1.14.16.6 dpkg fails to compile if there are no gettext and libintl.h even with the --disable-nls compile flag. There are some nice defines in lib/dpkg.h that defines _() as gettext() but unfortunally gettext() is used many places. The attatched patch fixes the lib/dpkg.h header to only include libintl.h when ENABLE_NLS is defined and it replaces gettext() with _() all places. If you prefer the current style and mix gettext() and _() the please at least add some dummy defines of gettext() in lib/dpkh.h (See https://bugs.gentoo.org/attachment.cgi?id=143289 for example how this can be done) Thanks! -nc diff -ru dpkg-1.14.16.6.orig/dpkg-split/queue.c dpkg-1.14.16.6/dpkg-split/queue.c --- dpkg-1.14.16.6.orig/dpkg-split/queue.c 2008-01-18 10:12:53 + +++ dpkg-1.14.16.6/dpkg-split/queue.c 2008-02-12 10:04:16 + @@ -198,7 +198,7 @@ head= N_("Junk files left around in the depot directory:\n"); for (pq= queue; pq; pq= pq->nextinqueue) { if (pq->info.md5sum) continue; -fputs(gettext(head),stdout); head= ""; +fputs(_(head),stdout); head= ""; if (lstat(pq->info.filename,&stab)) ohshit(_("unable to stat `%.250s'"),pq->info.filename); if (S_ISREG(stab.st_mode)) { @@ -214,7 +214,7 @@ for (pq= queue; pq; pq= pq->nextinqueue) { if (!pq->info.md5sum) continue; mustgetpartinfo(pq->info.filename,&ti); -fputs(gettext(head),stdout); head= ""; +fputs(_(head),stdout); head= ""; printf(" Package %s: part(s) ",ti.package); bytes= 0; for (i=0; ikey && hme->key != key; hme++); if (hme->key) { attrset(helpscreen_attr); - mvaddstr(1,0, gettext(hme->msg->text)); + mvaddstr(1,0, _(hme->msg->text)); attrset(title_attr); mvaddstr(0,0, _("Help: ")); - addstr(gettext(hme->msg->title)); + addstr(_(hme->msg->title)); getyx(stdscr,y,x); while (++xkey); attrset(A_NORMAL); -mvaddstr(i+3,6, gettext(hme->msg->title)); +mvaddstr(i+3,6, _(hme->msg->title)); } mvaddstr(i+4,1, _("Press a key from the list above, or `q' to exit help,\n" diff -ru dpkg-1.14.16.6.orig/dselect/baselist.cc dpkg-1.14.16.6/dselect/baselist.cc --- dpkg-1.14.16.6.orig/dselect/baselist.cc 2008-01-18 10:12:53 + +++ dpkg-1.14.16.6/dselect/baselist.cc 2008-02-12 10:00:11 + @@ -265,7 +265,7 @@ while ((ta= bindings->describenext()) != 0) { const char **tap= ta+1; for (;;) { - waddstr(infopad, gettext(*tap)); + waddstr(infopad, _(*tap)); tap++; if (!*tap) break; waddstr(infopad, ", "); } diff -ru dpkg-1.14.16.6.orig/dselect/main.cc dpkg-1.14.16.6/dselect/main.cc --- dpkg-1.14.16.6.orig/dselect/main.cc 2007-07-28 15:29:49 + +++ dpkg-1.14.16.6/dselect/main.cc 2008-02-12 10:01:12 + @@ -156,10 +156,10 @@ "See %s --license for copyright and license details.\n"); static void printversion(void) { - if (printf(gettext(programdesc), DSELECT, DPKG_VERSION_ARCH) < 0) + if (printf(_(programdesc), DSELECT, DPKG_VERSION_ARCH) < 0) werr("stdout"); - if (printf(gettext(copyrightstring)) < 0) werr("stdout"); - if (printf(gettext(licensestring), DSELECT) < 0) werr("stdout"); + if (printf(_(copyrightstring)) < 0) werr("stdout"); + if (printf(_(licensestring), DSELECT) < 0) werr("stdout"); } static void usage(void) { @@ -364,8 +364,8 @@ const menuentry *me= &menuentries[i]; sprintf(buf," %c %d. %-11.11s %-80.80s ", so ? '*' : ' ', i, - gettext(me->option), - gettext(me->menuent)); + _(me->option), + _(me->menuent)); int y,x; getmaxyx(stdscr,y,x); @@ -387,7 +387,7 @@ clear(); attrset(A_BOLD); - sprintf(buf, gettext(programdesc), DSELECT, DPKG_VERSION_ARCH); + sprintf(buf, _(programdesc), DSELECT, DPKG_VERSION_ARCH); mvaddnstr(0,0,buf,x-1); attrset(A_NORMAL); @@ -401,8 +401,8 @@ "Press to confirm selection. ^L redraws screen.\n\n")); attrset(A_NORMAL); - addstr(gettext(copyrightstring)); - sprintf(buf, gettext(licensestring), DSELECT); + addstr(_(copyrightstring)); + sprintf(buf, _(licensestring), DSELECT); addstr(buf); l= strlen(admindir); @@ -465,7 +465,7 @@ } } else if (isalpha(c)) { c= tolower(c); - for (i=0; i", - this,depends,depends->up->name,gettext(relatestrings[depends->type])); + this,depends,depends->up->name,_(relatestrings[depends->type])); for (possi=depends->list; possi; possi=possi->next) fprintf(debug," %s",possi->ed->name); fprintf(debug,"); (ing)->want=%s\n", depends->up->clientdata -? gettext(wantstrings[depends->up->clientdata->suggested]) +? _(wantstrings[depends->up->clientdata->suggested]) : _("(no clientdata)")); } diff -ru dpkg-1.14.16.6.orig/dselect/pkgdisplay.cc dpkg-1.14.16.6/dselect/pkgdisplay.cc --- dpkg-1.14.16.6.orig/dselect/pkgdisplay.cc 2007-07-28 1
Bug#465340: dpkg: Broken call to open in Dpkg/Control.pm
On Tue, Feb 12, 2008 at 12:39:21AM +0100, Soren Hansen wrote: > On Tue, Feb 12, 2008 at 12:25:13AM +0100, Frank Lichtenheld wrote: > Granted my perl-fu is not that strong, and looking at the documentation, > I might have exaggerated the extent of this bug somewhat. > > > Could you please go into more detail what you tried to fix? > > The particular bug I was fixing was when called with "-c-", i.e. read > the control file from stdin. From perldoc: > > In the 2-arguments (and 1-argument) form opening '-' opens STDIN > and opening '>-' opens STDOUT. > > Without my patch, it's the 3-argument version of open, so opening "-" > fails (as there is no such file). Ok, thanks. Now I understand :) Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#464907: [jo...@debian.org: Re: Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading]
Hi Ian, since you wrote the patch that Joey has been testing, can you look what's wrong with it ? Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/ --- Begin Message --- > I haven't checked, but this sounds very similar to #20471. There's a patch > in that bug. If you can take some time to verify if it also fixes this > issue, it would be nice. I applied this patch on top of current git master (rev 98cdd8883f0661e24ff72d4c29d73554586eddf8), and have been using it today while doing whatever, and it seemed to cause this failure: [EMAIL PROTECTED]:/home/joey/tmp/xterm-231>dpkg -i ../xterm_231-2boldmode1_i386.deb dpkg: ../../src/depcon.c:218: depisok: Assertion `dep->type == dep_depends || dep->type == dep_predepends || dep->type == dep_breaks || dep->type == dep_conflicts || dep->type == dep_recommends || dep->type == dep_suggests || dep->type == dep_enhances' failed. Other packages installed ok; I was able to downgrade to unstable's dpkg and then install xterm successfully. Here's the package's header, just in case: Package: xterm Version: 231-2boldmode1 Architecture: i386 Maintainer: Debian X Strike Force <[EMAIL PROTECTED]> Installed-Size: 1108 Depends: libc6 (>= 2.7-1), libfontconfig1 (>= 2.4.0), libice6 (>= 1:1.0.0), libncurses5 (>= 5.6+20071006-3), libsm6, libx11-6, libxaw7, libxext6, libxft2 (>> 2.1.1), libxmu6, libxt6, xbitmaps Recommends: xutils Suggests: xfonts-cyrillic Provides: x-terminal-emulator Section: x11 Priority: optional -- see shy jo signature.asc Description: Digital signature --- End Message ---