Date: Sat, 7 Feb 2009 22:13:12 -0500 From: matt donovan <kitchetech@gmail.com> To: Matias Surdi <matiassurdi@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Custom build fails Message-ID: <28283d910902071913q478af933vf62e728e85540196@mail.gmail.com> In-Reply-To: <498C2EE1.4090108@gmail.com> References: <gmh98k$vb0$1@ger.gmane.org> <28283d910902060427m5764b1q170d4441adf6b519@mail.gmail.com> <498C2EE1.4090108@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 6, 2009 at 7:36 AM, Matias Surdi <matiassurdi@gmail.com> wrote: > I'm currently running the following command: > > > # Make the release > cd /usr/src/release > make release \ > CHROOTDIR=/home/oms \ > BUILDNAME=OpenMailServer \ > CVSROOT=/home/ncvs \ > RELEASETAG=RELENG_7 \ > NODOC=YES \ > NO_FLOPPIES=YES \ > NOPORTS=YES \ > RELEASENOUPDATE=YES \ > MAKE_ISOS=YES \ > WORLD_FLAGS=" -DWITHOUT_TOOLCHAIN" \ > LOCAL_PATCHES=$DIR/oms.diff \ > LOCAL_SCRIPT=$DIR/local_script.sh \ > PATCH_FLAGS=-p3 > > > > Do you know how can set this up in order to get that variable to be on the > build process and not on the install/release process? > > Thank you very much for your help. > > Matias. > > > > > matt donovan wrote: > >> On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi <matiassurdi@gmail.com> >> wrote: >> >> Hi, I'm building a custom freeBSD release and I'm getting the following >>> error: >>> >>> -------------------------------------------------------------- >>> >>>> Building an up-to-date make(1) >>>>>> >>>>> -------------------------------------------------------------- >>> /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for >>> /usr/src/usr.bin/make >>> rm -f .depend >>> mkdep -f .depend -a -I/usr/src/usr.bin/make >>> -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\" >>> /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c >>> /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c >>> /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c >>> /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c >>> /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c >>> /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c >>> /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c >>> /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c >>> /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c >>> /usr/src/usr.bin/make/var.c >>> cc: not found >>> mkdep: compile failed >>> *** Error code 1 >>> >>> Stop in /usr/src/usr.bin/make. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> + exit 1 >>> + umount /dev >>> *** Error code 1 >>> >>> Stop in /usr/src/release. >>> >>> >>> >>> >>> >>> These are just the last lines, I can post the entire log if needed, but >>> it >>> is quite large. >>> >>> >>> The source code is from 7.0-RELEASE, and my src.conf is the following: >>> WITHOUT_ATM= >>> WITHOUT_AUTHPF= >>> WITHOUT_BIND= >>> WITHOUT_BLUETOOTH= >>> WITHOUT_CALENDAR= >>> WITHOUT_CDDL= >>> WITHOUT_CPP= >>> WITHOUT_CVS= >>> WITHOUT_CXX= >>> WITHOUT_DICT= >>> WITHOUT_EXAMPLES= >>> WITHOUT_FORTH= >>> WITHOUT_GAMES= >>> WITHOUT_GDB= >>> WITHOUT_GPIB= >>> WITHOUT_GROFF= >>> WITHOUT_GSSAPI= >>> WITHOUT_GESIOD= >>> WITHOUT_GNU= >>> WITHOUT_HTML= >>> WITHOUT_I4B= >>> WITHOUT_IDEA= >>> WITHOUT_INFO= >>> WITHOUT_IPFILTER= >>> WITHOUT_IPX= >>> WITHOUT_KERBEROS= >>> WITHOUT_LOCALES= >>> WITHOUT_LPR= >>> WITHOUT_MAN= >>> WITHOUT_NCP= >>> WITHOUT_NLS= >>> WITHOUT_NIS= >>> WITHOUT_OBJC= >>> WITHOUT_RCMDS= >>> WITHOUT_RCS= >>> WITHOUT_SENDMAIL= >>> WITHOUT_SHAREDOCS= >>> WITHOUT_SSP= >>> WITHOUT_TCSH= >>> WITHOUT_TOOLCHAIN= >>> WITHOUT_WPA_SUPPLICANT_EAPOOL= >>> WITHOUT_ZFS= >>> >>> >>> The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or >>> WITHOUTH_CPP are present. >>> >>> >>> On this build, I don't want to have any development tools, as I'm trying >>> to reduce the size at a minimum. >>> >>> Why is "make" being build? How can I avoid this? >>> >>> If you need more info in order to help me, tell me what do you need >>> please. >>> >>> Thanks for any help >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> >> You need >> WITHOUT_TOOLCHAIN= to build you can add that after you do a build >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" > > Remove WITHOUT_TOOLCHAIN when building but when you do the install you can readd it I m not sure how you would do it using the make release though.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28283d910902071913q478af933vf62e728e85540196>