• Bug#265032: gprolog: FTBFS: problems getting config.{guess,sub} to work

    From Roland Stigge@1:229/2 to All on Wed Aug 11 15:40:10 2004
    From: [email protected]

    Package: gprolog
    Version: 1.2.18-11
    Severity: serious

    Hi,

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

    ============================================================================= [...]
    dpkg-architecture: warning: no utmp entry available and LOGNAME not defined; usi
    ng uid of process (1000)
    fakeroot debian/rules clean
    dh_testdir
    ( PATH=/tmp/buildd/gprolog-1.2.18/src/src/TopComp:/tmp/buildd/gprolog-1.2.18/src
    /src/EnginePl:/tmp/buildd/gprolog-1.2.18/src/src/Pl2Wam:/tmp/buildd/gprolog-1.2.
    18/src/src/Wam2Ma:/tmp/buildd/gprolog-1.2.18/src/src/Ma2Asm:/tmp/buildd/gprolog-
    1.2.18/src/src/Fd2C:/tmp/buildd/gprolog-1.2.18/src/src/DevUtils::/usr/bin:/bin;
    \
    if [ ! -f src/src/Makefile -o \
    ! -f src/src/configure -o \
    src/src/Makefile.in -nt src/src/Makefile ]; then \
    cd src/src; \
    rm -f config.{sub,guess}; \
    cp /usr/share/misc/config.{guess,sub} .; \
    autoconf && \
    CC=gcc CPPFLAGS="-DDEBIAN" ./configure --prefix=/usr --bindir=/usr/lib/gprol
    og-iso/bin --libdir=/usr/lib/gprolog-iso --includedir=/usr/lib/gprolog-iso/inclu
    de --with-doc-dir=/usr/share/doc/gprolog-doc --with-html-dir=/usr/share/doc/gpro
    log-doc/gprolog.html --with-examples-dir=/usr/share/doc/gprolog-doc/examples --w
    ith-c-flags="-O3 -fomit-frame-pointer -funsigned-char -Wall -Wall -DDEBIAN" --wi
    thout-links --without-ebp --enable-watermark; fi )
    cp: cannot stat `/usr/share/misc/config.{guess,sub}': No such file or directory checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for ranlib... ranlib
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    configure: error: cannot run /bin/bash ./config.sub
    make: *** [config] Error 1 =============================================================================

    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)


    --
    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 Sun Aug 15 15:10:07 2004
    From: [email protected]

    tag 265032 - unreproducible
    thanks

    Hi,

    This seems to be caused by the bashism in debian/rules:

    rm -f config.{sub,guess}; \
    cp /usr/share/misc/config.{guess,sub} .; \

    You need to remove it or insert "SHELL=/bin/sh". See also Policy 10.4.
    Scripts. I also tried with /bin/sh -> bash in the pbuilder chroot, but I
    got the same error since my development environment where "debian/rules
    clean" is invoked, I have /bin/sh -> dash.

    Please note that even when I run the build with pbuilder, ./configure is
    called outside the chroot!

    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 Salvador Abreu@1:229/2 to All on Mon Aug 16 00:00:16 2004
    From: [email protected]

    Roland,

    This will be fixed in the upcoming 1.2.18-12. I had my outgoing email
    hosed for a while, but you seem to have figured it out :-)

    --
    ../salvador

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.5 (GNU/Linux)

    iD8DBQFBH9dizoTo55Wk8dYRAvf0AKC6SdMH0pfIjfCrNEIc7YPkfiA38ACdH2p6 7dxKZOaJoFe9EWqYMJ4EVns=
    =aD0e
    -----END PGP SIGNATURE-----

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