F11 courier-imap fails.

Discussion in 'General' started by Nachogrande, Oct 30, 2010.

  1. Nachogrande

    Nachogrande New Member

    Hey all.. So I'm at this step in the manual:

    I am doing it as compileuser, per the instructions (NOT ROOT!!), but it is failing.

    sorry in advance for the lengthy post - Apparently this forum does not use the 'spoiler' bbcode feature to 'hide' long code snippets etc.. :(
    cp -f imap/mkpop3dcert.8 .
    cp ./maildir/maildirkw.1 .
    cp imap/imapd.dist .
    cp imap/imapd-ssl.dist .
    cp imap/pop3d.dist .
    cp imap/pop3d-ssl.dist .
    cp imap/imapd.cnf .
    cp imap/pop3d.cnf .
    cp -f ./maildir/quotawarnmsg quotawarnmsg.example
    make[2]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1'
    + /usr/bin/make check
    Making check in numlib
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/numlib'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/numlib'
    Making check in md5
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/md5'
    ./md5test | cmp -s - ./md5test.txt
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/md5'
    Making check in sha1
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/sha1'
    ./testsuite | cmp -s - ./testsuite.txt
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/sha1'
    Making check in bdbobj
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/bdbobj'
    ./testsuite | cmp -s - ./testsuite.txt
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/bdbobj'
    Making check in gdbmobj
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/gdbmobj'
    ./testsuite | cmp -s - ./testsuite.txt
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/gdbmobj'
    Making check in soxwrap
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/soxwrap'
    ./testprog
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/soxwrap'
    Making check in unicode
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/unicode'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/unicode'
    Making check in rfc822
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc822'
    /usr/bin/make check-am
    make[2]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc822'
    ./testsuite | cmp -s - ./testsuite.txt
    ./reftest | cmp -s - ./reftest.txt
    make[2]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc822'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc822'
    Making check in random128
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/random128'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/random128'
    Making check in rfc1035
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc1035'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc1035'
    Making check in rfc2045
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc2045'
    /usr/bin/make check-am
    make[2]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc2045'
    /bin/sh ./testsuite | cmp -s - ./testsuite.txt.idn
    make[2]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc2045'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rfc2045'
    Making check in liblock
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/liblock'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/liblock'
    Making check in maildir
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/maildir'
    /usr/bin/make check-am
    make[2]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/maildir'
    /bin/sh ./testsuite 2>&1 | cmp - ./testsuite.txt
    test "-lpcre" != "" || exit 0 ; /bin/sh ./testsuite2 2>&1 | cmp - ./testsuite2.txt
    LC_ALL=C; export LC_ALL; ./maildirkwtest | cmp -s - ./maildirkwtest.txt
    LC_ALL=C; export LC_ALL; ./maildiraclttest
    make[2]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/maildir'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/maildir'
    Making check in makedat
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/makedat'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/makedat'
    Making check in libhmac
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/libhmac'
    test ! -x ./md5hmactest || ./md5hmactest | cmp -s - ./md5hmactest.txt
    test ! -x ./sha1hmactest || ./sha1hmactest | cmp -s - ./sha1hmactest.txt
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/libhmac'
    Making check in waitlib
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/waitlib'
    ./testwait
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/waitlib'
    Making check in tcpd
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/tcpd'
    /usr/bin/make check-am
    make[2]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/tcpd'
    sh ./testsuite 2>&1 | cmp -s - ./testsuite.txt
    make[2]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/tcpd'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/tcpd'
    Making check in rootcerts
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rootcerts'
    make[1]: Nothing to be done for `check'.
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/rootcerts'
    Making check in imap
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/imap'
    /usr/bin/make check-am
    make[2]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/imap'
    LC_ALL=C; export LC_ALL; ./testsuite | ./testsuitefix.pl | sort | cmp -s - ./testsuite.txt
    ****************************
    * Sanity check in progress *
    ****************************
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=90, body=2398, rcvd=764, sent=9134, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=218, body=0, rcvd=1046, sent=2769, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=73, sent=459, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=249, sent=889, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=97, sent=532, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=61, sent=437, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=203, sent=1157, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=214, sent=893, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=517, sent=3430, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=29, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=29, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=50, sent=769, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=50, sent=841, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=368, sent=2049, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=148, body=0, rcvd=572, sent=1294, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=186, sent=756, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=27, sent=331, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=67, sent=388, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=691, sent=3154, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=181, sent=641, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=33, sent=111, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=139, sent=702, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=156, sent=641, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=672, sent=3060, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=238, sent=975, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=2412, sent=11939, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=156, rcvd=1397, sent=7555, time=0
    INFO: LOGIN, user=user1, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=user1, ip=[127.0.0.1], headers=0, body=0, rcvd=155, sent=485, time=0
    INFO: LOGIN, user=user2, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=user2, ip=[127.0.0.1], headers=0, body=0, rcvd=117, sent=317, time=0
    INFO: LOGIN, user=user0, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=user0, ip=[127.0.0.1], headers=0, body=0, rcvd=109, sent=677, time=0
    INFO: LOGIN, user=user2, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=user2, ip=[127.0.0.1], headers=0, body=0, rcvd=896, sent=3055, time=0
    INFO: LOGIN, user=user1, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=user1, ip=[127.0.0.1], headers=0, body=0, rcvd=135, sent=720, time=0
    INFO: LOGIN, user=user1, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=user1, ip=[127.0.0.1], headers=0, body=0, rcvd=464, sent=2582, time=0
    INFO: LOGIN, user=user1, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=user1, ip=[127.0.0.1], headers=0, body=0, rcvd=404, sent=1888, time=0
    LC_ALL=C; export LC_ALL; test "yes" = "yes" || exit 0; /bin/sh ./smaptestsuite | ./testsuitefix.pl | sort | cmp -s - ./smaptestsuite.txt
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=65, sent=3023, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=44, sent=175, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=1179, body=461, rcvd=565, sent=3171, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=18, body=5962, rcvd=665, sent=7765, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=164, sent=67564, time=1
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=2346, sent=11641, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=1118, sent=3783, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=124, sent=591, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=20, sent=110, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=161, sent=722, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=308, sent=1640, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=28, sent=128, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=1195, body=0, rcvd=355, sent=2038, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=379, sent=1353, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=334, sent=1107, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=45, sent=167, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=IMAP
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=81, sent=824, time=0
    INFO: LOGIN, user=compileuser, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=compileuser, ip=[127.0.0.1], headers=0, body=0, rcvd=140, sent=488, time=0
    INFO: LOGIN, user=confmdtest, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=confmdtest, ip=[127.0.0.1], headers=0, body=0, rcvd=2491, sent=6268, time=0
    INFO: LOGIN, user=confmdtest, ip=[127.0.0.1], port=[0], protocol=SMAP1
    INFO: LOGOUT, user=confmdtest, ip=[127.0.0.1], headers=0, body=0, rcvd=26, sent=610, time=0
    make[2]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/imap'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1/imap'
    make[1]: Entering directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1'
    make[1]: Leaving directory `/home/compileuser/rpm/BUILD/courier-imap-4.8.1'
    + exit 0
    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UK4wcF
    + umask 022
    + cd /home/compileuser/rpm/BUILD
    + '[' /home/compileuser/rpm/BUILDROOT/courier-imap-4.8.1-2.11.i386 '!=' / ']'
    + rm -rf /home/compileuser/rpm/BUILDROOT/courier-imap-4.8.1-2.11.i386
    ++ dirname /home/compileuser/rpm/BUILDROOT/courier-imap-4.8.1-2.11.i386
    + mkdir -p /home/compileuser/rpm/BUILDROOT
    + mkdir /home/compileuser/rpm/BUILDROOT/courier-imap-4.8.1-2.11.i386
    mkdir: cannot create directory `/home/compileuser/rpm/BUILDROOT/courier-imap-4.8.1-2.11.i386': Permission denied
    error: Bad exit status from /var/tmp/rpm-tmp.UK4wcF (%install)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.UK4wcF (%install)
    [compileuser@linsrv downloads]$ sudo rpmbuild -ta courier-imap-4.8.1.tar.bz2
    [sudo] password for compileuser:
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.keNm3H
    + umask 022
    + cd /home/compileuser/rpm/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /home/compileuser/rpm/BUILD
    + rm -rf courier-imap-4.8.1
    + /usr/bin/bzip2 -dc /home/compileuser/downloads/courier-imap-4.8.1.tar.bz2
    + /bin/tar -xf -
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd courier-imap-4.8.1
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'
    + export CFLAGS
    + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'
    + export CXXFLAGS
    + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -I/usr/lib/courier-imap/lib/gfortran/modules'
    + export FFLAGS
    + ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i586-redhat-linux-gnu --program-prefix= --prefix=/usr/lib/courier-imap --exec-prefix=/usr/lib/courier-imap --bindir=/usr/lib/courier-imap/bin --sbindir=/usr/lib/courier-imap/sbin --sysconfdir=/usr/lib/courier-imap/etc --datadir=/usr/lib/courier-imap/share --includedir=/usr/lib/courier-imap/include --libdir=/usr/lib/courier-imap/lib --libexecdir=/usr/lib/courier-imap/libexec --localstatedir=/var/run --sharedstatedir=/var/lib --mandir=/usr/lib/courier-imap/man --infodir=/usr/share/info --with-redhat
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for i686-pc-linux-gnu-gcc... no
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    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 ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for gawk... (cached) gawk
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for perl5... no
    checking for perl... /usr/bin/perl
    checking for sysconftool...... ././sysconftool
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking the maximum length of command line arguments... 1966080
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for i686-pc-linux-gnu-objdump... no
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for i686-pc-linux-gnu-ar... no
    checking for ar... ar
    checking for i686-pc-linux-gnu-strip... no
    checking for strip... strip
    checking for i686-pc-linux-gnu-ranlib... no
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... yes
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for env... /bin/env
    configure: WARNING: === Do not compile Courier-IMAP as root. Compile
    configure: WARNING: === Courier-IMAP as a non-root user then su to
    configure: WARNING: === root before running make install. You must now
    configure: WARNING: === remove this entire directory and then extract the
    configure: WARNING: === source code from the tarball as a non-root user
    configure: WARNING: === and rerun the configure script. If you have read
    configure: WARNING: === the INSTALL file you should have known this. So
    configure: WARNING: === you better read INSTALL again.
    configure: error: aborted.
    error: Bad exit status from /var/tmp/rpm-tmp.keNm3H (%prep)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.keNm3H (%prep)
    [compileuser@linsrv downloads]$ sudo rpmbuild -ta courier-imap-4.8.1.tar.bz2
    [sudo] password for compileuser:
    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qZAMSF
    + umask 022
    + cd /home/compileuser/rpm/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /home/compileuser/rpm/BUILD
    + rm -rf courier-imap-4.8.1
    + /usr/bin/bzip2 -dc /home/compileuser/downloads/courier-imap-4.8.1.tar.bz2
    + /bin/tar -xf -
    + STATUS=0
    + '[' 0 -ne 0 ']'
    + cd courier-imap-4.8.1
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'
    + export CFLAGS
    + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'
    + export CXXFLAGS
    + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables -I/usr/lib/courier-imap/lib/gfortran/modules'
    + export FFLAGS
    + ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=i586-redhat-linux-gnu --program-prefix= --prefix=/usr/lib/courier-imap --exec-prefix=/usr/lib/courier-imap --bindir=/usr/lib/courier-imap/bin --sbindir=/usr/lib/courier-imap/sbin --sysconfdir=/usr/lib/courier-imap/etc --datadir=/usr/lib/courier-imap/share --includedir=/usr/lib/courier-imap/include --libdir=/usr/lib/courier-imap/lib --libexecdir=/usr/lib/courier-imap/libexec --localstatedir=/var/run --sharedstatedir=/var/lib --mandir=/usr/lib/courier-imap/man --infodir=/usr/share/info --with-redhat
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for i686-pc-linux-gnu-gcc... no
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    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 ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for gawk... (cached) gawk
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for perl5... no
    checking for perl... /usr/bin/perl
    checking for sysconftool...... ././sysconftool
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking the maximum length of command line arguments... 1966080
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for i686-pc-linux-gnu-objdump... no
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for i686-pc-linux-gnu-ar... no
    checking for ar... ar
    checking for i686-pc-linux-gnu-strip... no
    checking for strip... strip
    checking for i686-pc-linux-gnu-ranlib... no
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... no
    checking for dlopen in -ldl... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... yes
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking for env... /bin/env
    configure: WARNING: === Do not compile Courier-IMAP as root. Compile
    configure: WARNING: === Courier-IMAP as a non-root user then su to
    configure: WARNING: === root before running make install. You must now
    configure: WARNING: === remove this entire directory and then extract the
    configure: WARNING: === source code from the tarball as a non-root user
    configure: WARNING: === and rerun the configure script. If you have read
    configure: WARNING: === the INSTALL file you should have known this. So
    configure: WARNING: === you better read INSTALL again.
    configure: error: aborted.
    error: Bad exit status from /var/tmp/rpm-tmp.qZAMSF (%prep)


    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.qZAMSF (%prep)
    [compileuser@linsrv downloads]$
    There were a couple attempts there.. The first one (initial attempt) gave me a permission denied error in a folder compileuser should own... (mkdir: cannot create directory `/home/compileuser/rpm/BUILDROOT/courier-imap-4.8.1-2.11.i386': Permission denied)
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    ls -la /home/compileuser/rpm/BUILDROOT/
    ?
     
  3. Nachogrande

    Nachogrande New Member

    Okay, I thought I saw where we were going with this, most of the files were owned by root, so I did a chown -R on that directory, and re-ran the rpmbuild -ta command on the imap file.. Here is what I get:

    Code:
    rm: cannot remove `courier-imap-4.8.1/rfc2045/testsuite.txt.noidn': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/makemime.1': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/base64.h': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045acchk.c': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/base64.c': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045acprep.c': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045decodemimesectionu.c': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/rfc2045header.c': Permission denied
    rm: cannot remove `courier-imap-4.8.1/rfc2045/makemime.c': Permission denied
    error: Bad exit status from /var/tmp/rpm-tmp.oTwkRU (%prep)
    
    
    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.oTwkRU (%prep)
    [compileuser@linsrv downloads]$ ls -l /var/tmp
    total 64
    -rw------- 1 compileuser compileuser 2476 2010-10-30 09:45 rpm-tmp.cR7RI2
    -rw------- 1 root        root        3645 2010-10-29 14:34 rpm-tmp.EAKuDS
    -rw------- 1 compileuser compileuser 2476 2010-10-30 09:25 rpm-tmp.i2Tjqp
    -rw------- 1 compileuser compileuser 2476 2010-10-30 09:43 rpm-tmp.jXiPSs
    -rw------- 1 root        root        2476 2010-10-29 16:24 rpm-tmp.keNm3H
    -rw------- 1 root        root        3645 2010-10-29 15:13 rpm-tmp.kZdqr9
    -rw------- 1 compileuser compileuser 2476 2010-10-30 09:42 rpm-tmp.LZiKKX
    -rw------- 1 compileuser compileuser 2476 2010-10-30 09:50 rpm-tmp.oTwkRU
    -rw------- 1 compileuser compileuser 2476 2010-10-30 09:40 rpm-tmp.q3Qjt7
    -rw------- 1 compileuser compileuser 2476 2010-10-30 09:41 rpm-tmp.qsJ0t6
    -rw------- 1 root        root        2476 2010-10-29 16:29 rpm-tmp.qZAMSF
    -rw------- 1 compileuser compileuser 6085 2010-10-29 16:20 rpm-tmp.UK4wcF
    drwx------ 2 compileuser compileuser 4096 2010-10-29 15:07 yum-compileuser-l4jaUy
    drwx------ 3 Rooster     Rooster     4096 2010-10-01 23:35 yum-Rooster-hf4FCN
    drwx------ 3 trin        trin        4096 2010-10-20 18:45 yum-trin-bO_5e7
    [compileuser@linsrv downloads]$ 
    
    There are several hundred lines of that, I just snipped it.. So I check the /var/tmp folder, and sure enough as you can see, the tmp folder it complains about IS owned by compileuser.

    Additionally:
    Code:
    [compileuser@linsrv downloads]$ ls -l
    total 17708
    -rw-rw-r-- 1 compileuser compileuser 7107206 2010-10-11 18:24 courier-0.65.1.20101011.tar.bz2
    -rw-rw-r-- 1 compileuser compileuser 2817119 2009-12-29 18:51 courier-authlib-0.63.0.tar.bz2
    -rw-rw-r-- 1 compileuser compileuser 3352500 2010-10-04 16:47 courier-imap-4.8.1.tar.bz2
    -rw-rw-r-- 1 compileuser compileuser 2422151 2010-10-04 16:44 maildrop-2.5.1.tar.bz2
    -rw-rw-r-- 1 compileuser compileuser 2422151 2010-10-04 16:44 maildrop-2.5.1.tar.bz2.1
    [compileuser@linsrv downloads]$ 
    
    the files in the downloads are also owned by compileuser.. Though, the top four files in that list are red, and the 5th (maildrop) is black, in the filename portion..

    Help? FWIW - I have tried it numerous times, I was chmod'ing the /var/tmp folder it complained about to compileuser and re-running to no avail. That was when I finally noticed after copy/pasting the /tmp directory that it was making new folders, and that they DID have what I think to be proper ownership.


    Thanks!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    getenforce
    ?
     
  5. Nachogrande

    Nachogrande New Member

    It says:
    disabled.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    If you can not compile courier on your system, you can use dovecot instead. As it can be sometimes tricky to compile courier on fedor and as there are no rpm packages available, we switched to dovecot in the latest installation guides (for Fedora 13):

    http://www.howtoforge.com/perfect-server-fedora-13-x86_64-ispconfig-3-p4

    I guess that the setup should work for fedora 11 as well if you use the fedora 13 guide.
     
  7. Nachogrande

    Nachogrande New Member

    Cool deal, I'll give that a shot, thanks!
     

Share This Page