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

darcs' debian/control ghc6 -> ghc pisses off pbuilder



Hi, I (nominally) maintain Darcs in Debian.  I've been completely
inactive both here and upstream, so I plan to get through the Squeeze
release (done), push the newest upstream into Sid, then file an RFA.

Looking into the second step today, I found the s/ghc6/ghc/ in
debian/control upsets pbuilder (transcript attached), because it
ghc-foo packages are virtual.

Presumably this change was made to pave the way for a ghc7 migration,
and backing out would be a Bad Thing.  I think it'll probably work if
I change Build-Depends from

    ghc-foo (>= x.y.z~)

to

    ghc6-foo (>= x.y.z~) | ghc-foo (>= x.y.z~)

But this is fugly.  Is there a solution that I haven't thought of?
Script started on Sun 13 Feb 2011 14:30:58 EST
dpkg-checkbuilddeps: Unmet build dependencies: ghc (>= 6.10.4) libcurl4-gnutls-dev (>= 7.19.1) libghc-hashed-storage-dev (>= 0.4.13~) libghc-haskeline-dev libghc-html-dev libghc-http-dev libghc-mmap0.4-dev libghc-mtl-dev libghc-network-dev libghc-parsec2-dev libghc-regex-compat-dev libghc-terminfo-dev libghc-zlib-dev
W: Unmet build-dependency in source
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package darcs
dpkg-buildpackage: source version 2.5.1-1
dpkg-buildpackage: source changed by Trent W. Buck <trentbuck@gmail.com>
dpkg-checkbuilddeps: Unmet build dependencies: ghc (>= 6.10.4) libcurl4-gnutls-dev (>= 7.19.1) libghc-hashed-storage-dev (>= 0.4.13~) libghc-haskeline-dev libghc-html-dev libghc-http-dev libghc-mmap0.4-dev libghc-mtl-dev libghc-network-dev libghc-parsec2-dev libghc-regex-compat-dev libghc-terminfo-dev libghc-zlib-dev
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
dpkg-buildpackage: warning: This is currently a non-fatal warning with -S, but
dpkg-buildpackage: warning: will probably become fatal in the future.
 fakeroot debian/rules clean
