Your message dated Sun, 01 Oct 2023 18:55:26 -0400
with message-id <30a07cf4bb1a03c2c78ed62462364dbf5ea6a514.ca...@debian.org>
and subject line Re: freecdb FTCBFS: successfully builds a package for the 
wrong architecture
has caused the Debian Bug report #900921,
regarding freecdb FTCBFS: successfully builds a package for the wrong 
architecture
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.)


-- 
900921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900921
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: freecdb
Version: 0.75
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

freecdb successfully misbuilds when performing a cross build. The
packaging is a mess. Please consider switching to debhelper. Anyway, the
attached patch makes it cross build. If you can't switch to debhelper,
can you apply it?

Helmut
diff --minimal -Nru freecdb-0.75/debian/changelog 
freecdb-0.75+nmu1/debian/changelog
--- freecdb-0.75/debian/changelog       2006-01-13 22:12:00.000000000 +0100
+++ freecdb-0.75+nmu1/debian/changelog  2018-06-06 20:06:26.000000000 +0200
@@ -1,3 +1,12 @@
+freecdb (0.75+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Use a host architecture $(STRIP) and $(CC)
+    + Honour DEB_BUILD_OPTIONS=nocheck.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 06 Jun 2018 20:06:26 +0200
+
 freecdb (0.75) unstable; urgency=low
 
   * take over upstream (closes: #272127).
diff --minimal -Nru freecdb-0.75/debian/rules freecdb-0.75+nmu1/debian/rules
--- freecdb-0.75/debian/rules   2006-01-13 22:12:00.000000000 +0100
+++ freecdb-0.75+nmu1/debian/rules      2018-06-06 20:06:26.000000000 +0200
@@ -1,11 +1,12 @@
 #!/usr/bin/make -f
 
-STRIP =strip
+include /usr/share/dpkg/architecture.mk
+-include /usr/share/dpkg/buildtools.mk
+STRIP ?=$(DEB_HOST_GNU_TYPE)-strip
 ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
   STRIP =: nostrip
 endif
 
-CC=gcc
 ifneq (,$(findstring diet,$(DEB_BUILD_OPTIONS)))
   CC =diet -v -Os gcc -nostdinc
 endif
@@ -15,7 +16,9 @@
 build: deb-checkdir build-stamp
 build-stamp: 
        $(MAKE) CC='$(CC)'
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        $(MAKE) check
+endif
        touch build-stamp
 
 clean: deb-checkdir deb-checkuid
@@ -38,7 +41,9 @@
 binary-indep:
 
 binary-arch: install freecdb.deb
-       test '$(CC)' != 'gcc' || dpkg-shlibdeps '$(DIR)'/usr/bin/*
+ifeq (,$(findstring diet,$(DEB_BUILD_OPTIONS)))
+       dpkg-shlibdeps '$(DIR)'/usr/bin/*
+endif
        dpkg-gencontrol -isp -pfreecdb -P'$(DIR)'
        dpkg -b '$(DIR)' ..
 

--- End Message ---
--- Begin Message ---
Version: 0.76

On Wed, 6 Jun 2018 20:11:43 +0200 Helmut Grohne <hel...@subdivi.de> wrote:
> Source: freecdb
> Version: 0.75
> Tags: patch
> User: helm...@debian.org
> Usertags: rebootstrap
> 
> freecdb successfully misbuilds when performing a cross build. The
> packaging is a mess. Please consider switching to debhelper. Anyway, the
> attached patch makes it cross build. If you can't switch to debhelper,
> can you apply it?

This was fixed in the last upload.

Best,
Boyuan Yang

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to