Bug#629883: e2fsprogs: FTBFS: parse.c:56:20: error: 'errno' undeclared (first use in this function)

2011-09-19 Thread Ted Ts'o
tag 629883 +pending
thanks

I recently was able to reproduce this.  It looks like some shellutil
program used by configure has a 4k line length problem.  The problem
doesn't show up on Ubuntu 10.04/x86_64, and it doesn't show up in my
sid/i386 chroot (which is what I normally upload to the ftp archives)
and apparently it doesn't show up in the official x86_64/buildd's

But it did show up in your (Didier's) test builds, and it recently
popped for me as well when I created a sid/x86_64 chroot to do some
unrelated development/test work.  The problem is that there is this
line in MCONFIG.in:

DEFS = @DEFS@

which gets pulled into all of the make files.  @DEFS@ is about 4200
bytes.  This resulted in a corrupted line in the generated MCONFIG
file, and hence in all of the Makefiles.  This caused all of the
autoconf-generated declarations (e.g., -DHAVE_ERRNO_H, et. al) to get
lost, and that's what caused the 'errno' undeclared compilation error.

Why the problem doesn't show up the 32-bit sid environment, but only
the 64-bit sid environment (and as a regression to boot since Ubuntu
10.04 doesn't exhibit this bug) is an interesting one, but I'll leave
that for another day or another developer to figure out.  I've worked
around the problem in e2fsprogs by using a config.h file instead of
passing all of the defines on the command-line -- a better solution
anyway.

- Ted



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629883: e2fsprogs: FTBFS: parse.c:56:20: error: 'errno' undeclared (first use in this function)

2011-07-04 Thread Ted Ts'o
fixed 629883 e2fsprogs/1.41.12-4stable1
thanks

On Thu, Jun 09, 2011 at 10:20:22AM +0200, Didier Raboud wrote:
 
 During a rebuild of all packages in sid, your package failed to build on
 amd64.
 
 Relevant part:
  CC /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c
  /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c: In function 'ss_parse':
  /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c:56:20: error: 'errno' 
  undeclared (first use in this function)
  /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c:56:20: note: each undeclared 
  identifier is reported only once for each function it appears in

I have no idea how or why this failed, but (a) I always only upload
32-bit i386 packages, and so the original 1.41.12 deb was built using
the autobuilder, (b) we definitely are #including errno.h in parse.c.,
(c) I uploaded a 32-bit binaries for 1.41.12-4stable1, and according to:

http://packages.debian.org/squeeze/libss2

it looks pretty clear that amd64 (as far as all other architectures)
built w/o problems.

So I'm going to declare this problem fixed in 1.41.12-4stable1.  I'm
pretty sure it was fine in 1.41.12-4 (since as I said the amd64 debs
were originally built using the Debian pbuilder systems; I only upload
i386 binaries), but it's not worth trying to debug how or why it
failed when you tried to do the rebuild.

- Ted



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629883: e2fsprogs: FTBFS: parse.c:56:20: error: 'errno' undeclared (first use in this function)

2011-06-09 Thread Didier Raboud
Source: e2fsprogs
Version: 1.41.12-4
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20110607 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
 make[4]: Entering directory 
 `/«BUILDDIR»/e2fsprogs-1.41.12/debian/BUILD-STD/lib/ss'
   MKDIR elfshared
 make[4]: Leaving directory 
 `/«BUILDDIR»/e2fsprogs-1.41.12/debian/BUILD-STD/lib/ss'
   COMPILE_ET ss_err.et
   CC ss_err.c
   MK_CMDS std_rqs.c
   CC std_rqs.c
   CC /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/invocation.c
   CC /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/help.c
   CC /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/execute_cmd.c
   CC /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/listen.c
   CC /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c
 /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c: In function 'ss_parse':
 /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c:56:20: error: 'errno' undeclared 
 (first use in this function)
 /«BUILDDIR»/e2fsprogs-1.41.12/lib/ss/parse.c:56:20: note: each undeclared 
 identifier is reported only once for each function it appears in
 make[3]: *** [parse.o] Error 1

The full build log is available from:
   
http://people.debian.org/~lucas/logs/2011/06/07/e2fsprogs_1.41.12-4_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org