Bug#812544: r-base: FTBFS in a clean sid pbuilder enviromwent
On 13 October 2016 at 19:39, Charles Plessy wrote: | Le Mon, Jan 25, 2016 at 07:44:16AM +0100, Tobias Frost a écrit : | > | > pdebuild --debbuildopts "-I -i -j4 -d" | > | > fails, a plain pbdebuild fails NOT... | | Hi Tobias and Dirk, | | the build fails because the "-j4" argument asks to build in parallel with up to | 4 threads, but debian/rules currently does not support parallel build. | | One reason for this is that it attempts to make some targets too early, before | the configure script has finished to execute. | | The following patch solves this part of the problem: | | --- a/debian/rules | +++ b/debian/rules | @@ -294,8 +294,8 @@ configure-stamp: | | touch configure-stamp | | -make-arch: configure make-arch-stamp | -make-arch-stamp: | +make-arch: make-arch-stamp | +make-arch-stamp: configure-stamp | @echo "*** make-arch ***" | $(MAKE) CFLAGS="$(cflags)" \ | CXXFLAGS="$(cxxflags)" \ | @@ -346,8 +346,8 @@ make-arch-stamp: | | touch make-arch-stamp | | -make-indep: configure make-indep-stamp | -make-indep-stamp: | +make-indep: make-indep-stamp | +make-indep-stamp: configure-stamp | @echo "*** make-indep ***" | ## edd 12 Jan 2004 uncommenting 'make docs' to split binary all/any | ## now that recommended packages aren't made | | This makes sure that make-arch-stamp and make-indep-stamp are only run after | the file configure-stamp has been created by the configure target. I applied that -- configure-stamp is now a pre-condition for make-{arch,indep}-stamp. | Unfortunately, there must be a less obvious issue remaining, because | the build still fails, although at a later stage. One step at a time... Dirk | PS: because of the uncertainties with cut-and-paste of tab whitespace, I am not | sure if the patch would actually apply, but at least it tells what to change where. | | Have a nice day, | | -- | Charles -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
Bug#812544: r-base: FTBFS in a clean sid pbuilder enviromwent
Le Mon, Jan 25, 2016 at 07:44:16AM +0100, Tobias Frost a écrit : > > pdebuild --debbuildopts "-I -i -j4 -d" > > fails, a plain pbdebuild fails NOT... Hi Tobias and Dirk, the build fails because the "-j4" argument asks to build in parallel with up to 4 threads, but debian/rules currently does not support parallel build. One reason for this is that it attempts to make some targets too early, before the configure script has finished to execute. The following patch solves this part of the problem: --- a/debian/rules +++ b/debian/rules @@ -294,8 +294,8 @@ configure-stamp: touch configure-stamp -make-arch: configure make-arch-stamp -make-arch-stamp: +make-arch: make-arch-stamp +make-arch-stamp: configure-stamp @echo "*** make-arch ***" $(MAKE) CFLAGS="$(cflags)" \ CXXFLAGS="$(cxxflags)" \ @@ -346,8 +346,8 @@ make-arch-stamp: touch make-arch-stamp -make-indep: configure make-indep-stamp -make-indep-stamp: +make-indep: make-indep-stamp +make-indep-stamp: configure-stamp @echo "*** make-indep ***" ## edd 12 Jan 2004 uncommenting 'make docs' to split binary all/any ## now that recommended packages aren't made This makes sure that make-arch-stamp and make-indep-stamp are only run after the file configure-stamp has been created by the configure target. Unfortunately, there must be a less obvious issue remaining, because the build still fails, although at a later stage. PS: because of the uncertainties with cut-and-paste of tab whitespace, I am not sure if the patch would actually apply, but at least it tells what to change where. Have a nice day, -- Charles
Bug#812544: r-base: FTBFS in a clean sid pbuilder enviromwent
And what it is worth I just turned another build on here via 'pdebuild' and it is progressing just fine. Is there a chance this could be at your end? Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
Bug#812544: r-base: FTBFS in a clean sid pbuilder enviromwent
On 24 January 2016 at 21:33, Tobias Frost wrote: | Source: r-base | Version: 3.2.3-4 | Severity: serious | Justification: FTBFS | | The package fails to build using pbuilder. | | Commandline used: | pdebuild --debbuildopts "-I -i -j4 -d" That would surprise me as I do build it in pbuilder chroot. The log just ends after configure prints its settings. I have literally hundreds of build logs here where it then started to build. Anything different at your end? Dirk | Buildlog attached. | | -- System Information: | Debian Release: stretch/sid | APT prefers stable-updates | APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable') | Architecture: amd64 (x86_64) | Foreign Architectures: i386 | | Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) | Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) | Shell: /bin/sh linked to /bin/dash | Init: systemd (via /run/systemd/system) | x[DELETED ATTACHMENT r-base_3.2.3-4_amd64.build, plain text] -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org