-current breakage

2002-04-13 Thread David W. Chapman Jr.

I'm getting this on a recent machine that has been upgraded from 4.5 
to a -current today

o over.o text.o script.o mark.o other.o delim.o sqrt.o pile.o 
special.o /usr/obj
/usr/src/i386/usr/src/gnu/usr.bin/groff/src/preproc/eqn/../../../src/libs/libgro
ff/libgroff.a
make: don't know how to make neqn. Stop
*** Error code 2


I'm not getting this on a machine that's been running -current for a 
while.  I was able to do one buildworld from 4.5-STABLE to -current, 
but after that I keep getting this?  Let me know if anyone else has 
seen this.  About 2 hours after I started seeing this, I removed 
/usr/src and cvsup'd and I still get it.  Any ideas?

-- 
David W. Chapman Jr.
[EMAIL PROTECTED]   Raintree Network Services, Inc. www.inethouston.net
[EMAIL PROTECTED]   FreeBSD Committer www.FreeBSD.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Bad fix for -current breakage

2002-03-18 Thread Ruslan Ermilov

On Mon, Mar 18, 2002 at 01:02:00AM -0700, M. Warner Losh wrote:
 Note, a real fix would be applied to all the config.* files, and would
 depend on the BOOTSTRAP symbol that we define during the early stages
 of the build.  This is my wimpy fix for people that want a quick fix
 to the problem of building -current on -stable.
 
 Now, to the next breakage in the tree :-)
 
Here's a good one:

%%%
Index: Makefile.inc
===
RCS file: /home/ncvs/src/gnu/usr.bin/perl/Makefile.inc,v
retrieving revision 1.29
diff -u -r1.29 Makefile.inc
--- Makefile.inc16 Mar 2002 21:36:07 -  1.29
+++ Makefile.inc18 Mar 2002 09:19:07 -
@@ -60,8 +60,14 @@
@ln -sf ${PERL5SRC}/writemain.SH writemain.sh
@ln -sf ${PERL5SRC}/regcomp.c regcomp.c
@ln -sf ${PERL5SRC}/regexec.c regexec.c
+.if defined(BOOTSTRAPPING)
+   @sed '/^d_eaccess=/s;define;undef;' \
+   ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \
+config.sh
+.else
@ln -sf ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \
config.sh
+.endif
@touch ${.TARGET}
 
 scripts: links
%%%


Cheers,
-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Bad fix for -current breakage

2002-03-18 Thread Mark Murray

  Now, to the next breakage in the tree :-)
  
 Here's a good one:

YES!! Excellent! Please commit this.

M

 %%%
 Index: Makefile.inc
 ===
 RCS file: /home/ncvs/src/gnu/usr.bin/perl/Makefile.inc,v
 retrieving revision 1.29
 diff -u -r1.29 Makefile.inc
 --- Makefile.inc  16 Mar 2002 21:36:07 -  1.29
 +++ Makefile.inc  18 Mar 2002 09:19:07 -
 @@ -60,8 +60,14 @@
   @ln -sf ${PERL5SRC}/writemain.SH writemain.sh
   @ln -sf ${PERL5SRC}/regcomp.c regcomp.c
   @ln -sf ${PERL5SRC}/regexec.c regexec.c
 +.if defined(BOOTSTRAPPING)
 + @sed '/^d_eaccess=/s;define;undef;' \
 + ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \
 +  config.sh
 +.else
   @ln -sf ${PERL5LIBSRC}/config.SH-${OBJFORMAT}.${MACHINE_ARCH} \
   config.sh
 +.endif
   @touch ${.TARGET}
  
  scripts: links
 %%%
 
 
 Cheers,
 -- 
 Ruslan ErmilovSysadmin and DBA,
 [EMAIL PROTECTED] Sunbay Software AG,
 [EMAIL PROTECTED]FreeBSD committer,
 +380.652.512.251  Simferopol, Ukraine
 
 http://www.FreeBSD.orgThe Power To Serve
 http://www.oracle.com Enabling The Information Age
