Diff of the two buildlogs: -- --- b1/build.log 2025-04-12 00:21:47.242094125 +0000 +++ b2/build.log 2025-04-12 00:24:21.462534090 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 14 18:41:06 -12 2026 -I: pbuilder-time-stamp: 1778827266 +I: Current time: Sat Apr 12 14:21:50 +14 2025 +I: pbuilder-time-stamp: 1744417310 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,84 @@ dpkg-source: info: applying 40_nan-spline.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2718708/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2159121/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 12 00:21 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2159121/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2159121/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='6479cabb2b204686a2b451fb3192311f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2718708' - PS1='# ' - PS2='> ' + INVOCATION_ID=8385d7b93124413a904a72fb5afb17b5 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2159121 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.t3aXEIY5/pbuilderrc_fJ6R --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.t3aXEIY5/b1 --logfile b1/build.log fig2dev_3.2.9a-4.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.t3aXEIY5/pbuilderrc_I1Kz --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.t3aXEIY5/b2 --logfile b2/build.log fig2dev_3.2.9a-4.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2718708/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2159121/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -287,7 +319,7 @@ Get: 145 http://deb.debian.org/debian unstable/main arm64 texlive-latex-recommended all 2024.20250309-1 [8745 kB] Get: 146 http://deb.debian.org/debian unstable/main arm64 texlive-pictures all 2024.20250309-1 [17.0 MB] Get: 147 http://deb.debian.org/debian unstable/main arm64 texlive-latex-extra all 2024.20250309-2 [25.2 MB] -Fetched 187 MB in 1s (211 MB/s) +Fetched 187 MB in 1s (292 MB/s) Preconfiguring packages ... Selecting previously unselected package readline-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19954 files and directories currently installed.) @@ -787,8 +819,8 @@ Setting up tzdata (2025b-1) ... Current default time zone: 'Etc/UTC' -Local time is now: Fri May 15 06:41:45 UTC 2026. -Universal Time is now: Fri May 15 06:41:45 UTC 2026. +Local time is now: Sat Apr 12 00:22:25 UTC 2025. +Universal Time is now: Sat Apr 12 00:22:25 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libfontenc1:arm64 (1:1.1.8-1+b2) ... @@ -920,7 +952,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/fig2dev-3.2.9a/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../fig2dev_3.2.9a-4_source.changes +I: user script /srv/workspace/pbuilder/2159121/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2159121/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/fig2dev-3.2.9a/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../fig2dev_3.2.9a-4_source.changes dpkg-buildpackage: info: source package fig2dev dpkg-buildpackage: info: source version 1:3.2.9a-4 dpkg-buildpackage: info: source distribution unstable @@ -1058,7 +1094,7 @@ transfig/doc/manual.pdf fig2dev/tests/testsuite (cd fig2dev/tests; rm -f testsuite; make testsuite) make[2]: Entering directory '/build/reproducible-path/fig2dev-3.2.9a/fig2dev/tests' -/bin/bash '/build/reproducible-path/fig2dev-3.2.9a/missing' autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at +/bin/sh '/build/reproducible-path/fig2dev-3.2.9a/missing' autom4te --language=autotest -I '.' -o testsuite.tmp testsuite.at mv testsuite.tmp testsuite make[2]: Leaving directory '/build/reproducible-path/fig2dev-3.2.9a/fig2dev/tests' dh_auto_build @@ -1082,8 +1118,6 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genibmgl.o genibmgl.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genlatex.o genlatex.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genmap.o genmap.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genmf.o genmf.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genmp.o genmp.c gendxf.c: In function 'gendxf_option': gendxf.c:147:33: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 147 | fscanf(ffp, "%d%d%lf%lf%lf", @@ -1152,6 +1186,8 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | &pen_thickness[color]); /* mm */ | ~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genmf.o genmf.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genmp.o genmp.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genpdf.o genpdf.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genpic.o genpic.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o genpict2e.o genpict2e.c @@ -1164,6 +1200,11 @@ gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o gensvg.o gensvg.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o gentextyl.o gentextyl.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o gentikz.o gentikz.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o gentk.o gentk.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o gentpic.o gentpic.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o psfonts.o psfonts.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readeps.o readeps.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readgif.o readgif.c genps.c: In function 'append_find_composite': genps.c:1390:33: warning: '%s' directive writing up to 123 bytes into a region of size between 4 and 127 [-Wformat-overflow=] 1390 | sprintf(localefile, "%s/%s.ps", libdir, locale); @@ -1179,22 +1220,16 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o gentk.o gentk.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o gentpic.o gentpic.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o psfonts.o psfonts.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readeps.o readeps.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readgif.o readgif.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readjpg.o readjpg.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readpcx.o readpcx.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readpics.o readpics.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readppm.o readppm.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readtif.o readtif.c +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readxbm.o readxbm.c readpcx.c: In function '_read_pcx': readpcx.c:100:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 100 | fread(&header,1,sizeof(struct pcxhed),pcxfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readppm.o readppm.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readtif.o readtif.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readxbm.o readxbm.c -gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readxpm.o readxpm.c readpics.c: In function 'open_stream': readpics.c:235:38: warning: '%s' directive writing up to 254 bytes into a region of size between 1 and 255 [-Wformat-overflow=] 235 | sprintf(command, "%s %s", @@ -1211,6 +1246,7 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o readxpm.o readxpm.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o texfonts.o texfonts.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o textconvert.o textconvert.c gcc -DHAVE_CONFIG_H -I. -I../.. -I"../../fig2dev" -DI18N_DATADIR="\"/usr/share/fig2dev/i18n\"" -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fig2dev-3.2.9a=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -c -o setfigfont.o setfigfont.c @@ -1554,7 +1590,7 @@ Output written on manual.dvi (22 pages, 75800 bytes). Transcript written on manual.log. This is dvips(k) 2024.1 (TeX Live 2025/dev) Copyright 2024 Radical Eye Software (www.radicaleye.com) -' TeX output 2026.05.14:1844' -> manual.ps +' TeX output 2025.04.12:1424' -> manual.ps @@ -1597,7 +1633,7 @@ make[4]: Leaving directory '/build/reproducible-path/fig2dev-3.2.9a/fig2dev/tests' make check-local make[4]: Entering directory '/build/reproducible-path/fig2dev-3.2.9a/fig2dev/tests' -/bin/bash './testsuite' INSTALLCHECK=no -j12 --verbose +/bin/sh './testsuite' INSTALLCHECK=no -j12 --verbose ## -------------------------- ## ## fig2dev 3.2.9a test suite. ## ## -------------------------- ## @@ -1613,16 +1649,36 @@ -5. input.at:51: testing guess jpeg output format from output filename ... 2. input.at:33: testing use "-" for stdin ... ./input.at:35: fig2dev -Leps - out.eps <$srcdir/data/line.fig -2. input.at:33: ok +3. input.at:39: testing use "-" for stdout ... +./input.at:41: fig2dev -Leps $srcdir/data/line.fig - >out.eps + +1. input.at:25: testing do not overwrite .fig file ... +./input.at:28: fig2dev -L ge $srcdir/data/line.fig nice.figure.fig + +6. input.at:58: testing guess tiff output format from output filename ... +3. input.at:39: ok +7. input.at:66: testing pass driver name to driver, ticket #139 ... +./input.at:68: fig2dev $srcdir/data/line.fig line.eepic + +4. input.at:45: testing use "- -" for stdin and stdout ... +./input.at:47: fig2dev -Leps - - <$srcdir/data/line.fig >out.eps + +11. input.at:114: testing accept correct hexadecimal rgb-values ... +./input.at:116: fig2dev -Leps -g'#1e9' $srcdir/data/line.fig + +./input.at:118: fig2dev -Leps -g'#11e090' $srcdir/data/line.fig + +stdout: +5. input.at:51: testing guess jpeg output format from output filename ... +8. input.at:72: testing decode koi8-r encoded files ... 12. input.at:126: testing fail on malformed hexadecimal rgb-values ... ./input.at:128: fig2dev -Leps -g'#144ea0f90c0' $srcdir/data/line.fig -9. input.at:89: testing parse width specification ... -./input.at:91: fig2dev -Z 1w -L box <out.eps - -7. input.at:66: testing pass driver name to driver, ticket #139 ... -./input.at:68: fig2dev $srcdir/data/line.fig line.eepic - -6. input.at:58: testing guess tiff output format from output filename ... -10.05.0 -1. input.at:25: testing do not overwrite .fig file ... -./input.at:28: fig2dev -L ge $srcdir/data/line.fig nice.figure.fig +./input.at:120: fig2dev -Leps -g'#114ea090c' $srcdir/data/line.fig -7. input.at:66: ok -8. input.at:72: testing decode koi8-r encoded files ... -9. input.at:89: ok -4. input.at:45: testing use "- -" for stdin and stdout ... -./input.at:47: fig2dev -Leps - - <$srcdir/data/line.fig >out.eps +4. input.at:45: ok +1. input.at:25: ok +7. input.at:66: ./input.at:122: fig2dev -Leps -g'#1144ea0f90c0' $srcdir/data/line.fig -3. input.at:39: 10. input.at:100: testing parse height specification ... -./input.at:102: fig2dev -Z 1h -L box <. There is NO WARRANTY, to the extent permitted by law. -Written by Jean-loup Gailly. -./input.at:169: gzip -q -c $srcdir/data/line.eps >line.eps.gz && \ - $SED '11 s/eps/eps.gz/' $srcdir/data/boxwimg.fig | fig2dev -L eps - -14. input.at:144: 19. input.at:200: testing name in fig file img, file img.Z, pipe ok ... -17. input.at:183: testing name in fig file img, file img.gz, pipe ok ... -16. input.at:174: testing name in fig file img.Z, file img.Z, no pipe ... - - skipped (input.at:146) +Written by Paul Eggert. gunzip (gzip) 1.13 Copyright (C) 2023 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of @@ -1742,7 +1773,7 @@ There is NO WARRANTY, to the extent permitted by law. Written by Paul Eggert. - +18. input.at:192: testing name in fig file img, file img.z, no pipe ... gzip 1.13 Copyright (C) 2023 Free Software Foundation, Inc. Copyright (C) 1993 Jean-loup Gailly. @@ -1751,36 +1782,38 @@ There is NO WARRANTY, to the extent permitted by law. Written by Jean-loup Gailly. -gunzip (gzip) 1.13 +gzip 1.13 Copyright (C) 2023 Free Software Foundation, Inc. +Copyright (C) 1993 Jean-loup Gailly. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. -Written by Paul Eggert. -./input.at:204: gzip -q -c $srcdir/data/line.eps >line.eps.Z && \ - cat $srcdir/data/boxwimg.fig | fig2dev -L eps +Written by Jean-loup Gailly. -gunzip (gzip) 1.13 +gzip 1.13 Copyright (C) 2023 Free Software Foundation, Inc. +Copyright (C) 1993 Jean-loup Gailly. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. -Written by Paul Eggert. -18. input.at:192: testing name in fig file img, file img.z, no pipe ... - - -gzip 1.13 +Written by Jean-loup Gailly. +gunzip (gzip) 1.13 Copyright (C) 2023 Free Software Foundation, Inc. -Copyright (C) 1993 Jean-loup Gailly. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. -Written by Jean-loup Gailly. -6. input.at:58: ok -20. input.at:209: testing read compressed image files ... +Written by Paul Eggert. +19. input.at:200: testing name in fig file img, file img.Z, pipe ok ... +./input.at:169: gzip -q -c $srcdir/data/line.eps >line.eps.gz && \ + $SED '11 s/eps/eps.gz/' $srcdir/data/boxwimg.fig | fig2dev -L eps + +./input.at:187: gzip -q -c $srcdir/data/line.eps >line.eps.gz && \ + cat $srcdir/data/boxwimg.fig | fig2dev -L eps + + gunzip (gzip) 1.13 Copyright (C) 2023 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of @@ -1796,10 +1829,7 @@ There is NO WARRANTY, to the extent permitted by law. Written by Jean-loup Gailly. -5. input.at:51: ok -./input.at:187: gzip -q -c $srcdir/data/line.eps >line.eps.gz && \ - cat $srcdir/data/boxwimg.fig | fig2dev -L eps - +20. input.at:209: testing read compressed image files ... gunzip (gzip) 1.13 Copyright (C) 2023 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of @@ -1816,6 +1846,7 @@ Written by Jean-loup Gailly. + ./input.at:212: fig2dev -L eps <. -There is NO WARRANTY, to the extent permitted by law. - -Written by Jean-loup Gailly. -21. input.at:277: testing absolute path in fig file, pipe ok ... -23. input.at:297: testing non-existing file with suffix (.Z), ticket #126 ... -./input.at:299: fig2dev -Leps <line.eps.Z && \ - $SED '11 s/eps/eps.Z/' $srcdir/data/boxwimg.fig >boxwimg.fig && \ - fig2dev -L tiff boxwimg.fig b.tif +gzip 1.13 +Copyright (C) 2023 Free Software Foundation, Inc. +Copyright (C) 1993 Jean-loup Gailly. +This is free software. You may redistribute copies of it under the terms of +the GNU General Public License . +There is NO WARRANTY, to the extent permitted by law. -22. input.at:286: testing long image name, non-existing file, ticket #125 ... -./input.at:288: fig2dev -Leps <line.eps.Z && \ + cat $srcdir/data/boxwimg.fig | fig2dev -L eps + +./input.at:281: $SED "11 s%line%$abs_srcdir/data/line%" $srcdir/data/boxwimg.fig | \ + fig2dev -L eps + +stderr: +23. input.at:297: testing non-existing file with suffix (.Z), ticket #126 ... +./input.at:299: fig2dev -Leps <line.eps.z && \ - cp $srcdir/data/boxwimg.fig . && fig2dev -L tiff boxwimg.fig b.tif - %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -2248,9 +2343,15 @@ showpage %%Trailer %EOF +24. read.at:22: 22. input.at:286: ok + ok +./input.at:177: gzip -q -c $srcdir/data/line.eps >line.eps.Z && \ + $SED '11 s/eps/eps.Z/' $srcdir/data/boxwimg.fig >boxwimg.fig && \ + fig2dev -L tiff boxwimg.fig b.tif + 21. input.at:277: ok +17. input.at:183: ok stdout: -\polygon(12,12)(1212,12)(1212,987)(12,987) %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -2411,53 +2512,18 @@ showpage %%Trailer %EOF -24. read.at:22: ok -25. read.at:35: testing open rectangle ... -./read.at:37: fig2dev -L pict2e <line.eps.z && \ + cp $srcdir/data/boxwimg.fig . && fig2dev -L tiff boxwimg.fig b.tif 15. input.at:164: ok stdout: -stdout: -stdout: -\unitlength3947sp% 3946.9 sp = (1/1200) in -\begin{picture}(1224,999)%(0,0) -\ifx\allinethickness\undefined - \def\XFigeepicthickness#1{\relax} -\else - \let\XFigeepicthickness\allinethickness -\fi -\linethickness{7\unitlength}\XFigeepicthickness{7\unitlength}%\thinlines -\circlearc[1]{237}{762}{225}{180}{90}\circlearc{987}{762}{225}{90}{0}% -\circlearc{987}{237}{225}{0}{-90}\circlearc{237}{237}{225}{-90}{-180}\closepath\strokepath -\end{picture}% -26. read.at:46: ok + %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -2618,12 +2684,17 @@ showpage %%Trailer %EOF -17. input.at:183: ok + +stdout: +19. input.at:200: ok + + + %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a %%CreationDate: 2025-04-10 20:37:55 -%%BoundingBox: 0 0 42 24 +%%BoundingBox: 0 0 6 4 %%Magnification: 1.0000 %%EndComments %%BeginProlog @@ -2674,8 +2745,8 @@ /pageheader { sa -n 0 24 m 0 0 l 42 0 l 42 24 l cp clip -0.7 23.2 tr +n 0 4 m 0 0 l 6 0 l 6 4 l cp clip +-0.0 3.6 tr 1 -1 sc $F2psBegin 10 setmiterlimit @@ -2697,98 +2768,14 @@ % % pen to black in case this eps object doesn't set color first 0 0 0 setrgbcolor -% Begin Imported EPS File: line.eps -%%BeginDocument: line.eps -% -n gs -75 75 tr -16.451613 -16.153846 sc -0 -13 tr -0 0 tr -sa -n 0 0 m 31 0 l 31 13 l 0 13 l cp clip n -countdictstack -mark -/showpage {} def -/setpagedevice {pop} def -% EPS file follows: -%!PS-Adobe-3.0 EPSF-3.0 -%%Title: line.fig -%%Creator: fig2dev Version 3.2.6a -%%CreationDate: 2017-01-22 20:51:23 -%%BoundingBox: 0 0 31 13 -%%EndComments -%%BeginProlog -/$F2psDict 200 dict def -$F2psDict begin -$F2psDict /mtrx matrix put -/col0 {0.000 0.000 0.000 srgb} bind def -end - -/cp {closepath} bind def -/gr {grestore} bind def -/gs {gsave} bind def -/l {lineto} bind def -/m {moveto} bind def -/n {newpath} bind def -/s {stroke} bind def -/slw {setlinewidth} bind def -/srgb {setrgbcolor} bind def -/sc {scale} bind def -/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def -/$F2psEnd {$F2psEnteredState restore end} def - -/pageheader { -save -newpath 0 13 moveto 0 0 lineto 31 0 lineto 31 13 lineto closepath clip newpath -2.0 11.0 translate -1 -1 scale -$F2psBegin -10 setmiterlimit - 0.06 0.06 sc -} bind def -/pagefooter { -$F2psEnd -restore -} bind def -%%EndProlog -pageheader -% Polyline -30.000 slw -n 0 0 m 450 0 l - 450 150 l gs col0 s gr -pagefooter -showpage -%%Trailer -%EOF - -cleartomark -countdictstack exch sub { end } repeat -rs gr -% -% End Imported PIC File: line.eps -%%EndDocument -% -% Polyline -0 slj -0 slc -7.500 slw -n 0 0 m 675 0 l 675 375 l 0 375 l - cp gs col0 s gr % here ends figure; +% here ends figure; pagefooter showpage %%Trailer %EOF -19. input.at:200: ok - -stdout: -\polygon(12,987)(12,12)(1212,12)(1212,987) -25. read.at:35: ok - - - -27. read.at:57: testing open polygon ... -./read.at:59: fig2dev -L pict2e <* -G04 Creation date: 2025-04-10 20:37:55* -%MOMM*% -%OFA0.000000B0.000000*% -%FSLAX35Y35*% -%SFA1.000000B1.000000% -%IPNEG*% -%LPD*% -G04 The following is an aperture definition of width pi/10. It should never be used.* -%ADD10R,0.314159X0.314159*% -%ADD11R,0.317500X0.317500*% -G54D11* -X0Y1255183D02* -X0Y14816D01* -M02* -stdout: -31. read.at:102: ok stdout: \unitlength3947sp% 3946.9 sp = (1/1200) in -\begin{picture}(1224,999)%(0,0) +\begin{picture}(324,324)%(0,0) \ifx\allinethickness\undefined \def\XFigeepicthickness#1{\relax} \else \let\XFigeepicthickness\allinethickness \fi +{\color{black} \linethickness{7\unitlength}\XFigeepicthickness{7\unitlength}%\thinlines -\polygon(12,987)(12,12)(1212,987) +\multiput(12,312)(120,-0){3}{\line(1,0){60}} +\multiput(312,252)(0,-120){2}{\line(0,-1){60}} +\multiput(312,12)(-120,-0){3}{\line(-1,0){60}} +\multiput(12,72)(0,120){2}{\line(0,1){60}} +}% \end{picture}% -stdout: -\polygon(12,12)(1212,987)(12,987) G04 Gerber RS-274x file* G04 Creator: fig2dev* G04 Version: 3.2.9a* @@ -2985,9 +3003,6 @@ X0Y1270000D01* X1270000Y0* M02* -32. read.at:114: ok -29. read.at:79: ok -28. read.at:68: ok 34. read.at:137: testing fail on a malformed arc-box ... ./read.at:139: fig2dev -L pict2e <* +G04 Creation date: 2025-04-10 20:37:55* +%MOMM*% +%OFA0.000000B0.000000*% +%FSLAX35Y35*% +%SFA1.000000B1.000000% +%IPNEG*% +%LPD*% +G04 The following is an aperture definition of width pi/10. It should never be used.* +%ADD10R,0.314159X0.314159*% +%ADD11R,0.317500X0.317500*% +G54D11* +X0Y1255183D02* +X0Y14816D01* +M02* +35. read.at:148: testing fail on a distorted arc-box ... ./read.at:150: fig2dev -L pict2e < + + + + + + + + + +37. read.at:170: \makebox[2.013in]{\rule{0in}{1.012in}} + ok +stdout: + +sub { +my $top = shift; +my %img; +my $c = $top->Canvas(qw/-width 0.02i -height 0.02i -bg ivory/); +#$c->configure(qw/-xscrollincrement 1p -yscrollincrement 1p/); +$c->configure(-scrollregion => ['-0.01i','-0.01i','0.01i','0.01i']); +# Shift canvas by lower of bounding box +#$c->xview(qw/scroll -1 u/); +#$c->yview(qw/scroll -1 u/); +$c->pack(-expand => 1, -fill => 'both'); + +# Shade and tint colors: &$shade($color, shade), &$tint($color, tint), +# where shade and tint are between 0 and 100, respectively. +my $shade = sub { + my($r, $g, $b, $c, $s); + ($c, $s) = @_; $s /= 100; + ($r, $g, $b) = $top->rgb($c); + return(sprintf('#%.2x%.2x%.2x', $r*$s/256, $g*$s/256, $b*$s/256)); +}; +my $tint = sub { + my($r, $g, $b, $c, $t); + ($c, $t) = @_; $t /= 100; + ($r, $g, $b) = $top->rgb($c); + return(sprintf('#%.2x%.2x%.2x', 255 - (65535-$r)*$t/256, + 255 - (65535-$g)*$t/256, 255 - (65535-$b)*$t/256)); +}; + +# The xfig objects begin here. +$c->createLine(qw/0.000000i 0.000000i 0.000000i 0.000000i/); + +} +42. read.at:230: ok +38. read.at:184: ok +40. read.at:209: ok +44. read.at:251: testing reject arcs with coincident points, ticket #186 ... +./read.at:253: fig2dev -L pict2e < - - - - - - - - - -stdout: -\unitlength3947sp% 3946.9 sp = (1/1200) in -\begin{picture}(24,24)%(0,0) -\ifx\allinethickness\undefined - \def\XFigeepicthickness#1{\relax} -\else - \let\XFigeepicthickness\allinethickness -\fi -\linethickness{7\unitlength}\XFigeepicthickness{7\unitlength}%\thinlines -\Line(8,12)(16,12)% -\end{picture}% stdout: -38. read.at:184: ok - -37. read.at:170: ok -\makebox[2.013in]{\rule{0in}{1.012in}} +56. read.at:421: testing ignore splines with one point in format 2, #129 ... +./read.at:423: fig2dev -L box <Canvas(qw/-width 0.02i -height 0.02i -bg ivory/); -#$c->configure(qw/-xscrollincrement 1p -yscrollincrement 1p/); -$c->configure(-scrollregion => ['-0.01i','-0.01i','0.01i','0.01i']); -# Shift canvas by lower of bounding box -#$c->xview(qw/scroll -1 u/); -#$c->yview(qw/scroll -1 u/); -$c->pack(-expand => 1, -fill => 'both'); - -# Shade and tint colors: &$shade($color, shade), &$tint($color, tint), -# where shade and tint are between 0 and 100, respectively. -my $shade = sub { - my($r, $g, $b, $c, $s); - ($c, $s) = @_; $s /= 100; - ($r, $g, $b) = $top->rgb($c); - return(sprintf('#%.2x%.2x%.2x', $r*$s/256, $g*$s/256, $b*$s/256)); -}; -my $tint = sub { - my($r, $g, $b, $c, $t); - ($c, $t) = @_; $t /= 100; - ($r, $g, $b) = $top->rgb($c); - return(sprintf('#%.2x%.2x%.2x', 255 - (65535-$r)*$t/256, - 255 - (65535-$g)*$t/256, 255 - (65535-$b)*$t/256)); -}; - -# The xfig objects begin here. -$c->createLine(qw/0.000000i 0.000000i 0.000000i 0.000000i/); - -} -40. read.at:209: ok -41. read.at:220: ok -46. read.at:290: testing reject out-of-range pattern, debian bug #881396 ... -./read.at:292: fig2dev -L box < 42, ticket #52 ... +./read.at:485: fig2dev -L box <" | \ + fig2dev -L box +stdout: +\makebox[0.371in]{\rule{0in}{0.150in}} +./read.at:572: printf %s "#FIG 3.2 Landscape Center Inches @@ -12537,193 +12928,31 @@ Single -2 1200 2 -3 1 0 1 0 0 50 0 0 0. 0 0 0 3 -0 0 600 0 0 600 -1.0 1.0 1.0 -EOF - - -60. read.at:469: testing set ppi when reading fig files format 1.3 ... -./read.at:471: fig2dev -L dxf < \\" | \ + fig2dev -L box stdout: stdout: -58. read.at:446: ok - 0 -SECTION - 2 -HEADER - 9 -$INSUNITS - 70 - 1 - 9 -$DIMSCALE - 40 -1.0 - 9 -$DIMLFAC - 40 -1.0 - 0 -ENDSEC -999 - generated by gen_dxf v0.03 - 0 -SECTION - 2 -TABLES - 0 -TABLE - 2 -VPORT - 70 - 0 - 0 -ENDTAB - 0 -TABLE - 2 -LTYPE - 70 - 7 - 0 -LTYPE - 2 -Solid - 70 - 0 - 3 -Solid line - 72 - 65 - 73 - 0 - 40 -0.0 - 0 -LTYPE - 2 -Dashed - 70 - 64 - 3 -__ __ __ __ __ __ __ __ __ __ __ __ __ __ __ - 72 - 65 - 73 - 2 - 40 -0.75 - 49 -0.5 - 49 --0.25 - 0 -LTYPE - 2 -Dotted - 70 - 64 - 3 -. . . . . . . . . . . . . . . . . . . . . . - 72 - 65 - 73 - 2 - 40 -0.25 - 49 -0.0 - 49 --0.25 - 0 -LTYPE - 2 -Dashdot - 70 - 64 - 3 -__ . __ . __ . __ . __ . __ . __ . __ . __ . - 72 - 65 - 73 - 4 - 40 -1.0 - 49 -0.5 - 49 --0.25 - 49 -0.0 - 49 --0.25 - 0 -ENDTAB - 0 -ENDSEC - 0 -SECTION - 2 -BLOCKS - 0 -ENDSEC - 0 -SECTION - 2 -ENTITIES -999 - !! found spline FIX -PA0.0000,0.0000;PD0.0417,0.0417; -PA0.0833,0.0625; -PA0.1250,0.0417; -PA0.1667,0.0000;PU; - 0 -ENDSEC - 0 -EOF -57. read.at:433: ok -60. read.at:469: ok -61. read.at:479: testing process circle arrow at mag > 42, ticket #52 ... -./read.at:485: fig2dev -L box <" | \ - fig2dev -L box -70. read.at:585: testing reject negative font size, ticket #86 ... -./read.at:587: printf "%s\n" "2 4 7 0 4 0 -116 0 4 9 3585 6974 3 2" | fig2dev -L epic +76. output.at:25: ok -stdout: -stdout: -\makebox[0.371in]{\rule{0in}{0.150in}} +stderr: +80. output.at:114: testing honor SOURCE_DATE_EPOCH environment variable ... +./output.at:116: SOURCE_DATE_EPOCH=123456789 fig2dev -L eps $srcdir/data/line.fig | \ + $FGREP 'CreationDate' 71. read.at:592: ok - -69. read.at:578: ok - -\makebox[0.371in]{\rule{0in}{0.150in}} -./read.at:572: printf %s "#FIG 3.2 -Landscape -Center -Inches -Letter -100.00 -Single --2 -1200 2 -4 0 0 50 0 -1 12 0 0 150 405 0 0 Start string -No end-of-line after one backslash --> \\" | \ - fig2dev -L box - -stdout: - -73. read.at:629: testing allow text with leading spaces, ticket #181 ... -./read.at:631: fig2dev -L eps <$' \ + - $builddir/data/patterns.svg + 87. output.at:221: testing arcs ending at multiples of pi/4, #145, #148 ... ./output.at:224: fig2dev -L pict2e <$' \ - - $builddir/data/patterns.svg - -stdout: -79. output.at:70: ok stdout: \unitlength3947sp% 3946.9 sp = (1/1200) in \begin{picture}(90995333,24001467)%(0,0) @@ -13895,31 +13891,47 @@ \polygon(79190732,24024150)(79190486,24024173)(79190692,24024037) }% \end{picture}% +\unitlength3947sp% 3946.9 sp = (1/1200) in +\begin{picture}(479,1613)%(0,0) +\ifx\allinethickness\undefined + \def\XFigeepicthickness#1{\relax} +\else + \let\XFigeepicthickness\allinethickness +\fi +{\color{black} +\circlearc[1]{1989}{375}{1957.4}{190.15}{141.89}\closepath\fillpath +\color{white} +\linethickness{45\unitlength}\XFigeepicthickness{45\unitlength}% +\polyline(58,29)(53,66)(47,103)(42,139)(38,177)(35,215)(33,253)(32,293)(30,332)(31,372) +(32,413)(34,454)(36,495)(40,537)(45,579)(50,622)(56,665)(63,707)(72,749)(80,793) +(90,835)(100,877)(112,919)(124,960)(137,1002)(151,1041)(164,1081)(179,1119)(195,1158) +(211,1195)(227,1232)(245,1267)(263,1302)(280,1336)(290,1354) +}% +\end{picture}% 87. output.at:221: ok +90. output.at:280: ok +88. output.at:246: ok + + + 91. output.at:318: testing compare fills with arrows to template ... ./output.at:320: SOURCE_DATE_EPOCH=1483564881 fig2dev -L svg \ $srcdir/data/fillswclip.fig | \ diff -I '^$' \ - $builddir/data/fillswclip.svg - - - - - - - - - - - - -92. output.at:326: 91. output.at:318: ok -stderr: - ok -90. output.at:280: ok +stdout: +\unitlength394691sp% 3946.9 sp = (1/1200) in +\begin{picture}(6,8)%(0,0) +\ifx\allinethickness\undefined + \def\XFigeepicthickness#1{\relax} +\else + \let\XFigeepicthickness\allinethickness +\fi +\end{picture}% +89. output.at:255: ok +stdout: +%PDF-1.7 +91. output.at:318: ok 93. output.at:337: testing omit arrows without points, ticket #115 ... ./output.at:339: fig2dev -L svg < @@ -13973,12 +13982,34 @@ stroke="#ffffff" stroke-width="8px" stroke-miterlimit="8"/> -82. output.at:131: 93. output.at:337: ok - ok -stdout: -%PDF-1.7 +83. output.at:137: ok +93. output.at:337: ok + stdout: +94. output.at:350: testing conditionally allocate \XFigu ... +pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) +kpathsea version 6.4.0/dev +Copyright 2024 Han The Thanh (pdfTeX) et al. +There is NO warranty. Redistribution of this software is +covered by the terms of both the pdfTeX copyright and +the Lesser GNU General Public License. +For more information about these matters, see the file +named COPYING and the pdfTeX source. +Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. +Compiled with libpng 1.6.47; using libpng 1.6.47 +Compiled with zlib 1.3.1; using zlib 1.3.1 +Compiled with xpdf version 4.04 +92. output.at:326: testing truncated sub/superscript, tickets #113, #117 ... +./output.at:328: fig2dev -L svg < + + + + + + + + + + + 95. output.at:364: testing pattern with stroke color equal to fill color ... -96. output.at:376: testing accept large coordinates ... + ./output.at:371: fig2dev -L tikz -P box.fig | $FGREP '\pgfsetfillpattern{xfigp8}{blue} \pattern' +92. output.at:326: ok -pdfTeX 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) -kpathsea version 6.4.0/dev -Copyright 2024 Han The Thanh (pdfTeX) et al. -There is NO warranty. Redistribution of this software is -covered by the terms of both the pdfTeX copyright and -the Lesser GNU General Public License. -For more information about these matters, see the file -named COPYING and the pdfTeX source. -Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. -Compiled with libpng 1.6.47; using libpng 1.6.47 -Compiled with zlib 1.3.1; using zlib 1.3.1 -Compiled with xpdf version 4.04 - -99. output.at:415: testing tk output: allow arbitrarily long text, #134 ... -./output.at:417: fig2dev -L tk <createText(qw/0.000000i 0.000000i -text/, ' this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters this is a long text string exceeding 2048 characters',, -anchor => 'sw', -font => "-adobe-times-medium-i-normal--12-0-0-0-p-0-iso8859-1"); } -./bitmaps.at:45: fig2dev -L pcx $srcdir/data/line.fig line.pcx && \ - $SED '11 s/eps/pcx/' $srcdir/data/boxwimg.fig | fig2dev -L eps +./bitmaps.at:37: fig2dev -L jpeg $srcdir/data/line.fig line.jpg && \ + $SED '11 s/eps/jpg/' $srcdir/data/boxwimg.fig | fig2dev -L eps +giftopnm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +giftopnm: Built from source dated 2025-03-02 20:18:23 +giftopnm: Built by Debian +giftopnm: BSD defined +giftopnm: RGB_ENV='RGBDEF' +giftopnm: RGBENV= 'RGBDEF' (env vbl is unset) 100. output.at:425: ok + +ppmtopcx: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +ppmtopcx: Built from source dated 2025-03-02 20:18:23 +ppmtopcx: Built by Debian +ppmtopcx: BSD defined +ppmtopcx: RGB_ENV='RGBDEF' +ppmtopcx: RGBENV= 'RGBDEF' (env vbl is unset) +10.05.0 +./bitmaps.at:53: fig2dev -L png $srcdir/data/line.fig line.png && \ + $SED '11 s/eps/png/' $srcdir/data/boxwimg.fig | fig2dev -L eps + +103. bitmaps.at:42: testing pcx ... +10.05.0 ppmtogif: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -ppmtogif: Built from source dated 2025-03-01 18:18:23 +ppmtogif: Built from source dated 2025-03-02 20:18:23 ppmtogif: Built by Debian ppmtogif: BSD defined ppmtogif: RGB_ENV='RGBDEF' ppmtogif: RGBENV= 'RGBDEF' (env vbl is unset) + ./bitmaps.at:29: fig2dev -L gif $srcdir/data/line.fig line.gif && \ $SED '11 s/eps/gif/' $srcdir/data/boxwimg.fig | fig2dev -L eps +./bitmaps.at:45: fig2dev -L pcx $srcdir/data/line.fig line.pcx && \ + $SED '11 s/eps/pcx/' $srcdir/data/boxwimg.fig | fig2dev -L eps - - -./output.at:61: pnmarith -difference a.pgm b.pgm | ppmhist -noheader | tr -d ' \t' 105. bitmaps.at:58: testing png with smoothing ... -104. bitmaps.at:50: testing png ... +106. bitmaps.at:66: testing ppm ... +10.05.0 +10.05.0 +./bitmaps.at:69: fig2dev -L ppm $srcdir/data/line.fig line.ppm && \ + $SED '11 s/eps/ppm/' $srcdir/data/boxwimg.fig | fig2dev -L eps + +./bitmaps.at:61: fig2dev -L png -S 4 $srcdir/data/line.fig line.png && \ + $SED '11 s/eps/png/' $srcdir/data/boxwimg.fig | fig2dev -L eps +107. bitmaps.at:74: testing tiff ... +10.05.0 +97. output.at:396: ok stdout: +tifftopnm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +tifftopnm: Built from source dated 2025-03-02 20:18:23 +tifftopnm: Built by Debian +tifftopnm: BSD defined +tifftopnm: RGB_ENV='RGBDEF' +tifftopnm: RGBENV= 'RGBDEF' (env vbl is unset) %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -14559,33 +14616,32 @@ showpage %%Trailer %EOF -106. bitmaps.at:66: testing ppm ... 102. bitmaps.at:34: ok -10.05.0 -./bitmaps.at:61: fig2dev -L png -S 4 $srcdir/data/line.fig line.png && \ - $SED '11 s/eps/png/' $srcdir/data/boxwimg.fig | fig2dev -L eps - -107. bitmaps.at:74: testing tiff ... -97. output.at:396: ok -10.05.0 -10.05.0 -./bitmaps.at:69: fig2dev -L ppm $srcdir/data/line.fig line.ppm && \ - $SED '11 s/eps/ppm/' $srcdir/data/boxwimg.fig | fig2dev -L eps - -./bitmaps.at:53: fig2dev -L png $srcdir/data/line.fig line.png && \ - $SED '11 s/eps/png/' $srcdir/data/boxwimg.fig | fig2dev -L eps +ppmtopcx: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +ppmtopcx: Built from source dated 2025-03-02 20:18:23 +ppmtopcx: Built by Debian +ppmtopcx: BSD defined +ppmtopcx: RGB_ENV='RGBDEF' +ppmtopcx: RGBENV= 'RGBDEF' (env vbl is unset) +./bitmaps.at:78: fig2dev -L tiff $srcdir/data/line.fig line.tif && \ + $SED '11 s/eps/tif/' $srcdir/data/boxwimg.fig | fig2dev -L eps -10.05.0 -tifftopnm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -tifftopnm: Built from source dated 2025-03-01 18:18:23 -tifftopnm: Built by Debian -tifftopnm: BSD defined -tifftopnm: RGB_ENV='RGBDEF' -tifftopnm: RGBENV= 'RGBDEF' (env vbl is unset) 108. bitmaps.at:83: testing xbm ... +10.05.0 +./output.at:61: pnmarith -difference a.pgm b.pgm | ppmhist -noheader | tr -d ' \t' stdout: +pbmtoxbm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +pbmtoxbm: Built from source dated 2025-03-02 20:18:23 +pbmtoxbm: Built by Debian +pbmtoxbm: BSD defined +pbmtoxbm: RGB_ENV='RGBDEF' +pbmtoxbm: RGBENV= 'RGBDEF' (env vbl is unset) +./bitmaps.at:87: fig2dev -L xbm $srcdir/data/line.fig line.xbm && \ + $SED '11 s/eps/xbm/' $srcdir/data/boxwimg.fig | fig2dev -L eps + +109. bitmaps.at:92: testing xbm with smoothing ... %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -14699,24 +14755,8 @@ showpage %%Trailer %EOF -103. bitmaps.at:42: ok -10.05.0 -ppmtopcx: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -ppmtopcx: Built from source dated 2025-03-01 18:18:23 -ppmtopcx: Built by Debian -ppmtopcx: BSD defined -ppmtopcx: RGB_ENV='RGBDEF' -ppmtopcx: RGBENV= 'RGBDEF' (env vbl is unset) -pbmtoxbm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -pbmtoxbm: Built from source dated 2025-03-01 18:18:23 -pbmtoxbm: Built by Debian -pbmtoxbm: BSD defined -pbmtoxbm: RGB_ENV='RGBDEF' -pbmtoxbm: RGBENV= 'RGBDEF' (env vbl is unset) -./bitmaps.at:87: fig2dev -L xbm $srcdir/data/line.fig line.xbm && \ - $SED '11 s/eps/xbm/' $srcdir/data/boxwimg.fig | fig2dev -L eps - -109. bitmaps.at:92: testing xbm with smoothing ... +103. bitmaps.at:42: stdout: + ok stdout: %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin @@ -14805,8 +14845,8 @@ % PNG image follows: 35 15 sc /Data currentfile /ASCII85Decode filter def -[ /Indexed /DeviceRGB 3 - <000000 ffffff eeeeee bbbbbb> +[ /Indexed /DeviceRGB 1 + <000000 ffffff> ] setcolorspace << /ImageType 1 /Width 35 /Height 15 @@ -14814,7 +14854,7 @@ /DataSource Data /FlateDecode filter /BitsPerComponent 8 /Decode [0 255] >> xfig_image -GQFq__#]&d%"p +GQFq_0`_8.&-F*$^ZeA3%tuVEQ(]riTE,L85Q_qOJ-Ij'59=;'!L!~> rs gr % % End Imported PIC File: line.png @@ -14829,96 +14869,7 @@ showpage %%Trailer %EOF -./bitmaps.at:78: fig2dev -L tiff $srcdir/data/line.fig line.tif && \ - $SED '11 s/eps/tif/' $srcdir/data/boxwimg.fig | fig2dev -L eps - -105. bitmaps.at:58: ok -10.05.0 -stdout: -This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=latex) - restricted \write18 enabled. -entering extended mode -(./big1.tex -LaTeX2e <2024-11-01> patch level 2 -L3 programming layer <2025-01-18> -(/usr/share/texlive/texmf-dist/tex/latex/base/minimal.cls -Document Class: minimal 2001/05/25 Standard LaTeX minimal class -) (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty -(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) -(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty -(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty))) -(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.sty -(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.cfg) -(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def) -(/usr/share/texlive/texmf-dist/tex/latex/pict2e/p2e-dvips.def) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty -(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty -(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) -(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) -No file big1.aux. -*geometry* driver: auto-detecting -*geometry* detected driver: dvips - -Overfull \hbox (0.26712pt too wide) in paragraph at lines 12--13 -[][] - -Overfull \vbox (0.26712pt too high) has occurred while \output is active -[1] (./big1.aux) ) -(see the transcript file for additional information) -Output written on big1.dvi (1 page, 536 bytes). -Transcript written on big1.log. -This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=latex) - restricted \write18 enabled. -entering extended mode -(./big2.tex -LaTeX2e <2024-11-01> patch level 2 -L3 programming layer <2025-01-18> -(/usr/share/texlive/texmf-dist/tex/latex/base/minimal.cls -Document Class: minimal 2001/05/25 Standard LaTeX minimal class -) (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty -(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) -(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty -(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty))) -(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.sty -(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.cfg) -(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def) -(/usr/share/texlive/texmf-dist/tex/latex/pict2e/p2e-dvips.def) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty -(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty -(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) -(/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) -(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) -No file big2.aux. -*geometry* driver: auto-detecting -*geometry* detected driver: dvips - -Overfull \hbox (0.26712pt too wide) in paragraph at lines 12--13 -[][] - -Overfull \vbox (0.26712pt too high) has occurred while \output is active -[1] (./big2.aux) ) -(see the transcript file for additional information) -Output written on big2.dvi (1 page, 536 bytes). -Transcript written on big2.log. -pbmtoxbm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -pbmtoxbm: Built from source dated 2025-03-01 18:18:23 -pbmtoxbm: Built by Debian -pbmtoxbm: BSD defined -pbmtoxbm: RGB_ENV='RGBDEF' -pbmtoxbm: RGBENV= 'RGBDEF' (env vbl is unset) -stdout: -85. output.at:195: ok - -./bitmaps.at:96: fig2dev -L xbm -S 4 $srcdir/data/line.fig line.xbm && \ - $SED '11 s/eps/xbm/' $srcdir/data/boxwimg.fig | fig2dev -L eps - +104. bitmaps.at:50: ok %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -14997,13 +14948,17 @@ % % pen to black in case this eps object doesn't set color first 0 0 0 setrgbcolor +% Originally from a PPM File: line.ppm + +% Begin Imported PCX File: line.ppm + n gs 75 75 tr 14.571429 -14.000000 sc 0 -15 tr 0 0 tr sa -% PNG image follows: +% PCX image follows: 35 15 sc /Data currentfile /ASCII85Decode filter def [ /Indexed /DeviceRGB 1 @@ -15018,7 +14973,7 @@ GQFq_0`_8.&-F*$^ZeA3%tuVEQ(]riTE,L85Q_qOJ-Ij'59=;'!L!~> rs gr % -% End Imported PIC File: line.png +% End Imported PIC File: line.ppm % % Polyline 0 slj @@ -15030,11 +14985,8 @@ showpage %%Trailer %EOF -104. bitmaps.at:50: ok - -stdout: +106. bitmaps.at:66: ok stdout: -110. bitmaps.at:101: testing xpm ... %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -15113,21 +15065,17 @@ % % pen to black in case this eps object doesn't set color first 0 0 0 setrgbcolor -% Originally from a PPM File: line.ppm - -% Begin Imported PCX File: line.ppm - n gs 75 75 tr 14.571429 -14.000000 sc 0 -15 tr 0 0 tr sa -% PCX image follows: +% PNG image follows: 35 15 sc /Data currentfile /ASCII85Decode filter def -[ /Indexed /DeviceRGB 1 - <000000 ffffff> +[ /Indexed /DeviceRGB 3 + <000000 ffffff eeeeee bbbbbb> ] setcolorspace << /ImageType 1 /Width 35 /Height 15 @@ -15135,10 +15083,10 @@ /DataSource Data /FlateDecode filter /BitsPerComponent 8 /Decode [0 255] >> xfig_image -GQFq_0`_8.&-F*$^ZeA3%tuVEQ(]riTE,L85Q_qOJ-Ij'59=;'!L!~> +GQFq__#]&d%"p rs gr % -% End Imported PIC File: line.ppm +% End Imported PIC File: line.png % % Polyline 0 slj @@ -15150,7 +15098,41 @@ showpage %%Trailer %EOF -106. bitmaps.at:66: ok +105. bitmaps.at:58: ok + +10.05.0 +110. bitmaps.at:101: testing xpm ... +pbmtoxbm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +pbmtoxbm: Built from source dated 2025-03-02 20:18:23 +pbmtoxbm: Built by Debian +pbmtoxbm: BSD defined +pbmtoxbm: RGB_ENV='RGBDEF' +pbmtoxbm: RGBENV= 'RGBDEF' (env vbl is unset) + +./bitmaps.at:96: fig2dev -L xbm -S 4 $srcdir/data/line.fig line.xbm && \ + $SED '11 s/eps/xbm/' $srcdir/data/boxwimg.fig | fig2dev -L eps + + +10.05.0 +111. bitmaps.at:114: testing eps with acscii preview ... +pbmtoxbm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +pbmtoxbm: Built from source dated 2025-03-02 20:18:23 +pbmtoxbm: Built by Debian +pbmtoxbm: BSD defined +pbmtoxbm: RGB_ENV='RGBDEF' +pbmtoxbm: RGBENV= 'RGBDEF' (env vbl is unset) +./bitmaps.at:105: fig2dev -L xpm $srcdir/data/line.fig line.xpm && \ + $SED '11 s/eps/xpm/' $srcdir/data/boxwimg.fig | fig2dev -L eps + + +10.05.0 +113. bitmaps.at:129: testing eps with tiff preview, use "-" for stdin ... +./bitmaps.at:117: fig2dev -L eps -A $srcdir/data/line.fig | \ + $FGREP %%BeginPreview + +112. bitmaps.at:122: testing eps with tiff preview ... +10.05.0 +stdout: %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -15229,9 +15211,7 @@ % % pen to black in case this eps object doesn't set color first 0 0 0 setrgbcolor -% Originally from a GIF File: line.gif - -% Begin Imported PCX File: line.gif +% Begin Imported X11 Bitmap File: line.xbm n gs 75 75 tr @@ -15239,22 +15219,33 @@ 0 -15 tr 0 0 tr sa -% PCX image follows: +col0 + % Bitmap image follows: 35 15 sc -/Data currentfile /ASCII85Decode filter def -[ /Indexed /DeviceRGB 1 - <000000 ffffff> -] setcolorspace - << /ImageType 1 - /Width 35 /Height 15 - /ImageMatrix [ 35 0 0 -15 0 15 ] - /DataSource Data /FlateDecode filter - /BitsPerComponent 8 /Decode [0 255] - >> xfig_image -GQFq_0`_8.&-F*$^ZeA3%tuVEQ(]riTE,L85Q_qOJ-Ij'59=;'!L!~> +/pix 5 string def +35 15 false +[35 0 0 -15 0 15] +{currentfile pix readhexstring pop} +imagemask +ffffffffff +c00000003f +c00000003f +c00000003f +fffffffe3f +fffffffe3f +fffffffe3f +fffffffe3f + +fffffffe3f +fffffffe3f +fffffffe3f +fffffffe3f +fffffffe3f +ffffffffff +ffffffffff rs gr % -% End Imported PIC File: line.gif +% End Imported PIC File: line.xbm % % Polyline 0 slj @@ -15266,34 +15257,10 @@ showpage %%Trailer %EOF - -101. bitmaps.at:25: ok - -10.05.0 - -111. bitmaps.at:114: testing eps with acscii preview ... -112. bitmaps.at:122: testing eps with tiff preview ... -pbmtoxbm: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -pbmtoxbm: Built from source dated 2025-03-01 18:18:23 -pbmtoxbm: Built by Debian -pbmtoxbm: BSD defined -pbmtoxbm: RGB_ENV='RGBDEF' -pbmtoxbm: RGBENV= 'RGBDEF' (env vbl is unset) -10.05.0 -./bitmaps.at:105: fig2dev -L xpm $srcdir/data/line.fig line.xpm && \ - $SED '11 s/eps/xpm/' $srcdir/data/boxwimg.fig | fig2dev -L eps - -./bitmaps.at:117: fig2dev -L eps -A $srcdir/data/line.fig | \ - $FGREP %%BeginPreview - -113. bitmaps.at:129: testing eps with tiff preview, use "-" for stdin ... -10.05.0 -114. bitmaps.at:136: testing create ppm, use "-" for stdin ... -./bitmaps.at:125: fig2dev -L eps -T $srcdir/data/line.fig line-tiff.eps - stdout: -10.05.0 +./bitmaps.at:125: fig2dev -L eps -T $srcdir/data/line.fig line-tiff.eps +108. bitmaps.at:83: ok %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -15372,7 +15339,9 @@ % % pen to black in case this eps object doesn't set color first 0 0 0 setrgbcolor -% Begin Imported X11 Bitmap File: line.xbm +% Originally from a TIFF File: line.tif + +% Begin Imported PCX File: line.tif n gs 75 75 tr @@ -15380,33 +15349,22 @@ 0 -15 tr 0 0 tr sa -col0 - % Bitmap image follows: +% PCX image follows: 35 15 sc -/pix 5 string def -35 15 false -[35 0 0 -15 0 15] -{currentfile pix readhexstring pop} -imagemask -ffffffffff -c00000003f -c00000003f -c00000003f -fffffffe3f -fffffffe3f -fffffffe3f -fffffffe3f - -fffffffe3f -fffffffe3f -fffffffe3f -fffffffe3f -fffffffe3f -ffffffffff -ffffffffff +/Data currentfile /ASCII85Decode filter def +[ /Indexed /DeviceRGB 1 + <000000 ffffff> +] setcolorspace + << /ImageType 1 + /Width 35 /Height 15 + /ImageMatrix [ 35 0 0 -15 0 15 ] + /DataSource Data /FlateDecode filter + /BitsPerComponent 8 /Decode [0 255] + >> xfig_image +GQFq_0`_8.&-F*$^ZeA3%tuVEQ(]riTE,L85Q_qOJ-Ij'59=;'!L!~> rs gr % -% End Imported PIC File: line.xbm +% End Imported PIC File: line.tif % % Polyline 0 slj @@ -15418,16 +15376,82 @@ showpage %%Trailer %EOF -108. bitmaps.at:83: ok -./bitmaps.at:132: fig2dev -Leps -T - out.eps <$srcdir/data/line.fig +107. bitmaps.at:74: ok +stdout: +This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=latex) + restricted \write18 enabled. +entering extended mode +(./big1.tex +LaTeX2e <2024-11-01> patch level 2 +L3 programming layer <2025-01-18> +(/usr/share/texlive/texmf-dist/tex/latex/base/minimal.cls +Document Class: minimal 2001/05/25 Standard LaTeX minimal class +) (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) +(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty +(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty))) +(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.sty +(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.cfg) +(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def) +(/usr/share/texlive/texmf-dist/tex/latex/pict2e/p2e-dvips.def) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) +(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) +No file big1.aux. +*geometry* driver: auto-detecting +*geometry* detected driver: dvips -10.05.0 -./bitmaps.at:139: fig2dev -Lppm - out.ppm <$srcdir/data/line.fig +Overfull \hbox (0.26712pt too wide) in paragraph at lines 12--13 +[][] -94. output.at:350: 115. bitmaps.at:145: testing epsi ... - ok +Overfull \vbox (0.26712pt too high) has occurred while \output is active +[1] (./big1.aux) ) +(see the transcript file for additional information) +Output written on big1.dvi (1 page, 536 bytes). +Transcript written on big1.log. +This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2025/dev/Debian) (preloaded format=latex) + restricted \write18 enabled. +entering extended mode +(./big2.tex +LaTeX2e <2024-11-01> patch level 2 +L3 programming layer <2025-01-18> +(/usr/share/texlive/texmf-dist/tex/latex/base/minimal.cls +Document Class: minimal 2001/05/25 Standard LaTeX minimal class +) (/usr/share/texlive/texmf-dist/tex/latex/geometry/geometry.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) +(/usr/share/texlive/texmf-dist/tex/generic/iftex/ifvtex.sty +(/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.sty))) +(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.sty +(/usr/share/texlive/texmf-dist/tex/latex/pict2e/pict2e.cfg) +(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def) +(/usr/share/texlive/texmf-dist/tex/latex/pict2e/p2e-dvips.def) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty)) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty +(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def) +(/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx)) +(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) +No file big2.aux. +*geometry* driver: auto-detecting +*geometry* detected driver: dvips + +Overfull \hbox (0.26712pt too wide) in paragraph at lines 12--13 +[][] + +Overfull \vbox (0.26712pt too high) has occurred while \output is active +[1] (./big2.aux) ) +(see the transcript file for additional information) +Output written on big2.dvi (1 page, 536 bytes). +Transcript written on big2.log. +85. output.at:195: ok stdout: -10.05.0 %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -15506,9 +15530,9 @@ % % pen to black in case this eps object doesn't set color first 0 0 0 setrgbcolor -% Originally from a TIFF File: line.tif +% Originally from a GIF File: line.gif -% Begin Imported PCX File: line.tif +% Begin Imported PCX File: line.gif n gs 75 75 tr @@ -15531,7 +15555,7 @@ GQFq_0`_8.&-F*$^ZeA3%tuVEQ(]riTE,L85Q_qOJ-Ij'59=;'!L!~> rs gr % -% End Imported PIC File: line.tif +% End Imported PIC File: line.gif % % Polyline 0 slj @@ -15543,16 +15567,25 @@ showpage %%Trailer %EOF -ppmhist: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -ppmhist: Built from source dated 2025-03-01 18:18:23 -ppmhist: Built by Debian -ppmhist: BSD defined -ppmhist: RGB_ENV='RGBDEF' -ppmhist: RGBENV= 'RGBDEF' (env vbl is unset) +101. bitmaps.at:25: ok -107. bitmaps.at:74: ok +10.05.0 +./bitmaps.at:132: fig2dev -Leps -T - out.eps <$srcdir/data/line.fig + + + +114. bitmaps.at:136: testing create ppm, use "-" for stdin ... stdout: +stdout: +10.05.0 +116. bitmaps.at:157: testing postscript, created by fig2dev ... +%%BeginPreview: 31 13 1 13 +./bitmaps.at:139: fig2dev -Lppm - out.ppm <$srcdir/data/line.fig +111. bitmaps.at:114: +94. output.at:350: ok + ok +stdout: %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -15648,19 +15681,19 @@ {currentfile pix readhexstring pop} imagemask ffffffffff -fbffddfbff +ffffbfffff c00000007f c00000003f fffffffe7f fffffffe7f -fffffffe7f fffffffe3f - fffffffe7f + fffffffe7f fffffffe7f fffffffe3f fffffffe7f +fffffffe7f ffffffffff ffffffffff rs gr @@ -15678,43 +15711,37 @@ %%Trailer %EOF 109. bitmaps.at:92: ok -stdout: -116. bitmaps.at:157: testing postscript, created by fig2dev ... +112. bitmaps.at:122: ok +115. bitmaps.at:145: testing epsi ... +10.05.0 117. bitmaps.at:204: testing postscript, created by latex ... -%%BeginPreview: 31 13 1 13 10.05.0 -111. bitmaps.at:114: ok - ppmhist: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -ppmhist: Built from source dated 2025-03-01 18:18:23 +ppmhist: Built from source dated 2025-03-02 20:18:23 ppmhist: Built by Debian ppmhist: BSD defined ppmhist: RGB_ENV='RGBDEF' ppmhist: RGBENV= 'RGBDEF' (env vbl is unset) -stdout: +ppmhist: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 +ppmhist: Built from source dated 2025-03-02 20:18:23 +ppmhist: Built by Debian +ppmhist: BSD defined +ppmhist: RGB_ENV='RGBDEF' +ppmhist: RGBENV= 'RGBDEF' (env vbl is unset) + + 10.05.0 -112. bitmaps.at:122: ok ppmhist: Using libnetpbm from Netpbm Version: Netpbm 11.9.3 -ppmhist: Built from source dated 2025-03-01 18:18:23 +ppmhist: Built from source dated 2025-03-02 20:18:23 ppmhist: Built by Debian ppmhist: BSD defined ppmhist: RGB_ENV='RGBDEF' ppmhist: RGBENV= 'RGBDEF' (env vbl is unset) -114. bitmaps.at:136: - ok -118. bitmaps.at:253: testing find /MediaBox in pdf file ... -./bitmaps.at:255: "$abs_builddir"/test2 "$srcdir/data/cross.pdf" -stdout: -% Begin Imported PDF File, converted to EPS: ../.././data/cross.pdf -%%BeginDocument: ../.././data/cross.pdf -% -read_pdf found: width = 73, height = 73 -118. bitmaps.at:253: ok stderr: -119. bitmaps.at:258: testing pdf ... stdout: -113. bitmaps.at:129: ok -./bitmaps.at:154: test $blackpixels -gt 218 && test $blackpixels -lt 264 +119. bitmaps.at:258: testing pdf ... +118. bitmaps.at:253: testing find /MediaBox in pdf file ... +./bitmaps.at:255: "$abs_builddir"/test2 "$srcdir/data/cross.pdf" %!PS-Adobe-3.0 EPSF-3.0 %%Title: stdin %%Creator: fig2dev Version 3.2.9a @@ -15830,10 +15857,8 @@ showpage %%Trailer %EOF -115. bitmaps.at:145: ok -10.05.0 -110. bitmaps.at:101: ok -./bitmaps.at:201: test $blackpixels -gt 1197 && test $blackpixels -lt 1243 +110. bitmaps.at:101: 10.05.0 + ok ./bitmaps.at:261: fig2dev -L pdf <