[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2.9-STABLE build problems



Pulled from anoncvs5.usa with -rOPENBSD_2_9, and following the upgrade
minifaq instructions:

	root_(_at_)_lair:/usr/src# make obj
	===> lib
	[...]
	===> lib/libl
	make: don't know how to make obj. Stop
	*** Error code 2

	Stop in /usr/src/lib.
	*** Error code 1

	Stop in /usr/src.
	root_(_at_)_lair:/usr/src#

Hmmm.

	root_(_at_)_lair:/usr/src# ls -laR lib/libl
	total 6
	drwxr-xr-x   3 root  wheel   512 Jul 22 06:01 .
	drwxr-xr-x  34 root  wheel  1024 Jul 22 06:01 ..
	drwxr-xr-x   2 root  wheel   512 Jul 22 06:01 CVS

	lib/libl/CVS:
	total 12
	drwxr-xr-x  2 root  wheel  512 Jul 22 06:01 .
	drwxr-xr-x  3 root  wheel  512 Jul 22 06:01 ..
	-rw-r--r--  1 root  wheel    2 Jul 22 06:01 Entries
	-rw-r--r--  1 root  wheel   13 Jul 22 06:01 Repository
	-rw-r--r--  1 root  wheel   38 Jul 22 06:01 Root
	-rw-r--r--  1 root  wheel   13 Jul 22 06:01 Tag

Sure enough, no Makefile in that directory. Easy enough to fix, edit
/usr/src/lib/Makefile, edit SUBDIR to remove 'libl'. Let's try again:

	root_(_at_)_lair:/usr/src# make obj
	===> lib
	[...]
	===> libexec
	===> libexec/atrun
	make: don't know how to make obj. Stop
	*** Error code 2

	Stop in /usr/src/libexec.
	*** Error code 1

	Stop in /usr/src.
	root_(_at_)_lair:/usr/src#

Uh-oh.

	root_(_at_)_lair:/usr/src# ls -laR libexec/atrun/
	total 38
	drwxr-xr-x   3 root  wheel    512 Jul 22 06:07 .
	drwxr-xr-x  38 root  wheel   1024 Jul 22 05:01 ..
	drwxr-xr-x   2 root  wheel    512 Jul 22 02:53 CVS
	-rw-r--r--   1 root  wheel   1431 Jan 18  2001 atrun.8
	-rw-r--r--   1 root  wheel  11860 Apr 19 20:11 atrun.c
	-rw-r--r--   1 root  wheel   1825 Jan 28 20:44 atrun.h

	libexec/atrun/CVS:
	total 10
	drwxr-xr-x  2 root  wheel  512 Jul 22 02:53 .
	drwxr-xr-x  3 root  wheel  512 Jul 22 06:07 ..
	-rw-r--r--  1 root  wheel  159 Jul 22 02:53 Entries
	-rw-r--r--  1 root  wheel   18 Oct 30  2000 Repository
	-rw-r--r--  1 root  wheel   13 Jul 22 04:24 Tag

There appears to be a missing makefile in this situation; prodding
the CVS repository confirms that both of these situations are extant
in the master sources as well. Am I missing something? Is there
some process or procedure that builds or handles the missing Makefiles
in this situation? I've searched high and low and found no indication
of any procedure that I'm missing.

Brief investigation also reveals this situation in usr.bin/keynote,
usr.bin/vi/build, share/tmac, and gnu/usr.bin/perl.

Halp?

--michael



Visit your host, monkey.org