-- 
o   Mark Murray
\_
O.\_Warning: this .sig is umop ap!sdn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Bad fix for -current breakage

2002-03-18 Thread M. Warner Losh

In message: [EMAIL PROTECTED]
Ruslan Ermilov [EMAIL PROTECTED] writes:
: Here's a good one:

I see this has already been fixed, but to my eye it looks good.
Certainly a lot better than my kludge-o-matic :-)

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Bad fix for -current breakage

2002-03-18 Thread Ruslan Ermilov

On Mon, Mar 18, 2002 at 09:32:15AM -0700, M. Warner Losh wrote:
 In message: [EMAIL PROTECTED]
 Ruslan Ermilov [EMAIL PROTECTED] writes:
 : Here's a good one:
 
 I see this has already been fixed, but to my eye it looks good.
 Certainly a lot better than my kludge-o-matic :-)
 
I just implemented your right fix version.  :-)


Cheers,
-- 
Ruslan Ermilov  Sysadmin and DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Bad fix for -current breakage

2002-03-17 Thread M. Warner Losh

Note, a real fix would be applied to all the config.* files, and would
depend on the BOOTSTRAP symbol that we define during the early stages
of the build.  This is my wimpy fix for people that want a quick fix
to the problem of building -current on -stable.

Now, to the next breakage in the tree :-)

Warner


Index: config.SH-elf.i386
===
RCS file: /home/imp/FreeBSD/CVS/src/gnu/usr.bin/perl/libperl/config.SH-elf.i386,v
retrieving revision 1.22
diff -u -r1.22 config.SH-elf.i386
--- config.SH-elf.i386  16 Mar 2002 21:36:07 -  1.22
+++ config.SH-elf.i386  18 Mar 2002 07:54:02 -
@@ -138,7 +138,7 @@
 d_dosuid='define'
 d_drand48proto='define'
 d_dup2='define'
-d_eaccess='define'
+d_eaccess='undefine'
 d_endgrent='define'
 d_endhent='define'
 d_endnent='define'


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: -CURRENT breakage in usr.sbin/mptable?

2001-03-24 Thread Bruce Evans

On Fri, 23 Mar 2001, Bruce A. Mah wrote:

 Hi Bruce--
 
 A recent commit of yours to src/usr.sbin/mptable/Makefile had the 
 commit message:
 
  Fixed style bugs (use normal formatting for assignment, and don't override
  the correct default for MAN1).
 
 Are you sure this is right?  The default MANSECT for src/usr.sbin is 8,
 not 1, but mptable.1, well, lives in section 1.

Oops.  It was only right for 2-3 years after I first changed it until a
couple of days ago.

Alfred has committed a fix.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



-CURRENT breakage in usr.sbin/mptable?

2001-03-23 Thread Bruce A. Mah

Hi Bruce--

A recent commit of yours to src/usr.sbin/mptable/Makefile had the 
commit message:

 Fixed style bugs (use normal formatting for assignment, and don't override
 the correct default for MAN1).

Are you sure this is right?  The default MANSECT for src/usr.sbin is 8,
not 1, but mptable.1, well, lives in section 1.

Most importantly, it appears that this change breaks world.

I think you need to put the MAN1 assignment back, like in the diff below.

(-current folks, I'm not *trying* to do this...all I want is a fairly
recent 5-CURRENT to play with on my scratch box.)

Cheers,

(the other) Bruce.

*** mptable/Makefile2001/03/23 13:47:46 1.4
--- mptable/Makefile2001/03/23 22:11:38
***
*** 1,5 
--- 1,6 
  # $FreeBSD: src/usr.sbin/mptable/Makefile,v 1.4 2001/03/23 13:47:46 bde Exp $
  
  PROG= mptable
+ MAN1= ${PROG}.1
  
  .include bsd.prog.mk



 PGP signature


Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-21 Thread Ruslan Ermilov

