Package: dietlibc-dev
Version: 0.32-5
Severity: wishlist

Hi,

I’ve got a slight problem (see also the forwarded message part below).
My package mksh builds two executables, a regular one against (e)glibc
and mksh-static against dietlibc (if available, not blacklisted, etc).
However, I get build failures:
‣ https://buildd.debian.org/build.php?pkg=mksh&arch=sparc

Now I’ve been on the porterbox and tried to look at it but failed to
isolate the problem – it could very well be in Perl or the Linux ker-
nel, but dietlibc is, to be honest, the most likely candidate.

Interestingly enough, an unmodified mksh_39.3-3 from the archive also
FTBFS on the porterbox (dpkg-buildpackage -rfakeroot -B) sid dchroot.

I’m puttint this wishlist because it’s really hard to isolate, and I
can understand if you don’t have the resources to build and test mksh
against this, but I’d appreciate you leaving this bug opened until the
issue is really gone (as a workaround, the next regular upload of mksh
will build mksh-static on sparc against eglibc as it does on Ubuntu al-
ready due to their broken version).

I’m also trying to either acquire a SPARCstation capable of running
Debian GNU/Linux (while I tried to install etch on an SS20 so that
I could run sid in a chroot, the two SS20en I own have hardware is-
sues (one esp(4) failure, one exploded Elko) and the sun4zoo.de guy
has yet to tell me when I can come over and get some, my SS10 doesn’t
have enough power (CPU, RAM, HDD) for it, and my SS5 has that one CPU
that only works reliable with BSD), or get a friend who has an Ultra
to put Debian on it and give me root. Then I could try to pin it down
to a specific version, maybe (with snapshot.d.o’s help). No promises
regarding a timeframe though ☹

Thanks,
//mirabilos – t...@d.o
-- 
I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.              -- Coywolf Qi Hunt

---------- Forwarded message ----------
Message-ID: <201006241752.o5ohq7ge001...@herc.mirbsd.org>
Date: Thu, 24 Jun 2010 17:52:07 GMT
Subject: CVS: herc.mirbsd.org: contrib

Commit ID:      1004C239A326ED97D61
CVSROOT:        /cvs
Module name:    contrib
Changes by:     t...@herc.mirbsd.org    2010/06/24 17:52:06 UTC

Modified files:
        hosted/tg/deb/mksh/debian: changelog rules

Log message:
Disable use of dietlibc on Debian/sparc due to weird problems,
both on the buildd and porterbox:

Linux sperger 2.6.26-2-sparc64-smp #1 SMP Wed May 12 21:24:38 UTC 2010 sparc64 
GNU/Linux
/bin/cat: ELF 32-bit MSB executable, SPARC32PLUS, V8+ Required, version 1 
(SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

• regression tests fail
(sid)t...@sperger:~/mksh-39.3/builddir/small$ perl 
/home/tg/mksh-39.3/mksh/check.pl -s /home/tg/mksh-39.3/mksh/check.t -p ./mksh 
-v alias-1
FAIL /home/tg/mksh-39.3/mksh/check.t:alias-1
        Description:
                Check that recursion is detected/avoided in aliases.
        unexpected stderr - wanted pattern:
                /fooBar.*not found.*/
        got nothing
Total failed: 1 (1 unexpected)
Total passed: 0
• however, doing it manually works
(sid)t...@sperger:~/mksh-39.3/builddir/small$ (echo 'alias fooBar=fooBar'; echo 
fooBar; echo exit 0) | env -i ENV=/nonexistant HOME=/home/tg LOGNAME=tg 
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD=/tmp/rtd5913 SHELL=/bin/bash 
SHLVL=1 USER=tg _=/usr/bin/env __perlname=/usr/bin/perl 
__progname=/home/tg/mksh-39.3/builddir/small/./x ./mksh
./mksh: fooBar: not found
• and the eglibc version works
(sid)t...@sperger:~/mksh-39.3/builddir/small$ perl 
/home/tg/mksh-39.3/mksh/check.pl -s /home/tg/mksh-39.3/mksh/check.t -p 
../full/mksh -v alias-1
pass /home/tg/mksh-39.3/mksh/check.t:alias-1
Total failed: 0
Total passed: 1
• also when eglibc is used as mksh-small
Total failed: 3 (as expected)
Total passed: 335
# end of regression test suite
make[1]: Leaving directory `/home/tg/mksh-39.3/builddir/small'

I cannot reproduce the issue without check.pl, nor can I reproduce
it with check.pl and a hello world programme ☹

Note: the environment settings above were got by running the alias-1
test with a /bin/sh script echoing environment, argv and stdin instead
of the mksh binary.

To generate a diff of this changeset, execute the following commands:
cvs -R rdiff -kk -upr1.77 -r1.78 contrib/hosted/tg/deb/mksh/debian/changelog
cvs -R rdiff -kk -upr1.48 -r1.49 contrib/hosted/tg/deb/mksh/debian/rules



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to