NetBSD Problem Report #3334
Received: (qmail-queue invoked from smtpd); 15 Mar 1997 08:28:04 -0000
Message-Id: <199703150824.CAA16866@data.ece.utexas.edu>
Date: Sat, 15 Mar 1997 02:24:23 -0600 (CST)
From: "Brian C. Grayson" <bgrayson@data.ece.utexas.edu>
Reply-To: bgrayson@data.ece.utexas.edu
To: gnats-bugs@gnats.netbsd.org
Subject: 'make -f Makefile.boot' in /usr/src/usr.bin/make fails
X-Send-Pr-Version: 3.95
>Number: 3334
>Category: bin
>Synopsis: 'make -f Makefile.boot' in /usr/src/usr.bin/make fails
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Mar 15 00:35:01 +0000 1997
>Closed-Date: Tue Jul 27 02:03:26 +0000 1999
>Last-Modified: Thu Mar 24 11:34:13 +0000 2005
>Originator: Brian Grayson
>Release: ~late Feb.
>Organization:
Parallel and Distributed Systems
Electrical and Computer Engineering
The University of Texas at Austin
>Environment:
System: NetBSD marvin 1.2C NetBSD 1.2C (MARVIN) #18: Tue Mar 4 10:01:21 CST 1997 bgrayson@marvin:/a/orac/home/orac/src/sys/arch/i386/compile/MARVIN i386
>Description:
Although the Makefile.boot in /usr/src/usr.bin/make is
intended to be used only for bootstrapping, it is unfortunate
that this Makefile can not be used on NetBSD systems.
The fatal errors from attempting to build arch.o are:
In file included from make.h:77,
from arch.c:107:
/usr/include/unistd.h:170: conflicting types for `truncate'
/usr/include/sys/types.h:95: previous declaration of `truncate'
/usr/include/unistd.h:178: conflicting types for `getopt'
/usr/include/stdlib.h:150: previous declaration of `getopt'
/usr/include/unistd.h:184: conflicting types for `getsubopt'
/usr/include/stdlib.h:156: previous declaration of `getsubopt'
These are due to the fact that 'make.h' redefines 'const'
to be '', but only after some header files have already been
processed.
>How-To-Repeat:
cd /usr/src/usr.bin/make && make clean && make -f Makefile.boot
>Fix:
I don't know what the best fix would be. I would suggest
having _every_ C file include "bootstrap.h" before _any_
includes, including system headers. If MAKE_BOOTSTRAP is
undefined, bootstrap.h would do nothing. Otherwise, it
would do the things such as making const and volatile
be ignored -- the things that are currently in
"make.h". I tried this out (making every C file
include "bootstrap.h" first) and it worked, although it
gave lots of warnings about conflicting types for memcpy,
etc. I then used the created bmake to re-create itself
with the -j3 option, and it succeeded.
This may not be the best fix, but to me it seems a bit
better than the current situation. Comments?
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: hubertf
State-Changed-When: Mon Jul 26 19:03:26 PDT 1999
State-Changed-Why:
:-)
- Hubert
From: Adam Ciarcinski <adam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/3334 CVS commit: pkgsrc/lang/ocaml
Date: Thu, 24 Mar 2005 11:32:50 +0000 (UTC)
Module Name: pkgsrc
Committed By: adam
Date: Thu Mar 24 11:32:50 UTC 2005
Modified Files:
pkgsrc/lang/ocaml: Makefile.common PLIST PLIST.opt distinfo
pkgsrc/lang/ocaml/patches: patch-aa patch-aj patch-al patch-at patch-ax
patch-ay patch-ba patch-bm patch-bn patch-bp patch-bq patch-bs
patch-bu
Added Files:
pkgsrc/lang/ocaml/patches: patch-ag
Log Message:
Changes 3.08.3:
New features:
- support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320)
- ignore unknown warning options for forward and backward compatibility
- runtime: export caml_compare_unordered (PR#3479)
- camlp4: install argl.* files (PR#3439)
- ocamldoc: add -man-section option
- labltk: add the "solid" relief option (PR#3343)
- compiler: ocamlc -i now prints variance annotations
Bug fixes:
- typing: fix unsoundness in type declaration variance inference.
Type parameters which are constrained must now have an explicit variant
annotation, otherwise they are invariant. This is not backward
compatible, so this might break code which either uses subtyping or
uses the relaxed value restriction (i.e. was not typable before 3.07)
- typing: erroneous partial match warning for polymorphic variants (PR#3424)
- runtime: handle the case of an empty command line (PR#3409, PR#3444)
- stdlib: make Sys.executable_name an absolute path in native code (PR#3303)
- runtime: fix memory leak in finalise.c
- runtime: auto-trigger compaction even if gc is called manually (PR#3392)
- stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406)
- camlp4: correct parsing of the $ identifier (PR#3310, PR#3469)
- windows (MS tools): use link /lib instead of lib (PR#3333)
- windows (MS tools): change default install destination
- autoconf: better checking of SSE2 instructions (PR#3329, PR#3330)
- graphics: make close_graph close the X display as well as the window (PR#3312)
- num: fix big_int_of_string (empty string) (PR#3483)
- num: fix big bug on 64-bit architecture (PR#3299)
- str: better documentation of string_match and string_partial_match (PR#3395)
- unix: fix file descriptor leak in Unix.accept (PR#3423)
- unix: miscellaneous clean-ups
- unix: fix documentation of Unix.tm (PR#3341)
- graphics: fix problem when allocating lots of images under Windows (PR#3433)
- compiler: fix error message with -pack when .cmi is missing (PR#3028)
- cygwin: fix problem with compilation of camlheader (PR#3485)
- stdlib: Filename.basename doesn't return an empty string any more (PR#3451)
- stdlib: better documentation of Open_excl flag (PR#3450)
- ocamlcp: accept -thread option (PR#3511)
- ocamldep: handle spaces in file names (PR#3370)
- compiler: remove spurious warning in pattern-matching on variants (PR#3424)
- windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432)
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 pkgsrc/lang/ocaml/Makefile.common
cvs rdiff -r1.11 -r1.12 pkgsrc/lang/ocaml/PLIST
cvs rdiff -r1.8 -r1.9 pkgsrc/lang/ocaml/PLIST.opt
cvs rdiff -r1.26 -r1.27 pkgsrc/lang/ocaml/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/lang/ocaml/patches/patch-aa \
pkgsrc/lang/ocaml/patches/patch-aj pkgsrc/lang/ocaml/patches/patch-al \
pkgsrc/lang/ocaml/patches/patch-at
cvs rdiff -r0 -r1.4 pkgsrc/lang/ocaml/patches/patch-ag
cvs rdiff -r1.1 -r1.2 pkgsrc/lang/ocaml/patches/patch-ax \
pkgsrc/lang/ocaml/patches/patch-ay pkgsrc/lang/ocaml/patches/patch-bm \
pkgsrc/lang/ocaml/patches/patch-bq pkgsrc/lang/ocaml/patches/patch-bu
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/ocaml/patches/patch-ba
cvs rdiff -r1.2 -r1.3 pkgsrc/lang/ocaml/patches/patch-bn \
pkgsrc/lang/ocaml/patches/patch-bp pkgsrc/lang/ocaml/patches/patch-bs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Adam Ciarcinski <adam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/3334 CVS commit: pkgsrc/x11/ocaml-graphics
Date: Thu, 24 Mar 2005 11:33:24 +0000 (UTC)
Module Name: pkgsrc
Committed By: adam
Date: Thu Mar 24 11:33:24 UTC 2005
Modified Files:
pkgsrc/x11/ocaml-graphics: Makefile
Log Message:
Changes 3.08.3:
New features:
- support for ocamlopt -pack under Mac OS X (PR#2634, PR#3320)
- ignore unknown warning options for forward and backward compatibility
- runtime: export caml_compare_unordered (PR#3479)
- camlp4: install argl.* files (PR#3439)
- ocamldoc: add -man-section option
- labltk: add the "solid" relief option (PR#3343)
- compiler: ocamlc -i now prints variance annotations
Bug fixes:
- typing: fix unsoundness in type declaration variance inference.
Type parameters which are constrained must now have an explicit variant
annotation, otherwise they are invariant. This is not backward
compatible, so this might break code which either uses subtyping or
uses the relaxed value restriction (i.e. was not typable before 3.07)
- typing: erroneous partial match warning for polymorphic variants (PR#3424)
- runtime: handle the case of an empty command line (PR#3409, PR#3444)
- stdlib: make Sys.executable_name an absolute path in native code (PR#3303)
- runtime: fix memory leak in finalise.c
- runtime: auto-trigger compaction even if gc is called manually (PR#3392)
- stdlib: fix segfault in Obj.dup on zero-sized values (PR#3406)
- camlp4: correct parsing of the $ identifier (PR#3310, PR#3469)
- windows (MS tools): use link /lib instead of lib (PR#3333)
- windows (MS tools): change default install destination
- autoconf: better checking of SSE2 instructions (PR#3329, PR#3330)
- graphics: make close_graph close the X display as well as the window (PR#3312)
- num: fix big_int_of_string (empty string) (PR#3483)
- num: fix big bug on 64-bit architecture (PR#3299)
- str: better documentation of string_match and string_partial_match (PR#3395)
- unix: fix file descriptor leak in Unix.accept (PR#3423)
- unix: miscellaneous clean-ups
- unix: fix documentation of Unix.tm (PR#3341)
- graphics: fix problem when allocating lots of images under Windows (PR#3433)
- compiler: fix error message with -pack when .cmi is missing (PR#3028)
- cygwin: fix problem with compilation of camlheader (PR#3485)
- stdlib: Filename.basename doesn't return an empty string any more (PR#3451)
- stdlib: better documentation of Open_excl flag (PR#3450)
- ocamlcp: accept -thread option (PR#3511)
- ocamldep: handle spaces in file names (PR#3370)
- compiler: remove spurious warning in pattern-matching on variants (PR#3424)
- windows: better handling of InterpreterPath registry entry (PR#3334, PR#3432)
To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/x11/ocaml-graphics/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.