DragonFly BSD
DragonFly bugs List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [Fwd: DragonFly ISO release build failure for 2CSNAP-20050728-2330-Devel]


To: Simon 'corecode' Schubert <corecode@xxxxxxxxxxxx>
From: Gregory Neil Shapiro <gshapiro@xxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 21:23:24 -0700

Simon 'corecode' Schubert wrote:
[sanipp]
cd /usr/src/etc/sendmail; make obj
/usr/obj/nrelease/usr/src/etc/sendmail created for /usr/src/etc/sendmail
cd /usr/src/etc/sendmail; make distribution
install -o root -g wheel -m 444 /usr/src/etc/sendmail/dragonfly.mc dragonfly.cf /usr/release/root/etc/mail
install: dragonfly.cf: No such file or directory
*** Error code 71

Ok, I see why it is happening. The buildiso rule does:


( cd ${.CURDIR}/..; make DESTDIR=${ISOROOT} installworld )
( cd ${.CURDIR}/../etc; MAKEOBJDIRPREFIX=${NRLOBJDIR}/nrelease \
make -m ${.CURDIR}/../share/mk DESTDIR=${ISOROOT} distribution )


So a buildworld exists in /usr/obj but then MAKEOBJDIRPREFIX is
changed for the make distribution meaning that there was never a
build done in /usr/src/etc/sendmail/ to make the files needed for
installation. The big question is how to fix this. Seems odd that the obj directory is changed *after* a build but maybe there is a valid
reason for this. I could just completely eliminate the need for
dragonfly{.submit,}.cf in /etc/mail/ and remove them from being installed.


Opinions?



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]