[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#618488: incorrect value for libIDL_cv_long_long_format in /etc/dpkg-cross/cross-config.cache



Package: dpkg-cross
Version: 2.5.8
Severity: normal

This bug corresponds to
https://bugs.launchpad.net/ubuntu/+source/dpkg-cross/+bug/659805
in Ubuntu.

Somewhere along the line the value of the 
libIDL_cv_long_long_format configure value has changed (or the
original in dpkg-cross was never right).

The correct value is 'll' not '%llu'. The percent and the u are now
provided elsewhere, as can be seen from the configure.in snippet:
AC_CACHE_VAL(libIDL_cv_long_long_format,[
    for format in ll q I64; do
        AC_TRY_RUN([#include <stdio.h>
            #include <stdlib.h>
            int main()
            {
                long long b, a = -0x3AFAFAFAFAFAFAFALL;
                char buffer[1000];
                sprintf (buffer, "%${format}u", a);
                sscanf (buffer, "%${format}u", &b);
                exit (b!=a);
            }
            ],
            libIDL_cv_long_long_format=${format}
            break)



Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/



Reply to: