Buildworld stops at etc/sendmail (was: can't install 'bin/sh')
Bjarne Wichmann Petersen
freebsd.nospam at mekanix.dk
Sat Nov 8 06:46:24 PST 2003
On Friday 07 November 2003 15:05, Ruslan Ermilov wrote:
> Perhaps it's time that you show us your supfile?
Ok... I did yet another run at this. Cleaned out /usr/src, /usr/obj and
followed the steps outlined in:
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html>
This is a step by step guide through what I'm doing.
1) Delete /usr/src and /usr/obj.
2) Running cvsup /usr/local/etc/cvsup/supfile (attached)
3) cd /usr/src/usr.sbin/mergemaster
4) ./mergemaster.sh -p (nothing unusual to report)
5) cd /usr/src
6) make -j4 buildworld
===> etc/sendmail
make: don't know how to make freebsd.cf. Stop
*** Error code 2
7) Then I did as Simone suggested:
cp /usr/src/etc/sendmail/freefall.mc /usr/src/etc/sendmail/freebsd.mc
8) Removed /usr/obj again
9) cd /usr/src
10) make -j4 buildworld... TADA buildworld finished.
11) build and install new kernel
12) make -j4 installworld...
===> bin/sh
install -s -o root -g wheel -m 555 sh /bin
Could not execute shell
*** Error code 1
Right back to where I started... then exited bash and used the default shell
and ran installworld another time... and it completed without errors. I've
allways used bash, so I'm a bit puzzled by this.
13) Lastly I finished the process by running mergemaster and noticed that
several files related to sendmail had been altered the last 1-2 days. Wonder
if it's this that bit me?
Anyway, I still don't know why my buildprocess bailed out at sendmail and
whether my system still is broken?
Bjarne
-------------- next part --------------
# $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.19.2.6 2002/08/06 08:24:46 blackend Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-stable source tree.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing). If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
# cvsup stable-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
# cvsup -g -L 2 stable-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
# host=CHANGE_THIS.FreeBSD.org
# This specifies the server host which will supply the
# file updates. You must change it to one of the CVSup
# mirror sites listed in the FreeBSD Handbook at
# http://www.freebsd.org/doc/handbook/mirrors.html.
# You can override this setting on the command line
# with cvsup's "-h host" option.
#
# base=/usr
# This specifies the root where CVSup will store information
# about the collections you have transferred to your system.
# A setting of "/usr" will generate this information in
# /usr/sup. Even if you are CVSupping a large number of
# collections, you will be hard pressed to generate more than
# ~1MB of data in this directory. You can override the
# "base" setting on the command line with cvsup's "-b base"
# option. This directory must exist in order to run CVSup.
#
# prefix=/usr
# This specifies where to place the requested files. A
# setting of "/usr" will place all of the files requested
# in "/usr/src" (e.g., "/usr/src/bin", "/usr/src/lib").
# The prefix directory must exist in order to run CVSup.
#
###############################################################################
#
# DANGER! WARNING! LOOK OUT! VORSICHT!
#
# If you add any of the ports or doc collections to this file, be sure to
# specify them with a "tag" value set to ".", like this:
#
# ports-all tag=.
# doc-all tag=.
#
# If you leave out the "tag=." portion, CVSup will delete all of
# the files in your ports or doc tree. That is because the ports and doc
# collections do not use the same tags as the main part of the FreeBSD
# source tree.
#
###############################################################################
# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
#*default host=cvsup.dk.FreeBSD.org
*default host=cvsup.se.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
# The following line is for 4-stable. If you want 3-stable or 2.2-stable,
# change "RELENG_4" to "RELENG_3" or "RELENG_2_2" respectively.
*default release=cvs tag=RELENG_4
*default delete use-rel-suffix
# If your network link is a T1 or faster, comment out the following line.
*default compress
## Main Source Tree.
#
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection. It includes all of the individual "src-*" collections.
# Please note: If you want to track -STABLE, leave this uncommented.
src-all
ports-all tag=.
doc-all tag=.
# These are the individual collections that make up "src-all". If you
# use these, be sure to comment out "src-all" above.
#src-base
#src-bin
#src-contrib
#src-etc
#src-games
#src-gnu
#src-include
#src-kerberos5
#src-kerberosIV
#src-lib
#src-libexec
#src-release
#src-sbin
#src-share
#src-sys
#src-tools
#src-usrbin
#src-usrsbin
# These are the individual collections that make up FreeBSD's crypto
# collection. They are no longer export-restricted and are a part of
# src-all
#src-crypto
#src-eBones
#src-secure
#src-sys-crypto
-------------- next part --------------
CPUTYPE=k7
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NO_FORTRAN= true # do not build g77 and related libraries
NO_I4B= true # do not build isdn4bsd package
NOGAMES= true # do not build games (games/ subdir)
MODULES_WITH_WORLD=true # do not build modules when building kernel
#Mplayer
WITHOUT_RUNTIME_CPUDETECTION=YES
WITH_FREETYPE=YES
#KDE-stuff
MINIMAL_KDE=YES
WITHOUT_KDEVELOP=YES
WITHOUT_KDEEDU=YES
WITHOUT_KDEGAMES=YES
WITHOUT_KOFFICE=YES
WITHOUT_KDESDK=YES
WITHOUT_KDETOYS=YES
#XFREE86_VERSION= 4
HAVE_MOTIF= yes
MOTIF_STATIC= yes
MASTER_SITE_BACKUP?= \
ftp://ftp.dk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
SUP_UPDATE= yes
SUP= /usr/local/bin/cvsup
SUPFLAGS= -g -L 2
SUPFILE= /usr/local/etc/cvsup/supfile
USA_RESIDENT=NO
NOPROFILE=true
WITH_PNG_MMX=YES
ISPELL_DA=yes
ISPELL_BRITISH=yes
MASTER_SITE_KDE= ftp://sunsite.auc.dk/pub/X/kde/%SUBDIR%/
#MASTER_SITE_BACKUP?= \
# ftp://ftp.dk.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
#MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
COMPAT1X= yes
COMPAT20= yes
COMPAT21= yes
COMPAT22= yes
COMPAT3X= yes
#WITH_MATROX_GXX_DRIVER=YES
WITH_GUI=YES
WITH_DVD=YES
WITH_CSS=YES
WITH_MOTIF=YES
WITH_OPTIMIZED_BYTESWAP=YES
WITH_OPTIMIZED_CFLAGS=YES
#Gnome stuff
WITHOUT_GNOME=YES
More information about the freebsd-stable
mailing list