[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#829379: marked as done (fix initialization of DEB_VENDOR for derivatives)



Your message dated Thu, 7 Aug 2025 22:13:21 +0000
with message-id <[🔎] 3bee4c2566584c07abc39b89ae92154e@franceagrimer.fr>
and subject line RE: Notice!!
has caused the Debian Bug report #829379,
regarding fix initialization of DEB_VENDOR for derivatives
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 owner@bugs.debian.org
immediately.)


-- 
829379: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829379
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libreoffice
Version: 5.2.0~rc1-1
Tags: patch

Hi

debian/rules only supports two values for DEB_VENDOR: Debian and Ubuntu. As derivative distributions put other values in this variable, libreoffice cannot be built there.

With this patch DEB_VENDOR is always initialized to either Debian or Ubuntu depending on which the host distribution derives from.

This problem was found when trying to build libreoffice on ubuntuBSD but is likely to affect other derivative distributions.

-- 
Jon Boden

ubuntuBSD -- The power of FreeBSD kernel with familiarity of Ubuntu OS!

http://www.ubuntubsd.org/ -- https://twitter.com/ubuntuBSD
diff -Nur -x '*~' -x changelog ../debian/rules debian/rules
--- ../debian/rules	2016-04-05 14:31:17.000000000 +0200
+++ debian/rules	2016-07-02 13:56:41.000000000 +0200
@@ -32,6 +32,11 @@
 
 include /usr/share/dpkg/architecture.mk
 include /usr/share/dpkg/vendor.mk
+
+# This rules file only supports two values for DEB_VENDOR: Debian and Ubuntu. Force it
+# to Ubuntu for all Ubuntu derivatives (and use Debian otherwise).
+DEB_VENDOR := $(shell dpkg-vendor --derives-from ubuntu && echo Ubuntu || echo Debian)
+
 SHELL:=/bin/bash
 export gb_SHELL:=$(SHELL)
 

--- End Message ---
--- Begin Message ---

 

 

From: HUGOT Léonor
Sent: Friday, August 8, 2025 5:41 AM
To: HUGOT Léonor <leonor.hugot@franceagrimer.fr>
Subject: Notice!!

 

Humanitarian Grant of 1.5M for you. Reply for claims 


--- End Message ---

Reply to: