Bug#1014611: docbook-xml and docbook-xsl failed to update their catalogs in /etc/xml when interrupted

2022-07-08 Thread Daniel Kahn Gillmor
Package: docbook-xml
Version: 4.5-12
Control: affects -1 src:libreswan xmlto
Control: clone -1 -2
Control: reassign docbook-xsl 1.79.2+dfsg-2

I have a debian/unstable system on amd64.

I installed a pile of software on it, including docbook-xml and
docbook-xsl.  Part of the software installation failed due to
circumstances outside the machine (the VM was terminated on the host),
but after rebooting i picked up with "dpkg --reconfigure -a" and "apt
install -f".  All seemed fine.

However, when i then tried to build documentation (from the libreswan
package, fwiw, which uses xmlto to generate manpages), i got failures
due to the following files being empty:

/etc/xml/catalog
/etc/xml/docbook-xml.xml
/etc/xml/docbook-xsl.xml

The errors resulted in messages like:

> I/O error : Attempt to load network entity 
> http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd

When i did:

dpkg-reconfigure docbook-xml docbook-xsl

then tried to rebuild, there was no problem.

So something about the commands that rebuild these files in /etc/xml is
dangerous, because it can be interrupted, and leave the system in a
state that appears to be correct, but is in fact non-functional.

perhaps the rebuild that's happening needs to happen somewhere else, and
then get moved into place correctly, rather than leaving an empty file?

Sorry to not have a more specific way to replicate the issue.

 --dkg


signature.asc
Description: PGP signature


Processed (with 1 error): docbook-xml and docbook-xsl failed to update their catalogs in /etc/xml when interrupted

2022-07-08 Thread Debian Bug Tracking System
Processing control commands:

> affects -1 src:libreswan xmlto
Bug #1014611 [docbook-xml] docbook-xml and docbook-xsl failed to update their 
catalogs in /etc/xml when interrupted
Added indication that 1014611 affects src:libreswan and xmlto
> clone -1 -2
Bug #1014611 [docbook-xml] docbook-xml and docbook-xsl failed to update their 
catalogs in /etc/xml when interrupted
Bug 1014611 cloned as bug 1014612
> reassign docbook-xsl 1.79.2+dfsg-2
Unknown command or malformed arguments to command.


-- 
1014611: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014611
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Processing of tvtime_1.0.11-7_source.changes

2022-07-08 Thread Debian FTP Masters
tvtime_1.0.11-7_source.changes uploaded successfully to localhost
along with the files:
  tvtime_1.0.11-7.dsc
  tvtime_1.0.11-7.debian.tar.xz
  tvtime_1.0.11-7_arm64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



Bug#1014564: marked as done (tvtime: reproducible-builds: embedded build paths in /usr/bin/tvtime)

2022-07-08 Thread Debian Bug Tracking System
Your message dated Fri, 08 Jul 2022 20:25:35 +
with message-id 
and subject line Bug#1014564: fixed in tvtime 1.0.11-7
has caused the Debian Bug report #1014564,
regarding tvtime: reproducible-builds: embedded build paths in /usr/bin/tvtime
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.)


-- 
1014564: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014564
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: tvtime
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The build path is embedded in /usr/bin/tvtime:

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/tvtime.html

  /build/1st/tvtime-1.0.11/src/speedy.c:1933
  vs.
  /build/2/tvtime-1.0.11/2nd/src/speedy.c:1933

The attached patch fixes this by switching to using debhelper compat 13
and debhelper's "dh" command, which passes compiler flags to avoid
embedding the build path (e.g. -ffile-prefix-map), and avoids embedding
differing buildids via rpath (even though rpath is later stripped).


With this patch applied, tvtime should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
From 3d6ca922e5eb31ad71500437fc47828ac77bfa52 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian 
Date: Thu, 7 Jul 2022 23:18:38 +
Subject: [PATCH] Switch to "dh" and debhelper compat 13.

---
 debian/control |  4 +--
 debian/rules   | 94 --
 2 files changed, 8 insertions(+), 90 deletions(-)

diff --git a/debian/control b/debian/control
index 316a232..f2848a4 100644
--- a/debian/control
+++ b/debian/control
@@ -3,8 +3,7 @@ Section: video
 Priority: optional
 Maintainer: Debian QA Group 
 Build-Depends:
- debhelper-compat (= 12),
- autotools-dev,
+ debhelper-compat (= 13),
  pkg-config,
  zlib1g-dev,
  libpng-dev,
@@ -18,7 +17,6 @@ Build-Depends:
  libxxf86vm-dev,
  libxml2-dev,
  fontforge,
- chrpath,
  libasound2-dev
 Standards-Version: 3.9.3
 Homepage: https://linuxtv.org/wiki/index.php/Tvtime
