NetBSD Problem Report #3485
Received: (qmail-queue invoked from smtpd); 13 Apr 1997 23:30:23 -0000
Message-Id: <199704132330.TAA25137@elfie.bevc.blacksburg.va.us>
Date: Sun, 13 Apr 1997 19:30:18 -0400 (EDT)
From: John Franklin <franklin@elfie.bevc.blacksburg.va.us>
Reply-To: franklin@elfie.bevc.blacksburg.va.us
To: gnats-bugs@gnats.netbsd.org
Subject: install fails to create subdirectories
X-Send-Pr-Version: 3.95
>Number: 3485
>Category: bin
>Synopsis: install fails to create subdirectories
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 13 16:35:01 +0000 1997
>Closed-Date: Mon Apr 14 06:46:19 +0000 1997
>Last-Modified: Thu Mar 24 11:34:42 +0000 2005
>Originator: John Franklin
>Release: NetBSD-current sup'd 13 April 1997 6pm EDT
>Organization:
>Environment:
System: NetBSD elfie.bevc.blacksburg.va.us 1.2D NetBSD 1.2D (YOSSARIAN) #0: Thu Apr 10 05:32:53 EDT 1997 root@elfie.bevc.blacksburg.va.us:/home/src/sys/arch/alpha/compile/YOSSARIAN alpha
>Description:
install will fail to make a subdirectory for the file if
it requires one.
>How-To-Repeat:
elfie# mv /usr/include /usr/include.old
elfie# cd /usr/src/include
elfie# make includes
install -c -o bin -g bin -m 444 a.out.h /usr/include/a.out.h
install: /usr/include/a.out.h: No such file or directory
*** Error code 1
>Fix:
The solution to this lies in a couple of places. The bsd.inc.mk file
should test for INCDIRS existance and create it if neccessary.
(Two lines of code, test -e/mkdir.)
However, this would still fail with some makefiles (such as in
/usr/src/include) that specify INCS += subdir/include.h. This
would require a change in install, and possibly a -d option added
to the install calls in bsd.inc.mk.
>Release-Note:
>Audit-Trail:
From: "Perry E. Metzger" <perry@piermont.com>
To: franklin@elfie.bevc.blacksburg.va.us
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/3485: install fails to create subdirectories
Date: Sun, 13 Apr 1997 21:25:03 -0400
John Franklin writes:
>
> >Number: 3485
> >Category: bin
> >Synopsis: install fails to create subdirectories
Install isn't *supposed* to create directories.
Thats why we have mtree for the task, among other things.
Perry
State-Changed-From-To: open->closed
State-Changed-By: cjs
State-Changed-When: Sun Apr 13 23:46:19 PDT 1997
State-Changed-Why:
Directories in the final install destination are created with
`make distrib-dirs' from src/etc.
.
From: Mike Long <mikel@shore.net>
To: franklin@elfie.bevc.blacksburg.va.us
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: bin/3485: install fails to create subdirectories
Date: Mon, 14 Apr 1997 12:49:51 -0400 (EDT)
>Date: Sun, 13 Apr 1997 19:30:18 -0400 (EDT)
>From: John Franklin <franklin@elfie.bevc.blacksburg.va.us>
>>Description:
> install will fail to make a subdirectory for the file if
> it requires one.
Creating a destination directory is not install's job; see below.
>>How-To-Repeat:
> elfie# make includes
> install -c -o bin -g bin -m 444 a.out.h /usr/include/a.out.h
> install: /usr/include/a.out.h: No such file or directory
>>Fix:
> The solution to this lies in a couple of places. The bsd.inc.mk file
> should test for INCDIRS existance and create it if neccessary.
> (Two lines of code, test -e/mkdir.)
>
> However, this would still fail with some makefiles (such as in
> /usr/src/include) that specify INCS += subdir/include.h. This
> would require a change in install, and possibly a -d option added
> to the install calls in bsd.inc.mk.
No, you should 'cd /usr/src/etc; make distrib-dirs' before trying to
'make includes. Almost all of the includes: and install: targets in
the tree take for granted that the destination directory exists;
distrib-dirs is your way of ensuring that.
--
Mike Long <mikel@shore.net> http://www.shore.net/~mikel
"Every normal man must be tempted at times to spit on his hands,
hoist the black flag, and begin slitting throats." -- H.L. Mencken
From: Adam Ciarcinski <adam@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/3485 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/3485 CVS commit: pkgsrc/x11/ocaml-graphics
Date: Thu, 24 Mar 2005 11:33:25 +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.