Michael Jürgens writes:
Hi,I´m trying to build courier-0.56.0 on fc6. rpmbuild stops with the following result:... make[4]: Leaving directory `/home/courier/rpm/BUILD/courier-0.56.0/courier/module.dsn' make[3]: Leaving directory `/home/courier/rpm/BUILD/courier-0.56.0/courier/module.dsn' make[3]: Entering directory `/home/courier/rpm/BUILD/courier-0.56.0/courier' cat ./webmlmd*C | sed -n '/^HANDLER(/'p >webmlmdhandlerslist.H.tmp cmp -s webmlmdhandlerslist.H.tmp webmlmdhandlerslist.H || mv -f webmlmdhandlerslist.H.tmp webmlmdhandlerslist.H rm -f webmlmdhandlerslist.H.tmp ./aliascreate -tmp=./testsuite.tmp -dump=1 <./testsuite.alias1.in | sed '/^$/d' | sort | cmp -s ./testsuite.alias - makealiases: ERR: Permission denied
I would look at your rpm build environment. You are obviously using a custom rpm configuration that uses /home/courier/rpm/BUILD as the build directory. There's nothing wrong with that per se, but you have to be very careful, since a busted rpm config can have rather subtle and annoying results.
You can begin by trying to invoke the problematic command directly from the /home/courier/rpm/BUILD/courier-0.56.0/courier directory:
./aliascreate -tmp=./testsuite.tmp -dump=1 <./testsuite.alias1.in >/dev/nullYou don't care about comparing aliascreate's output with the expected output, you just need to know if you can directly reproduce the error. If so, then the next step is to run strace, and see what's really going on:
strace -s 256 -o aliascreate.log ./aliascreate -tmp=./testsuite.tmp -dump=1 <./testsuite.alias1.in >/dev/null
pgpip3P8TWbM0.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
