Subject: Re: misc/29968: distribution build fails if some MK* variables are set to 'no'
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-bugs
Date: 04/14/2005 13:09:02
The following reply was made to PR misc/29968; it has been noted by GNATS.

From: Jukka Salmi <j+nbsd@2005.salmi.ch>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: misc/29968: distribution build fails if some MK* variables are set to 'no'
Date: Thu, 14 Apr 2005 15:08:32 +0200

 --Pd0ReVV5GZGQvF3a
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 The attached patches should fix the reported problems. But there's a new
 problem now which I don't know how to fix:
 
 #   compile  ld.elf_so/paths.o
 /opt/tools/i386/bin/i386--netbsdelf-gcc -O3 -fomit-frame-pointer  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror   -fpic -DELFSIZE=32 -DLIBDIR=\"/usr/lib\" -D_PATH_RTLD=\"/libexec/ld.elf_so\" -I/usr/src/libexec/ld.elf_so -DRTLD_LOADER -D_RTLD_SOURCE  -nostdinc -isystem /opt/dst/i386.embed/usr/include  -c    /usr/src/libexec/ld.elf_so/paths.c
 nbmake: don't know how to make /opt/dst/i386.embed/usr/lib/libc.a. Stop
  
 nbmake: stopped in /usr/src/libexec/ld.elf_so
 
 -- 
 bashian roulette:
 $ ((RANDOM%6)) || rm -rf ~
 
 --Pd0ReVV5GZGQvF3a
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="libl.patch"
 
 --- src/lib/libl/Makefile.orig	2002-08-19 11:41:32.000000000 +0200
 +++ src/lib/libl/Makefile	2005-04-14 11:22:30.000000000 +0200
 @@ -7,7 +7,9 @@
  LIB=		l
  SRCS=		libmain.c libyywrap.c
  
 +.if ${MKSTATICLIB} != "no"
  LINKS=		${LIBDIR}/libl.a ${LIBDIR}/libfl.a
 +.endif
  
  .PATH:		${NETBSDSRCDIR}/usr.bin/lex
  
 
 --Pd0ReVV5GZGQvF3a
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="mi.patch"
 
 --- src/distrib/sets/lists/base/mi.orig	2005-04-13 00:03:25.000000000 +0200
 +++ src/distrib/sets/lists/base/mi	2005-04-14 11:28:54.000000000 +0200
 @@ -1302,7 +1302,7 @@
  ./usr/share/examples/mount_portal		base-miscfs-examples
  ./usr/share/examples/named			base-obsolete	obsolete
  ./usr/share/examples/openssl			base-crypto-examples
 -./usr/share/examples/pf				base-netutil-examples	pf
 +./usr/share/examples/pf				base-netutil-examples
  ./usr/share/examples/postfix			base-postfix-examples
  ./usr/share/examples/racoon			base-netutil-examples
  ./usr/share/examples/racoon/roadwarrior		base-netutil-examples
 @@ -2838,7 +2838,7 @@
  ./usr/share/wscons/keymaps/pckbd.ru.koi8-r	base-util-share		share
  ./usr/share/wscons/keymaps/pckbd.sv.svascii	base-util-share		share
  ./usr/share/zoneinfo				base-sys-share
 -./usr/share/zoneinfo/Africa			base-sys-share		share
 +./usr/share/zoneinfo/Africa			base-sys-share
  ./usr/share/zoneinfo/Africa/Abidjan		base-sys-share		share
  ./usr/share/zoneinfo/Africa/Accra		base-sys-share		share
  ./usr/share/zoneinfo/Africa/Addis_Ababa		base-sys-share		share
 @@ -2892,13 +2892,13 @@
  ./usr/share/zoneinfo/Africa/Tripoli		base-sys-share		share
  ./usr/share/zoneinfo/Africa/Tunis		base-sys-share		share
  ./usr/share/zoneinfo/Africa/Windhoek		base-sys-share		share
 -./usr/share/zoneinfo/America			base-sys-share		share
 +./usr/share/zoneinfo/America			base-sys-share
  ./usr/share/zoneinfo/America/Adak		base-sys-share		share
  ./usr/share/zoneinfo/America/Anchorage		base-sys-share		share
  ./usr/share/zoneinfo/America/Anguilla		base-sys-share		share
  ./usr/share/zoneinfo/America/Antigua		base-sys-share		share
  ./usr/share/zoneinfo/America/Araguaina		base-sys-share		share
 -./usr/share/zoneinfo/America/Argentina		base-sys-share		share
 +./usr/share/zoneinfo/America/Argentina		base-sys-share
  ./usr/share/zoneinfo/America/Argentina/Buenos_Aires	base-sys-share		share
  ./usr/share/zoneinfo/America/Argentina/Catamarca	base-sys-share		share
  ./usr/share/zoneinfo/America/Argentina/ComodRivadavia	base-sys-share		share
 @@ -2958,7 +2958,7 @@
  ./usr/share/zoneinfo/America/Halifax		base-sys-share		share
  ./usr/share/zoneinfo/America/Havana		base-sys-share		share
  ./usr/share/zoneinfo/America/Hermosillo		base-sys-share		share
 -./usr/share/zoneinfo/America/Indiana		base-sys-share		share
 +./usr/share/zoneinfo/America/Indiana		base-sys-share
  ./usr/share/zoneinfo/America/Indiana/Indianapolis	base-sys-share		share
  ./usr/share/zoneinfo/America/Indiana/Knox	base-sys-share		share
  ./usr/share/zoneinfo/America/Indiana/Marengo	base-sys-share		share
 @@ -2969,7 +2969,7 @@
  ./usr/share/zoneinfo/America/Jamaica		base-sys-share		share
  ./usr/share/zoneinfo/America/Jujuy		base-sys-share		share
  ./usr/share/zoneinfo/America/Juneau		base-sys-share		share
 -./usr/share/zoneinfo/America/Kentucky		base-sys-share		share
 +./usr/share/zoneinfo/America/Kentucky		base-sys-share
  ./usr/share/zoneinfo/America/Kentucky/Louisville	base-sys-share		share
  ./usr/share/zoneinfo/America/Kentucky/Monticello	base-sys-share		share
  ./usr/share/zoneinfo/America/Knox_IN		base-sys-share		share
 @@ -2996,7 +2996,7 @@
  ./usr/share/zoneinfo/America/Nipigon		base-sys-share		share
  ./usr/share/zoneinfo/America/Nome		base-sys-share		share
  ./usr/share/zoneinfo/America/Noronha		base-sys-share		share
 -./usr/share/zoneinfo/America/North_Dakota	base-sys-share		share
 +./usr/share/zoneinfo/America/North_Dakota	base-sys-share
  ./usr/share/zoneinfo/America/North_Dakota/Center	base-sys-share		share
  ./usr/share/zoneinfo/America/Panama		base-sys-share		share
  ./usr/share/zoneinfo/America/Pangnirtung	base-sys-share		share
 @@ -3036,7 +3036,7 @@
  ./usr/share/zoneinfo/America/Winnipeg		base-sys-share		share
  ./usr/share/zoneinfo/America/Yakutat		base-sys-share		share
  ./usr/share/zoneinfo/America/Yellowknife	base-sys-share		share
 -./usr/share/zoneinfo/Antarctica			base-sys-share		share
 +./usr/share/zoneinfo/Antarctica			base-sys-share
  ./usr/share/zoneinfo/Antarctica/Casey		base-sys-share		share
  ./usr/share/zoneinfo/Antarctica/Davis		base-sys-share		share
  ./usr/share/zoneinfo/Antarctica/DumontDUrville	base-sys-share		share
 @@ -3047,9 +3047,9 @@
  ./usr/share/zoneinfo/Antarctica/South_Pole	base-sys-share		share
  ./usr/share/zoneinfo/Antarctica/Syowa		base-sys-share		share
  ./usr/share/zoneinfo/Antarctica/Vostok		base-sys-share		share
 -./usr/share/zoneinfo/Arctic			base-sys-share		share
 +./usr/share/zoneinfo/Arctic			base-sys-share
  ./usr/share/zoneinfo/Arctic/Longyearbyen	base-sys-share		share
 -./usr/share/zoneinfo/Asia			base-sys-share		share
 +./usr/share/zoneinfo/Asia			base-sys-share
  ./usr/share/zoneinfo/Asia/Aden			base-sys-share		share
  ./usr/share/zoneinfo/Asia/Aktau			base-obsolete		obsolete
  ./usr/share/zoneinfo/Asia/Alma-Ata		base-obsolete		obsolete
 @@ -3141,7 +3141,7 @@
  ./usr/share/zoneinfo/Asia/Yakutsk		base-sys-share		share
  ./usr/share/zoneinfo/Asia/Yekaterinburg		base-sys-share		share
  ./usr/share/zoneinfo/Asia/Yerevan		base-sys-share		share
 -./usr/share/zoneinfo/Atlantic			base-sys-share		share
 +./usr/share/zoneinfo/Atlantic			base-sys-share
  ./usr/share/zoneinfo/Atlantic/Azores		base-sys-share		share
  ./usr/share/zoneinfo/Atlantic/Bermuda		base-sys-share		share
  ./usr/share/zoneinfo/Atlantic/Canary		base-sys-share		share
 @@ -3153,7 +3153,7 @@
  ./usr/share/zoneinfo/Atlantic/South_Georgia	base-sys-share		share
  ./usr/share/zoneinfo/Atlantic/St_Helena		base-sys-share		share
  ./usr/share/zoneinfo/Atlantic/Stanley		base-sys-share		share
 -./usr/share/zoneinfo/Australia			base-sys-share		share
 +./usr/share/zoneinfo/Australia			base-sys-share
  ./usr/share/zoneinfo/Australia/ACT		base-sys-share		share
  ./usr/share/zoneinfo/Australia/Adelaide		base-sys-share		share
  ./usr/share/zoneinfo/Australia/Brisbane		base-sys-share		share
 @@ -3175,14 +3175,14 @@
  ./usr/share/zoneinfo/Australia/Victoria		base-sys-share		share
  ./usr/share/zoneinfo/Australia/West		base-sys-share		share
  ./usr/share/zoneinfo/Australia/Yancowinna	base-sys-share		share
 -./usr/share/zoneinfo/Brazil			base-sys-share		share
 +./usr/share/zoneinfo/Brazil			base-sys-share
  ./usr/share/zoneinfo/Brazil/Acre		base-sys-share		share
  ./usr/share/zoneinfo/Brazil/DeNoronha		base-sys-share		share
  ./usr/share/zoneinfo/Brazil/East		base-sys-share		share
  ./usr/share/zoneinfo/Brazil/West		base-sys-share		share
  ./usr/share/zoneinfo/CET			base-sys-share		share
  ./usr/share/zoneinfo/CST6CDT			base-sys-share		share
 -./usr/share/zoneinfo/Canada			base-sys-share		share
 +./usr/share/zoneinfo/Canada			base-sys-share
  ./usr/share/zoneinfo/Canada/Atlantic		base-sys-share		share
  ./usr/share/zoneinfo/Canada/Central		base-sys-share		share
  ./usr/share/zoneinfo/Canada/East-Saskatchewan	base-sys-share		share
 @@ -3192,7 +3192,7 @@
  ./usr/share/zoneinfo/Canada/Pacific		base-sys-share		share
  ./usr/share/zoneinfo/Canada/Saskatchewan	base-sys-share		share
  ./usr/share/zoneinfo/Canada/Yukon		base-sys-share		share
 -./usr/share/zoneinfo/Chile			base-sys-share		share
 +./usr/share/zoneinfo/Chile			base-sys-share
  ./usr/share/zoneinfo/Chile/Continental		base-sys-share		share
  ./usr/share/zoneinfo/Chile/EasterIsland		base-sys-share		share
  ./usr/share/zoneinfo/Cuba			base-sys-share		share
 @@ -3201,7 +3201,7 @@
  ./usr/share/zoneinfo/EST5EDT			base-sys-share		share
  ./usr/share/zoneinfo/Egypt			base-sys-share		share
  ./usr/share/zoneinfo/Eire			base-sys-share		share
 -./usr/share/zoneinfo/Etc			base-sys-share		share
 +./usr/share/zoneinfo/Etc			base-sys-share
  ./usr/share/zoneinfo/Etc/GMT			base-sys-share		share
  ./usr/share/zoneinfo/Etc/GMT+0			base-sys-share		share
  ./usr/share/zoneinfo/Etc/GMT+1			base-sys-share		share
 @@ -3237,7 +3237,7 @@
  ./usr/share/zoneinfo/Etc/UTC			base-sys-share		share
  ./usr/share/zoneinfo/Etc/Universal		base-sys-share		share
  ./usr/share/zoneinfo/Etc/Zulu			base-sys-share		share
 -./usr/share/zoneinfo/Europe			base-sys-share		share
 +./usr/share/zoneinfo/Europe			base-sys-share
  ./usr/share/zoneinfo/Europe/Amsterdam		base-sys-share		share
  ./usr/share/zoneinfo/Europe/Andorra		base-sys-share		share
  ./usr/share/zoneinfo/Europe/Athens		base-sys-share		share
 @@ -3341,7 +3341,7 @@
  ./usr/share/zoneinfo/HST			base-sys-share		share
  ./usr/share/zoneinfo/Hongkong			base-sys-share		share
  ./usr/share/zoneinfo/Iceland			base-sys-share		share
 -./usr/share/zoneinfo/Indian			base-sys-share		share
 +./usr/share/zoneinfo/Indian			base-sys-share
  ./usr/share/zoneinfo/Indian/Antananarivo	base-sys-share		share
  ./usr/share/zoneinfo/Indian/Chagos		base-sys-share		share
  ./usr/share/zoneinfo/Indian/Christmas		base-sys-share		share
 @@ -3362,11 +3362,11 @@
  ./usr/share/zoneinfo/MET			base-sys-share		share
  ./usr/share/zoneinfo/MST			base-sys-share		share
  ./usr/share/zoneinfo/MST7MDT			base-sys-share		share
 -./usr/share/zoneinfo/Mexico			base-sys-share		share
 +./usr/share/zoneinfo/Mexico			base-sys-share
  ./usr/share/zoneinfo/Mexico/BajaNorte		base-sys-share		share
  ./usr/share/zoneinfo/Mexico/BajaSur		base-sys-share		share
  ./usr/share/zoneinfo/Mexico/General		base-sys-share		share
 -./usr/share/zoneinfo/Mideast			base-sys-share		share
 +./usr/share/zoneinfo/Mideast			base-sys-share
  ./usr/share/zoneinfo/Mideast/Riyadh87		base-sys-share		share
  ./usr/share/zoneinfo/Mideast/Riyadh88		base-sys-share		share
  ./usr/share/zoneinfo/Mideast/Riyadh89		base-sys-share		share
 @@ -3376,7 +3376,7 @@
  ./usr/share/zoneinfo/Navajo			base-sys-share		share
  ./usr/share/zoneinfo/PRC			base-sys-share		share
  ./usr/share/zoneinfo/PST8PDT			base-sys-share		share
 -./usr/share/zoneinfo/Pacific			base-sys-share		share
 +./usr/share/zoneinfo/Pacific			base-sys-share
  ./usr/share/zoneinfo/Pacific/Apia		base-sys-share		share
  ./usr/share/zoneinfo/Pacific/Auckland		base-sys-share		share
  ./usr/share/zoneinfo/Pacific/Chatham		base-sys-share		share
 @@ -3422,7 +3422,7 @@
  ./usr/share/zoneinfo/ROC			base-sys-share		share
  ./usr/share/zoneinfo/ROK			base-sys-share		share
  ./usr/share/zoneinfo/Singapore			base-sys-share		share
 -./usr/share/zoneinfo/SystemV			base-sys-share		share
 +./usr/share/zoneinfo/SystemV			base-sys-share
  ./usr/share/zoneinfo/SystemV/AST4		base-sys-share		share
  ./usr/share/zoneinfo/SystemV/AST4ADT		base-sys-share		share
  ./usr/share/zoneinfo/SystemV/CST6		base-sys-share		share
 @@ -3438,7 +3438,7 @@
  ./usr/share/zoneinfo/SystemV/YST9YDT		base-sys-share		share
  ./usr/share/zoneinfo/Turkey			base-sys-share		share
  ./usr/share/zoneinfo/UCT			base-sys-share		share
 -./usr/share/zoneinfo/US				base-sys-share		share
 +./usr/share/zoneinfo/US				base-sys-share
  ./usr/share/zoneinfo/US/Alaska			base-sys-share		share
  ./usr/share/zoneinfo/US/Aleutian		base-sys-share		share
  ./usr/share/zoneinfo/US/Arizona			base-sys-share		share
 
 --Pd0ReVV5GZGQvF3a--