On Wed, Mar 21, 2001 at 03:13:42PM +1100, Bruce Evans wrote:
[...]
 Only the amd ones are broken.  The bug is in ../Makefile.inc.  It spams
 ${SRCS} with some nfs headers.  This breaks bsd.prog.mk's automatic
 setting of ${SRCS} from ${PROG}.  SRCS should be under the control of
 individual Makefiles except for the default in bsd.prog.mk.
 
 This bug also causes bogus setting and building of nfs headers in amd
 subdirs that don't have any C sources and/or don't need any nfs headers,
 e.g. in the scripts subdir.
 
Fixed now, sorry.


Cheers,
-- 
Ruslan Ermilov  Oracle Developer/DBA,
[EMAIL PROTECTED]   Sunbay Software AG,
[EMAIL PROTECTED]  FreeBSD committer,
+380.652.512.251Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Michael C . Wu

On Tue, Mar 20, 2001 at 12:41:08PM -0800, Bruce A. Mah scribbled:
| This is a first for me, I think...finding a CURRENT buildworld bogon.
| Freshly cvsup-ed -CURRENT system, trying to buildworld:
| 
| [much output]
| 
| === usr.sbin/amd/mk-amd-map
| Diffs show that someone was perhaps a little overzealous in a
| manpage-related cleanup:
| 
I think a unified diff is easier to read.  How about this one? :)
[Warning: cut-n-paste diff]

cvs diff: Diffing .
Index: Makefile
===
RCS file: /home/ncvs/src/usr.sbin/amd/mk-amd-map/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile2001/03/20 18:16:16 1.11
+++ Makefile2001/03/20 21:37:46
@@ -8,6 +8,10 @@

 .PATH: ${.CURDIR}/../../../contrib/amd/mk-amd-map

+MAN8=  mk-amd-map.8
+
+SRCS=  mk-amd-map.c
+
 PROG=  mk-amd-map

 .include bsd.prog.mk
   


-- 
+---+
| [EMAIL PROTECTED] | [EMAIL PROTECTED]   |
| http://iteration.net/~keichii | Yes, BSD is a conspiracy. |
+---+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Warner Losh

In message [EMAIL PROTECTED] "Michael C . Wu" writes:
: I think a unified diff is easier to read.  How about this one? :)
: [Warning: cut-n-paste diff]
: 
: cvs diff: Diffing .
: Index: Makefile
: ===
: RCS file: /home/ncvs/src/usr.sbin/amd/mk-amd-map/Makefile,v
: retrieving revision 1.11
: diff -u -r1.11 Makefile
: --- Makefile2001/03/20 18:16:16 1.11
: +++ Makefile2001/03/20 21:37:46
: @@ -8,6 +8,10 @@
: 
:  .PATH: ${.CURDIR}/../../../contrib/amd/mk-amd-map
: 
: +MAN8=  mk-amd-map.8
: +
: +SRCS=  mk-amd-map.c
: +
:  PROG=  mk-amd-map
: 
:  .include bsd.prog.mk

Forget the blank lines, since they don't follow bde's unwritten
Makefile style rules.  Eg, the rest of the tree doesn't do that.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Michael C . Wu

On Tue, Mar 20, 2001 at 02:03:29PM -0800, Bruce A. Mah scribbled:
| That reverts all of Ruslan's change.  You don't want to put the MAN8=
| definition back, because that was the point of his commit.  Just the 
| SRCS= needs to be reverted.
| 
| Now Ruslan (or someone) needs to go and fix all of these files too:
| 
| src/usr.sbin/amd/wire-test/Makefile
| src/usr.sbin/ancontrol/Makefile
| src/usr.sbin/usbdevs/Makefile
| src/usr.sbin/wicontrol/Makefile
| src/usr.sbin/wlconfig/Makefile

I'll do it in about two hours when I get back from class if Ruslan
does not wake up by then. :-p

| There may be others, these were just selected files that I checked 
| (buildworld found the first one for me).
| 
| I'm definitely not going to get my -CURRENT machine rebuilt today.  :-p



-- 
+---+
| [EMAIL PROTECTED] | [EMAIL PROTECTED]   |
| http://iteration.net/~keichii | Yes, BSD is a conspiracy. |
+---+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Bruce A. Mah

