Subject: Re: kern/31063: config should check conflicts and dependences
To: None <gnats-bugs@netbsd.org>
From: Rui Paulo <rpaulo@NetBSD.org>
List: netbsd-bugs
Date: 08/25/2005 02:25:19
--2OzUYMsT4j3Kc+NU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005.08.25 00:12:00 +0000, unex@linija.org wrote:
| >Number:         31063
| >Category:       kern
| >Synopsis:       config should check conflicts and dependences
| >Confidential:   no
| >Severity:       serious
| >Priority:       high
| >Responsible:    kern-bug-people
| >State:          open
| >Class:          sw-bug
| >Submitter-Id:   net
| >Arrival-Date:   Thu Aug 25 00:12:00 +0000 2005
| >Originator:     unex@linija.org
| >Release:        NetBSD 2.0.2_STABLE
| >Organization:
| >Environment:
| System: NetBSD linija.org 2.0.2_STABLE NetBSD 2.0.2_STABLE (Linija-$Revis=
ion) #0: Sun Jun 12 16:43:39 EEST 2005 root@linija.org:/usr/obj/sys/arch/i3=
86/compile/LINIJA i386
|=20
| >Description:
|=20
| In NetBSD 3.0_BETA pf can't co-exist with altq, so if I'll make config wi=
th altq and pf lines, it compiles with errors like:
| 	/usr/src/sys/dist/pf/net/pf.c: In function `pf_send_tcp':
| 	/usr/src/sys/dist/pf/net/pf.c:1355: error: dereferencing pointer to inco=
mplete type
| Same with VERIFIED_EXEC, if I compile it with fingerprint hash (for ex. V=
ERIFIED_EXEC_FP_RMD160), I'll get errors:
| 	kern_verifiedexec.o(.text+0x176): In function `veriexec_init_fp_ops':
| 	: undefined reference to `RMD160Init'
| I think, config should warn about conflicts and dependences like this.

I think this is hard to do. There are far a lot more possibilities that we
cannot predict that easily.

		-- Rui Paulo

--2OzUYMsT4j3Kc+NU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFDDR3/ZPqyxs9FH4QRAjO3AJ9mMkPCu7Ay6rEfdsbdn64A4yUEGwCfVjq8
NfCwblikUdgYu6iq3p++yPA=
=XpaN
-----END PGP SIGNATURE-----

--2OzUYMsT4j3Kc+NU--