Bug#780330: context: mtxrun script calls texfont with hardcoded nonsense parameters "binary-indep"

2015-03-12 Thread Norbert Preining
> The following code in debian/rules does not work as expected:

Indeed, thanks for your fix. I made small adaptions (to add " around $@)
and uploaded. I also send an unblock request ... bit late but let us hope.

Norbert


PREINING, Norbert   http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13



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



Bug#780330: context: mtxrun script calls texfont with hardcoded nonsense parameters "binary-indep"

2015-03-12 Thread Preuße, Hilmar
On 12.03.2015 09:08, proctor wrote:

Hi,

>  so i ran strace and found that indeed texfont was being called with
>  the strange parameter "binary-indep"
> 
>  removing "binary-indep" and replacing it with "$@" prevents the
>  error and allows the program to proceed normally
> 
Same for /usr/bin/pdftrimwhite & /usr/bin/texfind.

The following code in debian/rules does not work as expected:

binary-indep: build-indep
dh_testdir

#
# scripts dealing
cp bin/i386-linux/* $(instbase)/usr/bin
rm -r $(instbase)/usr/share/texmf/scripts/context/stubs
#
##cp texmf-dist/scripts/context/stubs/unix/* $(instbase)/usr/bin
(echo "#!/bin/sh"; echo "mtxrun --script pdftrimwhite \"$@\"" ) >
$(instbase)/usr/bin/pdftrimwhite
(echo "#!/bin/sh"; echo "mtxrun --script texfind \"$@\"" ) >
$(instbase)/usr/bin/texfind
(echo "#!/bin/sh"; echo "mtxrun --script texfont \"$@\"" ) >
$(instbase)/usr/bin/texfont

The $@ is replaced by $1 (in this case "binary-indep") during execution of the
binary-indep target.

H.
-- 
sigfault


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



Bug#780330: context: mtxrun script calls texfont with hardcoded nonsense parameters "binary-indep"

2015-03-12 Thread proctor
Package: context
Version: 2014.05.21.20140528-1
Severity: important

Dear Maintainer,


   * What led up to the situation?

   compiling pdf failed.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

 running "texfont --help" by itself also produces error
 "processing aborted : unknown vendor"

 so i ran strace and found that indeed texfont was being called with
 the strange parameter "binary-indep"

 removing "binary-indep" and replacing it with "$@" prevents the
 error and allows the program to proceed normally

 NB i also have this same issue on wheezy

   * What was the outcome of this action?
   * What outcome did you expect instead?



-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages context depends on:
ii  dpkg1.17.24
ii  lmodern 2.004.4-5
ii  ruby1:2.1.0.4
ii  ruby2.1 [ruby-interpreter]  2.1.5-1
ii  tex-common  5.03
ii  tex-gyre20140520-1
ii  texlive-base2014.20141024-2
ii  texlive-binaries2014.20140926.35254-6
ii  texlive-metapost2014.20141024-2

Versions of packages context recommends:
ii  context-modules   20140528-2
pn  fonts-freefont
ii  fonts-gfs-artemisia   1.1-5
ii  fonts-gfs-baskerville 1.1-5
ii  fonts-gfs-bodoni-classic  1.1-5
ii  fonts-gfs-didot   1.1-6
ii  fonts-gfs-didot-classic   1.1-5
ii  fonts-gfs-gazis   1.1-5
ii  fonts-gfs-neohellenic 1.1-6
ii  fonts-gfs-olga1.1-5
ii  fonts-gfs-porson  1.1-6
ii  fonts-gfs-solomos 1.1-5
ii  fonts-gfs-theokritos  1.1-5
ii  fonts-sil-gentium 20081126:1.02-13

Versions of packages context suggests:
pn  context-doc-nonfree  
pn  context-nonfree  
pn  fontforge
ii  libxml-parser-perl   2.41-3
pn  perl-tk  

-- no debconf information


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