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

Re: Bug#956605: texlive-bin: FTBFS on powerpc & sparc64



Hi Hilmar!

(Please keep the mailing lists CC'ed, I didn't receive your message as
 I'm not subscribed to the bug report)

> May first attempt was wrong, the d/rules files needs to be fixed.
> 
> Still tries to do a "make -j32".
> 
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_build -a -O--builddirectory=Work
> 	cd Work && make -j32

It didn't work because you did not filter the list you are comparing
to:

NO_MASSIVE_PARALLEL_BUILD := powerpc ppc64 sparc64

ifeq ($(DEB_HOST_ARCH), $(NO_MASSIVE_PARALLEL_BUILD))
  MAKEFLAGS += -j8
endif

This will always compare "DEB_HOST_ARCH" against "powerpc", as the Makefile
interpreter will just pick the first item from your list.

Instead, you need to use filter like this:

ifneq (,$(filter $(NO_MASSIVE_PARALLEL_BUILD), $(DEB_HOST_ARCH)))
  MAKEFLAGS += -j8
endif

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: