Hi Chris It looks like a problem with the wftodm binary. This is an important piece in the creation of the fonts. I will only have access to my PC next week Thursday (27 October 2016) to check the C source code and replicate it on amd64. Please bear with me for a while.
Thanks for your bug report. Regards -- Danai On 19 Oct 2016 16:34, "Chris Lamb" <la...@debian.org> wrote: Source: latex-cjk-japanese-wadalab Version: 0.20050817-16 Severity: serious Justification: fails to build from source User: reproducible-bui...@lists.alioth.debian.org Usertags: ftbfs X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org Dear Maintainer, latex-cjk-japanese-wadalab fails to build from source in unstable/amd64: […] Setting up libopenjp2-7:amd64 (2.1.2-1) ... Setting up libptexenc1:amd64 (2016.20160513.41080-7) ... Setting up libjpeg62-turbo:amd64 (1:1.5.1-1) ... Processing triggers for mime-support (3.60) ... Setting up libpng16-16:amd64 (1.6.25-2) ... Setting up liblcms2-2:amd64 (2.7-1) ... Setting up libjbig0:amd64 (2.1-3.1) ... Setting up fonts-dejavu-core (2.37-1) ... Setting up poppler-data (0.4.7-7) ... Setting up libtiff5:amd64 (4.0.6-2) ... Setting up libnspr4:amd64 (2:4.12-6) ... Setting up ucf (3.0036) ... Setting up libfreetype6:amd64 (2.6.3-3+b1) ... Setting up libgraphite2-3:amd64 (1.3.8-1) ... Setting up libjbig2dec0:amd64 (0.13-3) ... Setting up libpixman-1-0:amd64 (0.34.0-1) ... Processing triggers for libc-bin (2.24-5) ... Processing triggers for systemd (231-9) ... Setting up libijs-0.35:amd64 (0.35-12) ... Setting up libpotrace0 (1.13-2) ... Processing triggers for man-db (2.7.5-1) ... Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ... Setting up libzzip-0-13:amd64 (0.13.62-3) ... Setting up x11-common (1:7.7+16) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Setting up xdg-utils (1.1.1-1) ... Setting up libtexluajit2:amd64 (2016.20160513.41080-7) ... Setting up libx11-data (2:1.6.3-1) ... Setting up libxau6:amd64 (1:1.0.8-1) ... Setting up libdbus-1-3:amd64 (1.10.12-1) ... Setting up libavahi-common-data:amd64 (0.6.32-1) ... Setting up libpaper1:amd64 (1.1.24+nmu4) ... Creating config file /etc/papersize with new version Setting up libpaper-utils (1.1.24+nmu4) ... Setting up fontconfig-config (2.11.0-6.7) ... Setting up tex-common (6.05) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libnss3:amd64 (2:3.26-2) ... Setting up libharfbuzz0b:amd64 (1.2.7-1+b1) ... Setting up libice6:amd64 (2:1.0.9-1+b1) ... Setting up libavahi-common3:amd64 (0.6.32-1) ... Setting up libxcb1:amd64 (1.12-1) ... Setting up libfontconfig1:amd64 (2.11.0-6.7) ... Setting up libsm6:amd64 (2:1.2.2-1+b1) ... Setting up libxcb-render0:amd64 (1.12-1) ... Setting up libharfbuzz-icu0:amd64 (1.2.7-1+b1) ... Setting up libx11-6:amd64 (2:1.6.3-1) ... Setting up libxcb-shm0:amd64 (1.12-1) ... Setting up libxpm4:amd64 (1:3.5.11-1+b1) ... Setting up libxt6:amd64 (1:1.1.5-1) ... Setting up libxrender1:amd64 (1:0.9.9-2) ... Setting up libavahi-client3:amd64 (0.6.32-1) ... Setting up libpoppler61:amd64 (0.44.0-3) ... Setting up libcups2:amd64 (2.2.1-1) ... Setting up libxext6:amd64 (2:1.3.3-1) ... Setting up libxmu6:amd64 (2:1.1.2-2) ... Setting up libcupsimage2:amd64 (2.2.1-1) ... Setting up libgs9:amd64 (9.19~dfsg-3) ... Setting up libxi6:amd64 (2:1.7.6-1) ... Setting up libxaw7:amd64 (2:1.0.13-1) ... Setting up libcairo2:amd64 (1.14.6-1+b1) ... Setting up texlive-binaries (2016.20160513.41080-7) ... update-alternatives: using /usr/bin/xdvi-xaw to provide /usr/bin/xdvi.bin (xdvi.bin) in auto mode update-alternatives: using /usr/bin/bibtex.original to provide /usr/bin/bibtex (bibtex) in auto mode Processing triggers for tex-common (6.05) ... update-language: texlive-base not installed and configured, doing nothing! texlive-base is not ready, skipping fmtutil --all call Setting up texlive-base (2016.20161008-1) ... mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVEDIST... mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... mktexlsr: Updating /var/lib/texmf/ls-R... mktexlsr: Done. /usr/bin/tl-paper: setting paper size for dvips to a4. /usr/bin/tl-paper: setting paper size for dvipdfmx to a4. /usr/bin/tl-paper: setting paper size for xdvi to a4. /usr/bin/tl-paper: setting paper size for pdftex to a4. Processing triggers for tex-common (6.05) ... Running updmap-sys. This may take some time... done. Running mktexlsr /var/lib/texmf ... done. Building format(s) --all. This may take some time... done. Setting up texlive-font-utils (2016.20161008-1) ... Setting up latex-cjk-japanese-wadalab-build-deps (0.20050817-16) ... Processing triggers for libc-bin (2.24-5) ... Processing triggers for systemd (231-9) ... ************************************************************ ************************** ** Environment ** ************************************************************ ************************** PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/ usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOSTNAME=7733e6ebeaf0 TERM=xterm PAGER=more DISPLAY=:0 DOCKER_IMAGE=lamby-debian-sid DEB_BUILD_OPTIONS=parallel=9 PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip HOME=/home/lamby LOGNAME=lamby SHLVL=1 PWD=/home/lamby/temp/cdt.20161019163239.uEI4SiAhqw.db. latex-cjk-japanese-wadalab/latex-cjk-japanese-wadalab-0.20050817 OLDPWD=/home/lamby/temp/cdt.20161019163239.uEI4SiAhqw.db. latex-cjk-japanese-wadalab GPG_TTY=/dev/console QUILT_PATCHES=debian/patches QUILT_NO_DIFF_INDEX=1 QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index DEBEMAIL=la...@debian.org DEBFULLNAME=Chris Lamb EDITOR=vim LESS=-cgiFx4M GPG_KEY=1E953E27D4311E58 BLASTER=A220 I5 D1 H5 P330 T6 _=/usr/bin/env ************************************************************ ************************** ** Building latex-cjk-japanese-wadalab 0.20050817-16 on amd64 ** ************************************************************ ************************** dpkg-buildpackage -rfakeroot -D -us -uc -b dpkg-buildpackage: info: source package latex-cjk-japanese-wadalab dpkg-buildpackage: info: source version 0.20050817-16 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Norbert Preining < prein...@debian.org> dpkg-source --before-build latex-cjk-japanese-wadalab-0.20050817 dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir wadalab-sym.7.tar.gz wftodm.c debian/JIS0208.TXT dh_testroot rm -rf build rm -f build-stamp unpack-stamp dh_clean dh_clean: Compatibility levels before 9 are deprecated (level 7 in use) debian/rules build dh_testdir mkdir build cc -Wall -g -O2 -o build/wftodm wftodm.c wftodm.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] compute_fc(ku, ten, f, c) ^~~~~~~~~~ wftodm.c: In function 'compute_fc': wftodm.c:69:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wftodm.c:57:1: note: declared here compute_fc(ku, ten, f, c) ^~~~~~~~~~ wftodm.c:73:2: warning: 'return' with no value, in function returning non-void return; ^~~~~~ wftodm.c:57:1: note: declared here compute_fc(ku, ten, f, c) ^~~~~~~~~~ wftodm.c: At top level: wftodm.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] readfiles(filename) ^~~~~~~~~ wftodm.c: In function 'readfiles': wftodm.c:104:7: warning: unused variable 'kcode_low' [-Wunused-variable] int kcode_low,i,len,kcode,c1; ^~~~~~~~~ wftodm.c: At top level: wftodm.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] main(ac,ag) ^~~~ wftodm.c: In function 'main': wftodm.c:128:1: warning: type of 'ac' defaults to 'int' [-Wimplicit-int] wftodm.c:158:7: warning: implicit declaration of function 'output_pfa' [-Wimplicit-function-declaration] output_pfa(i); ^~~~~~~~~~ wftodm.c:159:7: warning: implicit declaration of function 'output_afm' [-Wimplicit-function-declaration] output_afm(i); ^~~~~~~~~~ wftodm.c: At top level: wftodm.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] output_afm(file) ^~~~~~~~~~ wftodm.c: In function 'output_afm': wftodm.c:164:1: warning: type of 'file' defaults to 'int' [-Wimplicit-int] wftodm.c: At top level: wftodm.c:196:1: warning: return type defaults to 'int' [-Wimplicit-int] output_header(file) ^~~~~~~~~~~~~ wftodm.c: In function 'output_header': wftodm.c:196:1: warning: type of 'file' defaults to 'int' [-Wimplicit-int] wftodm.c: At top level: wftodm.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] output_pfa(file) ^~~~~~~~~~ wftodm.c: In function 'output_pfa': wftodm.c:230:1: warning: type of 'file' defaults to 'int' [-Wimplicit-int] wftodm.c:243:3: warning: implicit declaration of function 'init_crypt' [-Wimplicit-function-declaration] init_crypt(); ^~~~~~~~~~ wftodm.c:244:3: warning: implicit declaration of function 'e_putchar' [-Wimplicit-function-declaration] e_putchar(0); ^~~~~~~~~ wftodm.c:248:3: warning: implicit declaration of function 'e_printf' [-Wimplicit-function-declaration] e_printf("dup /Private 17 dict dup begin\n"); ^~~~~~~~ wftodm.c:232:15: warning: unused variable 'charlen' [-Wunused-variable] int i,j,len,charlen; ^~~~~~~ wftodm.c:232:11: warning: unused variable 'len' [-Wunused-variable] int i,j,len,charlen; ^~~ wftodm.c: At top level: wftodm.c:301:1: warning: return type defaults to 'int' [-Wimplicit-int] e_printf(form,i0,i1,i2,i3,i4,i5,i6,i7,i8,i9) ^~~~~~~~ wftodm.c: In function 'e_printf': wftodm.c:301:1: warning: type of 'i0' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i1' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i2' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i3' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i4' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i5' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i6' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i7' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i8' defaults to 'int' [-Wimplicit-int] wftodm.c:301:1: warning: type of 'i9' defaults to 'int' [-Wimplicit-int] wftodm.c:306:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf,form,i0,i1,i2,i3,i4,i5,i6,i7,i8,i9); ^~~ In file included from wftodm.c:1:0: /usr/include/stdio.h:366:12: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern int sprintf (char *__restrict __s, ^~~~~~~ wftodm.c:307:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len=strlen(buf); ^~~ In file included from wftodm.c:2:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ wftodm.c: At top level: wftodm.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] e_putchar(plain) ^~~~~~~~~ wftodm.c: In function 'e_putchar': wftodm.c:314:22: warning: implicit declaration of function 'encrypt_char' [-Wimplicit-function-declaration] fprintf(ofp,"%02X",encrypt_char(plain)); ^~~~~~~~~~~~ wftodm.c: At top level: wftodm.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int] init_crypt() ^~~~~~~~~~ wftodm.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] encrypt_char(plain) ^~~~~~~~~~~~ wftodm.c: In function 'readfiles': wftodm.c:126:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wftodm.c: In function 'output_afm': wftodm.c:193:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wftodm.c: In function 'output_header': wftodm.c:229:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wftodm.c: In function 'output_pfa': wftodm.c:299:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wftodm.c: In function 'e_printf': wftodm.c:310:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wftodm.c: In function 'e_putchar': wftodm.c:317:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ wftodm.c: In function 'init_crypt': wftodm.c:324:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Unpacking ./wadalab-gothic-0-13.5.tar.gz. Unpacking ./wadalab-maru-0-8.4.tar.gz. Unpacking ./wadalab-maru-1-8.tar.gz. Unpacking ./wadalab-mincho-0-12.8.tar.gz. Unpacking ./wadalab-mincho-0-8.4.tar.gz. Unpacking ./wadalab-mincho-1-8.tar.gz. Unpacking ./wadalab-sym.7.tar.gz. cp debian/latex-cjk/fixwada2.pl build/ cp debian/latex-cjk/makeuniwada.pl build/ cp debian/latex-cjk/DNP.sfd build/ cp debian/latex-cjk/makefont build/ cp debian/JIS02*.TXT build/ touch unpack-stamp Create .afm and .pfa fonts from dg. Segmentation fault (core dumped) ./wftodm -FontBase dg wadalab-sym/jis*.ps wadalab-gothic-0-13/goth-*.ps failed miserably. debian/rules:37: recipe for target 'wftodm.dg' failed make: *** [wftodm.dg] Error 1 […] The full build log is attached. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-