Bug#388399: FTBFS problems on alpha, mips[el]: Please help debugging (was: Bug#388399: Processed: Re: Bug#388399: gnuplot: FTBFS)

2006-09-26 Thread Frank Küster
Dear Buildd admins, 

there seems to be a problem with packages that build-depend on tetex,
which only manifests on the alpha, mips and mipsel buildds.  We need
your help to investigate this, please see below.

Ralf Stubner <[EMAIL PROTECTED]> wrote:

> The strange thing is that mktexmf, which is called here, looks like this:
>
> [...]
> destdir=`echo "$MT_MFNAME" | sed 's%/[^/][^/]*$%%'`
> test -d "$destdir" || "$MT_MKTEXDIR" "$destdir" || exit 1
> cd "$destdir" || exit 1
> [...]
> cat > "mf$$.tmp" < [...]
> chmod `kpsestat -xst,go-w .` "mf$$.tmp"  ### second
> rm -f "$mfname"
> mv "mf$$.tmp" "$mfname"  ### third 
>
> echo "$destdir/$mfname" >$STDOUT
> echo "$progname: $destdir/$mfname: successfully generated." >&2
> "$MT_MKTEXUPD" "$destdir" "$mfname"
> [...]
>
>>From the succesfull messages at the end of mktexmf we know that $destdir
> was /home/buildd/.texmf-var/fonts/source/jknappen/ec/, which must have
> existed otherwise the script would have been terminated before. So at
> first sight it looks as if $destdir was created but without write
> permissions. No idea why that could happen.

Buildd admins, could you please check this?  Does any of these
directories exist, and would the user under whose name the build is done
have write access there?

The TeX packages usually create their fonts in a hierarchy below the
user's home directory.  Especially for buildds, we have arranged that
when the home directory does not exist or is not writable, fonts are
cached in /tmp/texfonts.  Could it be that on the affected systems,
the directories in /home/buildd already exist, but are not writable?

Alternatively, it would also make sense to copy /usr/bin/mktexmf to
/usr/local/bin on the buildd and add a "set -x" at the beginning, and
trigger a new build of gnuplot.

Thanks in advance,
Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Bug#388399: Processed: Re: Bug#388399: gnuplot: FTBFS

2006-09-23 Thread Ralf Stubner
On Fri, Sep 22, 2006 at 12:55 +0200, Frank Küster wrote:
> >> reassign 388399 tetex-bin
> > Bug#388399: "mktexmf: line 92: mf31966.tmp: Permission denied" on alpha, 
> > mips and mipsel
> > Bug reassigned from package `gnuplot' to `tetex-bin'.
> 
> Hm.  It's not a general mipsel/alpha/mips problem.  At least in the sid
> chroot on vaughan, a mipsel box, the command (mktextfm ecrm1728) works
> just fine.  I won't have time to investigate this further, but I suspect
> that the underlying problem is that on the buildds, e.g. in
> http://buildd.debian.org/fetch.php?&pkg=gnuplot&ver=4.0.0-5&arch=alpha&stamp=1158062374&file=log&as=raw
>  
> mktextmf tries to create the file in a TEXMF tree rooted in the current
> directory (/home/buildd/.texmf-var) instead of the varfonts tree in
> /tmp.  Maybe the home directory just doesn't exist.

The strange thing is that mktexmf, which is called here, looks like this:

[...]
destdir=`echo "$MT_MFNAME" | sed 's%/[^/][^/]*$%%'`
test -d "$destdir" || "$MT_MKTEXDIR" "$destdir" || exit 1
cd "$destdir" || exit 1
[...]
cat > "mf$$.tmp" <$STDOUT
echo "$progname: $destdir/$mfname: successfully generated." >&2
"$MT_MKTEXUPD" "$destdir" "$mfname"
[...]

>From the succesfull messages at the end of mktexmf we know that $destdir
was /home/buildd/.texmf-var/fonts/source/jknappen/ec/, which must have
existed otherwise the script would have been terminated before. So at
first sight it looks as if $destdir was created but without write
permissions. No idea why that could happen.

cheerio
ralf

> This may be a problem with the configuration on the buildds, we'd need
> the output of
> 
> kpsewhich --format='web2c files' mktex.cnf
> 
> as well as the file contents of the resulting filename, on the buildd.
> I'm formally on vacation and only able to write this mail out of sheer
> luck, and won't be able to work on that in the next days.

