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

Bug#977577: marked as done (libowfat: Disable dietlibc build on riscv64)



Your message dated Wed, 29 Jun 2022 17:19:41 +0000
with message-id <E1o6bLp-0003Ik-NK@fasolo.debian.org>
and subject line Bug#977577: fixed in libowfat 0.32-1
has caused the Debian Bug report #977577,
regarding libowfat: Disable dietlibc build on riscv64
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.)


-- 
977577: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977577
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libowfat
Version: 0.30-3
Severity: normal
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch

Dear Maintainer,

libowfat currently doesn't build on riscv64 because dietlibc is not
available for that architecture.

In Ubuntu, the attached patch was applied to achieve the following:

  * Adapt xnox's patch from 0.30-2ubuntu1, this time to only disable the
    dietlibc build on riscv64.

You'll probably need to adapt the patch to reflect all of the
architectures supported in Debian.

Thanks for considering the patch.

Logan

-- System Information:
Debian Release: bullseye/sid
  APT prefers groovy-updates
  APT policy: (500, 'groovy-updates'), (500, 'groovy-security'), (500, 'groovy'), (100, 'groovy-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.128-microsoft-standard (SMP w/8 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru libowfat-0.30/debian/control libowfat-0.30/debian/control
--- libowfat-0.30/debian/control	2020-04-30 16:42:48.000000000 -0400
+++ libowfat-0.30/debian/control	2020-12-16 00:01:12.000000000 -0500
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Standards-Version: 4.5.0
-Build-Depends: dietlibc-dev, dietlibc-dev (>= 0.32-5) [sparc], debhelper-compat (= 13)
+Build-Depends: dietlibc-dev [amd64 arm64 armhf ppc64el s390x], debhelper-compat (= 13)
 Homepage: http://www.fefe.de/libowfat/
 Vcs-Git: https://salsa.debian.org/debian/libowfat.git
 Vcs-Browser: https://salsa.debian.org/debian/libowfat
@@ -43,7 +43,7 @@
 
 Package: libowfat-dietlibc-dev
 Section: libdevel
-Architecture: any
+Architecture: amd64 arm64 armhf ppc64el s390x
 Depends: dietlibc-dev, ${misc:Depends}
 Conflicts: libdjbdns1-dev
 Breaks: libowfat-dev (<< 0.28-3)
diff -Nru libowfat-0.30/debian/rules libowfat-0.30/debian/rules
--- libowfat-0.30/debian/rules	2020-04-30 14:41:56.000000000 -0400
+++ libowfat-0.30/debian/rules	2020-12-16 00:01:12.000000000 -0500
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
+
 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
@@ -15,11 +17,14 @@
 	$(MAKE) -f $(CURDIR)/GNUmakefile -C build-glibc SRC=$(CURDIR)/ DIET=''
 	rm build-glibc/entities.h
 
+# dietlibc is unavailable on riscv64
+ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armhf ppc64el s390x))
 	mkdir build-diet
 	$(MAKE) -f $(CURDIR)/GNUmakefile -C build-diet SRC=$(CURDIR)/ DIET='diet -v -Os'
 	rm build-diet/entities.h
 	
 	touch build-stamp
+endif
 
 override_dh_clean:
 	dh_clean # doesn't remove directories

--- End Message ---
--- Begin Message ---
Source: libowfat
Source-Version: 0.32-1
Done: Bastian Germann <bage@debian.org>

We believe that the bug you reported is fixed in the latest version of
libowfat, 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 977577@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated libowfat 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 29 Jun 2022 18:00:35 +0200
Source: libowfat
Architecture: source
Version: 0.32-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 962502 977577
Changes:
 libowfat (0.32-1) unstable; urgency=medium
 .
   * QA upload
   * d/watch: Scan for .xz
   * New upstream version 0.32 (Closes: #962502)
   * d/copyright: Convert to machine-readable format
   * Compile with dietlibc only on supported archs (Closes: #977577)
   * Rebase patches on new version
   * Add new multi def patch
Checksums-Sha1:
 e1bef0051dd650e6d0cf53f11decdb4dc1f902d3 2021 libowfat_0.32-1.dsc
 7b66caa576e9ce2d789e230a5a42c63e4f103471 195820 libowfat_0.32.orig.tar.xz
 8603bea2ec5b0fad8a13303a10a9c9c5135e163d 10292 libowfat_0.32-1.debian.tar.xz
 8e48ffed87317a750bacf900a74aea3944da5e41 5523 libowfat_0.32-1_source.buildinfo
Checksums-Sha256:
 f7f3c3307af6333acc1afa08d0e31f49f89b672a89643db48bf005921aa45bd0 2021 libowfat_0.32-1.dsc
 f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1 195820 libowfat_0.32.orig.tar.xz
 6bdf4c152cec3905b9f11f54fa530ed62caf6511ccddd2e5e658a99735c29b65 10292 libowfat_0.32-1.debian.tar.xz
 2bf8ed3dd46a7afa794f93a11b61301edbb3e77e69b832642466d2bb13b7ca46 5523 libowfat_0.32-1_source.buildinfo
Files:
 08da0cc459a08794ab69298c60723db8 2021 libs optional libowfat_0.32-1.dsc
 ee015ccf45cb2bc61c942642038c2bdc 195820 libs optional libowfat_0.32.orig.tar.xz
 42c685df4523cd7bffc002e4b7b6f93e 10292 libs optional libowfat_0.32-1.debian.tar.xz
 fe22efd887e4cf958aba182d4b87bc40 5523 libs optional libowfat_0.32-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmK8h1UQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFPeKDACschF2ZBY7qei4RMRoJ/FzM397VjzQKyMq
w2LoJ+hNUUExexUxlBLC7w813MHPyx1V8O9MA06tAv/gdUhSwlWBjqcSUscJ5DEJ
tjG4RCgXSqbo7PV6qFUfQA0tMcjUtJuvi3weWPrx1TZkC04h72LOxWIP3uY8fZ41
az29j1FpAofMVH3JKoxR9heRT5QcfqqoEx8quOnRMVRygebLeWxVIHgQihuNmb20
+FBCUOPiY/DEp/7u0L8TH5QMIhoLzPwuGjd4YAtNtgcZ+xuVxs4d10CjVYqPqR9O
h55mDOrL6zq+31bm3uOBrOlvUzfESaj4PjBmDZqaI5ve69NEh7/XPU/l38eOSZih
wWApnmgmvCtJxiR1oCNVFQkW+EBzQbPwZFo4fY1ozoPAIhC/bsjNQjUYUywIaBvt
mpO6oC/4Lubhvi2WdHZE4qRsJr6s9tbm6ukpc+12o6KIJVQoOeqlX/2DdrQHB39j
wibHnzU/oKSp39eTswnztZamz89IHB4=
=vvcp
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: