dpkg 1.16.8
Hi my name is Justin and I'm a fink (http://projectfink.org) developer/maintainer and I have been trying to keep dpkg current in fink, and I have been having a few issues with update-alternatives since 1.16.4.3. I was hoping someone might be able to help shed some light on this cause I can not figure out why it's failing and it seems like it's one line behind on every fail. If there is any more info I can provide pleas let me know I'd like to resolve this ASAP.
--------------------------------------------------------------------------- here are the test results. --------------------------------------------------------------------------- make[2]: Entering directory `/sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils' /sw/bin/gmkdir -p t.tmp PATH="../src:../scripts:../utils:/sw/var/lib/fink/path-prefix-clang:/sw/bin:/sw/sbin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin" LC_ALL=C DPKG_DATADIR=.. srcdir=. builddir=. PERL5LIB=../scripts PERL_DL_NONLAZY=1 PERL5OPT= /usr/bin/perl -I../scripts -MExtUtils::Command::MM -e "test_harness(0, '.')" ./t/100_update_alternatives.t ./t/100_update_alternatives.t .. 1/678 # Failed test 'administrative file is as expected' # at ./t/100_update_alternatives.t line 263. # got: 'auto # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/generic-test # slave1 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave1 # slave2 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave2 # slave3 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave3 # slave4 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave4 # # /bin/sleep # 5 # # # # # /usr/bin/false # 10 # /bin/date # # # # /usr/bin/true # 20 # /usr/bin/yes # /bin/cat # /bin/cat # /bin/cat # # ' # expected: 'auto # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/generic-test # slave1 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave1 # slave2 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave2 # slave3 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave3 # slave4 # /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave4 # # /usr/bin/false # 10 # /bin/date # # # # /bin/sleep # 5 # # # # # /usr/bin/true # 20 # /usr/bin/yes # /bin/cat # /bin/cat # /bin/cat # # ' # Failed test 'config to best but manual: status is not manual.' # at ./t/100_update_alternatives.t line 228. # got: 'auto' # expected: 'manual' # Failed test 'config to manual: status is not manual.' # at ./t/100_update_alternatives.t line 228. # got: 'auto' # expected: 'manual' # Failed test '/sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/alternatives/generic-test doesn't point to /usr/bin/false.' # at ./t/100_update_alternatives.t line 199. # got: '/usr/bin/true' # expected: '/usr/bin/false' # Failed test '/sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/alternatives/slave1 doesn't point to /bin/date.' # at ./t/100_update_alternatives.t line 199. # got: '/usr/bin/yes' # expected: '/bin/date' # Failed test 'config to manual: /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/alternatives/slave2 still exists.' # at ./t/100_update_alternatives.t line 204. # Failed test 'config to manual: /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave2 still exists.' # at ./t/100_update_alternatives.t line 204. # Failed test 'config to manual: /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/alternatives/slave3 still exists.' # at ./t/100_update_alternatives.t line 204. # Failed test 'config to manual: /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave3 still exists.' # at ./t/100_update_alternatives.t line 204. # Failed test 'config to manual: /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/alternatives/slave4 still exists.' # at ./t/100_update_alternatives.t line 204. # Failed test 'config to manual: /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave4 still exists.' # at ./t/100_update_alternatives.t line 204. # Looks like you failed 11 tests of 678. ./t/100_update_alternatives.t .. Dubious, test returned 11 (wstat 2816, 0xb00) Failed 11/678 subtests Test Summary Report ------------------- ./t/100_update_alternatives.t (Wstat: 2816 Tests: 678 Failed: 11) Failed tests: 71, 362, 385, 387, 391, 394, 396, 398, 400 402, 404 Non-zero exit status: 11 Files=1, Tests=678, 0 wallclock secs ( 0.07 usr 0.01 sys + 0.27 cusr 0.22 csys = 0.57 CPU) Result: FAIL Failed 1/1 test programs. 11/678 subtests failed. --------------------------------------------------------------------------- The content of /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/admindir/generic-test --------------------------------------------------------------------------- manual /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/generic-test slave1 /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave1 slave2 /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave2 slave3 /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave3 slave4 /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/bin/slave4 /usr/bin/false 10 /bin/date /usr/bin/true 20 /usr/bin/yes /bin/cat /bin/cat /bin/cat --------------------------------------------------------------------------- and the listing in t.tmp after the tests have run --------------------------------------------------------------------------- .: total 0 drwxr-xr-x 3 fink-bld fink-bld 102 Aug 23 11:16 . drwxr-xr-x 16 fink-bld fink-bld 544 Aug 23 11:16 .. drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 900_update_alternatives ./900_update_alternatives: total 0 drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 . drwxr-xr-x 3 fink-bld fink-bld 102 Aug 23 11:16 .. drwxr-xr-x 3 fink-bld fink-bld 102 Aug 23 11:16 admindir drwxr-xr-x 4 fink-bld fink-bld 136 Aug 23 11:16 alternatives drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 bin ./900_update_alternatives/admindir: total 4 drwxr-xr-x 3 fink-bld fink-bld 102 Aug 23 11:16 . drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 .. -rw-r--r-- 1 fink-bld fink-bld 591 Aug 23 11:16 generic-test ./900_update_alternatives/alternatives: total 8 drwxr-xr-x 4 fink-bld fink-bld 136 Aug 23 11:16 . drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 .. lrwxr-xr-x 1 fink-bld fink-bld 14 Aug 23 11:16 generic-test -> /usr/bin/false lrwxr-xr-x 1 fink-bld fink-bld 9 Aug 23 11:16 slave1 -> /bin/date ./900_update_alternatives/bin: total 8 drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 . drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 .. lrwxr-xr-x 1 fink-bld fink-bld 106 Aug 23 11:16 generic-test -> /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/alternatives/generic-test drwxr-xr-x 2 fink-bld fink-bld 68 Aug 23 11:16 more lrwxr-xr-x 1 fink-bld fink-bld 100 Aug 23 11:16 slave1 -> /sw/src/fink.build/dpkg-1.16.8-1/dpkg-1.16.8/utils/t.tmp/900_update_alternatives/alternatives/slave1 ./900_update_alternatives/bin/more: total 0 drwxr-xr-x 2 fink-bld fink-bld 68 Aug 23 11:16 . drwxr-xr-x 5 fink-bld fink-bld 170 Aug 23 11:16 .. --- TS http://www.southofheaven.org/ Life begins and ends with chaos, live between the chaos! -- To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: E0F67511-3839-42C5-A219-27413374FD61@southofheaven.org">http://lists.debian.org/E0F67511-3839-42C5-A219-27413374FD61@southofheaven.org |
dpkg 1.16.8
Hi!
On Thu, 2012-08-23 at 11:27:44 -0600, TheSin wrote: > Hi my name is Justin and I'm a fink (http://projectfink.org) > developer/maintainer and I have been trying to keep dpkg current > in fink, Ah nice! I've been keeping an eye on downstreams, but on fink, dpkg seems to have been stuck on an ancient version (1.10.x or similar), is there something newer where you are keeping patches or a git tree for the modified dpkg (I've checked the CVS and github trees)? > and I have been having a few issues with update-alternatives > since 1.16.4.3. I think that might have been the version where I fixed most of the portabilty problems with Mac OS X, the reamaining case was this one you are seeing, but never got around fixing it. This is also happening on Gentoo, so I was meaning to fix it for 1.16.x anyway. > I was hoping someone might be able to help shed some > light on this cause I can not figure out why it's failing and it seems > like it's one line behind on every fail. If there is any more info > I can provide pleas let me know I'd like to resolve this ASAP. The problem is in the test case which is bogus, now that the test suite takes into account the correct paths for some of the executables depending on the system, previously they were just hardcoded to match the paths on Debian systems, so they sort incorrectly. I've started fixing this locally but I'm too tired to finish it up right now, I'll post a patch tomorrow so that you can apply it before a release with it is made, but for now if it's really urgent I'd recomment just commenting the «is()» call inside the “# verify that the administrative file is sorted properly“ code block (currently line 263 on git master). thanks, guillem -- To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 20120824014313.GA31808@gaara.hadrons.org">http://lists.debian.org/20120824014313.GA31808@gaara.hadrons.org |
dpkg 1.16.8
Hi!
On Fri, 2012-08-24 at 03:43:13 +0200, Guillem Jover wrote: > On Thu, 2012-08-23 at 11:27:44 -0600, TheSin wrote: > > I was hoping someone might be able to help shed some > > light on this cause I can not figure out why it's failing and it seems > > like it's one line behind on every fail. If there is any more info > > I can provide pleas let me know I'd like to resolve this ASAP. > > The problem is in the test case which is bogus, now that the test > suite takes into account the correct paths for some of the executables > depending on the system, previously they were just hardcoded to match > the paths on Debian systems, so they sort incorrectly. I've started > fixing this locally but I'm too tired to finish it up right now, I'll > post a patch tomorrow so that you can apply it before a release with > it is made, but for now if it's really urgent I'd recomment just > commenting the «is()» call inside the “# verify that the administrative > file is sorted properly“ code block (currently line 263 on git master). Here's the tentative patch, which I'll probably be applying after some minor polishing, and once you confirm it works for you. I now realized there's some other failures due to choice mismatch and mode mismatch. And I'm guessing those will not be fixed with this patch, but if you could repost the possible failing «make check» logs, I'll be looking into them after that. thanks, guillem |
| All times are GMT. The time now is 10:33 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.