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

Bug#368970: marked as done (libmusicbrainz-2.1: FTBFS on GNU/kFreeBSD)

Your message dated Sat, 27 May 2006 00:17:10 -0700
with message-id <E1Fjt2s-00016Q-Gs@spohr.debian.org>
and subject line Bug#368970: fixed in libmusicbrainz-2.1 2.1.2-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libmusicbrainz-2.1 
Severity: important
Version: 2.1.2-4
Tags: patch


the current version fails to build on GNU/kFreeBSD with:

Traceback (most recent call last):
  File "setup.py", line 8, in ?
    import musicbrainz 
  File "/build/manual/libmusicbrainz-2.1-2.1.2/python/musicbrainz.py", line 57, in ?
    mbdll = cdll.LoadLibrary(findLibrary())
  File "/build/manual/libmusicbrainz-2.1-2.1.2/python/musicbrainz.py", line 36, in findLibrary
    raise MusicBrainzError, "Unknown platform: " + sys.platform 
musicbrainz.MusicBrainzError: Unknown platform: gnukfreebsd5
make: *** [install-indep] Error 1

Please, use attached patch to fix that.

It would also be nice if you can ask upstream 
to include this change.

Thanks in advance


--- python/musicbrainz.py~	2006-05-26 14:11:34.000000000 +0200
+++ python/musicbrainz.py	2006-05-26 14:11:34.000000000 +0200
@@ -30,10 +30,7 @@
     if sys.platform == "darwin":
         lib = "libmusicbrainz.4.dylib"
-        if sys.platform == "linux2":
-           lib = "libmusicbrainz.so.4"
-        else:
-           raise MusicBrainzError, "Unknown platform: " + sys.platform 
+        lib = "libmusicbrainz.so.4"
     path = "/usr/lib/" + lib
     if os.access(path, os.F_OK):
@@ -47,7 +44,7 @@
     if os.access(path, os.F_OK):
        return path;
-    raise MusicBrainzError, "Cannot find MusicBrainz share library: " + lib
+    raise MusicBrainzError, "Cannot find for platform " + sys.platform + " MusicBrainz share library: " + lib
 if sys.platform == "win32":
     mbdll = cdll.LoadLibrary("libmusicbrainz.dll")

--- End Message ---
--- Begin Message ---
Source: libmusicbrainz-2.1
Source-Version: 2.1.2-5

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

  to pool/main/libm/libmusicbrainz-2.1/libmusicbrainz-2.1_2.1.2-5.diff.gz
  to pool/main/libm/libmusicbrainz-2.1/libmusicbrainz-2.1_2.1.2-5.dsc
  to pool/main/libm/libmusicbrainz-2.1/libmusicbrainz4-dev_2.1.2-5_amd64.deb
  to pool/main/libm/libmusicbrainz-2.1/libmusicbrainz4c2a_2.1.2-5_amd64.deb
  to pool/main/libm/libmusicbrainz-2.1/python-musicbrainz_2.1.2-5_all.deb
  to pool/main/libm/libmusicbrainz-2.1/python2.3-musicbrainz_2.1.2-5_all.deb
  to pool/main/libm/libmusicbrainz-2.1/python2.4-musicbrainz_2.1.2-5_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 368970@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Aurelien Jarno <aurel32@debian.org> (supplier of updated libmusicbrainz-2.1 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)

Hash: SHA1

Format: 1.7
Date: Fri, 26 May 2006 20:02:15 +0200
Source: libmusicbrainz-2.1
Binary: python2.4-musicbrainz python2.3-musicbrainz libmusicbrainz4c2a libmusicbrainz4-dev python-musicbrainz
Architecture: source all amd64
Version: 2.1.2-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
 libmusicbrainz4-dev - Second generation incarnation of the CD Index - development
 libmusicbrainz4c2a - Second generation incarnation of the CD Index - library
 python-musicbrainz - Second generation incarnation of the CD Index - python bindings
 python2.3-musicbrainz - Second generation incarnation of the CD Index - python2.3 binding
 python2.4-musicbrainz - Second generation incarnation of the CD Index - python2.4 binding
Closes: 368970
 libmusicbrainz-2.1 (2.1.2-5) unstable; urgency=low
   * QA upload.
   * Added patch by Petr Salinger to fix an FTBFS on GNU/kFreeBSD (Closes:
 700fb3ded0fe12a39ab5dc1f34b70e21 819 libs optional libmusicbrainz-2.1_2.1.2-5.dsc
 f948bc5da289ed701c9667a3087468f8 5783 libs optional libmusicbrainz-2.1_2.1.2-5.diff.gz
 0635d12ccdbe2ce8a712193a4de50d2d 124166 libdevel optional libmusicbrainz4-dev_2.1.2-5_amd64.deb
 06fc993d5710cca6b72a8ac9032f59d1 88944 libs optional libmusicbrainz4c2a_2.1.2-5_amd64.deb
 f89048aeddf0996837b1eb8adb405d63 7094 python optional python-musicbrainz_2.1.2-5_all.deb
 54fa7c4944e7d28f649d11e2e6169279 18096 python optional python2.3-musicbrainz_2.1.2-5_all.deb
 0cbc10dd02833456cffa76c9a8090972 18098 python optional python2.4-musicbrainz_2.1.2-5_all.deb

Version: GnuPG v1.4.3 (GNU/Linux)


--- End Message ---

Reply to: