Bug#287260: build conflict between asterisk and zaptel: slang[-utf8]-dev

Kilian Krause "Kilian Krause" <kk@verfaction.de>, 287260@bugs.debian.org
Wed, 09 Feb 2005 16:29:00 +0100


--=-Z7CJkj9niZF+BeZO0d5h
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Tzafrir,

> What happens here?
> asterisk:
>   Build-depends: libopenh323-dev
>     Depends: libpt-dev
> 		  Depends: libsdl1.2-dev
> 			  Depends: aalib1-dev
> 				  Depends: slang1-dev
> 					  Conflicts: slang1-utf8-dev
>=20
> zaptel:
>   Build-Depends: libnewt-dev (for zttool)
> 		Depends: slang1-utf8-dev
> 			Conflicts: slang1-dev

I'd vote for moving this bug over to libnewt-dev and aalib1-dev, asking
if one or the other can use the other slang implementation. Objectsions?
Jose?

> The two packages are two packages I often need to build . How do I
> resolve this conflict?

What just came to my mind is this:
1.) install N chroots (one for each package you need to build, at least
two) like "cdebootstrap -f build sid /srv/chroots/sid/asterisk"=20
2.) share a directory like /usr/local/src/ between those chroots using
bind mountings (mount -o bind /dir1 /dir2)
3.) install build-dependencies for each app in the appropriate chroot
4.) use dchroot or sudo chroot to nagivate between your environments.

This has also the advantage of saving you to purge&reinstall all the
build-deps each time you compile (i.e. build from a sane and clean
environment). Alternatively you could use something like
svn-buildpackage with sbuild or pbuilder. Take your pick. =3D)

--=20
Best regards,
 Kilian

--=-Z7CJkj9niZF+BeZO0d5h
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBCCiw8vdkzt4X+wX8RAvfYAJ9TehsMKewxdW6jv+K9tI7Hxo155wCaAhuD
Mxlgcc8kFi5hbzT2rx73qOA=
=bp5m
-----END PGP SIGNATURE-----

--=-Z7CJkj9niZF+BeZO0d5h--