Debian Bug report logs - #544266
libbsd: build fix for m32r architecture

version graph

Package: libbsd; Maintainer for libbsd is Guillem Jover <guillem@debian.org>;

Reported by: Hirokazu Takata <takata@linux-m32r.org>

Date: Sun, 30 Aug 2009 08:09:02 UTC

Severity: minor

Tags: patch

Found in version 0.1.5-3

Fixed in version libbsd/0.1.6-1

Done: Guillem Jover <guillem@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian GNU/kFreeBSD <debian-bsd@lists.debian.org>:
Bug#544266; Package libbsd. (Sun, 30 Aug 2009 08:09:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hirokazu Takata <takata@linux-m32r.org>:
New Bug report received and forwarded. Copy sent to Debian GNU/kFreeBSD <debian-bsd@lists.debian.org>. (Sun, 30 Aug 2009 08:09:05 GMT) Full text and rfc822 format available.

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

From: Hirokazu Takata <takata@linux-m32r.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Subject: libbsd: build fix for m32r architecture
Date: Sun, 30 Aug 2009 17:03:21 +0900
Package: libbsd
Version: 0.1.5-3
Severity: minor
Tags: patch

On m32r, there was a compile error of src/netlist.c:
src/nlist.c: In function '__elf_is_okay__':
src/nlist.c:234: error: 'ELF_TARG_DATA' undeclared (first use in this function)
src/nlist.c:234: error: (Each undeclared identifier is reported only once
src/nlist.c:234: error: for each function it appears in.)

Please rename ELF_DATA to ELF_TARG_DATA in order to fix the above
build error for the m32r architecture.

I also attach a patch to fix the error.
Could you consider to apply it.

Best Regards,

---
 libbsd-0.1.5/src/local-elf.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libbsd-0.1.5/src/local-elf.h b/libbsd-0.1.5/src/local-elf.h
index 249e6ef..c4fd8d3 100644
--- a/libbsd-0.1.5/src/local-elf.h
+++ b/libbsd-0.1.5/src/local-elf.h
@@ -97,9 +97,9 @@
 #define ELF_TARG_MACH	EM_M32R
 #define ELF_TARG_CLASS	ELFCLASS32
 #if defined(__LITTLE_ENDIAN__)
-#define ELF_DATA	ELFDATA2LSB
+#define ELF_TARG_DATA	ELFDATA2LSB
 #elif defined(__BIG_ENDIAN__)
-#define ELF_DATA	ELFDATA2MSB
+#define ELF_TARG_DATA	ELFDATA2MSB
 #else
 #error Unknown M32R endianness
 #endif
-- 

-- System Information:
Debian Release: sid
Architecture: m32r

--
Hirokazu Takata <takata@linux-m32r.org>
Linux/M32R Project:  http://www.linux-m32r.org/




Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility. (Sun, 30 Aug 2009 11:54:28 GMT) Full text and rfc822 format available.

Notification sent to Hirokazu Takata <takata@linux-m32r.org>:
Bug acknowledged by developer. (Sun, 30 Aug 2009 11:54:28 GMT) Full text and rfc822 format available.

Message #10 received at 544266-close@bugs.debian.org (full text, mbox):

From: Guillem Jover <guillem@debian.org>
To: 544266-close@bugs.debian.org
Subject: Bug#544266: fixed in libbsd 0.1.6-1
Date: Sun, 30 Aug 2009 11:02:11 +0000
Source: libbsd
Source-Version: 0.1.6-1

We believe that the bug you reported is fixed in the latest version of
libbsd, which is due to be installed in the Debian FTP archive:

libbsd-dev_0.1.6-1_amd64.deb
  to pool/main/libb/libbsd/libbsd-dev_0.1.6-1_amd64.deb
libbsd0-dbg_0.1.6-1_amd64.deb
  to pool/main/libb/libbsd/libbsd0-dbg_0.1.6-1_amd64.deb
libbsd0-udeb_0.1.6-1_amd64.udeb
  to pool/main/libb/libbsd/libbsd0-udeb_0.1.6-1_amd64.udeb
libbsd0_0.1.6-1_amd64.deb
  to pool/main/libb/libbsd/libbsd0_0.1.6-1_amd64.deb
libbsd_0.1.6-1.diff.gz
  to pool/main/libb/libbsd/libbsd_0.1.6-1.diff.gz
libbsd_0.1.6-1.dsc
  to pool/main/libb/libbsd/libbsd_0.1.6-1.dsc
