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

Gregory Neil Shapiro gshapiro at sendmail.org
Fri Jul 29 21:23:24 PDT 2005

Simon 'corecode' Schubert wrote:
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.


More information about the Bugs mailing list