- Package:
- src:gnupg2
- Source:
- src:gnupg2
- Submitter:
- John David Anglin
- Date:
- 2025-01-13 17:12:02 UTC
- Severity:
- normal
- Tags:
Dear Maintainer, The gnupg2 build fails here: convert `test -f '../../doc/gnupg-module-overview.svg' || echo '../../doc/'`../../doc/gnupg-module-overview.svg gnupg-module-overview.pdf sh: 1: Syntax error: "&" unexpected sh: 1: Syntax error: "&" unexpected convert: delegate failed `'rsvg-convert' --dpi-x %x --dpi-y %y -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1913. convert: unable to open file '/tmp/magick-VDesgmufYV-8M9o99uHahf65O-yA9hjF': No such file or directory @ error/constitute.c/ReadImage/785. convert: no images defined `gnupg-module-overview.png' @ error/deprecate.c/ConvertImageCommand/3366. convert: delegate failed `'rsvg-convert' --dpi-x %x --dpi-y %y -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1913. convert: unable to open file '/tmp/magick-GkjRaV99lH0czMP6M83ZJwKurYB1fCIv': No such file or directory @ error/constitute.c/ReadImage/785. convert: no images defined `gnupg-module-overview.pdf' @ error/deprecate.c/ConvertImageCommand/3366. make[4]: *** [Makefile:1195: gnupg-module-overview.png] Error 1 Full log is here: https://buildd.debian.org/status/fetch.php?pkg=gnupg2&arch=hppa&ver=2.2.46-1&stamp=1736625481&raw=0 Regards, Dave Anglin
Control: tags -1 patch [...] Hello, convert delegates svg->png and svg->pdf to rsvg-convert which is not available on these ports due to missing rust. I think we will need to avoid image regeneration on these ports. Suggested patch attached. Not committing directly since Daniel has been quite busy on the repo recently and I want to avoid churn. cu Andreas
Control: reassign -1 imagemagick-7.q16 8:7.1.1.39+dfsg1-2 Control: tags -1 - patch Control: affects -1 gnupg2 (sid_hppa-dchroot)ametzler@panama:~$ convert GNUPG2/gnupg2-2.2.46/doc/gnupg-mod ule-overview.svg blah.png sh: 1: Syntax error: "&" unexpected convert: delegate failed `'rsvg-convert' --dpi-x %x --dpi-y %y -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1913. convert: unable to open file '/tmp/magick-PuhXowaySXiNeU9i3eNhLtLuKzyHWOB2': No such file or directory @ error/constitute.c/ReadImage/785. convert: no images defined `blah.png' @ error/deprecate.c/ConvertImageCommand/3366. The »sh: 1: Syntax error: "&" unexpected« is fishy, rsvg-convert sems to work: sid_hppa-dchroot)ametzler@panama:~$ rsvg-convert GNUPG2/gnupg2-2.2.46/doc/gnup g-module-overview.svg > blah.png ; identify blah.png blah.png PNG 1052x744 1052x744+0+0 8-bit sRGB 67090B 0.000u 0:00.021 (sid_hppa-dchroot)ametzler@panama:~$ dpkg -s librsvg2-bin | grep Ver Version: 2.40.20-3+b1 cu Andreas
buildd@mx3210:~$ convert gnupg2/gnupg2-2.2.46/doc/gnupg-module-overview.svg blah.png buildd@mx3210:~$ which sh /usr/bin/sh buildd@mx3210:~$ ls -l /usr/bin/sh lrwxrwxrwx 1 root root 4 Jan 8 12:07 /usr/bin/sh -> dash buildd@mx3210:~$ identify blah.png blah.png PNG 1052x744 1052x744+0+0 16-bit sRGB 124446B 0.000u 0:00.004
Control: reassign -1 imagemagick-7.q16 8:7.1.1.39+dfsg1-2 Control: tags -1 - patch Control: affects -1 gnupg2 (sid_hppa-dchroot)ametzler@panama:~$ convert GNUPG2/gnupg2-2.2.46/doc/gnupg-mod ule-overview.svg blah.png sh: 1: Syntax error: "&" unexpected convert: delegate failed `'rsvg-convert' --dpi-x %x --dpi-y %y -o '%o' '%i'' @ error/delegate.c/InvokeDelegate/1913. convert: unable to open file '/tmp/magick-PuhXowaySXiNeU9i3eNhLtLuKzyHWOB2': No such file or directory @ error/constitute.c/ReadImage/785. convert: no images defined `blah.png' @ error/deprecate.c/ConvertImageCommand/3366. The »sh: 1: Syntax error: "&" unexpected« is fishy, rsvg-convert sems to work: sid_hppa-dchroot)ametzler@panama:~$ rsvg-convert GNUPG2/gnupg2-2.2.46/doc/gnup g-module-overview.svg > blah.png ; identify blah.png blah.png PNG 1052x744 1052x744+0+0 8-bit sRGB 67090B 0.000u 0:00.021 (sid_hppa-dchroot)ametzler@panama:~$ dpkg -s librsvg2-bin | grep Ver Version: 2.40.20-3+b1 cu Andreas
[...] [...] I tested on a fresh uptodate sid chroot on panama.debian.net, sh is also dash. cu Andreas