libbsd_0.1.6.orig.tar.gz
  to pool/main/libb/libbsd/libbsd_0.1.6.orig.tar.gz



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 544266@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guillem@debian.org> (supplier of updated libbsd 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 30 Aug 2009 12:55:00 +0200
Source: libbsd
Binary: libbsd-dev libbsd0 libbsd0-udeb libbsd0-dbg
Architecture: source amd64
Version: 0.1.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian GNU/kFreeBSD <debian-bsd@lists.debian.org>
Changed-By: Guillem Jover <guillem@debian.org>
Description: 
 libbsd-dev - utility functions from BSD systems - development files
 libbsd0    - utility functions from BSD systems - shared library
 libbsd0-dbg - utility functions from BSD systems - debugging symbols
 libbsd0-udeb - utility functions from BSD systems - shared library (udeb)
Closes: 544266
Changes: 
 libbsd (0.1.6-1) unstable; urgency=low
 .
   * New upstream release.
     - Fix typo in ‘local-elf.h’ affecting M32R builds. (Closes: #544266)
   * Add missing libbsd0-udeb.install file to avoid creating empty packages.
Checksums-Sha1: 
 dc96d3bb13a82bcbde4dda46eb453e0068745354 1263 libbsd_0.1.6-1.dsc
 96957d2bb73fca2cdfe3aa937ddc09bc0141a63e 55846 libbsd_0.1.6.orig.tar.gz
 4c85bf5eade98e39dd151f89fcfbc4d0d847e46f 6239 libbsd_0.1.6-1.diff.gz
 779e4caa63408bdd24ddc8740da340d5517faf42 63610 libbsd-dev_0.1.6-1_amd64.deb
 14d8121ed71b2f99669722e52e2c4f04ded49e49 32698 libbsd0_0.1.6-1_amd64.deb
 6e1ef8c1fe40fc787187243230f4aa9a83a93643 15484 libbsd0-udeb_0.1.6-1_amd64.udeb
 6bde9652e6ff7ea4813c5660f57b572a4b9f2f51 40350 libbsd0-dbg_0.1.6-1_amd64.deb
Checksums-Sha256: 
 c4e5a4721314e65579a1b89c98f45e92b44bc001f466cf14ebcfc1d704703fad 1263 libbsd_0.1.6-1.dsc
 44653ed338ed22c3a4cd9d1dba515e2e6ad6938754ea7ab72fbd22c3bdc8f069 55846 libbsd_0.1.6.orig.tar.gz
 b0e2de4534a04de75b4cead3a6ead7cb04e47b4371b6cf84e19c639f38d2442f 6239 libbsd_0.1.6-1.diff.gz
 79274919f30f9f437f4fe3b17fa3c7d3393d3199d6a74c36e4ff58f6412cbd78 63610 libbsd-dev_0.1.6-1_amd64.deb
 0dd861bb9de263f45921c6e9a6fbd77ae7db738783cd2032be97b9b7beab3204 32698 libbsd0_0.1.6-1_amd64.deb
 91f0c943e25b731a05d376c0504d67c87e141a0a98f0294509530e36a74bbf41 15484 libbsd0-udeb_0.1.6-1_amd64.udeb
 846dcf97409a4609ea7ea8a0f9050aea1e23a27676569c981683ec4afd002959 40350 libbsd0-dbg_0.1.6-1_amd64.deb
Files: 
 6a1f6e7e5e91ec86c0cf1270d718e2a5 1263 libs optional libbsd_0.1.6-1.dsc
 01b38a8953377333594c8483477e8f8b 55846 libs optional libbsd_0.1.6.orig.tar.gz
 ae14914205288b58704a8cf54ad3d6ce 6239 libs optional libbsd_0.1.6-1.diff.gz
 ca6b690e18b63156e073eb7d0a4125b5 63610 libdevel optional libbsd-dev_0.1.6-1_amd64.deb
 363ce3674e770e9fffce3a0b3e5cbfec 32698 libs optional libbsd0_0.1.6-1_amd64.deb
 b85d878422630326a4cb1d649b62b733 15484 debian-installer optional libbsd0-udeb_0.1.6-1_amd64.udeb
 f3cddb62375eda82b9ec21e094a68911 40350 debug extra libbsd0-dbg_0.1.6-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqaWsgACgkQuW9ciZ2SjJuXngCg5JZq1qRjR+Swv3A5B5pz4RlQ
0KgAoNRBun3b2gRByDOXC8AynmEWW3H1
=FGgY
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 08 Oct 2009 07:34:41 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 00:40:58 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.