On Monday 09 March 2009 00:35:39 Martin Peylo wrote:
> Hi Daniel,
>
> before I start hunting down the cause for that bug, please supply me
> with the output of
> cc --version
> and
> dpkg -s libc6-dev
> using the exact same configuration of when the fault occurred. Also
> the architecture of your machine could of interest (`uname -a`). What
> Debian version is used (`cat /etc/debian-version`)?
>
> 'LONG_MAX' should be defined in limits.h, for some reason it's not
> there anymore (or not available at compile time).
>
> As soon as I got the information from you, I will first try to
> reproduce the bug, then investigate the cause why LONG_MAX is not
> there anymore, then maybe try, if a new version of netsend fixed that,
> if the cause lies there - and if all that did not work, inform
> upstream.
>
> Feel free to directly send me a complete log of the configure and
> build process. Maybe I am able to extract some useful information from
> there.
>
> Thank you,
> Martin
I just reproduced it in a vanilla up-to-date pbuilder sid chroot, which has:
gcc --version is "gcc (Debian 4.3.3-5) 4.3.3"
libc6-dev is version 2.9-4
/etc/debian_version is "squeeze/sid"
uname -a is "Linux frobnitz 2.6.26-1-amd64 #1 SMP Wed Jan 14 17:02:29 UTC 2009
x86_64 GNU/Linux"
Out of these, I think the glibc version is probably the most relevant. Most
likely, some system header previously included limits.h indirectly but now
doesn't. In a quick test, it appears that #include does define
LONG_MAX.
The full pbuilder build log is attached.
--
Daniel
W: /root/.pbuilderrc does not exist
I: using fakeroot in build.
Current time: Mon Mar 9 01:27:04 PDT 2009
pbuilder-time-stamp: 1236587224
Building the build Environment
-> extracting base tarball [/var/cache/pbuilder/base.tgz]
-> creating local configuration
-> copying local configuration
-> mounting /proc filesystem
-> mounting /dev/pts filesystem
-> policy-rc.d already exists
Obtaining the cached apt archive contents
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
Description: Dummy package to satisfy dependencies with aptitude - created by
pbuilder
This package was created automatically by pbuilder and should
Depends: debhelper (>= 5), linux-libc-dev | linux-kernel-headers, perl
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.
The following packages were automatically installed and are no longer required:
g++-4.2 libcwidget1 libstdc++6-4.2-dev ucf lzma-alone perl-doc
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 12333 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 (>= 5); however:
Package debhelper 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:
bsdmainutils{a} debhelper{a} file{a} gettext{a} gettext-base{a}
groff-base{a} html2text{a} intltool-debian{a} libcroco3{a}
libglib2.0-0{a} libmagic1{a} libpcre3{a} libxml2{a} man-db{a}
po-debconf{a}
The following packages will be REMOVED:
g++-4.2{u} libcwidget1{u} libstdc++6-4.2-dev{u} lzma-alone{u} perl-doc{u}
ucf{u}
The following partially installed packages will be configured:
pbuilder-satisfydepends-dummy
0 packages upgraded, 15 newly installed, 6 to remove and 0 not upgraded.
Need to get 0B/8683kB of archives. After unpacking 6387kB will be freed.
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package libmagic1.
(Reading database ... 12333 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_4.26-2_amd64.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../archives/file_4.26-2_amd64.deb) ...
Selecting previously deselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-13_amd64.deb) ...
Selecting previously deselected package libpcre3.
Unpacking libpcre3 (from .../libpcre3_7.8-2_amd64.deb) ...
Selecting previously deselected package