Devuan bug report logs - #353
base-files: `dpkg-vendor --query Parent` isn't set

Package: base-files; Maintainer for base-files is Devuan Developers <devuan-dev@lists.dyne.org>; Source for base-files is src:base-files.

Reported by: Daniel Abrecht <devuan@danielabrecht.ch>

Date: Sat, 21 Sep 2019 20:33:01 UTC

Severity: normal

Done: Mark Hindley <mark@hindley.org.uk>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#353; Package base-files. (full text, mbox, link).


Acknowledgement sent to Daniel Abrecht <devuan@danielabrecht.ch>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org.

Your message specified a Severity: in the pseudo-header, but the severity value serious was not recognised. The default severity normal is being used instead. The recognised values are: critical, grave, normal, minor, wishlist.

(full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Daniel Abrecht <devuan@danielabrecht.ch>
To: Daniel Patrick Abrecht <submit@bugs.devuan.org>
Subject: base-files: `dpkg-vendor --query Parent` isn't set
Date: Sat, 21 Sep 2019 20:19:11 +0000
[Message part 1 (text/plain, inline)]
Package: base-files
Version: 10.3+devuan3.1
Severity: serious
Justification: Can cause the build of other packages to fail and may
cause problems for programs checking if a system is a debian based system.

The file `/etc/dpkg/origins/devuan` should contain the following line
Parent: Debian

Without that, `dpkg-vendor --query Parent` won't output anything, it
should return `Debian`.
This is needed for `dpkg-vendor --derives-from Debian` to return true
instead of false.
There are tools which use this to check if a distribution is based on
debian.
A particularly problematic example of such a program is
`dpkg-buildflags`, which is used when building any package which uses
`debhelper`.
As it is now, `dpkg-buildflags` won't set any flags, which can break
package builds.
By adding `Parent: Debian` to `/etc/dpkg/origins/devuan`,
`dpkg-buildflags` would add the same flags debian uses.

However, before adding this, it has to be made sure all devuan specific
packages will still build with this change (btw. the default debian
flags applied.)

-- System Information:
Debian Release: 10.0
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.58 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages base-files depends on:
ii  gawk [awk]  1:4.2.1+dfsg-1
ii  mawk [awk]  1.3.3-17+b3

base-files recommends no packages.

base-files suggests no packages.

-- Configuration Files:
/etc/dpkg/origins/devuan changed [not included]

-- no debconf information

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Tue, 21 Jan 2020 14:03:01 GMT) (full text, mbox, link).


Notification sent to Daniel Abrecht <devuan@danielabrecht.ch>:
bug acknowledged by developer. (Tue, 21 Jan 2020 14:03:04 GMT) (full text, mbox, link).


Message #10 received at 353-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: 353-done@bugs.devuan.org
Subject: Re: base-files: `dpkg-vendor --query Parent` isn't set
Date: Tue, 21 Jan 2020 13:46:29 +0000
Daniel,

Thanks for this.

Fixed in version 10.3+devuan4 in unstable and 10.3+devuan3.2 in beowulf.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Apr 18 17:39:19 2024;