August 19th, 2003, 16:21
Well I'm trying to do a make release of the 3.3 patch branch yet my nice make release keeps failing.

I started out with a plain vanilla cd install of 3.3

From there I did:


# setenv CVSROOT :pserver:anoncvs@anoncvs1.usa.openbsd.org:/cvs

# cvs login

# cd /usr
# cvs -q get -rOPENBSD_3_3 -P src


This grabbed my initial copy of the patched source tree.

From there I did:

# mkdir /usr/RELEASE
# mkdir /usr/RELEASE/destdir
# mkdir /usr/RELEASE/release

# setenv DESTDIR=/usr/RELEASE/destdir
# setenv RELEASEDIR=/usr/RELEASE/release

# cd /usr/src/distrib/crunch
# make clean && make && make install

# test -d ${DESTDIR} && mv ${DESTDIR} ${DESTDIR}- && rm -rf ${DESTDIR}- && mkdir -p ${DESTDIR} ${RELEASEDIR}

Everything seems to have worked well up to this point. Now when I

# cd /usr/src/etc
# nice make release

I get the following error a few minutes in:

installing in /usr/src/include/../gnu/egcs/libio
installing in /usr/src/include/../gnu/egcs/libstdc++
installing in /usr/src/include/../gnu/egcs/libf2c
install -C -o root -g bin -m 444 /usr/src/gnu/egcs/libf2c/f2c.h /usr/RELEASE/destdir=/usr/include
install -C -o root -g bin -m 444 g2c.h /usr/RELEASE/destdir=/usr/include
install: g2c.h: No such file or directory
*** Error code 71

Stop in /usr/src/gnu/egcs/libf2c (line 153 of Makefile.bsd-wrapper).
*** Error code 1

Stop in /usr/src/include (line 82 of Makefile).
*** Error code 1

Stop in /usr/src (line 64 of Makefile).
*** Error code 1

Stop in /usr/src/etc (line 254 of Makefile).

Initially I thought that the source musta been hosed but then I thought wait a second this is the patched branch. This should compile.

Anyone see anything really obvious that I've done wrong?

August 19th, 2003, 17:02
Did you build a new kernel after getting the latest source?

August 19th, 2003, 17:04
yes I did, sorry forgot to mention that above.

August 20th, 2003, 11:54
Updated again last night all compiled fine. Weird.

August 20th, 2003, 13:46
Gee whiz elmore, didn't I mention that might be the case on the phone yesterday?!?! :lol:

August 20th, 2003, 14:44
ummm, yes, yes you did.

August 20th, 2003, 15:13
Ya, I still dunno why that happens but when I was using make release on a regular basis for patching boxes easily etc. I would run into that problem. Grab the source again at a different time and it would work just fine.


August 20th, 2003, 20:18
Bad download?

August 20th, 2003, 21:02
The gods are looking out for you, to make sure you don't hose your box, the gods smile upon OpenBSD users :P

August 21st, 2003, 20:26