Your message dated Tue, 17 Oct 2006 15:47:37 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#393682: fixed in dietlibc 0.30-2
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: dietlibc
Version: 0.30-1
Severity: minor
Tags: patch
During the build of dietlibc the Makefile clobbers the HOME environment
variable for the duration of the build. The HOME environment variable
is used by ccontrol to find its configuration file, but when building
dietlibc it can't find its configuration and fails to execute properly.
Here is a snippet of the build output when using ccontrol:
> /usr/bin/make prefix=/usr/lib/diet \
> MYARCH='i386' VERSION='0.30-1'
> make[1]: Entering directory `/tmp/dietlibc-0.30'
> mkdir bin-i386
> gcc -I. -isystem include -pipe -nostdinc -Os -fomit-frame-pointer
> -falign-functions=1 -falign-jumps=1 -falign-loops=1
> -mpreferred-stack-boundary=2 -Wall -W -Wchar-subscripts
> -Wmissing-prototypes -Wmissing-declarations -Wno-switch -Wno-unused
> -Wredundant-decls -c i386/start.S -o bin-i386/start.o
> ccontrol error: reading /tmp/dietlibc-0.30/.ccontrol/config: 2
> make[1]: *** [bin-i386/start.o] Error 1
I propose changing the variable name in the Makefile to "DIETHOME" in
order to fix this. A patch to do so is attached.
-Ted
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-2-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
-- no debconf information
diff -ru dietlibc-0.30/Makefile dietlibc-0.30-new/Makefile
--- dietlibc-0.30/Makefile 2006-07-06 19:20:10.000000000 +1000
+++ dietlibc-0.30-new/Makefile 2006-10-17 21:47:30.000000000 +1000
@@ -86,7 +86,7 @@
OBJDIR=bin-$(ARCH)
ILIBDIR=$(LIBDIR)-$(ARCH)
-HOME=$(shell pwd)
+DIETHOME=$(shell pwd)
WHAT= $(OBJDIR) $(OBJDIR)/start.o $(OBJDIR)/dyn_start.o $(OBJDIR)/dyn_stop.o \
$(OBJDIR)/dietlibc.a $(OBJDIR)/liblatin1.a \
@@ -305,7 +305,7 @@
CURNAME=$(notdir $(shell pwd))
$(OBJDIR)/diet: $(OBJDIR)/start.o $(OBJDIR)/dyn_start.o diet.c
$(OBJDIR)/dietlibc.a $(OBJDIR)/dyn_stop.o
- $(CROSS)$(CC) -isystem include $(CFLAGS) -nostdlib -o $@ $^
-DDIETHOME=\"$(HOME)\" -DVERSION=\"$(VERSION)\" -lgcc
+ $(CROSS)$(CC) -isystem include $(CFLAGS) -nostdlib -o $@ $^
-DDIETHOME=\"$(DIETHOME)\" -DVERSION=\"$(VERSION)\" -lgcc
$(CROSS)strip -R .comment -R .note $@
$(OBJDIR)/diet-i: $(OBJDIR)/start.o $(OBJDIR)/dyn_start.o diet.c
$(OBJDIR)/dietlibc.a $(OBJDIR)/dyn_stop.o
@@ -313,7 +313,7 @@
$(CROSS)strip -R .comment -R .note $@
$(PICODIR)/diet-dyn: $(PICODIR)/start.o $(PICODIR)/dyn_start.o diet.c
- $(LD_UNSET) $(CROSS)$(CC) -isystem include $(CFLAGS) -fPIC -nostdlib -o
$@ $^ -DDIETHOME=\"$(HOME)\" -D__DYN_LIB -DVERSION=\"$(VERSION)\" -L$(PICODIR)
-lc -lgcc $(PICODIR)/dyn_stop.o -Wl,-dynamic-linker=$(HOME)/$(PICODIR)/libdl.so
+ $(LD_UNSET) $(CROSS)$(CC) -isystem include $(CFLAGS) -fPIC -nostdlib -o
$@ $^ -DDIETHOME=\"$(DIETHOME)\" -D__DYN_LIB -DVERSION=\"$(VERSION)\"
-L$(PICODIR) -lc -lgcc $(PICODIR)/dyn_stop.o
-Wl,-dynamic-linker=$(DIETHOME)/$(PICODIR)/libdl.so
$(CROSS)strip -R .command -R .note $@
$(PICODIR)/diet-dyn-i: $(PICODIR)/start.o $(PICODIR)/dyn_start.o diet.c
--- End Message ---
--- Begin Message ---
Source: dietlibc
Source-Version: 0.30-2
We believe that the bug you reported is fixed in the latest version of
dietlibc, which is due to be installed in the Debian FTP archive:
dietlibc-doc_0.30-2_all.deb
to pool/main/d/dietlibc/dietlibc-doc_0.30-2_all.deb
dietlibc_0.30-2.diff.gz
to pool/main/d/dietlibc/dietlibc_0.30-2.diff.gz
dietlibc_0.30-2.dsc
to pool/main/d/dietlibc/dietlibc_0.30-2.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gerrit Pape <[EMAIL PROTECTED]> (supplier of updated dietlibc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Tue, 17 Oct 2006 19:11:27 +0000
Source: dietlibc
Binary: dietlibc-doc dietlibc dietlibc-dev
Architecture: all source
Version: 0.30-2
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[EMAIL PROTECTED]>
Changed-By: Gerrit Pape <[EMAIL PROTECTED]>
Description:
dietlibc-dev - diet libc - a libc optimized for small size
dietlibc-doc - diet libc documentation - a libc optimized for small size
Closes: 393678 393682
Changes:
dietlibc (0.30-2) unstable; urgency=low
.
* debian/diff/parisc-sem.diff: new; parisc has the semctl, semop,
semget syscalls (closes: #393678).
* debian/diff/no-clobber-home.diff: new; don't clobber the HOME
environment variable for the duration of the build (closes: #393682,
thx Ted Percival).
Files:
60c1ab02d3e0fe247ea9fc51a770a76d 554 devel optional dietlibc_0.30-2.dsc
3a9f4b1985748b6f603ad996a39d16df 13052 devel optional dietlibc_0.30-2.diff.gz
a1237dad6753866da10305e94c50b4e6 48118 doc optional dietlibc-doc_0.30-2_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFNTRyGJoyQbxwpv8RAqz8AJ91FPSbJM0xK/NfCkM3tn1KvYvgbwCfbxfl
LOK0ryaWPvRq2l5OPl4p0H0=
=yNCE
-----END PGP SIGNATURE-----
--- End Message ---