Debian Bug report logs -
#14660
dpkg 1.4.0.19 debian/rules clean can fail
Reported by: Ian Jackson <ian@davenant.greenend.org.uk>
Date: Sat, 8 Nov 1997 14:48:02 UTC
Severity: wishlist
Found in version 1.4.0.19
Done: Wichert Akkerman <wichert@cistron.nl>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
:
Bug#14660
; Package dpkg
.
(full text, mbox, link).
Acknowledgement sent to Ian Jackson <ian@davenant.greenend.org.uk>
:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>
.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: dpkg
Version: 1.4.0.19
See the transcript below, where I attempted to compile the lib
directory in the dpkg source tree, which I'd been working on. I'd
edited the Makefile.am to add one new source file.
You'll notice that dpkg.h seems to be missing (not generated from
dpkg.h.in). I try various things to sort it out, and in the end I
give up and run debian/rules build. But - by that time it's too late,
and debian/rules build wants to run configure which breaks.
Ian.
-davenant:lib> automake
automake: couldn't open `configure.in': No such file or directory
-davenant:lib> cd ..
-davenant:dpkg-1.4.0.19> automake
-davenant:dpkg-1.4.0.19> cd -
-davenant:lib> make
Computing dependencies for vercmp.c...
vercmp.c:26: dpkg.h: No such file or directory
make: *** [.deps/vercmp.P] Interrupt
-davenant:lib> cd ..
make
-davenant:dpkg-1.4.0.19> make
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
linking ./intl/libgettext.h to intl/libintl.h
make all-recursive
make[1]: Entering directory `/u/ian/things/debian/dpkg-1.4.0.19'
Making all in po
make[2]: Entering directory `/u/ian/things/debian/dpkg-1.4.0.19/po'
make[2]: Leaving directory `/u/ian/things/debian/dpkg-1.4.0.19/po'
Making all in intl
make[2]: Entering directory `/u/ian/things/debian/dpkg-1.4.0.19/intl'
gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DGNULOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -D_REENTRANT -D_GNU_SOURCE -O2 intl-compat.c
make[2]: *** [intl-compat.o] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all-recursive-am] Interrupt
-davenant:dpkg-1.4.0.19> make -C lib
make: Entering directory `/u/ian/things/debian/dpkg-1.4.0.19/lib'
Computing dependencies for vercmp.c...
vercmp.c:26: dpkg.h: No such file or directory
make: *** [.deps/vercmp.P] Error 1
make: Leaving directory `/u/ian/things/debian/dpkg-1.4.0.19/lib'
-davenant:dpkg-1.4.0.19> cd lib
-davenant:lib> gcc -c -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -D_REENTRANT -D_GNU_SOURCE -O2 pkglist.cpkglist.c:4: dpkg.h: No such file or directory
pkglist.c:5: dpkg-db.h: No such file or directory
-davenant:lib> gcc -c -DHAVE_CONFIG_H -I../include -I.. -I. -I../intl -I../lib -D_REENTRANT -D_GNU_SOURCE -O2 pkglist.c
pkglist.c:4: dpkg.h: No such file or directory
-davenant:lib> ll ../include/dpkg.h.in
-rw-rw-r-- 1 ian ian 6540 Mar 8 1997 ../include/dpkg.h.in
-davenant:lib> cd ../include/
-davenant:include> make
cd .. \
&& CONFIG_FILES=include/Makefile CONFIG_HEADERS= /bin/sh ./config.status
./config.status: include/Makefile: Permission denied
./config.status: md5sum/Makefile: Permission denied
./config.status: po/Makefile.in: Permission denied
make: *** [Makefile] Error 1
-davenant:include> cd ..
-davenant:dpkg-1.4.0.19> debian/rules build
test -f include/dpkg.h.in
rm -f -r debian/build
install -d debian/build
cd /u/ian/things/debian/dpkg-1.4.0.19/debian/build && ../../configure \
--enable-shared --with-included-gettext \
--prefix=/usr \
--datadir=/usr/share \
--sysconfdir=/etc \
--sharedstatedir=/var/lib \
--localstatedir=/var/lib
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... i486-pc-linux-gnu
checking target system type... i486-pc-linux-gnu
checking build system type... i486-pc-linux-gnu
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ld... ld
checking for a BSD compatible install... /usr/bin/install -c
configure: error: source directory already configured; run make distclean there first
make: *** [/u/ian/things/debian/dpkg-1.4.0.19/debian/build/Makefile] Error 1
-davenant:dpkg-1.4.0.19> make distclean
make: *** No rule to make target `distclean'. Stop.
-davenant:dpkg-1.4.0.19> really debian/rules clean
test -f include/dpkg.h.in
rm -f -r debian/build
install -d debian/build
cd /u/ian/things/debian/dpkg-1.4.0.19/debian/build && ../../configure \
--enable-shared --with-included-gettext \
--prefix=/usr \
--datadir=/usr/share \
--sysconfdir=/etc \
--sharedstatedir=/var/lib \
--localstatedir=/var/lib
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... i486-pc-linux-gnu
checking target system type... i486-pc-linux-gnu
checking build system type... i486-pc-linux-gnu
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for ld... ld
checking for a BSD compatible install... /usr/bin/install -c
configure: error: source directory already configured; run make distclean there first
make: *** [/u/ian/things/debian/dpkg-1.4.0.19/debian/build/Makefile] Error 1
-davenant:dpkg-1.4.0.19>
Severity set to `wishlist'.
Request was from Josip Rodin <joy@cibalia.gkvk.hr>
to control@bugs.debian.org
.
(full text, mbox, link).
Reply sent to Wichert Akkerman <wichert@cistron.nl>
:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Ian Jackson <ian@davenant.greenend.org.uk>
:
Bug acknowledged by developer.
(full text, mbox, link).
Message #12 received at 14660-done@bugs.debian.org (full text, mbox, reply):
Since version 1.4.0.19 the entire dpkg buildsystem has been rewritten.
All evil automake has been removed, and this problem should no longer
happen.
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@cistron.nl http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Message sent on to Ian Jackson <ian@davenant.greenend.org.uk>
:
Bug#14660.
(full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Mar 28 17:43:16 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.