Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#76 bristol 0.60.2 FTBFS on Debian kfreebsd-i386

closed-accepted
Nick Copeland
8
2010-05-17
2010-05-04
quadrispro
No

Bristol does no longer builds on Debian kfreebsd-i386 (but builds fine on kfreebsd-amd64), full buildlog here [1].

make[1]: Entering directory `/build/buildd-bristol_0.60.2-1-kfreebsd-i386-e371SY/bristol-0.60.2'
make all-recursive
make[2]: Entering directory `/build/buildd-bristol_0.60.2-1-kfreebsd-i386-e371SY/bristol-0.60.2'
Making all in libbristolaudio
make[3]: Entering directory `/build/buildd-bristol_0.60.2-1-kfreebsd-i386-e371SY/bristol-0.60.2/libbristolaudio'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c -o audioEngineALSA.lo audioEngineALSA.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioEngineALSA.c -fPIC -DPIC -o .libs/audioEngineALSA.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioEngineALSA.c -o audioEngineALSA.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c -o audioGUIALSA.lo audioGUIALSA.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioGUIALSA.c -fPIC -DPIC -o .libs/audioGUIALSA.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioGUIALSA.c -o audioGUIALSA.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c -o audioMastering.lo audioMastering.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioMastering.c -fPIC -DPIC -o .libs/audioMastering.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioMastering.c -o audioMastering.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c -o audioEngine.lo audioEngine.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioEngine.c -fPIC -DPIC -o .libs/audioEngine.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioEngine.c -o audioEngine.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c -o audioGUI.lo audioGUI.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioGUI.c -fPIC -DPIC -o .libs/audioGUI.o
audioGUI.c:49: warning: 'SLAB_CONVERT_LABELS' defined but not used
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioGUI.c -o audioGUI.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c -o audioNetClient.lo audioNetClient.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -pthread -Wall -g -I./../include/slab -I./../include/bristol -DBRISTOL_HAS_OSS=1 -D_BRISTOL_DRAIN -DBRISTOL_HAS_ALSA=0 -D_BRISTOL_JACK -D_BRISTOL_JACK_MIDI -g -O2 -I/usr/X11R6/include -c audioNetClient.c -fPIC -DPIC -o .libs/audioNetClient.o
In file included from audioNetClient.c:50:
./../include/slab/socketToolKit.h:81: error: conflicting types for 'ftell'
/usr/include/stdio.h:727: note: previous declaration of 'ftell' was here
make[3]: *** [audioNetClient.lo] Error 1
make[3]: Leaving directory `/build/buildd-bristol_0.60.2-1-kfreebsd-i386-e371SY/bristol-0.60.2/libbristolaudio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd-bristol_0.60.2-1-kfreebsd-i386-e371SY/bristol-0.60.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd-bristol_0.60.2-1-kfreebsd-i386-e371SY/bristol-0.60.2'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

[1] https://buildd.debian.org/fetch.cgi?pkg=bristol;ver=0.60.2-1;arch=kfreebsd-i386;stamp=1273004841

Discussion

  • quadrispro
    quadrispro
    2010-05-04

    • priority: 5 --> 8
     
  • Nick Copeland
    Nick Copeland
    2010-05-05

    I can attached a pair of files here:

    libbristolaudio/Makefile.am - removes unused net tap code
    include/slab/socketToolKit.h - contained the offending defs.

    I think the reason you didn't see it before was a use of a _GNU_SOURCE definition but that does not explain why you get it there and I don't get it here.

    Regards, nick

     
  • Nick Copeland
    Nick Copeland
    2010-05-05

    • assigned_to: nobody --> ncopeland
     
  • Nick Copeland
    Nick Copeland
    2010-05-05

    libbristolaudio/Makefile.am removes net tap

     
    Attachments
  • Nick Copeland
    Nick Copeland
    2010-05-05

    include/slab/socketToolKit.h contains offending redefinitions

     
    Attachments
  • Nick Copeland
    Nick Copeland
    2010-05-05

    The MIDI code has more TCP stuf associated with it, will see how you get on when you compile the next library - this was the first one, the audio library.

     
  • Nick Copeland
    Nick Copeland
    2010-05-08

    The tell() and ftell() should not be defined in the socket toolkit. They have been there for ever though, this is not a piece of code I have changed in a long time. This worked on 0.60.0, now it fails which is odd, the only thing I can think of is adding in __GNU_SOURCE at some point.

    The file I send has these removed - does it compile there now? I tested it last night on my 64bit partition and it compiles but then it always does here.

     
  • Nick Copeland
    Nick Copeland
    2010-05-13

    Does this now pass the build process?

     
  • quadrispro
    quadrispro
    2010-05-16

    Does new release provide these changes?

     
  • Nick Copeland
    Nick Copeland
    2010-05-16

    The files I attached should have removed the internal redefinitions of tell, ftell other system definitions. Their templates were defined in my own socket toolkit for reasons I no longer remember.

     
  • quadrispro
    quadrispro
    2010-05-16

    Uploading your new release right now, I'll let you know.

     
  • quadrispro
    quadrispro
    2010-05-17

    Builds fine, thanks for the fantastic job!

    Closing.

     
  • quadrispro
    quadrispro
    2010-05-17

    • status: open --> closed-accepted