Ubuntu Pastebin

Paste from a at Wed, 30 Sep 2015 14:11:17 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
override_dh_auto_configure:
        # Test broken hppa kernel with glibc >= 2.5
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/src/images && $(CURDIR)/debian/hppa-tmp/hppa-test-program | sort > $(CURDIR)/debian/hppa-tmp/readdir_r-out
        cd $(CURDIR)/doc/src/images && 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
Download as text