This is a first for me, I think...finding a CURRENT buildworld bogon.
Freshly cvsup-ed -CURRENT system, trying to buildworld:

[much output]

=== usr.sbin/amd/mk-amd-map
make: don't know how to make .o. Stop
*** Error code 2

Stop in /usr/src/usr.sbin/amd.
*** Error code 1

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

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

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

Stop in /usr/src.

Diffs show that someone was perhaps a little overzealous in a
manpage-related cleanup:

bmah-freebsd-1:mk-amd-map% cvs -R diff -r1.10 -r1.11 Makefile
Index: Makefile
===
RCS file: /cvsroot/src/usr.sbin/amd/mk-amd-map/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -r1.10 -r1.11
6c6
 # $FreeBSD: src/usr.sbin/amd/mk-amd-map/Makefile,v 1.10 1999/08/28 01:15:18 peter 
Exp $
---
 # $FreeBSD: src/usr.sbin/amd/mk-amd-map/Makefile,v 1.11 2001/03/20 18:16:16 ru Exp $
12,14d11
 MAN8= mk-amd-map.8
 
 SRCS= mk-amd-map.c

Fix looks easy to me (put the SRCS= line back) but I'm a little
commit-shy for the src/ tree.  Someone want to do this, or give me a 
go-ahead?  I'm re-doing a buildworld with a patched Makefile now.

Thanks,

Bruce.



 PGP signature


Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Bruce A. Mah

If memory serves me right, "Michael C . Wu" wrote:

 cvs diff: Diffing .
 Index: Makefile
 ===
 RCS file: /home/ncvs/src/usr.sbin/amd/mk-amd-map/Makefile,v
 retrieving revision 1.11
 diff -u -r1.11 Makefile
 --- Makefile2001/03/20 18:16:16 1.11
 +++ Makefile2001/03/20 21:37:46
 @@ -8,6 +8,10 @@
 
  .PATH: ${.CURDIR}/../../../contrib/amd/mk-amd-map
 
 +MAN8=  mk-amd-map.8
 +
 +SRCS=  mk-amd-map.c
 +
  PROG=  mk-amd-map
 
  .include bsd.prog.mk

That reverts all of Ruslan's change.  You don't want to put the MAN8=
definition back, because that was the point of his commit.  Just the 
SRCS= needs to be reverted.

Now Ruslan (or someone) needs to go and fix all of these files too:

src/usr.sbin/amd/wire-test/Makefile
src/usr.sbin/ancontrol/Makefile
src/usr.sbin/usbdevs/Makefile
src/usr.sbin/wicontrol/Makefile
src/usr.sbin/wlconfig/Makefile

There may be others, these were just selected files that I checked 
(buildworld found the first one for me).

I'm definitely not going to get my -CURRENT machine rebuilt today.  :-p

Bruce.




 PGP signature


Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Michael C . Wu

On Tue, Mar 20, 2001 at 04:13:17PM -0600, Michael C . Wu scribbled:
| On Tue, Mar 20, 2001 at 02:03:29PM -0800, Bruce A. Mah scribbled:


I have just finished making the patch to fix this problem.
I will start the buildworld now.  In the mean time,
if someone has a fast box, please test the patch at

http://people.freebsd.org/~keichii/fix-current-broken-man-build.diff

-- 
+---+
| [EMAIL PROTECTED] | [EMAIL PROTECTED]   |
| http://iteration.net/~keichii | Yes, BSD is a conspiracy. |
+---+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Peter Wemm

"Michael C . Wu" wrote:
 On Tue, Mar 20, 2001 at 04:13:17PM -0600, Michael C . Wu scribbled:
 | On Tue, Mar 20, 2001 at 02:03:29PM -0800, Bruce A. Mah scribbled:
 
 
 I have just finished making the patch to fix this problem.
 I will start the buildworld now.  In the mean time,
 if someone has a fast box, please test the patch at
 
 http://people.freebsd.org/~keichii/fix-current-broken-man-build.diff

