elmore
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:

[code:1:e650b4747a]

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

# cvs login

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

[/code:1:e650b4747a]

This grabbed my initial copy of the patched source tree.

From there I did:

[code:1:e650b4747a]
# 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}
[/code:1:e650b4747a]

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

[code:1:e650b4747a]
# cd /usr/src/etc
# nice make release
[/code:1:e650b4747a]

I get the following error a few minutes in:

[code:1:e650b4747a]
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).
[/code:1:e650b4747a]

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?

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

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

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

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

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

|MiNi0n|
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.

Odd!

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

v902
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

cod3fr3ak
August 21st, 2003, 20:26
lol