Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
At Fri, 21 May 2004 00:01:00 +0200, Jeroen van Wolffelaar wrote: > > Be carefult that you should set "DEB_BUILD_OPTIONS=nocheck" environment > > variable to build with debian/rules binary. > > I don't understand. debian/rules binary should just work. Do you mean to > say it will only work if I set some specific environment variable? If > that's what you mean, I believe that would be a policy violation (didn't > look into this very carefully yet). It's my mistake... Please ignore. Regards, -- gotom
Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
At Fri, 21 May 2004 00:01:00 +0200, Jeroen van Wolffelaar wrote: > > Be carefult that you should set "DEB_BUILD_OPTIONS=nocheck" environment > > variable to build with debian/rules binary. > > I don't understand. debian/rules binary should just work. Do you mean to > say it will only work if I set some specific environment variable? If > that's what you mean, I believe that would be a policy violation (didn't > look into this very carefully yet). It's my mistake... Please ignore. Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
On Fri, May 21, 2004 at 01:08:09AM +0900, GOTO Masanori wrote: > At Tue, 4 May 2004 18:44:58 +0200, > Jeroen van Wolffelaar wrote: > > On Mon, May 03, 2004 at 09:36:07PM -0400, Jurij Smakov wrote: > > > 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." > > (... patch ...) > > Thanks, it's correct. I've put it in. Cool, thanks. > Be carefult that you should set "DEB_BUILD_OPTIONS=nocheck" environment > variable to build with debian/rules binary. I don't understand. debian/rules binary should just work. Do you mean to say it will only work if I set some specific environment variable? If that's what you mean, I believe that would be a policy violation (didn't look into this very carefully yet). --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl
Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
On Fri, May 21, 2004 at 01:08:09AM +0900, GOTO Masanori wrote: > At Tue, 4 May 2004 18:44:58 +0200, > Jeroen van Wolffelaar wrote: > > On Mon, May 03, 2004 at 09:36:07PM -0400, Jurij Smakov wrote: > > > 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." > > (... patch ...) > > Thanks, it's correct. I've put it in. Cool, thanks. > Be carefult that you should set "DEB_BUILD_OPTIONS=nocheck" environment > variable to build with debian/rules binary. I don't understand. debian/rules binary should just work. Do you mean to say it will only work if I set some specific environment variable? If that's what you mean, I believe that would be a policy violation (didn't look into this very carefully yet). --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
At Tue, 4 May 2004 18:44:58 +0200, Jeroen van Wolffelaar wrote: > On Mon, May 03, 2004 at 09:36:07PM -0400, Jurij Smakov wrote: > > 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." > > Also, according to the same section, the binary-{indep,arch} and binary > targets must depend on the build target. The attached patch fixes this, > which solves this bug. The binary target indirectly depends on build via > binary-indep and binary-arch. > > --- debian/rules.old 2004-05-04 18:36:27.0 +0200 > +++ debian/rules 2004-05-04 18:38:38.0 +0200 > @@ -148,10 +148,10 @@ > rm -rf debian/include > > # Required Debian targets > -binary-indep: testroot debian/control $(build-tree) $(patsubst > %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst > %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) > +binary-indep: build testroot debian/control $(build-tree) $(patsubst > %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst > %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) > # NOTE: Putting install_ stamps before binaryinst_ stamps in the list is the > # wrong way to represent dependencies. Fix this. > -binary-arch: testroot debian/control $(build-tree) \ > +binary-arch: build testroot debian/control $(build-tree) \ > $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) \ > $(patsubst %,$(stamp)binaryinst_%,$(DEB_ARCH_REGULAR_PACKAGES)) \ > $(patsubst %,$(stamp)binaryinst_%,$(DEB_UDEB_PACKAGES)) Thanks, it's correct. I've put it in. Be carefult that you should set "DEB_BUILD_OPTIONS=nocheck" environment variable to build with debian/rules binary. Regards, -- gotom
Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
At Tue, 4 May 2004 18:44:58 +0200, Jeroen van Wolffelaar wrote: > On Mon, May 03, 2004 at 09:36:07PM -0400, Jurij Smakov wrote: > > 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." > > Also, according to the same section, the binary-{indep,arch} and binary > targets must depend on the build target. The attached patch fixes this, > which solves this bug. The binary target indirectly depends on build via > binary-indep and binary-arch. > > --- debian/rules.old 2004-05-04 18:36:27.0 +0200 > +++ debian/rules 2004-05-04 18:38:38.0 +0200 > @@ -148,10 +148,10 @@ > rm -rf debian/include > > # Required Debian targets > -binary-indep: testroot debian/control $(build-tree) $(patsubst > %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst > %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) > +binary-indep: build testroot debian/control $(build-tree) $(patsubst > %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst > %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) > # NOTE: Putting install_ stamps before binaryinst_ stamps in the list is the > # wrong way to represent dependencies. Fix this. > -binary-arch: testroot debian/control $(build-tree) \ > +binary-arch: build testroot debian/control $(build-tree) \ > $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) \ > $(patsubst %,$(stamp)binaryinst_%,$(DEB_ARCH_REGULAR_PACKAGES)) \ > $(patsubst %,$(stamp)binaryinst_%,$(DEB_UDEB_PACKAGES)) Thanks, it's correct. I've put it in. Be carefult that you should set "DEB_BUILD_OPTIONS=nocheck" environment variable to build with debian/rules binary. Regards, -- gotom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
tags 247241 + patch thanks On Mon, May 03, 2004 at 09:36:07PM -0400, Jurij Smakov wrote: > 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." Also, according to the same section, the binary-{indep,arch} and binary targets must depend on the build target. The attached patch fixes this, which solves this bug. The binary target indirectly depends on build via binary-indep and binary-arch. --- debian/rules.old2004-05-04 18:36:27.0 +0200 +++ debian/rules2004-05-04 18:38:38.0 +0200 @@ -148,10 +148,10 @@ rm -rf debian/include # Required Debian targets -binary-indep: testroot debian/control $(build-tree) $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) +binary-indep: build testroot debian/control $(build-tree) $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) # NOTE: Putting install_ stamps before binaryinst_ stamps in the list is the # wrong way to represent dependencies. Fix this. -binary-arch: testroot debian/control $(build-tree) \ +binary-arch: build testroot debian/control $(build-tree) \ $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) \ $(patsubst %,$(stamp)binaryinst_%,$(DEB_ARCH_REGULAR_PACKAGES)) \ $(patsubst %,$(stamp)binaryinst_%,$(DEB_UDEB_PACKAGES)) --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] http://jeroen.A-Eskwadraat.nl
Processed: Re: Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
Processing commands for [EMAIL PROTECTED]: > tags 247241 + patch Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary' Tags were: sid Tags added: patch > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
tags 247241 + patch thanks On Mon, May 03, 2004 at 09:36:07PM -0400, Jurij Smakov wrote: > 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." Also, according to the same section, the binary-{indep,arch} and binary targets must depend on the build target. The attached patch fixes this, which solves this bug. The binary target indirectly depends on build via binary-indep and binary-arch. --- debian/rules.old2004-05-04 18:36:27.0 +0200 +++ debian/rules2004-05-04 18:38:38.0 +0200 @@ -148,10 +148,10 @@ rm -rf debian/include # Required Debian targets -binary-indep: testroot debian/control $(build-tree) $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) +binary-indep: build testroot debian/control $(build-tree) $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) $(patsubst %,$(stamp)binaryinst_%,$(DEB_INDEP_REGULAR_PACKAGES)) # NOTE: Putting install_ stamps before binaryinst_ stamps in the list is the # wrong way to represent dependencies. Fix this. -binary-arch: testroot debian/control $(build-tree) \ +binary-arch: build testroot debian/control $(build-tree) \ $(patsubst %,$(stamp)install_%,$(GLIBC_PASSES)) \ $(patsubst %,$(stamp)binaryinst_%,$(DEB_ARCH_REGULAR_PACKAGES)) \ $(patsubst %,$(stamp)binaryinst_%,$(DEB_UDEB_PACKAGES)) --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] http://jeroen.A-Eskwadraat.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Processed: Re: Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary'
Processing commands for [EMAIL PROTECTED]: > tags 247241 + patch Bug#247241: FTBFS: no rule to make target build_tree when running 'debian/rules binary' Tags were: sid Tags added: patch > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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: [EMAIL PROTECTED]:/home/glibc# ls -al total 8 drwxr-sr-x2 root staff4096 May 4 00:51 . drwxrwsr-x7 root staff4096 May 1 19:41 .. [EMAIL PROTECTED]:/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 [EMAIL PROTECTED]:/home/glibc# cd glibc-2.3.2.ds1/ [EMAIL PROTECTED]:/home/glibc/glibc-2.3.2.ds1# dpkg-checkbuilddeps [EMAIL PROTECTED]:/home/glibc/glibc-2.3.2.ds1# debian/rules binary dh_testroot sed -e '[EMAIL PROTECTED]@%libc6%g' \ -e '[EMAIL PROTECTED]@%arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb%g' < debian/control.in/libc > debian/control.in/libc6 sed -e '[EMAIL PROTECTED]@%libc6.1%g;[EMAIL PROTECTED]@%alpha ia64%g' < debian/control.in/libc > debian/control.in/libc6.1 sed -e '[EMAIL PROTECTED]@%libc0.3%g;[EMAIL PROTECTED]@%hurd-i386%g;s/nscd, //' < debian/control.in/libc > debian/control.in/libc0.3 sed -e '[EMAIL PROTECTED]@%libc1%g;[EMAIL PROTECTED]@%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 '[EMAIL PROTECTED]@%libc6%g;[EMAIL PROTECTED]@%glibc%g' \ -e '[EMAIL PROTECTED]@%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. [EMAIL PROTECTED]:/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[EMAIL PROTECTED] 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
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: [EMAIL PROTECTED]:/home/glibc# ls -al total 8 drwxr-sr-x2 root staff4096 May 4 00:51 . drwxrwsr-x7 root staff4096 May 1 19:41 .. [EMAIL PROTECTED]:/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 [EMAIL PROTECTED]:/home/glibc# cd glibc-2.3.2.ds1/ [EMAIL PROTECTED]:/home/glibc/glibc-2.3.2.ds1# dpkg-checkbuilddeps [EMAIL PROTECTED]:/home/glibc/glibc-2.3.2.ds1# debian/rules binary dh_testroot sed -e '[EMAIL PROTECTED]@%libc6%g' \ -e '[EMAIL PROTECTED]@%arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb%g' < debian/control.in/libc > debian/control.in/libc6 sed -e '[EMAIL PROTECTED]@%libc6.1%g;[EMAIL PROTECTED]@%alpha ia64%g' < debian/control.in/libc > debian/control.in/libc6.1 sed -e '[EMAIL PROTECTED]@%libc0.3%g;[EMAIL PROTECTED]@%hurd-i386%g;s/nscd, //' < debian/control.in/libc > debian/control.in/libc0.3 sed -e '[EMAIL PROTECTED]@%libc1%g;[EMAIL PROTECTED]@%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 '[EMAIL PROTECTED]@%libc6%g;[EMAIL PROTECTED]@%glibc%g' \ -e '[EMAIL PROTECTED]@%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. [EMAIL PROTECTED]:/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[EMAIL PROTECTED] 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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]