build as non-root
On 10/17/2018 3:21 AM, Rajesh M wrote:
hello
i am building as a root user on centos version 6.9, 64 bit
command that is used
rpmbuild --rebuild --define "dist .qt.el6" dovecot-ce-2.3.0-1.qt.el6.src.rpm
error that i got
####################################################
make[3]: Leaving directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-imap-client'
make[2]: Leaving directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-imap-client'
Making check in lib-imap-urlauth
make[2]: Entering directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-imap-urlauth'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-imap-urlauth'
Making check in lib-compression
make[2]: Entering directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-compression'
make check-local
make[3]: Entering directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-compression'
for bin in test-compression; do \
if ! /bin/sh ../../run-test.sh ../.. ./$bin; then exit 1; fi; \
done
compression handler gz ............................................... : ok
compression handler bz2 .............................................. : ok
compression handler deflate .......................................... : ok
compression handler xz ............................................... : ok
gz concat ............................................................ : ok
gz no concat ......................................................... : ok
gz large header ...................................................... : ok
0 / 7 tests failed
==639== Conditional jump or move depends on uninitialised value(s)
==639== at 0x3509A0ACB2: ??? (in /usr/lib64/liblzma.so.0.0.0)
==639== by 0x3509A0AEA9: ??? (in /usr/lib64/liblzma.so.0.0.0)
==639== by 0x3509A03121: ??? (in /usr/lib64/liblzma.so.0.0.0)
==639== by 0x3509A061A0: ??? (in /usr/lib64/liblzma.so.0.0.0)
==639== by 0x3509A05212: lzma_easy_encoder (in /usr/lib64/liblzma.so.0.0.0)
==639== by 0x406ACF: o_stream_create_lzma (ostream-lzma.c:206)
==639== by 0x403D89: test_compression_handler (test-compression.c:36)
==639== by 0x4040BD: test_compression (test-compression.c:96)
==639== by 0x408281: test_run_funcs (test-common.c:244)
==639== by 0x4083E0: test_run (test-common.c:315)
==639== by 0x40398B: main (test-compression.c:308)
==639==
Failed to run: ./test-compression
make[3]: *** [check-local] Error 1
make[3]: Leaving directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-compression'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory
`/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src/lib-compression'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/dovecot-ce-2.3.0/src'
make: *** [check-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.aUYAhV (%check)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.aUYAhV (%check)
####################################################
@eric : while searching i noted that you got a similar error in Jan 2018.
https://www.mail-archive.com/dovecot@dovecot.org/msg72130.html
do you recollect how your fixed it ?
thanks
rajesh
----- Original Message -----
From: Eric Broch [mailto:ebr...@whitehorsetc.com]
To: qmailtoaster-list@qmailtoaster.com
Sent: Fri, 12 Oct 2018 15:27:34 -0600
Subject:
Are you building as not root user?
On 10/12/2018 3:08 PM, Andreas Galatis wrote:
Hi Rajesh,
what exactly is the error-message?
Andreas Galatis
Computerservice & Datenschutz
Am 12.10.2018 um 17:00 schrieb Rajesh M:
hello
i am using centos 6, 64 bit system -- with the latest updates.
i am trying to build a new server with qmailtoaster.
all qmail packages installed successfully.
however i get an error while compiling dovecot using the source rpm related to
test-compression
i tried this with multiple version of dovecot but still the same error.
ftp://ftp.whitehorsetc.com/pub/qmail/CentOS6/qmt/srpms/dovecot-2.2.35-19.qt.src.rpm
upto dovecot-2.2.22-7.qt.src.rpm
i am using qmailtoaster for the past over 8 years on 4 of my servers and have
always built from source, but all of a sudden facing the above errors
i formatted and reinstalled Centos 3 times but the same error persists.
i wonder what i am missing.
Could you please help.
thanks,
rajesh
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
--
Eric Broch
White Horse Technical Consulting (WHTC)