I kinda object to backing this stuff out.  The problem is elsewhere.  This
stuff builds correctly on its own, it is something wrong with the world
environment.  eg: do a 'make install' in src/share/mk and the world works
fine.  Since this seems to be needed, the problem is in 'world', not these
makefiles.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Bruce A. Mah

If memory serves me right, "Michael C . Wu" wrote:
 On Tue, Mar 20, 2001 at 04:13:17PM -0600, Michael C . Wu scribbled:
 | On Tue, Mar 20, 2001 at 02:03:29PM -0800, Bruce A. Mah scribbled:
 
 
 I have just finished making the patch to fix this problem.
 I will start the buildworld now.  In the mean time,
 if someone has a fast box, please test the patch at
 
 http://people.freebsd.org/~keichii/fix-current-broken-man-build.diff

I just finished a buildworld (but can't do an installworld...I'm 30
miles from the console), all seems well with the diffs.

Thanks much for generating the patch.  I normally don't like leaving 
other people to clean up problems I find, but almost anyone would be 
able to do it faster than me, at the moment.

Cheers,

Bruce.



 PGP signature


Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Bruce A. Mah

If memory serves me right, Peter Wemm wrote:
 "Michael C . Wu" wrote:
  On Tue, Mar 20, 2001 at 04:13:17PM -0600, Michael C . Wu scribbled:
  | On Tue, Mar 20, 2001 at 02:03:29PM -0800, Bruce A. Mah scribbled:
  
  
  I have just finished making the patch to fix this problem.
  I will start the buildworld now.  In the mean time,
  if someone has a fast box, please test the patch at
  
  http://people.freebsd.org/~keichii/fix-current-broken-man-build.diff
 
 I kinda object to backing this stuff out.  The problem is elsewhere.  This
 stuff builds correctly on its own, it is something wrong with the world
 environment.  eg: do a 'make install' in src/share/mk and the world works
 fine.  Since this seems to be needed, the problem is in 'world', not these
 makefiles.

Huh?!?

Ruslan's commit was intended to remove (most of the) MAN8= definitions
in certain Makefiles.  That's great.

Unfortunately, in some cases, he also removed SRCS= definitions, which is
not so good inasmuch as it breaks buildworld.  Either he deleted too
much out of the Makefiles, or the SRCS= removal was intentional and
should have been documented in the commit message (as far as I can tell 
this has *nothing* to do with manpages).

Michael's patch (which unbreaks buildworld) only backs out the SRCS=
changes.

Feel free to hand me a giant clue if I'm missing something really
obvious.  In other words, is world *supposed* to build in the absence of
SRCS= definitions?

Bruce.



 PGP signature


Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Peter Wemm

"Bruce A. Mah" wrote:
 --==_Exmh_-1701844519P
 Content-Type: text/plain; charset=us-ascii
 
 If memory serves me right, Peter Wemm wrote:
  "Michael C . Wu" wrote:
   On Tue, Mar 20, 2001 at 04:13:17PM -0600, Michael C . Wu scribbled:
   | On Tue, Mar 20, 2001 at 02:03:29PM -0800, Bruce A. Mah scribbled:
   
   
   I have just finished making the patch to fix this problem.
   I will start the buildworld now.  In the mean time,
   if someone has a fast box, please test the patch at
   
   http://people.freebsd.org/~keichii/fix-current-broken-man-build.diff
  
  I kinda object to backing this stuff out.  The problem is elsewhere.  This
  stuff builds correctly on its own, it is something wrong with the world
  environment.  eg: do a 'make install' in src/share/mk and the world works
  fine.  Since this seems to be needed, the problem is in 'world', not these
  makefiles.
 
 Huh?!?
 
 Ruslan's commit was intended to remove (most of the) MAN8= definitions
 in certain Makefiles.  That's great.
 
 Unfortunately, in some cases, he also removed SRCS= definitions, which is
 not so good inasmuch as it breaks buildworld.  Either he deleted too
 much out of the Makefiles, or the SRCS= removal was intentional and
 should have been documented in the commit message (as far as I can tell 
 this has *nothing* to do with manpages).
 
 Michael's patch (which unbreaks buildworld) only backs out the SRCS=
 changes.
 
 Feel free to hand me a giant clue if I'm missing something really
 obvious.  In other words, is world *supposed* to build in the absence of
 SRCS= definitions?
 
 Bruce.

