I'm confused about the debian devkit.

I'm trying to (re)build a basic sarge dpkg. This fails because I don't have ncurses, zlib, or libbz2 installed in my scratchbox target.

dpkg-buildpackage: source package is dpkg
dpkg-buildpackage: source version is 1.10.28
dpkg-buildpackage: source maintainer is Scott James Remnant <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture is i386
dpkg-checkbuilddeps: Using Scratchbox tools to satisfy builddeps
dpkg-checkbuilddeps: Dependency provided by Scratchbox: debiandoc-sgml
dpkg-checkbuilddeps: Dependency provided by Scratchbox: sgml-base (>= 1.9.1)
dpkg-checkbuilddeps: Dependency provided by Scratchbox: sgmltools-lite
dpkg-checkbuilddeps: Dependency provided by Scratchbox: gettext (>= 0.12.1-3)
dpkg-checkbuilddeps: Dependency provided by Scratchbox: autotools-dev
dpkg-checkbuilddeps: Unmet build dependencies: libncurses-dev zlib1g-dev (>= 1:1.1.3-19.1) libbz2-dev
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)

So I build debs for each of these libraries, (which have no other dependencies), and that's great. Except that I can't install them.

dpkg -i zlib1g-dev_1.2.2-4.sarge.2_i386.deb
(Reading database ... 32 files and directories currently installed.)
Preparing to replace zlib1g-dev 1:1.2.2-4.sarge.2 (using zlib1g-dev_1.2.2-4.sarge.2_i386.deb) ...
Unpacking replacement zlib1g-dev ...
dpkg: dependency problems prevent configuration of zlib1g-dev:
zlib1g-dev depends on libc6-dev | libc-dev; however:
 Package libc6-dev is not installed.
 Package libc-dev is not installed.
dpkg: error processing zlib1g-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
zlib1g-dev
make: *** [zlib-installed] Error 1

Shouldn't the devkit or the toolchain have noticed that I've copied /lib/libc into my scratchbox target and thus provided a spoof that scratchbox provides libc? Or does this spoofing only happen for build time dependencies? Do I really have to go build my own libc and my own gcc and everything else?

How is this intended to work?

--rich
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to