diff --git a/debian/rules b/debian/rules
index 013193d..7ef5a0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,66 +20,14 @@
 # Based on the sample debian/rules that uses debhelper.
 # GNU copyright 1997 to 1999 by Joey Hess.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-include /usr/share/dpkg/architecture.mk
+override_dh_auto_build:
+	dh_auto_build -- FONT_CFLAGS='-DFONTDIR="\"/usr/share/fonts/truetype/freefont\""'
 
-CFLAGS += -Wall
-
-config.status:
-	dh_testdir
-	dh_autoreconf
-	# Add here commands to configure the package.
-	./configure --host=$(DEB_HOST_GNU_TYPE)   \
-	--build=$(DEB_BUILD_GNU_TYPE) \
-		--prefix=/usr \
-		--mandir=\$${prefix}/share/man\
-		--infodir=\$${prefix}/share/info  \
-		--sysconfdir=/etc \
-		--localstatedir=/var  \
-		--with-fifogroup=video\
-	--without-directfb\
-	--without-sdl \
-	--disable-silent-rules
-
-
-build: build-arch build-indep
-build-arch: build-stamp
-build-indep: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE) FONT_CFLAGS='-DFONTDIR="\"/usr/share/fonts/truetype/freefont\""'
-
-	touch build-stamp
-
-clean:
-	dh_testdir
-	rm -f build-stamp
-
-	# Add here commands to clean up after the build process.
-	[ ! -f Makefile ] || $(MAKE) distclean
-
-	dh_autoreconf_clean
-	dh_clean
-
-	rm -f po/stamp-po po/*.gmo
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	# Add here commands to install the package into debian/tvtime.
-	$(MAKE) install prefix=$(CURDIR)/debian/tvtime/usr   \
-	sysconfdir=$(CURDIR)/debian/tvtime/etc   \
-			localstatedir=$(CURDIR)/debian/tvtime/var
+override_dh_auto_install:
+	dh_auto_install
 	# Remove the freefont TTF.
 	rm -f $(CURDIR)/debian/tvtime/usr/share/tvtime/FreeMonoBold.ttf
 	# Remove the configuration file.
@@ -89,34 +37,6 @@ install: build
 	cp -f $(CURDIR)/docs/html/*.png $(CURDIR)/debian/tvtime/usr/share/doc/tvtime/html/
 	cp -f $(CURDIR)/docs/html/*.jpg $(CURDIR)/debian/tvtime/usr/share/doc/tvtime/html/
 	cp -f $(CURDIR)/docs/html/*.css $(CURDIR)/debian/tvtime/usr/share/doc/tvtime/html/
-	# Fix E: tvtime: binar

tvtime_1.0.11-7_source.changes ACCEPTED into unstable

2022-07-08 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Fri, 08 Jul 2022 12:46:49 -0700
Source: tvtime
Architecture: source
Version: 1.0.11-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group 
Changed-By: Vagrant Cascadian 
Closes: 1014564
Changes:
 tvtime (1.0.11-7) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Bump debhelper from deprecated 7 to 12.
   * Set upstream metadata fields: Bug-Submit.
   * Rely on pre-initialized dpkg-architecture variables.
 .
   [ Vagrant Cascadian ]
   * Switch to "dh" and debhelper compat 13. (Closes: #1014564)
   * debian/control: Fix Vcs-* headers.
   * debian/copyright: Update links to licenses.
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/control: Update Standards-Version to 4.6.1.
Checksums-Sha1:
 9edd07ebdeaac62916e992ee9d0c37b8d553a478 1448 tvtime_1.0.11-7.dsc
 4012454e0d781d93218cf6cb4b29bc97f8e7080d 40196 tvtime_1.0.11-7.debian.tar.xz
 0f99bbf9bb2257efaf13fa370b6063170057555b 9977 tvtime_1.0.11-7_arm64.buildinfo
Checksums-Sha256:
 df12d1aba511079e37e7fbc5c01118fcde12bbb46af0aa500b96fe224ceaff96 1448 
tvtime_1.0.11-7.dsc
 604b19d8660b03e448b6679c4d88249b5475ce8de1963ab4d4cb0ac989376ba9 40196 
tvtime_1.0.11-7.debian.tar.xz
 3974dcfcb1f6938a145563af41809de529136151765a2ffbd2f2bfd0a24dd24b 9977 
tvtime_1.0.11-7_arm64.buildinfo
Files:
 af5dcd625f54bf0548e48ce349498355 1448 video optional tvtime_1.0.11-7.dsc
 e7616b8f7dd210ae4259e2337760315f 40196 video optional 
tvtime_1.0.11-7.debian.tar.xz
 c52118f55f1ff003740fa01d549810de 9977 video optional 
tvtime_1.0.11-7_arm64.buildinfo

-BEGIN PGP SIGNATURE-

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYsiMJRMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaq8csBAJFePScEpleC1u1/6Hd2uNE6w70syNde
hWrnmC7gBnpgAP9VJFbqMYtgtJ4h7GyjbDqY9Qd+G11hvcOc+7qOeV/rBg==
=Pjw0
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Processing of gip_1.7.0-1-7_source.changes

2022-07-08 Thread Debian FTP Masters
gip_1.7.0-1-7_source.changes uploaded successfully to localhost
along with the files:
  gip_1.7.0-1-7.dsc
  gip_1.7.0-1-7.debian.tar.xz
  gip_1.7.0-1-7_amd64.buildinfo

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



gip_1.7.0-1-7_source.changes ACCEPTED into unstable

2022-07-08 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Sat, 09 Jul 2022 06:15:58 +
Source: gip
Architecture: source
Version: 1.7.0-1-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group 
Changed-By: Nilesh Patra 
Changes:
 gip (1.7.0-1-7) unstable; urgency=medium
 .
   * QA upload.
   * Get package cross building with not hardcoding
 CXX and pkg-config
   * Bump Standards-Version to 4.6.1 (no changes needed)
   * Remove no-op autopkgtests
Checksums-Sha1:
 bad690d9ca69804bd74039bf309b81ea7efccc2f 1842 gip_1.7.0-1-7.dsc
 be991538fccf0a5de89066a926a2560f091f9e6e 9320 gip_1.7.0-1-7.debian.tar.xz
 d10f93d6d6439d86c7bc50a3a71d50ff60139cac 12319 gip_1.7.0-1-7_amd64.buildinfo
Checksums-Sha256:
 ace5aa25cd286ab1f2306028bc4f43c534ad8bce8fb6ed59f6f9d6f07d216de4 1842 
gip_1.7.0-1-7.dsc
 f46d745e91f0d10d5c58c2d6010135de2828f5c7793de6c7c61bc116c4327be7 9320 
gip_1.7.0-1-7.debian.tar.xz
 8afabbba47ec08e6742dc73463beb83460d5b92df63a156e2a1925e086d1458b 12319 
gip_1.7.0-1-7_amd64.buildinfo
Files:
 d4e0e3a4dbfa8560f0cffcea77f4b700 1842 gnome optional gip_1.7.0-1-7.dsc
 0802a8a877765eef6f525369ebff09c8 9320 gnome optional 
gip_1.7.0-1-7.debian.tar.xz
 b5f569634f69260d3fd37175baaa8abc 12319 gnome optional 
gip_1.7.0-1-7_amd64.buildinfo

-BEGIN PGP SIGNATURE-

iQJGBAEBCgAwFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAmLJHmESHG5pbGVzaEBk
ZWJpYW4ub3JnAAoJEAC650s0M2nxD50QAI/jJECF4u6nMLWg++pOiHRMbmnKPmfN
csxRJPykxL1qFbxjazuL5WI+j01FDSSYOgpqj/j9CKny4Hs39PVOMQ0+2EOtbUNk
M1Jewgh+f0lpYpPwXPDWocpTfqglV87FzhKLu6YrPXkeJepRWG2K9xxukBeO021U
JLMJMzqxtOZQyU3D43qKhcLJkhIefIwr11U69lEgIRB6xvo0f3nWb54aFbM5AKID
uGUyCM2p45r+au59pQzR2FLHiM+JSTr+9EZfwVgsZQRszBXtMzL+5RMxIP7oAk/b
NyaEv8PzHKwUNdB2Zm4ir46OBeKqv5Xd9xXMro3Kto7Em221+Qg0fBZSuOtfj8gA
pQe7Od/Lu/waySZsyluPlqKn03QFr5u1I6T/JU9V4BYrYbRWUgZYXZ77IYNmiqV9
AaoSvhTeFIqgbWLLTYMzO3a1oy+KvkGiFZ3ptYa9sMSY1faQFijyYJku+BFSRNK0
PXKcU0TDG8XXAOSKl5xHZrWtgVZrWXy1uxl4xp6bYYaU/vL3lUVEaEyiF8KDm7d+
MVSHJzx9D6OTgKmpq6roULTGjNJgDwLM+RKDp+85vbl6KV0uPvzQyfU1+uN8q97j
DD/0cBCxtvdl8NsrXHXt2k2Rs1AJFqp0FbHvfDr/i0LagPMLCTaL3ujIHXyHkcIw
Ca45m7PSUr3S
=jFjp
-END PGP SIGNATURE-


Thank you for your contribution to Debian.