Bug#438478: djbdns-installer should depend on libc6-dev

2007-08-20 Thread Michael Shuler
In a fresh etch debootstrap (with only locales package added to get rid
of annoying LANG warnings..) I was unable to reproduce - simple install
of djbdns-installer with both aptitude and apt-get indicate that
libc6-dev will be installed.

libc6-dev is a Recommends: in gcc package (this is where your Recommend
came from).  libc6-dev is a Depends: in build-essential package.

daemontools-installer includes a Depends: on build-essential (this is
where my Depend came from), so it seems as if you may already have the
daemontools binary package installed?  Since daemontools-installer
depends on build-essential, it may be appropriate to go ahead and add
'Depends: build-essential' to djbdns-installer dependencies - this would
have pulled in the needed packages in Meder's case.

--
Kind Regards,
Michael Shuler

=
[EMAIL PROTECTED]:/# aptitude install djbdns-installer
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  binutils build-essential bzip2 cpp cpp-4.1 daemontools-installer
debhelper dpkg-dev fakeroot file g++ g++-4.1 gcc gcc-4.1 gettext
  gettext-base html2text intltool-debian libc6-dev libcompress-zlib-perl
libmagic1 libmail-sendmail-perl libmudflap0 libmudflap0-dev
  libssp0 libstdc++6-4.1-dev linux-kernel-headers make patch perl
perl-doc perl-modules po-debconf
The following NEW packages will be installed:
  binutils build-essential bzip2 cpp cpp-4.1 daemontools-installer
debhelper djbdns-installer dpkg-dev fakeroot file g++ g++-4.1 gcc
  gcc-4.1 gettext gettext-base html2text intltool-debian libc6-dev
libcompress-zlib-perl libmagic1 libmail-sendmail-perl libmudflap0
  libmudflap0-dev libssp0 libstdc++6-4.1-dev linux-kernel-headers make
patch perl perl-doc perl-modules po-debconf
0 packages upgraded, 34 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.4MB of archives. After unpacking 107MB will be used.
Do you want to continue? [Y/n/?] n
Abort.

[EMAIL PROTECTED]:/# apt-get install djbdns-installer
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.1 daemontools-installer debhelper
dpkg-dev fakeroot file g++ g++-4.1 gcc gcc-4.1 gettext gettext-base
  html2text intltool-debian libc6-dev libmagic1 libssp0
libstdc++6-4.1-dev linux-kernel-headers make patch perl perl-modules
po-debconf
Suggested packages:
  binutils-doc cpp-doc gcc-4.1-locales dh-make ucspi-tcp-src
debian-keyring gcc-4.1-doc lib64stdc++6 manpages-dev autoconf automake1.9
  libtool flex bison gdb gcc-doc libc6-dev-amd64 lib64gcc1 lib64ssp0 cvs
gettext-doc glibc-doc libstdc++6-4.1-doc make-doc-non-dfsg
  diff-doc libterm-readline-gnu-perl libterm-readline-perl-perl
Recommended packages:
  bzip2 libmudflap0-dev perl-doc libmail-sendmail-perl libcompress-zlib-perl
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.1 daemontools-installer debhelper
djbdns-installer dpkg-dev fakeroot file g++ g++-4.1 gcc gcc-4.1
  gettext gettext-base html2text intltool-debian libc6-dev libmagic1
libssp0 libstdc++6-4.1-dev linux-kernel-headers make patch perl
  perl-modules po-debconf
0 upgraded, 28 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.3MB of archives.
After unpacking 92.5MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#438478: djbdns-installer should depend on libc6-dev

2007-08-20 Thread Michael Shuler
tags 438478 patch
thanks

I think this Depends looks about right:

Depends: patch, fakeroot | sudo, wget, debhelper, build-essential,
daemontools-installer | daemontools

Kind Regards,
Michael Shuler
--- control.orig	2003-11-19 19:16:20.0 +
+++ control	2007-08-21 02:22:09.0 +
@@ -7,7 +7,7 @@
 
 Package: djbdns-installer
 Architecture: all
-Depends: dpkg-dev (= 1.4.0.20), patch (= 2.5-0bo1), fakeroot | sudo, gcc, make, debhelper, daemontools-installer | daemontools, wget
+Depends: patch, fakeroot | sudo, wget, debhelper, build-essential, daemontools-installer | daemontools
 Suggests: ucspi-tcp-src
 Description: Source only package for building djbdns
  The following were taken from various HTML pages under


