[Pkg-electronics-devel] Bug#959862: klayout: Klayout wrapper script does not handle spaces in filenames
Xaveer Leijtens
x.leijtens at gmail.com
Wed May 6 10:05:06 BST 2020
Package: klayout
Version: 0.26.2-2+b1
Severity: important
Dear Maintainer,
The klayout wrapper script /usr/bin/klayout uses $* to access the parameters
passed to it. This gives problems if e.g. the GDS filename contains spaces
("unable to open file").
It would be easily solved by replacing $* with "$@":
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/klayout exec /usr/lib/klayout/klayout "$@"
which will correctly pass the arguments to the klayout executable.
Best regards,
Xaveer
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (600, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.5.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_NL.UTF-8, LC_CTYPE=en_NL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8), LANGUAGE= (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages klayout depends on:
ii libc6 2.30-4
ii libgcc-s1 10-20200502-1
ii libpython3.8 3.8.3~rc1-1
ii libqt5core5a 5.12.5+dfsg-10
ii libqt5designer5 5.12.5-2+b2
ii libqt5gui5 5.12.5+dfsg-10
ii libqt5multimedia5 5.12.5-1+b1
ii libqt5multimediawidgets5 5.12.5-1+b1
ii libqt5network5 5.12.5+dfsg-10
ii libqt5printsupport5 5.12.5+dfsg-10
ii libqt5sql5 5.12.5+dfsg-10
ii libqt5svg5 5.12.5-2
ii libqt5widgets5 5.12.5+dfsg-10
ii libqt5xml5 5.12.5+dfsg-10
ii libqt5xmlpatterns5 5.12.5-1
ii libruby2.7 2.7.0-7
ii libstdc++6 10-20200502-1
ii python3 3.8.2-3
ii zlib1g 1:1.2.11.dfsg-2
klayout recommends no packages.
klayout suggests no packages.
-- no debconf information
More information about the Pkg-electronics-devel
mailing list