[full-quote for the BTS]



Bug#388399: gnuplot: FTBFS

2006-09-21 Thread Cyril Bouthors
retitle 388399 "mktexmf: line 92: mf31966.tmp: Permission denied" on alpha, 
mips and mipsel
reassign 388399 tetex-bin
thanks

On 20 Sep 2006, [EMAIL PROTECTED] wrote:

> Package: gnuplot
> Version: 1:2.5.0p2-2
>
>
> Buildd logs show that gnuplot is failing to build from source on
> alpha, mips and mipssel:
>
> http://buildd.debian.org/build.php?arch=alpha&pkg=amanda&ver=1:2.5.0p2-2
> http://buildd.debian.org/build.php?arch=mips&pkg=amanda&ver=1:2.5.0p2-2
> http://buildd.debian.org/build.php?arch=mipsel&pkg=amanda&ver=1:2.5.0p2-2
>
>
> My interest is that gnuplot is blocking transition of amanda to testing.
>
> Regards
> Alex Owen

It looks like this bug is coming from mktexmf (package tetex-bin):

http://buildd.debian.org/fetch.php?&pkg=gnuplot&ver=4.0.0-5&arch=alpha&stamp=1158062374&file=log&as=raw

(...)
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; 
input ecrm1728
This is METAFONT, Version 2.71828 (Web2C 7.5.4)
kpathsea: Running mktexmf ecrm1728
/usr/bin/mktexmf: line 92: mf31966.tmp: Permission denied
chmod: cannot access `mf31966.tmp': No such file or directory
mv: cannot stat `mf31966.tmp': No such file or directory
mktexmf: /home/buildd/.texmf-var/fonts/source/jknappen/ec/ecrm1728.mf: 
successfully generated.
/usr/share/texmf/web2c/mktexupd: 
/home/buildd/.texmf-var/fonts/source/jknappen/ec/ecrm1728.mf not a file.
warning: kpathsea: mktexpk output 
`/home/buildd/.texmf-var/fonts/source/jknappen/ec/ecrm1728.mf' instead of a 
filename.

! I can't find file `ecrm1728'.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1728

Please type another input file name
! Emergency stop.
<*> ...ljfour; mag:=1; nonstopmode; input ecrm1728

Transcript written on mfput.log.
grep: ecrm1728.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input 
ecrm1728' failed to make ecrm1728.tfm.
kpathsea: Appending font creation commands to missfont.log.

No file ps_fontfile_doc.aux.
! Font T1/cmr/m/n/17.28=ecrm1728 at 17.28pt not loadable: Metric (TFM) file not
 found.

   relax
l.146 \maketitle

?
! Emergency stop.

   relax
l.146 \maketitle

No pages of output.
Transcript written on ps_fontfile_doc.log.
make[1]: *** [ps_fontfile_doc.ps] Error 1
make[1]: Leaving directory `/build/buildd/gnuplot-4.0.0/docs/psdoc'
make: *** [build-indep-stamp] Error 2
**
Build finished at 20060912-1158
FAILED [dpkg-buildpackage died]
(...)

-- 
 ,''`.
: :' :  Cyril Bouthors
`. `' Debian.org
  `-


pgpV8VufN6RpT.pgp
Description: PGP signature


Bug#388399: gnuplot: FTBFS - serious

2006-09-21 Thread Alex Owen

severity 388399 serious
thanks

Upgrading severity after checking details on IRC #debian-devel.
In summay violates point 4 of
http://release.debian.org/etch_rc_policy.txt so "serious"

Alex


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#388399: gnuplot: FTBFS

2006-09-20 Thread Alex Owen

Package: gnuplot
Version: 1:2.5.0p2-2


Buildd logs show that gnuplot is failing to build from source on
alpha, mips and mipssel:

http://buildd.debian.org/build.php?arch=alpha&pkg=amanda&ver=1:2.5.0p2-2
http://buildd.debian.org/build.php?arch=mips&pkg=amanda&ver=1:2.5.0p2-2
http://buildd.debian.org/build.php?arch=mipsel&pkg=amanda&ver=1:2.5.0p2-2


My interest is that gnuplot is blocking transition of amanda to testing.

Regards
Alex Owen


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]