• Bug#265055: qgo: FTBFS on amd64/gcc-3.4: Missing Build-Depends on 'auto

    From Andreas Jochens@1:229/2 to All on Wed Aug 11 17:20:07 2004
    From: [email protected]

    Package: qgo
    Severity: normal
    Tags: patch

    When building 'qgo' on amd64 with gcc-3.4 I get the following error:

    Making all in qgo
    make[3]: Entering directory `/qgo-0.2.1/qgo'
    cd .. && /qgo-0.2.1/admin/missing automake-1.4 --gnu --include-deps qgo/Makefile
    WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your
    system. You might have modified some files without having the
    proper tools for further handling them. Check the `README' file,
    it often tells you about the needed prerequirements for installing
    this package. You may also peek at any GNU archive site, in case
    some other package would contain this missing `automake-1.4' program. make[3]: *** [Makefile.in] Error 1
    make[3]: Leaving directory `/qgo-0.2.1/qgo'

    Please add the missing Build-Depends on 'automake1.4' to debian/control.

    The second part of the attached patch moves one function before its first
    use which is necessary to make the code compile with gcc-3.4.

    Regards
    Andreas Jochens

    diff -urN ../tmp-orig/qgo-0.2.1/debian/control ./debian/control
    --- ../tmp-orig/qgo-0.2.1/debian/control 2004-08-11 16:36:50.892007656 +0200
    +++ ./debian/control 2004-08-11 16:36:46.298902703 +0200
    @@ -3,7 +3,7 @@
    Priority: optional
    Maintainer: Martin A. Godisch <[email protected]>
    Standards-Version: 3.6.1
    -Build-Depends: autotools-dev, libqt3-mt-dev, libqt3-compat-headers +Build-Depends: autotools-dev, automake1.4, libqt3-mt-dev, libqt3-compat-headers

    Package: qgo
    Architecture: any
    diff -urN ../tmp-orig/qgo-0.2.1/qgo/src/wavfile.c ./qgo/src/wavfile.c
    --- ../tmp-orig/qgo-0.2.1/qgo/src/wavfile.c 2004-05-26 19:44:05.000000000 +0200
    +++ ./qgo/src/wavfile.c 2004-08-11 16:21:34.088766107 +0200
    @@ -140,6 +140,13 @@



    +static void
    +_v_erf(const char *format,va_list ap) {
    + vsprintf(emsg,format,ap); /* Capture message into emsg[] */
    +}
    +
    +
    +
    /*
    * Error reporting function for this source module:
    */
    @@ -155,13 +162,6 @@
    }


    -static void
    -_v_erf(const char *format,va_list ap) {
    - vsprintf(emsg,format,ap); /* Capture message into emsg
  • From Martin Godisch@1:229/2 to Andreas Jochens on Sun Aug 15 17:20:08 2004
    From: [email protected]

    On Wed, Aug 11, 2004 at 16:50:07 +0200, Andreas Jochens wrote:

    Please add the missing Build-Depends on 'automake1.4' to debian/control.

    I'd rather like to patch this single Makefile.in to avoid another build dependency. Is there a way to test things out on an amd64? powerpc
    appears to have the same problem...

    The second part of the attached patch moves one function before its first
    use which is necessary to make the code compile with gcc-3.4.

    Thanks! I currently have another qgo build failure to deal with, hence
    it will take some time.

    Thank you for your bug report!

    Kind regards,

    Martin


    --
    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)