Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2015 11:39:11 +0100
From:      Oliver Pinter <oliver.pinter@hardenedbsd.org>
To:        gshapiro <gshapiro@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   sendmail make distribution error and fix
Message-ID:  <CAPQ4ffv0Qhhq5jA0ARitXvZjVr9BnccBFCTuxOfzDsqHvryCaw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--001a1139fb00bda25e050c0d8843
Content-Type: text/plain; charset=UTF-8

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/

--001a1139fb00bda25e050c0d8843
Content-Type: application/octet-stream; 
	name="0001-HBSD-fix-make-distribution.patch"
Content-Disposition: attachment; 
	filename="0001-HBSD-fix-make-distribution.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: file0

RnJvbSA0ODUxMWQyMDA4ZWJhMWNhZDQ5OGU5ODg4M2Y3Yj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9NYWtlZmlsZSB8IDIgKy0KIDEgZmlsZSBjaGFuZ2VkLCAx
IGluc2VydGlvbigrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAtLWdpdCBhL2V0Yy9zZW5kbWFpbC9N
YWtlZmlsZSBiL2V0Yy9zZW5kbWFpbC9NYWtlZmlsZQppbmRleCBiNzllNzIyLi41Njc2MzgyIDEw
MDY0NAotLS0gYS9ldGMvc2VuZG1haWwvTWFrZWZpbGUKKysrIGIvZXRjL3NlbmRtYWlsL01ha2Vm
aWxlCkBAIC02Miw3ICs2Miw3IEBAICR7bWM6VDpSfS5jZjogJHttY30KIAogYWxsOiAke0FMTH0K
IAotZGlzdHJpYnV0aW9uOgorZGlzdHJpYnV0aW9uOiBmcmVlYnNkLmNmIGZyZWVic2Quc3VibWl0
LmNmCiAJJHtJTlNUQUxMfSAtbyAke0JJTk9XTn0gLWcgJHtCSU5HUlB9IC1tIDY0NCBcCiAJICAg
ICR7LkNVUkRJUn0vZnJlZWJzZC5tYyBmcmVlYnNkLmNmICR7REVTVERJUn0vZXRjL21haWwKIAkk
e0lOU1RBTEx9IC1vICR7QklOT1dOfSAtZyAke0JJTkdSUH0gLW0gNDQ0IFwKLS0gCjIuMi4xCgo=
--001a1139fb00bda25e050c0d8843--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPQ4ffv0Qhhq5jA0ARitXvZjVr9BnccBFCTuxOfzDsqHvryCaw>