Bug#1000839: gutenprint: reproducible builds: Embedded build path, username, timestamps, etc.
Source: gutenprint Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps username uname kernel X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org Various information about the build environment is captured in the config.summary and gutenprint.tag files: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/gutenprint.html /usr/share/doc/libgutenprint-doc/reference/gutenprint.tag.gz /build/1st/gutenprint-5.3.3/include/gutenprint/ vs. /build/2/gutenprint-5.3.3/2nd/include/gutenprint/ and /usr/lib/x86_64-linux-gnu/gutenprint/5.3/config.summary Generated·at·Fri·Nov·12·00:38:07·-12·2021·by·pbuilder1 vs. Generated·at·Fri·Dec·16·09:37:41·+14·2022·by·pbuilder2 and uname·-a·output: Linux·ionos1-amd64·5.10.0-9-amd64·#1·SMP·Debian·5.10.70-1·(2021-09-30)·x86_64·GNU/Linux vs. uname·-a·output: Linux·i-capture-the-hostname·5.14.0-0.bpo.2-amd64·#1·SMP·Debian·5.14.9-2~bpo11+1·(2021-10-10)·x86_64·GNU/Linux The attached two patches fix this by sanitizing the the files from debian/rules in the dh_installdocs override and dh_install-arch override targets. With these patches applied, gutenprint should build reproducibly on tests.reproducible-builds.org. On a somewhat unrelated note, I also noticed needing to override dh_listmissing to only warn rather than fail on missing various documentation files. I'm not sure if this was due to something in my specific environment, or a general issue for the package, but figured it was worth a heads up. Thanks for maintaining gutenprint! live well, vagrant From 07e666d4cc4e93395852902610da198ee543852e Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 30 Nov 2021 02:27:28 + Subject: [PATCH 1/2] debian/rules: Remove build paths from gutenprint.tag file. https://reproducible-builds.org/docs/build-path/ --- debian/rules | 4 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index d50deaf..c33e323 100755 --- a/debian/rules +++ b/debian/rules @@ -40,6 +40,10 @@ override_dh_installdocs: dh_installdocs -pescputil --link-doc=libgutenprint9 dh_installdocs -plibgutenprintui2-dev --link-doc=libgutenprintui2-2 dh_installdocs --remaining-packages + # Remove build directory from gutenprint.tag file to make + # build reproducible. + sed -i -e 's,$(CURDIR),BUILDPATH,g' \ + debian/libgutenprint-doc/usr/share/doc/libgutenprint-doc/reference/gutenprint.tag override_dh_install-arch: ifeq ($(DEB_BUILD_ARCH_OS),linux) -- 2.30.2 From 523247408d47590253c46f2119dc09104e972a10 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Tue, 30 Nov 2021 02:31:37 + Subject: [PATCH 2/2] debian/rules: Remove build path, timestamp, username and uname output from config.summary file. https://reproducible-builds.org/docs/build-path/ https://reproducible-builds.org/docs/timestamps/ https://tests.reproducible-builds.org/debian/issues/user_hostname_manually_added_requiring_further_investigation_issue.html https://tests.reproducible-builds.org/debian/issues/captures_kernel_version_issue.html --- debian/rules | 6 ++ 1 file changed, 6 insertions(+) diff --git a/debian/rules b/debian/rules index c33e323..06de18a 100755 --- a/debian/rules +++ b/debian/rules @@ -46,6 +46,12 @@ override_dh_installdocs: debian/libgutenprint-doc/usr/share/doc/libgutenprint-doc/reference/gutenprint.tag override_dh_install-arch: + # Remove build path, timestamp, username, and uname output to + # make build reproducible. + sed -i -e 's,$(CURDIR),BUILDPATH,g' \ + -e 's,Generated at.*,Generated at REDACTED,g' \ + -e 's,uname -a output:.*,uname -a output: REDACTED,g' \ + $(shell find debian/tmp/ -name config.summary) ifeq ($(DEB_BUILD_ARCH_OS),linux) dh_install -pprinter-driver-gutenprint usr/share/cups/usb endif -- 2.30.2 signature.asc Description: PGP signature
ghostscript_9.55.0~dfsg-2_source.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Mon, 29 Nov 2021 11:07:05 +0100 Source: ghostscript Architecture: source Version: 9.55.0~dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian Printing Team Changed-By: Jonas Smedegaard Closes: 1000710 Changes: ghostscript (9.55.0~dfsg-2) unstable; urgency=medium . * add patch cherry-picked upstream to fix gx_default_copy_alpha calling get_bits_rectangle; closes: bug#1000710, thanks to Hilmar Preuße Checksums-Sha1: 0cd847a4f212844ce5a7157835525b900d18fe12 2692 ghostscript_9.55.0~dfsg-2.dsc 48b73d35adf4de9012ca1d037fcc4d4d9a5efea2 116352 ghostscript_9.55.0~dfsg-2.debian.tar.xz ab8819865f36d69068cbe6380aada01795c1 12231 ghostscript_9.55.0~dfsg-2_amd64.buildinfo Checksums-Sha256: 9be693ad94dd5c6adab5fbbdcf0c5b6945334d739d3d2dab23d570235847ce5e 2692 ghostscript_9.55.0~dfsg-2.dsc d3dcfd0a24d083ba43a30b547622442450a14e97298a5c3dbafb3f8b8cffb3e7 116352 ghostscript_9.55.0~dfsg-2.debian.tar.xz 4de2c91c4c7b97ade47fbdffe1b6961ef394e0cfcb4d5cae98783429c950d8c7 12231 ghostscript_9.55.0~dfsg-2_amd64.buildinfo Files: 8d8b579e18d66af8c2808def2779574e 2692 text optional ghostscript_9.55.0~dfsg-2.dsc 34e0bd747150c50a8deec32fa6034570 116352 text optional ghostscript_9.55.0~dfsg-2.debian.tar.xz fa46c89a8c31afd7dfb53b83d14be1a9 12231 text optional ghostscript_9.55.0~dfsg-2_amd64.buildinfo -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmGkpuMACgkQLHwxRsGg ASHRmw/+Na4iWhitEt3EBu0wdfHLuDatXhZvk+q+m5jjeDsYw3JAE4dJmqK+x9LG siq7JrFv+peGhsI2heHCPMPrK7AHidLffiS3Zagh8Kw/9hcRmoEjxRnGrPObTrEH 2Xq4Y0kV2I4xK3yB4nMGuFCTgJwt+hOG27CddG/7fUffxeBY+ydnWZ3tYSSTzN/K U/q3DvMsCbva6d1aQv3TH/T7DfovY7XIlot8J5p2SRC3IcrJFLBdmxfW+zEJsBbg 67GwHiRpxvP3qIvptsnpemd0vJCQyi6t31xJZcc0ZeOEAINR4rvmvwU5U8A3YWFk UKa9NtAUV9E2ALD5so0/jsJKRwAA7a6nNvUUp6yQGjiSfaFDOz5ofm/WGAonOcjL Ei4wQ4z7R88IPzYbrKPR3rlbgLMX0BfidNEibTpk+364RGqARUH4y+5s7Dfmc3tZ 2auAAd5tWkkY/A2QUIjO4fWEE6bGh8Ocs3uO1gWRN93rhrnqvm/04zlY9RmYgB8I L0Gy6gqwAbG8GICF408c63Ic87RyLnLavnAbP0y/1BvMXCWUfU/eoMk8PWjtdNxR PFCkpVhtsdk5q4lLAkyObTDlkJMK2pHkBdyCegete+/eLWq7KKPNzEYWWklKQy36 k8TJeag7gg5eJpzt5PZfLO7dYn1HoEf0TBcglFkoCTxQ2hNowic= =OWIa -END PGP SIGNATURE- Thank you for your contribution to Debian.
Processing of ghostscript_9.55.0~dfsg-2_source.changes
ghostscript_9.55.0~dfsg-2_source.changes uploaded successfully to localhost along with the files: ghostscript_9.55.0~dfsg-2.dsc ghostscript_9.55.0~dfsg-2.debian.tar.xz ghostscript_9.55.0~dfsg-2_amd64.buildinfo Greetings, Your Debian queue daemon (running on host usper.debian.org)
Bug#1000781: marked as done (ghostscript breaks asymptote autopkgtest: build fails: GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1)
Your message dated Mon, 29 Nov 2021 10:18:35 + with message-id and subject line Bug#1000710: fixed in ghostscript 9.55.0~dfsg-2 has caused the Debian Bug report #1000710, regarding ghostscript breaks asymptote autopkgtest: build fails: GPL Ghostscript 9.55.0: Unrecoverable error, exit code 1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1000710: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000710 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Source: ghostscript, asymptote Control: found -1 ghostscript/9.55.0~dfsg-1 Control: found -1 asymptote/2.70+ds-2 Severity: serious Tags: sid bookworm X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: breaks needs-update Dear maintainer(s), With a recent upload of ghostscript the autopkgtest of asymptote fails in testing when that autopkgtest is run with the binary packages of ghostscript from unstable. It passes when run with only packages from testing. In tabular form: passfail ghostscriptfrom testing9.55.0~dfsg-1 asymptote from testing2.70+ds-2 all others from testingfrom testing I copied some of the output at the bottom of this report. Currently this regression is blocking the migration of ghostscript to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package? More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=ghostscript https://ci.debian.net/data/autopkgtest/testing/amd64/a/asymptote/17088116/log.gz cd png && make all make[4]: Entering directory '/tmp/autopkgtest-lxc.9yct2tpe/downtmp/build.gii/src/doc/png' cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ axis3.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ bezier2.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ bezier.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ beziercurve.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ bigdiagonal.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ binarytreetest.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ Bode.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ brokenaxis.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ CAD1.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ CDlabel.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ colons.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ colors.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ cube.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ cylinderskeleton.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ datagraph.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ diagonal.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ diatom.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ dots.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ eetomumu.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ elliptic.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ errorbars.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ exp.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ filegraph.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ flow.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ flowchartdemo.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ GaussianSurface.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ generalaxis3.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ generalaxis.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ graphmarkers.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ grid3xyz.asy cd .. && ../asy -dir ../base -config "" -render=0 -f png -o png/ hatch.asy Error: /rangecheck in --stroke-- Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval--
Bug#1000710: marked as done (ghostscript: Fails to convert EPS file using -sDEVICE=pngalpha)
Your message dated Mon, 29 Nov 2021 10:18:35 + with message-id and subject line Bug#1000710: fixed in ghostscript 9.55.0~dfsg-2 has caused the Debian Bug report #1000710, regarding ghostscript: Fails to convert EPS file using -sDEVICE=pngalpha to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 1000710: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000710 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: ghostscript Version: 9.55.0~dfsg-1 Severity: important Dear Maintainer, Since gs 9.54 the conversion of some eps files does not work for at least one output devices. This came to my attention b/c the test suite of asymptote fails to run for at least one file. The sample test file is attached. Here are two command lines, the first fails, the second not. Hence I'd assume it to be valid EPS code. gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -sOutputFile=a.png hatch_.eps gs -dBATCH -dNOPAUSE -sDEVICE=png16 -sOutputFile=a.png hatch_.eps Not sure, why pngalpha is affected; I tested a view variants of png, they seem to work fine. Hilmar -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 5.15.0-1-686-pae (SMP w/2 CPU threads) Kernel taint flags: TAINT_SOFTLOCKUP Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ghostscript depends on: ii libc6 2.32-4 ii libgs9 9.55.0~dfsg-1 ghostscript recommends no packages. Versions of packages ghostscript suggests: ii ghostscript-x 9.55.0~dfsg-1 -- no debconf information -- sigmentation fault hatch_.eps Description: PostScript document signature.asc Description: PGP signature --- End Message --- --- Begin Message --- Source: ghostscript Source-Version: 9.55.0~dfsg-2 Done: Jonas Smedegaard We believe that the bug you reported is fixed in the latest version of ghostscript, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1000...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jonas Smedegaard (supplier of updated ghostscript package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Mon, 29 Nov 2021 11:07:05 +0100 Source: ghostscript Architecture: source Version: 9.55.0~dfsg-2 Distribution: unstable Urgency: medium Maintainer: Debian Printing Team Changed-By: Jonas Smedegaard Closes: 1000710 Changes: ghostscript (9.55.0~dfsg-2) unstable; urgency=medium . * add patch cherry-picked upstream to fix gx_default_copy_alpha calling get_bits_rectangle; closes: bug#1000710, thanks to Hilmar Preuße Checksums-Sha1: 0cd847a4f212844ce5a7157835525b900d18fe12 2692 ghostscript_9.55.0~dfsg-2.dsc 48b73d35adf4de9012ca1d037fcc4d4d9a5efea2 116352 ghostscript_9.55.0~dfsg-2.debian.tar.xz ab8819865f36d69068cbe6380aada01795c1 12231 ghostscript_9.55.0~dfsg-2_amd64.buildinfo Checksums-Sha256: 9be693ad94dd5c6adab5fbbdcf0c5b6945334d739d3d2dab23d570235847ce5e 2692 ghostscript_9.55.0~dfsg-2.dsc d3dcfd0a24d083ba43a30b547622442450a14e97298a5c3dbafb3f8b8cffb3e7 116352 ghostscript_9.55.0~dfsg-2.debian.tar.xz 4de2c91c4c7b97ade47fbdffe1b6961ef394e0cfcb4d5cae98783429c950d8c7 12231 ghostscript_9.55.0~dfsg-2_amd64.buildinfo Files: 8d8b579e18d66af8c2808def2779574e 2692 text optional ghostscript_9.55.0~dfsg-2.dsc 34e0bd747150c50a8deec32fa6034570 116352 text optional ghostscript_9.55.0~dfsg-2.debian.tar.xz fa46c89a8c31afd7dfb53b83d14be1a9 12231 text optional ghostscript_9.55.0~dfsg-2_amd64.buildinfo -BEGIN PGP SIGNATURE- iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmGkpuMACgkQLHwxRsGg ASHRmw/+Na4iWhitEt3EBu0wdfHLuDatXhZvk+q+m5jjeDsYw3JAE4dJmqK+x9LG siq7JrFv+peGhsI2heHCPMPrK7AHidLffiS3Zagh8Kw/9hcRmoEjxRnGrPObTrEH 2Xq4Y0kV2I4xK3yB4nMGuFCTgJwt+hOG27CddG/7fUffxeBY+ydnWZ3tYSSTzN/K U/q3DvMsCbva6d1aQv3TH/T7DfovY7XIlot8J5p2SRC3IcrJFLBdmxfW+zEJsBbg 67GwHiRpxvP3qIvptsnpemd0vJCQyi6t31xJZcc0ZeOEAINR4rvmvwU5U8A3YWFk UKa9NtAUV9E2ALD5so0/jsJKRwAA7a6nNvUUp6yQGjiSfaFDOz5ofm/WGAo
Bug#1000710: ghostscript: Fails to convert EPS file using -sDEVICE=pngalpha
Quoting Hilmar Preuße (2021-11-29 10:48:30) > Am 27.11.2021 um 16:25 teilte Hilmar Preusse mit: > > Hi all, > > > Since gs 9.54 the conversion of some eps files does not work for > > at least one output devices. This came to my attention b/c the > > test suite of asymptote fails to run for at least one file. > > > I got the information that the issue has been solved in master: > > https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=d9d8db23e862707795e76ea8f8cdcf7434b2df65 > > I can confirm that the file in question now converts correctly. Great! Thanks for all your help with this, Hilmar! - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Bug#1000710: ghostscript: Fails to convert EPS file using -sDEVICE=pngalpha
Am 27.11.2021 um 16:25 teilte Hilmar Preusse mit: Hi all, Since gs 9.54 the conversion of some eps files does not work for at least one output devices. This came to my attention b/c the test suite of asymptote fails to run for at least one file. I got the information that the issue has been solved in master: https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=d9d8db23e862707795e76ea8f8cdcf7434b2df65 I can confirm that the file in question now converts correctly. Hilmar -- sigfault OpenPGP_signature Description: OpenPGP digital signature