dh --with bash-completion clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/home/twb/Desktop/darcs-2.5.1'
ghc --make Setup
[1 of 2] Compiling Distribution.ShellHarness ( Distribution/ShellHarness.hs, Distribution/ShellHarness.o )
[2 of 2] Compiling Main             ( Setup.lhs, Setup.o )
Linking Setup ...
./Setup clean
cleaning...
make[1]: Leaving directory `/home/twb/Desktop/darcs-2.5.1'
   dh_clean
 dpkg-source -b darcs-2.5.1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building darcs using existing ./darcs_2.5.1.orig.tar.gz
dpkg-source: info: building darcs in darcs_2.5.1-1.debian.tar.gz
dpkg-source: info: building darcs in darcs_2.5.1-1.dsc
 dpkg-genchanges -S >../darcs_2.5.1-1_source.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
I: using fakeroot in build.
I: Current time: Sun Feb 13 14:31:02 EST 2011
I: pbuilder-time-stamp: 1297567862
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base/sid-amd64.tgz]
I: creating local configuration
I: copying local configuration
W: No local /etc/hostname to copy, relying on /var/cache/pbuilder/build//31901/etc/hostname to be correct
W: --override-config is not set; not updating apt.conf Read the manpage for details.
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder and should
Depends: debhelper (>= 7.0.50), ghc (>= 6.10.4), bash-completion (>= 1:1.1), libcurl4-gnutls-dev (>= 7.19.1), libghc-hashed-storage-dev (>= 0.4.13~), libghc-haskeline-dev, libghc-html-dev, libghc-http-dev, libghc-mmap0.4-dev, libghc-mtl-dev, libghc-network-dev, libghc-parsec2-dev, libghc-regex-compat-dev, libghc-terminfo-dev, libghc-zlib-dev
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 10305 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 7.0.50); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on ghc (>= 6.10.4); however:
  Package ghc is not installed.
 pbuilder-satisfydepends-dummy depends on bash-completion (>= 1:1.1); however:
  Package bash-completion is not installed.
 pbuilder-satisfydepends-dummy depends on libcurl4-gnutls-dev (>= 7.19.1); however:
  Package libcurl4-gnutls-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-hashed-storage-dev (>= 0.4.13~); however:
  Package libghc-hashed-storage-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-haskeline-dev; however:
  Package libghc-haskeline-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-html-dev; however:
  Package libghc-html-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-http-dev; however:
  Package libghc-http-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-mmap0.4-dev; however:
  Package libghc-mmap0.4-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-mtl-dev; however:
  Package libghc-mtl-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-network-dev; however:
  Package libghc-network-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-parsec2-dev; however:
  Package libghc-parsec2-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-regex-compat-dev; however:
  Package libghc-regex-compat-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-terminfo-dev; however:
  Package libghc-terminfo-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libghc-zlib-dev; however:
  Package libghc-zlib-dev is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 pbuilder-satisfydepends-dummy
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
  bash-completion{a} bsdmainutils{a} ca-certificates{a} comerr-dev{a} 
  debhelper{a} file{a} gettext{a} gettext-base{a} groff-base{a} 
  html2text{a} intltool-debian{a} krb5-multidev{a} libcroco3{a} 
  libcurl3-gnutls{a} libcurl4-gnutls-dev{a} libgcrypt11{a} 
  libgcrypt11-dev{a} libglib2.0-0{a} libgnutls-dev{a} libgnutls26{a} 
  libgnutlsxx26{a} libgpg-error-dev{a} libgpg-error0{a} libgssapi-krb5-2{a} 
  libgssrpc4{a} libidn11{a} libidn11-dev{a} libk5crypto3{a} 
  libkadm5clnt-mit7{a} libkadm5srv-mit7{a} libkdb5-4{a} libkeyutils1{a} 
  libkrb5-3{a} libkrb5-dev{a} libkrb5support0{a} libldap-2.4-2{a} 
  libldap2-dev{a} libmagic1{a} libpcre3{a} libpipeline1{a} libpopt0{a} 
  libsasl2-2{a} libssl0.9.8{a} libtasn1-3{a} libtasn1-3-dev{a} 
  libunistring0{a} libxml2{a} man-db{a} openssl{a} pkg-config{a} 
  po-debconf{a} zlib1g-dev{a} 
The following partially installed packages will be configured:
  pbuilder-satisfydepends-dummy{b} 
0 packages upgraded, 52 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/19.4 MB of archives. After unpacking 54.8 MB will be used.
The following packages have unmet dependencies:
  pbuilder-satisfydepends-dummy: Depends: ghc (>= 6.10.4) which is a virtual package.
                                 Depends: libghc-hashed-storage-dev (>= 0.4.13~) which is a virtual package.
                                 Depends: libghc-haskeline-dev which is a virtual package.
                                 Depends: libghc-html-dev which is a virtual package.
                                 Depends: libghc-http-dev which is a virtual package.
                                 Depends: libghc-mmap0.4-dev which is a virtual package.
                                 Depends: libghc-mtl-dev which is a virtual package.
                                 Depends: libghc-network-dev which is a virtual package.
                                 Depends: libghc-parsec2-dev which is a virtual package.
                                 Depends: libghc-regex-compat-dev which is a virtual package.
                                 Depends: libghc-terminfo-dev which is a virtual package.
                                 Depends: libghc-zlib-dev which is a virtual package.
The following actions will resolve these dependencies:

     Remove the following packages: 
1)     pbuilder-satisfydepends-dummy



The following NEW packages will be installed:
  bash-completion{a} bsdmainutils{a} libgcrypt11{a} libgnutls26{a} 
  libgpg-error0{a} libldap-2.4-2{a} libsasl2-2{a} libtasn1-3{a} 
The following packages will be REMOVED:
  pbuilder-satisfydepends-dummy{a} 
0 packages upgraded, 8 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B/1715 kB of archives. After unpacking 5267 kB will be used.
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 10305 files and directories currently installed.)
Removing pbuilder-satisfydepends-dummy ...
Selecting previously deselected package bsdmainutils.
(Reading database ... 10305 files and directories currently installed.)
Unpacking bsdmainutils (from .../bsdmainutils_8.2.2_amd64.deb) ...
Selecting previously deselected package bash-completion.
Unpacking bash-completion (from .../bash-completion_1%3a1.3-1_all.deb) ...
Selecting previously deselected package libgpg-error0.
Unpacking libgpg-error0 (from .../libgpg-error0_1.10-0.3_amd64.deb) ...
Selecting previously deselected package libgcrypt11.
Unpacking libgcrypt11 (from .../libgcrypt11_1.4.6-5_amd64.deb) ...
Selecting previously deselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_2.9-2_amd64.deb) ...
Selecting previously deselected package libgnutls26.
Unpacking libgnutls26 (from .../libgnutls26_2.10.4-2_amd64.deb) ...
Selecting previously deselected package libsasl2-2.
Unpacking libsasl2-2 (from .../libsasl2-2_2.1.23.dfsg1-7_amd64.deb) ...
Selecting previously deselected package libldap-2.4-2.
Unpacking libldap-2.4-2 (from .../libldap-2.4-2_2.4.23-7_amd64.deb) ...
Setting up bsdmainutils (8.2.2) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode.
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode.
Setting up bash-completion (1:1.3-1) ...
Setting up libgpg-error0 (1.10-0.3) ...
Setting up libgcrypt11 (1.4.6-5) ...
Setting up libtasn1-3 (2.9-2) ...
Setting up libgnutls26 (2.10.4-2) ...
Setting up libsasl2-2 (2.1.23.dfsg1-7) ...
Setting up libldap-2.4-2 (2.4.23-7) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Aptitude couldn't satisfy the build dependencies
E: pbuilder-satisfydepends failed.
I: Copying back the cached apt archive contents
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//31901 and its subdirectories

Script done on Sun 13 Feb 2011 14:31:25 EST

Reply to: