Re: sendmail make distribution error and fix

2015-01-07 Thread Oliver Pinter
On 1/7/15, Oliver Pinter oliver.pin...@hardenedbsd.org wrote:
 Hi!

 I got this error, when I try to make distribution*:

 cd /target/usr/src/etc/sendmail; make distribution
 install -o root -g wheel -m 644
 /target/usr/src/etc/sendmail/freebsd.mc freebsd.cf /target/etc/mail
 install: freebsd.cf: No such file or directory
 *** Error code 71

 Stop.
 make[3]: stopped in /target/usr/src/etc/sendmail
 *** Error code 1

 Stop.
 make[2]: stopped in /target/usr/src/etc
 *** Error code 1

 Stop.
 make[1]: stopped in /target/usr/src
 *** Error code 1

 Stop.
 make: stopped in /target/usr/src

 The attached patch fixed the problem.

 *:
 #!/usr/bin/env csh

 set MAKEOBJDIRPREFIX=/target/usr/obj
 set SRC_DIR=/target/usr/src
 set DESTDIR=/target

 cd ${SRC_DIR}

 make -j5 buildworld MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}
 make -j5 kernel MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}

 make installworld DESTDIR=${DESTDIR} MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}
 make distribution DESTDIR=${DESTDIR} MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}

 cp /etc/make.conf /target/etc/
 cp /etc/src.conf /target/etc/
 cp /etc/rc.conf /target/etc/


please ignore this report, I found the bug elsewhere...
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


sendmail make distribution error and fix

2015-01-07 Thread Oliver Pinter
Hi!

I got this error, when I try to make distribution*:

cd /target/usr/src/etc/sendmail; make distribution
install -o root -g wheel -m 644
/target/usr/src/etc/sendmail/freebsd.mc freebsd.cf /target/etc/mail
install: freebsd.cf: No such file or directory
*** Error code 71

Stop.
make[3]: stopped in /target/usr/src/etc/sendmail
*** Error code 1

Stop.
make[2]: stopped in /target/usr/src/etc
*** Error code 1

Stop.
make[1]: stopped in /target/usr/src
*** Error code 1

Stop.
make: stopped in /target/usr/src

The attached patch fixed the problem.

*:
#!/usr/bin/env csh

set MAKEOBJDIRPREFIX=/target/usr/obj
set SRC_DIR=/target/usr/src
set DESTDIR=/target

cd ${SRC_DIR}

make -j5 buildworld MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}
make -j5 kernel MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}

make installworld DESTDIR=${DESTDIR} MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}
make distribution DESTDIR=${DESTDIR} MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}

cp /etc/make.conf /target/etc/
cp /etc/src.conf /target/etc/
cp /etc/rc.conf /target/etc/


0001-HBSD-fix-make-distribution.patch
Description: Binary data
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org