If SRCS is undefined, then SRCS=${PROG}.c.  ie:

peter@daintree[7:30pm]~src/usr.sbin/sicontrol-283 grep SRCS Makefile 
peter@daintree[7:30pm]~src/usr.sbin/sicontrol-284 make -V SRCS
sicontrol.c
peter@daintree[7:30pm]~src/usr.sbin/sicontrol-285 make -V PROG
sicontrol

Adding back SRCS=prog.c explicitly is not the solution.  It is just hiding
a problem elsewhere.

We use this extensively elsewhere, eg:

peter@daintree[7:31pm]~src/bin/cat-290 cat Makefile 
#   @(#)Makefile8.1 (Berkeley) 5/31/93
# $FreeBSD: src/bin/cat/Makefile,v 1.5 1999/08/27 23:13:32 peter Exp $

PROG=   cat

.include bsd.prog.mk

Right now, the problem appears to be src/usr.sbin/amd/* only.

The amd/Makefile.inc has:  SRCS+=  config_local.h   etc.
This stops the
.if !defined(SRCS)
SRCS=${PROG}.c
.endif
in bsd.prog.mk from working.

peter@daintree[7:36pm]~src/usr.sbin/amd/mk-amd-map-112 make -V SRCS
config_local.h mount.h nfs_prot.h

ie: bsd.prog.mk never gets around to providing the base definition of SRCS.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Bruce Evans

On Tue, 20 Mar 2001, Bruce A. Mah wrote:

 If memory serves me right, "Michael C . Wu" wrote:
 
  cvs diff: Diffing .
  Index: Makefile
  ===
  RCS file: /home/ncvs/src/usr.sbin/amd/mk-amd-map/Makefile,v
  retrieving revision 1.11
  diff -u -r1.11 Makefile
  --- Makefile2001/03/20 18:16:16 1.11
  +++ Makefile2001/03/20 21:37:46
  @@ -8,6 +8,10 @@
  
   .PATH: ${.CURDIR}/../../../contrib/amd/mk-amd-map
  
  +MAN8=  mk-amd-map.8
  +
  +SRCS=  mk-amd-map.c
  +
   PROG=  mk-amd-map
  
   .include bsd.prog.mk
 
 That reverts all of Ruslan's change.  You don't want to put the MAN8=
 definition back, because that was the point of his commit.  Just the 
 SRCS= needs to be reverted.

It doesn't quite revert them.  It also adds 2 style bugs (1 more blank
line and perfect disordering of the macros (the normal order is
PROG, [SRCS], [MAN*]).

 Now Ruslan (or someone) needs to go and fix all of these files too:
 
 src/usr.sbin/amd/wire-test/Makefile
 src/usr.sbin/ancontrol/Makefile
 src/usr.sbin/usbdevs/Makefile
 src/usr.sbin/wicontrol/Makefile
 src/usr.sbin/wlconfig/Makefile

Only the amd ones are broken.  The bug is in ../Makefile.inc.  It spams
${SRCS} with some nfs headers.  This breaks bsd.prog.mk's automatic
setting of ${SRCS} from ${PROG}.  SRCS should be under the control of
individual Makefiles except for the default in bsd.prog.mk.

This bug also causes bogus setting and building of nfs headers in amd
subdirs that don't have any C sources and/or don't need any nfs headers,
e.g. in the scripts subdir.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Bruce A. Mah

If memory serves me right, Peter Wemm wrote:

 If SRCS is undefined, then SRCS=${PROG}.c.  ie:
 
 peter@daintree[7:30pm]~src/usr.sbin/sicontrol-283 grep SRCS Makefile 
 peter@daintree[7:30pm]~src/usr.sbin/sicontrol-284 make -V SRCS
 sicontrol.c
 peter@daintree[7:30pm]~src/usr.sbin/sicontrol-285 make -V PROG
 sicontrol
 
 Adding back SRCS=prog.c explicitly is not the solution.  It is just hiding
 a problem elsewhere.

[snip]

Thanks for the clue.  I learned something new today.  (Unfortunately, 
not enough to fix the problem, but I bet one of you -CURRENT gods can 
come up with a fix.)

Cheers,

Bruce.




 PGP signature


Re: CURRENT breakage in usr.sbin/amd/mk-amd-map

2001-03-20 Thread Michael C . Wu

On Tue, Mar 20, 2001 at 07:07:35PM -0800, Peter Wemm scribbled:
| "Michael C . Wu" wrote:

I just committed a fix that should unbreak world.  Please
let me know if there are any problems.  It is a trivial
mistake that could been spared by a little testing.

Thanks Bruce M., Peter, Warner, and Bruce E. :)

Michael
-- 
+---+
| [EMAIL PROTECTED] | [EMAIL PROTECTED]   |
| http://iteration.net/~keichii | Yes, BSD is a conspiracy. |
+---+

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Fix for -CURRENT breakage in libc_r

2000-02-18 Thread Jeremy Lea

Please people.  If you think you don't need a make world during a code
freeze, then please at least read the patched files...

Index: Makefile.inc
===
RCS file: /usr/home/ncvs/src/lib/libc_r/man/Makefile.inc,v
retrieving revision 1.10
diff -u -r1.10 Makefile.inc
--- Makefile.inc2000/02/18 05:31:26 1.10
+++ Makefile.inc2000/02/18 10:49:38
@@ -37,9 +37,6 @@
pthread_rwlockattr_init.3 \
pthread_rwlockattr_setpshared.3 \
pthread_self.3 \
-
-MLINKS+=pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3
-MLINKS+=pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3 \
pthread_setspecific.3 \
pthread_testcancel.3 \
sem_destroy.3 \
@@ -49,8 +46,10 @@
sem_post.3 \
sem_wait.3
 
-MLINKS+=   pthread_cancel.3 pthread_setcancelstate.3 \
-   pthread_cancel.3 pthread_getcancelstate.3 \
+MLINKS+=   pthread_cancel.3 pthread_getcancelstate.3 \
+   pthread_cancel.3 pthread_setcancelstate.3 \
+   pthread_rwlock_rdlock.3 pthread_rwlock_tryrdlock.3 \
+   pthread_rwlock_wrlock.3 pthread_rwlock_trywrlock.3 \
sem_open.3 sem_close.3 \
sem_open.3 sem_unlink.3 \
sem_wait.3 sem_trywait.3


 -Jeremy
 
-- 
FreeBSD - Because the best things in life are free...
   http://www.freebsd.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Today CURRENT breakage

1999-04-06 Thread Maxim Sobolev
Following is error output from 'make -j6 buildworld' on sources cvsup'ed
today:

`gencheck.c' is up to date.
`c-parse.in' is up to date.
=== cc_int
make: don't know how to make insn-attrtab.c. Stop
*** Error code 2
?



To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message



Re: Today CURRENT breakage

1999-04-06 Thread Roman V. Palagin
On Tue, 6 Apr 1999, Maxim Sobolev wrote:

 Following is error output from 'make -j6 buildworld' on sources cvsup'ed
 today:
 
 `gencheck.c' is up to date.
 `c-parse.in' is up to date.
 === cc_int
 make: don't know how to make insn-attrtab.c. Stop
 *** Error code 2
don't use -j x.

 ═
 
 
 
 To Unsubscribe: send mail to majord...@freebsd.org
 with unsubscribe freebsd-current in the body of the message
 

  -
   Roman V. Palagin | RVP1-6BONE, RP40-RIPE| Network Administrator   
  -




To Unsubscribe: send mail to majord...@freebsd.org
with unsubscribe freebsd-current in the body of the message