[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'



Package: glibc
Severity: serious
Tags: sid
Justification: Policy 4.8

Hi, 

The following log illustrates the problem:

root@snoopy:/home/glibc# ls -al 
total 8
drwxr-sr-x    2 root     staff        4096 May  4 00:51 .
drwxrwsr-x    7 root     staff        4096 May  1 19:41 ..
root@snoopy:/home/glibc# apt-get source glibc
Reading Package Lists... Done
Building Dependency Tree... Done
Need to get 15.0MB of source archives.
Get:1 http://ftp.us.debian.org unstable/main glibc 2.3.2.ds1-12 (dsc) [1608B]
Get:2 http://ftp.us.debian.org unstable/main glibc 2.3.2.ds1-12 (tar) [13.2MB]
Get:3 http://ftp.us.debian.org unstable/main glibc 2.3.2.ds1-12 (diff) [1712kB] 
Fetched 15.0MB in 51s (292kB/s)                                                 
dpkg-source: extracting glibc in glibc-2.3.2.ds1
root@snoopy:/home/glibc# cd glibc-2.3.2.ds1/
root@snoopy:/home/glibc/glibc-2.3.2.ds1# dpkg-checkbuilddeps 
root@snoopy:/home/glibc/glibc-2.3.2.ds1# debian/rules binary
dh_testroot
sed -e 's%@libc@%libc6%g' \
    -e 's%@archs@%arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb%g' < debian/control.in/libc > debian/control.in/libc6
sed -e 's%@libc@%libc6.1%g;s%@archs@%alpha ia64%g' < debian/control.in/libc > debian/control.in/libc6.1
sed -e 's%@libc@%libc0.3%g;s%@archs@%hurd-i386%g;s/nscd, //' < debian/control.in/libc > debian/control.in/libc0.3
sed -e 's%@libc@%libc1%g;s%@archs@%freebsd-i386%g' < debian/control.in/libc > debian/control.in/libc1
cat debian/control.in/main              >  debian/controlT
cat debian/control.in/libc6             >> debian/controlT
cat debian/control.in/libc6.1           >> debian/controlT
cat debian/control.in/libc0.3           >> debian/controlT
cat debian/control.in/libc1             >> debian/controlT
cat debian/control.in/sparc64           >> debian/controlT
cat debian/control.in/s390x             >> debian/controlT
cat debian/control.in/opt               >> debian/controlT
cat debian/control.in/libnss-dns-udeb   >> debian/controlT
sed -e 's%@libc@%libc6%g;s%@glibc@%glibc%g' \
    -e 's%@threads_archs@%alpha arm i386 m68k mips mipsel powerpc sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb freebsd-i386%g' < debian/controlT > debian/control
rm debian/controlT
make: *** No rule to make target `build-tree', needed by `binary-indep'.  Stop.
root@snoopy:/home/glibc/glibc-2.3.2.ds1# 

According to chapter 4.8 of Policy "The binary target must be all that 
is necessary for the user to build the binary package(s) produced from 
this source package."

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC
 
-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: sparc
Kernel: Linux 2.4.24-sparc32
Locale: LANG=C, LC_CTYPE=C



Reply to: