Bug#632149: rakarrack: Fails to load bank and filter files
Hi, found out the reason: the upstream tarball contains a config.h in src. The out-of-tree invocation of configure produces a new config.h in the build-tree. However the one in src get's picked up first by the compiler. Simple fix: remove src/config.h prior to calling configure, trivial patch attached. I've also created an upstream bugreport at http://sourceforge.net/tracker/?func=detailaid=3374212group_id=215888atid=1035482 Cheers, Stefan. diff -u rakarrack-0.6.1/debian/rules rakarrack-0.6.1/debian/rules --- rakarrack-0.6.1/debian/rules +++ rakarrack-0.6.1/debian/rules @@ -50,6 +50,7 @@ %/config.status: configure dh_testdir mkdir -p $* + $(RM) src/config.h cd $* ../configure --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ diff -u rakarrack-0.6.1/debian/changelog rakarrack-0.6.1/debian/changelog --- rakarrack-0.6.1/debian/changelog +++ rakarrack-0.6.1/debian/changelog @@ -1,3 +1,12 @@ +rakarrack (0.6.1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: Remove src/config.h before the invocation of configure. +Since configure is called out-of-tree, the upstream provided config.h +is used instead of the freshly created config.h. (Closes: #632149). + + -- Stefan Potyra sistp...@ubuntu.com Thu, 21 Jul 2011 22:19:44 +0200 + rakarrack (0.6.1-2) unstable; urgency=low * Adding support for x86 CPUs with no support for sse2 instructions. signature.asc Description: Digital signature
Bug#632149: rakarrack: Fails to load bank and filter files (bandaid patch)
Hi, the new debian package builds out of tree (in order to build two variants of rakarrack). It looks like that this is part of this bug. After some trial-and-error, I think the generated config.h in the out-of-tree directory doesn't get picked up. I don't have any clue yet, why. One workaround is to simply change src/config.h with the desired prefix, patch attached. However that certainly is the real fix. Ryan (CC'd), maybe you have some more clues? Cheers, Stefan. --- config.h 2011-07-08 23:49:38.732024041 +0200 +++ rakarrack-0.6.1/src/config.h 2010-11-03 18:30:02.0 +0100 @@ -5,7 +5,7 @@ /* #undef CLOSEDIR_VOID */ /* DATADIR */ -#define DATADIR /usr/share/rakarrack +#define DATADIR /usr/local/share/rakarrack /* Define to 1 if you have the dirent.h header file, and it defines `DIR'. */ @@ -108,7 +108,7 @@ #define HAVE__BOOL 1 /* HELPDIR */ -#define HELPDIR /usr/share/doc/rakarrack +#define HELPDIR /usr/local/share/doc/rakarrack /* Name of package */ #define PACKAGE rakarrack @@ -132,7 +132,7 @@ #define PACKAGE_VERSION 0.6.1 /* Install prefix */ -#define PREFIX /usr +#define PREFIX /usr/local /* Define to the type of arg 1 for `select'. */ #define SELECT_TYPE_ARG1 int signature.asc Description: Digital signature
Bug#632149: rakarrack: Fails to load bank and filter files
Package: rakarrack Version: 0.6.1-2 Severity: normal Tags: sid The previous versions didn't have this problem at all. After upgrade I can't change banks and it shows error windows saying it can find bank files and other files related to effects. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (990, 'unstable'), (450, 'experimental'), (450, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.39-2-amd64 (SMP w/1 CPU core) Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages rakarrack depends on: ii jackd 5JACK Audio Connection Kit (default ii libasound2 1.0.23-4 shared library for ALSA applicatio ii libc6 2.13-7 Embedded GNU C Library: Shared lib ii libfltk1.1 1.1.10-6 Fast Light Toolkit - shared librar ii libfontconfig1 2.8.0-3 generic font configuration library ii libfreetype62.4.4-2 FreeType 2 font engine, shared lib ii libgcc1 1:4.6.1-1GCC support library ii libjack-jackd2-0 [libja 1.9.7~dfsg-1 JACK Audio Connection Kit (librari ii libsamplerate0 0.1.7-3 Audio sample rate conversion libra ii libsndfile1 1.0.24-1 Library for reading/writing audio ii libstdc++6 4.6.1-1 GNU Standard C++ Library v3 ii libx11-62:1.4.3-2X11 client-side library ii libxft2 2.2.0-3 FreeType-based font drawing librar ii libxpm4 1:3.5.9-1X11 pixmap library ii libxrender1 1:0.9.6-2X Rendering Extension client libra ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime rakarrack recommends no packages. rakarrack suggests no packages. -- no debconf information -- Bernat -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org