Bug#438478: djbdns-installer should depend on libc6-dev

2007-08-17 Thread Meder Bakirov
Package: djbdns-installer
Version: 1.05-11

Hello,

djbdns-installer should depend on libc6-dev (it is in RECOMMENDED, while it 
shoud be set as a strong dependency, IMHO), otherwise it fails to build. 
Here is a transcript:

saryjaz:~# aptitude install djbdns-installer
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  binutils cpp cpp-4.1 debhelper dpkg-dev gcc gcc-4.1 gettext gettext-base 
html2text intltool-debian libssp0 make patch
  po-debconf
The following packages have been kept back:
  linux-image-2.6-486
The following NEW packages will be installed:
  binutils cpp cpp-4.1 debhelper djbdns-installer dpkg-dev gcc gcc-4.1 gettext 
gettext-base html2text intltool-debian
  libssp0 make patch po-debconf
The following packages are RECOMMENDED but will NOT be installed:
  bzip2 libc6-dev libcompress-zlib-perl libmail-sendmail-perl libmudflap0-dev
0 packages upgraded, 16 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/9146kB of archives. After unpacking 26.1MB will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Selecting previously deselected package gettext-base.
(Reading database ... 14228 files and directories currently installed.)
Unpacking gettext-base (from .../gettext-base_0.16.1-1_i386.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../patch_2.5.9-4_i386.deb) ...
Selecting previously deselected package binutils.
Unpacking binutils (from .../binutils_2.17-3_i386.deb) ...
Selecting previously deselected package cpp-4.1.
Unpacking cpp-4.1 (from .../cpp-4.1_4.1.1-21_i386.deb) ...
Selecting previously deselected package cpp.
Unpacking cpp (from .../cpp_4%3a4.1.1-15_i386.deb) ...
Selecting previously deselected package make.
Unpacking make (from .../archives/make_3.81-2_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.13.25_all.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-3_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.16.1-1_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian 
(from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.8_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_5.0.42_all.deb) ...
Selecting previously deselected package libssp0.
Unpacking libssp0 (from .../libssp0_4.1.1-21_i386.deb) ...
Selecting previously deselected package gcc-4.1.
Unpacking gcc-4.1 (from .../gcc-4.1_4.1.1-21_i386.deb) ...
Selecting previously deselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.1.1-15_i386.deb) ...
Selecting previously deselected package djbdns-installer.
Unpacking djbdns-installer (from .../djbdns-installer_1.05-11_all.deb) ...
Setting up gettext-base (0.16.1-1) ...

Setting up patch (2.5.9-4) ...
Setting up binutils (2.17-3) ...

Setting up cpp-4.1 (4.1.1-21) ...
Setting up cpp (4.1.1-15) ...

Setting up make (3.81-2) ...
Setting up dpkg-dev (1.13.25) ...
Setting up html2text (1.3.2a-3) ...

Setting up gettext (0.16.1-1) ...

Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.8) ...
Setting up debhelper (5.0.42) ...
Setting up libssp0 (4.1.1-21) ...

Setting up gcc-4.1 (4.1.1-21) ...
Setting up gcc (4.1.1-15) ...

Setting up djbdns-installer (1.05-11) ...
This program will attempt to download djbdns source
automatically.  If the source cannot be downloaded
at this time, installation will abort.

If installation fails at this time, you can attempt
to download djbdns at a later time by running

 get-djbdns
Trying to download djbdns...
download succeeded!

To build djbdns binary package, you have to run

 build-djbdns


saryjaz:~# build-djbdns

This script unpacks the djbdns source into a directory, and
compiles it to produce a binary djbdns*.deb file.

The directory where this is done will end up containing the source
and package files for the djbdns binary package, along with a
directory containing the unpacked source.

Enter a directory where you would like to do this [/tmp/djbdns]
patching file hier.c
patching file error.h
patching file dnsroots.global


Binary package djbdns will be compiled now
This can take long time, depending on your machine

Press ENTER to continue...
dh_testdir
# Add here commands to compile the package.
echo /usr  conf-home
/usr/bin/make
make[1]: Entering directory `/tmp/djbdns/djbdns-1.05'
( cat warn-auto.sh; \
echo 'main=$1; shift'; \
echo exec `head -1 conf-ld` \
'-o $main $main.o ${1+$@}' \