Package: specimen
Severity: serious
Tags: patch

When building 'specimen' in a clean chroot,
I get the following error:

checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0 libxml-2.0 jack alsa samplerate sndfile phat... Package 
phat was not found in the pkg-config search path.
Perhaps you should add the directory containing `phat.pc'
to the PKG_CONFIG_PATH environment variable
No package 'phat' found

configure: error: Library requirements (gtk+-2.0 libxml-2.0 jack alsa 
samplerate sndfile phat) not met; consider adjusting the PKG_CONFIG_PATH 
environment variable if your libraries are in a nonstandard prefix so 
pkg-config can find them.
make: *** [config.status] Error 1

Please add the missing Build-Depends on 'libphat0-dev'
to debian/control.

When this is fixed, I get another error when trying to build the
package on amd64 with gcc-4.0:

if x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.     -O3 -DXTHREADS 
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include 
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
-I/usr/include/alsa   -pthread -DPIXMAPSDIR=\"/usr/share/specimen/pixmaps/\" 
-Wall -Werror -MT beef.o -MD -MP -MF".deps/beef.Tpo" -c -o beef.o beef.c; \
then mv -f ".deps/beef.Tpo" ".deps/beef.Po"; else rm -f ".deps/beef.Tpo"; exit 
1; fi
cc1: warnings being treated as errors
beef.c: In function 'beef_write':
beef.c:39: warning: pointer targets in passing argument 1 of 'xmlNewDoc' 
differin signedness
make[4]: *** [beef.o] Error 1
make[4]: Leaving directory `/srv/dbuild/tmp/specimen-0.4.5/src'

The attached patch also fixes this.

Regards
Andreas Jochens

diff -urN ../tmp-orig/specimen-0.4.5/debian/control ./debian/control
--- ../tmp-orig/specimen-0.4.5/debian/control   2005-02-09 08:45:39.686432279 
+0100
+++ ./debian/control    2005-02-09 08:42:25.000000000 +0100
@@ -2,7 +2,7 @@
 Section: sound
 Priority: optional
 Maintainer: Eduardo Marcel Macan <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 4.0.0), libphat0 (>= 0.2.3), libgtk2.0-dev (>= 
2.4.13), libjack-dev ,  libsamplerate0-dev (>= 0.1.1), libxml2-dev (>= 2.6.11), 
libsndfile1-dev (>= 1.0.10),  libasound2-dev (>= 1.0.8)
+Build-Depends: debhelper (>= 4.0.0), libphat0-dev (>= 0.2.3), libgtk2.0-dev 
(>= 2.4.13), libjack-dev ,  libsamplerate0-dev (>= 0.1.1), libxml2-dev (>= 
2.6.11), libsndfile1-dev (>= 1.0.10),  libasound2-dev (>= 1.0.8)
 Standards-Version: 3.6.1
 
 Package: specimen
diff -urN ../tmp-orig/specimen-0.4.5/src/beef.c ./src/beef.c
--- ../tmp-orig/specimen-0.4.5/src/beef.c       2004-10-03 06:56:34.000000000 
+0200
+++ ./src/beef.c        2005-02-09 08:45:22.321802453 +0100
@@ -36,7 +36,7 @@
     debug ("Writing current bank to file %s\n", name);
 
     /* create the guts of the doc */
-    doc = xmlNewDoc ("1.0");
+    doc = xmlNewDoc ((unsigned char*)"1.0");
     rootnode = xmlNewDocNode (doc, NULL, (const xmlChar *) "beef", NULL);
     xmlDocSetRootElement (doc, rootnode);
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to