[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libpq-dev



On Fri, 03 Feb 2012 13:06:26 +0100
Michał Cichowicz <cichy1024@gmail.com> wrote:

> >> is it possible to fix the repository, so it would be possible to install
> >> libpq-dev via apt-get?
>
> Sorry, I forgot to mention the suite. I mean squeeze for armel.
> 
> This is my multistrap file:
> 
>     debootstrap=Emdebian
>     aptsources=Emdebian
> 
>     [Emdebian]
>     packages=ssh mc libts-dev libpq-dev libssl-dev libkeyutils-dev
>     libsysfs-dev krb5-multidev libkrb5-dev
>     source=http://www.emdebian.org/grip
>     keyring=emdebian-archive-keyring
>     suite=squeeze main dev doc debug java
> 
> This is the log of pdebuild-cross-create:

So you're creating a pbuilder cross chroot with multiple build
dependencies already installed? The usual intent is to get as clean a
build environment as possible. The intent of pdebuild-cross is to get
you a clean cross environment where the only real additions are those
necessary for a working cross environment. The only -dev package which
comes into that category is dpkg-dev because otherwise you don't have a
dpkg-buildpackage to use inside the chroot. The rest need to come in
via Build-Depends / embuilddeps / xapt etc.

Don't forget that although you can (usually) build against Emdebian Grip
sources / -dev files, there is no difference in what you get as a
result from building against Debian sources and -dev files. Grip is
fully binary-compatible and therefore cross-building can just as easily
use Debian packages for the dependencies as Emdebian packages.

This is why the default multistrap files for use with pdebuild-cross
reference the Debian mirrors, not the Emdebian Grip ones. Emdebian is
only listed at all to get the cross toolchain packages.

Please, before we both forget about this, file a wishlist bug against
pdebuild-cross, asking for the manpage to include comments based on the
above.

>     base-files base-passwd bash bsdutils coreutils dash debianutils
>     diffutils dpkg e2fslibs e2fsprogs emdebian-archive-keyring findutils
>     gcc-4.4-base grep grip-config gzip hostname initscripts
>     krb5-multidev libacl1 libattr1 libblkid1 libc-bin libc6 libcomerr2
>     libdevmapper1.02.1 libgcc1 libkeyutils-dev libkrb5-dev
>     liblocale-gettext-perl liblzma2 libncurses5 libpam-modules
>     libpam-runtime libpam0g libpq-dev libselinux1 libsepol1 libslang2
>     libss2 libssl-dev libstdc++6 libsysfs-dev libtext-charwidth-perl
>     libtext-iconv-perl libtext-wrapi18n-perl libts-dev libuuid1 login
>     lsb-base mawk mc mount ncurses-base ncurses-bin passwd perl-base sed
>     sensible-utils ssh sysv-rc sysvinit sysvinit-utils tar tzdata
>     util-linux xz-utils zlib1g

>     The following packages have unmet dependencies:
>      libkrb5-dev : Depends: krb5-multidev (= 1.8.3+dfsg-4squeeze1em1)
>     but 1.8.3+dfsg-4squeeze2em1 is to be installed
>     E: Broken packages
>     apt download failed. Exit value: 100

> As you see there is dependency error with krb5-multidev.

Actually, it's libkrb5-dev which appears to be the problem, it's old
and therefore looking for the old version. It likely needs an update
to squeeze2. The -dev packages for stable aren't as easy to check for
dependency issues as packages in main - part of the reason why the
components experiment failed and is being dropped as part of the Debian
Integration for Wheezy.

I'll try and fix krb5 for stable but not sure when, hopefully in the
next few days. In the meantime, switch your multistrap to using Debian
mirrors and you'll be up and running, albeit with a bit of a fatter
chroot. You can always login to the chroot later and change the apt
sources.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpPUIGzthzFk.pgp
Description: PGP signature


Reply to: