Hi,

This is already the case on Qt4 build:
http://svn.debian.org/wsvn/pkg-kde/trunk/packages/qt4-x11/debian/rules?op=file&rev=0&sc=0
http://svn.debian.org/wsvn/pkg-kde/trunk/packages/qt4-x11/debian/readdir-hppa-test.c?op=file&rev=0&sc=0

[...]
common-configure-arch::
ifeq ($(DEB_HOST_ARCH),hppa)
        mkdir -p debian/hppa-tmp
        echo "Testing whether getdents kernel bug is present on this buildd - 
see #433768"
        gcc -o debian/hppa-tmp/hppa-test-program debian/readdir-hppa-test.c
        cd $(CURDIR)/doc/html && $(CURDIR)/debian/hppa-tmp/hppa-test-program | 
sort > $(CURDIR)/debian/hppa-tmp/readdir_r-out
        cd $(CURDIR)/doc/html && ls -a | sort > 
$(CURDIR)/debian/hppa-tmp/ls-a-out
        @if ! diff -q $(CURDIR)/debian/hppa-tmp/readdir_r-out 
$(CURDIR)/debian/hppa-tmp/ls-a-out ; \
                then \
                echo "Kernel bug present. This will misbuild qt4 if proceeding. 
Failing" ; \
                echo "Please update kernel and test again" ; \
                exit 5 ; \
        fi
endif
[...]

cheers,

Fathi



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

Reply via email to