• Bug#266446: ghc5: FTBFS: linker problem

    From =?ISO-8859-1?Q?Martin_Sj=F6gren?=@1:229/2 to Ian Lynagh on Fri Aug 20 10:30:14 2004
    From: [email protected]

    On Thu, 19 Aug 2004 20:38:19 +0100, Ian Lynagh <[email protected]> wrote:
    Were you using an unstable or testing chroot?

    Unstable.

    Thanks, reproduced now. I believe the attached patch from -6 should fix
    it, but I won't be able to test the package and upload it myself for a
    few days. Martin, Isaac, if you could coordinate an upload then that
    would be great. I'm not sure if this is RC for sarge or not.

    I just built ghc5 (-6, without the patch) on a fresh sarge chroot and
    it does not seem to happen there. Note that this is a fresh sarge
    chroot with /bin/sh -> bash. The brace expansion is a bashism, but
    maybe the quotes around $WithGhc is also something that works in bash
    but not dash?

    Roland, is this part of your ftbfs-with-dash crusade? :) That's
    sarge-ignore, isn't it? I'd suggest tagging this bug 'sarge-ignore'
    and/or 'sid'. In any case, I don't see that this merits anything else
    than an urgency=low upload to sid. Ian, how long are you going to be
    away? I could still NMU it but I don't think it's that urgent.


    /Martin, who will now torture his poor computer with building ghc5
    with the patch...


    --
    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 Ian Lynagh@1:229/2 to All on Fri Aug 20 11:00:10 2004
    From: [email protected]

    On Fri, Aug 20, 2004 at 10:09:10AM +0200, Martin Sj�gren wrote:

    I just built ghc5 (-6, without the patch) on a fresh sarge chroot and
    it does not seem to happen there. Note that this is a fresh sarge
    chroot with /bin/sh -> bash. The brace expansion is a bashism, but
    maybe the quotes around $WithGhc is also something that works in bash
    but not dash?

    I don't think so, but the build probably goes through if the
    version isn't detected.

    Roland, is this part of your ftbfs-with-dash crusade? :) That's
    sarge-ignore, isn't it? I'd suggest tagging this bug 'sarge-ignore'
    and/or 'sid'. In any case, I don't see that this merits anything else
    than an urgency=low upload to sid. Ian, how long are you going to be
    away? I could still NMU it but I don't think it's that urgent.

    Agreed; if it's not important for sarge then don't worry about it.


    Thanks
    Ian



    --
    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 Roland Stigge@1:229/2 to All on Fri Aug 20 22:10:10 2004
    From: [email protected]

    tag 266446 patch
    tag 266446 - sarge-ignore
    thanks

    On Fri, 2004-08-20 at 10:09, Martin Sjögren wrote:
    Were you using an unstable or testing chroot?

    Unstable.

    Thanks, reproduced now. I believe the attached patch from -6 should fix
    it, but I won't be able to test the package and upload it myself for a
    few days. Martin, Isaac, if you could coordinate an upload then that
    would be great. I'm not sure if this is RC for sarge or not.

    I just built ghc5 (-6, without the patch) on a fresh sarge chroot and
    it does not seem to happen there. Note that this is a fresh sarge
    chroot with /bin/sh -> bash.

    I can confirm that the bug isn't present in sarge, but I can reproduce
    it in unstable (with /bin/sh -> bash). Furthermore, I can confirm that
    the patch makes the problem disappear.

    Therefore, I
    * leave the sid tag
    * add the patch tag
    * remove the sarge-ignore tag

    Roland, is this part of your ftbfs-with-dash crusade? :)

    ;)

    Not yet. I haven't filed the announced ~200 respective bugs (as
    discussed at [email protected]), yet.

    bye,
    Roland



    --
    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 Roland Stigge@1:229/2 to All on Wed Aug 18 00:20:06 2004
    From: [email protected]

    Package: ghc5
    Version: 5.04.3-6
    Severity: serious

    Hi,

    trying to build the package in a clean environment (pbuilder chroot), I got:

    ============================================================================= [...]
    /usr/bin/find Graphics/Rendering/OpenGL_split Graphics/Rendering/OpenGL/GL_split
    Graphics/Rendering/OpenGL/GL/BasicTypes_split Graphics/Rendering/OpenGL/GL/Vert
    exSpec_split Graphics/Rendering/OpenGL/GLU_split Graphics/Rendering/OpenGL/GLU/D
    ummy_split -name '*.p_o' >> libHSOpenGL_p.a.list
    /usr/bin/ar clqs libHSOpenGL_p.a.tmp -input libHSOpenGL_p.a.list /usr/bin/ar: '-input': No such file
    rm -f libHSOpenGL_p.a.list
    : libHSOpenGL_p.a.tmp
    mv libHSOpenGL_p.a.tmp libHSOpenGL_p.a ------------------------------------------------------------------------ ===fptools== Finished recursively making `all' for ways: p ...
    PWD = /tmp/buildd/ghc5-5.04.3/build-stage2/libraries/OpenGL ------------------------------------------------------------------------ ------------------------------------------------------------------------ ===fptools== Recursively making `all' in specs ...
    PWD = /tmp/buildd/ghc5-5.04.3/build-stage2/libraries/OpenGL ------------------------------------------------------------------------ ------------------------------------------------------------------------ ==fptools== /usr/bin/make all - --no-print-directory -r;
    in /tmp/buildd/ghc5-5.04.3/build-stage2/libraries/OpenGL/specs ------------------------------------------------------------------------ ------------------------------------------------------------------------ ===fptools== Recursively making `all' in preprocess enumerant function ...
    PWD = /tmp/buildd/ghc5-5.04.3/build-stage2/libraries/OpenGL/specs ------------------------------------------------------------------------ ------------------------------------------------------------------------ ==fptools== /usr/bin/make all - --no-print-directory -r;
    in /tmp/buildd/ghc5-5.04.3/build-stage2/libraries/OpenGL/specs/preprocess ------------------------------------------------------------------------ ../../../../ghc/compiler/ghc-inplace -ldl -H32m -O -c Preprocess.hs -o Prepro
    cess.o
    ../../../../ghc/compiler/ghc-inplace -o Preprocess -ldl -H32m -O Preproces
    s.o
    /tmp/buildd/ghc5-5.04.3/build-stage2/libraries/haskell98/libHShaskell98.a: could
    not read symbols: Archive has no index; run ranlib to add one
    collect2: ld returned 1 exit status
    make[6]: *** [Preprocess] Error 1
    make[5]: *** [all] Error 1
    make[4]: *** [all] Error 1
    make[3]: *** [all] Error 1
    make[3]: Leaving directory `/tmp/buildd/ghc5-5.04.3/build-stage2/libraries' make[2]: *** [all] Error 1
    make[2]: Leaving directory `/tmp/buildd/ghc5-5.04.3/build-stage2'
    make[1]: *** [build-stage2] Error 2
    make[1]: Leaving directory `/tmp/buildd/ghc5-5.04.3'
    make: *** [stamps/build-stamp] Error 2 =============================================================================

    Thanks for considering.

    bye,
    Roland


    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7
    Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (ignored: LC_ALL set to en_GB.UTF-8)

    Versions of packages ghc5 depends on:
    ii gcc-2.95 1:2.95.4-22 The GNU C compiler
    ii haskell-utils 1.4 Utilities used by the Debian Haske ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii libgmp3 4.1.3-3 Multiprecision arithmetic library ii libgmp3-dev 4.1.3-3 Multiprecision arithmetic library ii libncurses5 5.4-4 Shared libraries for terminal hand ii libreadline4 4.3-11 GNU readline and history libraries ii libreadline4-dev 4.3-11 GNU readline and history libraries ii perl [perl5] 5.8.4-2 Larry Wall's Practical Extraction

    -- no debconf information


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