• Bug#265621: bristol: FTBFS and spurious files in the package

    From Jurij Smakov@1:229/2 to All on Sat Aug 14 03:30:10 2004
    From: [email protected]

    Package: bristol
    Version: 0.9.1-10
    Severity: serious
    Justification: fails to build from source

    Hello,

    The latest bristol package fails to build from source in sid pbuilder
    chroot:

    [...]
    cc -O -fPIC -g -D_REENTRANT -I../include -I. -c -o soundManager.o soundManager.c
    cc -O -fPIC -g -D_REENTRANT -I../include -I. bristolvox.o vox.o sdco.o sdcoutils.onbristolsampler.o vibrachorus.o thesermon.o bristolexplorer.o filter2.o lfo.o bristo ldx.o hpf.o junodco.o bristoljuno.o dimensionD.o expdco.o bristolsystem.o
    bristolhammond.o bristolprophet.o prophetdco.o filter.o noise.o hammond.o audioEngine.o resonator.o dxop.o midihandlers.o bristolmm.o midinote.o envelope.o dca.o rotary.o bristolmain.o dco.o midithread.o audiothread.o soundManager.o -o bristolengine -L/
    usr/lib -L../libbristol -L../libbristolmidi -L../../mixslab/libslabaudio -L../../slab/libslabaudio -Xlinker -Bdynamic -lc -lm -lasound -lpthread -Xlinker -Bstatic -lbristol -lbristolmidi -lslabaudio
    /usr/bin/ld: cannot find -lgcc_s
    collect2: ld returned 1 exit status
    make[2]: *** [bristolengine] Error 1
    make[2]: Leaving directory `/tmp/buildd/bristol-0.9.1/src/bristol/bristol' make[1]: *** [all] Error 2
    make[1]: Leaving directory `/tmp/buildd/bristol-0.9.1/src/bristol'
    cp: cannot stat `bristol/bristol/bristolengine': No such file or directory make: *** [build-stamp] Error 1
    pbuilder: Failed autobuilding of package
    [...]

    Full build log may be found at [0]. I'll try to investigate what causes it.

    Another note is that it is a really bad idea to include the files like build-stamp and configure-stamp in your package. As a result, unpacking the source and running 'debian/rules binary' will fail, because binary target
    does not call clean and due to the presence of build-stamp it jumps directly
    to the install.

    [0] http://www.wooyd.org/debian/

    Best regards,

    Jurij Smakov [email protected]
    Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.5
    Locale: LANG=C, LC_CTYPE=en_US.UTF-8


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

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From guenter geiger@1:229/2 to Jurij Smakov on Sat Aug 14 19:00:16 2004
    From: [email protected]

    Are you by chance using gcc 3.4 ?

    Just a guess, because I had the same problem with 3.4.
    Obviously there is something wrong during linking.

    (The stamp files were of course not included on purpose)

    Thanks for the report

    Guenter

    On Fri, 13 Aug 2004, Jurij Smakov wrote:

    Package: bristol
    Version: 0.9.1-10
    Severity: serious
    Justification: fails to build from source

    Hello,

    The latest bristol package fails to build from source in sid pbuilder
    chroot:

    [...]
    cc -O -fPIC -g -D_REENTRANT -I../include -I. -c -o soundManager.o soundManager.c
    cc -O -fPIC -g -D_REENTRANT -I../include -I. bristolvox.o vox.o sdco.o sdcoutils.onbristolsampler.o vibrachorus.o thesermon.o bristolexplorer.o filter2.o lfo.o bristo ldx.o hpf.o junodco.o bristoljuno.o dimensionD.o expdco.o bristolsystem.o
    bristolhammond.o bristolprophet.o prophetdco.o filter.o noise.o hammond.o audioEngine.o resonator.o dxop.o midihandlers.o bristolmm.o midinote.o envelope.o dca.o rotary.o bristolmain.o dco.o midithread.o audiothread.o soundManager.o -o bristolengine -L/
    usr/lib -L../libbristol -L../libbristolmidi -L../../mixslab/libslabaudio -L../../slab/libslabaudio -Xlinker -Bdynamic -lc -lm -lasound -lpthread -Xlinker -Bstatic -lbristol -lbristolmidi -lslabaudio
    /usr/bin/ld: cannot find -lgcc_s
    collect2: ld returned 1 exit status
    make[2]: *** [bristolengine] Error 1
    make[2]: Leaving directory `/tmp/buildd/bristol-0.9.1/src/bristol/bristol' make[1]: *** [all] Error 2
    make[1]: Leaving directory `/tmp/buildd/bristol-0.9.1/src/bristol'
    cp: cannot stat `bristol/bristol/bristolengine': No such file or directory make: *** [build-stamp] Error 1
    pbuilder: Failed autobuilding of package
    [...]

    Full build log may be found at [0]. I'll try to investigate what causes it.

    Another note is that it is a really bad idea to include the files like build-stamp and configure-stamp in your package. As a result, unpacking the source and running 'debian/rules binary' will fail, because binary target does not call clean and due to the presence of build-stamp it jumps directly to the install.

    [0] http://www.wooyd.org/debian/

    Best regards,

    Jurij Smakov [email protected]
    Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.5
    Locale: LANG=C, LC_CTYPE=en_US.UTF-8




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

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Jurij Smakov@1:229/2 to guenter geiger on Sat Aug 14 19:40:08 2004
    From: [email protected]

    Hi Guenter,

    On Sat, 14 Aug 2004, guenter geiger wrote:

    Are you by chance using gcc 3.4 ?

    Just a guess, because I had the same problem with 3.4.
    Obviously there is something wrong during linking.

    No, the version of gcc which my pbuilder currently uses is:

    gcc (GCC) 3.3.4 (Debian 1:3.3.4-7)

    (The stamp files were of course not included on purpose)

    Thanks for the report

    Guenter

    Best regards,

    Jurij Smakov [email protected]
    Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC


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

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)