Subject: Solution: Re: Strange pkg/Darwin error:
To: None <tech-pkg@netbsd.org>
From: Sean J. Schluntz <schluntz@greywolf.workofstone.net>
List: tech-pkg
Date: 02/04/2003 10:21:13
Ok, it is all in the paths.  The pkgsrc system can't handle spaces
in any of the environment variables, paths or links. Once I had
renamed the volumes with "_" insted of spaces everything started
working like I would expect it to. (I tested each bit, didn't just
shotgun it.  Each of the above matters.)


-Sean

In message <13945.1044292986@greywolf.workofstone.net>, "Sean J. Schluntz" writ
es:
>
>Greetings, I recently put the pkgsrc system on an iMac running MacOS
>10.2.3.  The hard disk is setup:
> Size	Mount Point		FS	Name
> 8gig	/ 			(HFS+)	(Issabert OS)
> 42gig	/Volumes/Issabert Data	(HFS+)	(Issabert Data)
> 4gig	/Volumes/Issavert UFS	(UFS)	(Issabert UFS)
>
>I've created the following links:
>
>/usr/pkg	->	/Volumes/Issabert UFS/usr/pkg
>/usr/pkgsrc	->	/Volumes/Issabert UFS/usr/pkgsrc
>/usr/src	->	/Volumes/Issabert UFS/usr/src
>/var/db/pkg	->	/Volumes/Issabert UFS/var/db/pkg
>
>The binaries and such that were moved from another iMac work just
>fine (same rev os and dev kit).  I've re-run bootstrap using the
>most recent version (the one dated 2003....). 
>
>Whenever I try to do a bmake anything (clean, fetch-list, '', depend
>etc) I get a bunch of strange errors (listed below).
>
>Is this because there is a space in the path?  (Bad habbit from 
>naming drives on macs, "System Name Space Drive Name"). Or is
>there something else causing this?
>
>Thanks for your help.
>
>-Sean
>
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 6: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 3: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 4: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 5: war
>ning: duplicate script for taget "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 6: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 3: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 4: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 5: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 6: war
>ning: duplicate script for target "/Volumes/Issabert" ignored
>bmake: "../../mk/buildlink2/../../mk/buildlink2/bsd.buildlink2.mk" line 12: wa
>rning: using previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 1488: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2512: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2514: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2516: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2524: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2534: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2538: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2547: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2551: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2843: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 2847: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 4169: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 4175: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>bmake: "../../mk/../../mk/bsd.pkg.mk" line 4180: warning: duplicate script for
> target "/Volumes/Issabert" ignored
>bmake: "../../mk/../../mk/buildlink2/bsd.buildlink2.mk" line 12: warning: usin
>g previous script for "/Volumes/Issabert" defined here
>