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

2020-04-16 Thread John Paul Adrian Glaubitz
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 '/<>'
>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 - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



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

2020-04-15 Thread Hilmar Preuße
Control: reopen -1
Control: found -1 2020.20200327.54578-3

Am 13.04.2020 um 16:35 teilte Hilmar Preusse mit:

> Dear Maintainer,
> 
>* What led up to the situation?
> 
May first attempt was wrong, the d/rules files needs to be fixed.

Still tries to do a "make -j32".

make[1]: Leaving directory '/<>'
   dh_auto_build -a -O--builddirectory=Work
cd Work && make -j32

H.
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


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

2020-04-15 Thread John Paul Adrian Glaubitz
On 4/15/20 6:17 PM, Hilmar Preuße wrote:
> I expected something like this, as the -1 package built fine. Hence I
> did not really expect an issue, which needed to be addressed by the porters.

Well, you put the architecture names in the subject, so it would have been
useful to CC us ;).

As for the -1 package building fine, it's a race condition. It may fail,
but it doesn't have to fail. As you can see, it now built fine on sparc64
since it was picked up by the buildd "nvg5120" which has fewer vCPUs than
landau which has 128 vCPUs.

>> I recommend forwarding this issue upstream and limiting the parallel jobs
>> for texlive-bin to 16 or even 8.
>>
> We have to perform another upload anyway, so I'll try to change that
> parameter and do another upload ASAP. Seems that anybody triggered a
> rebuild on sparc, which run on nvg5120 with -j16 and was successful. So
> I'll limit to -16
I did that :).

Adrian

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



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

2020-04-15 Thread Hilmar Preuße
Am 15.04.2020 um 10:04 teilte John Paul Adrian Glaubitz mit:

Hi Adrian,

> Please always CC the arch-specific mailing lists when filing arch-specific
> bugs.
> 
> Looking at the issue, it seems that texlive-bin has issues when built with
> many jobs in parallel. On both powerpc and sparc64, the package was built
> with "make -j32" [1, 2]. Both kapitsa and landau are systems with many
> virtual CPUs (both are VMs on POWER and SPARC servers) something that
> is still unusual on x86_64.
> 
I expected something like this, as the -1 package built fine. Hence I
did not really expect an issue, which needed to be addressed by the porters.

> I recommend forwarding this issue upstream and limiting the parallel jobs
> for texlive-bin to 16 or even 8.
> 
We have to perform another upload anyway, so I'll try to change that
parameter and do another upload ASAP. Seems that anybody triggered a
rebuild on sparc, which run on nvg5120 with -j16 and was successful. So
I'll limit to -16

H.
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


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

2020-04-15 Thread John Paul Adrian Glaubitz
Hi Hilmar!

Please always CC the arch-specific mailing lists when filing arch-specific
bugs.

Looking at the issue, it seems that texlive-bin has issues when built with
many jobs in parallel. On both powerpc and sparc64, the package was built
with "make -j32" [1, 2]. Both kapitsa and landau are systems with many
virtual CPUs (both are VMs on POWER and SPARC servers) something that
is still unusual on x86_64.

I recommend forwarding this issue upstream and limiting the parallel jobs
for texlive-bin to 16 or even 8.

Adrian

> [1] 
> https://buildd.debian.org/status/fetch.php?pkg=texlive-bin=powerpc=2020.20200327.54578-2=1586764340=0
> [2] 
> https://buildd.debian.org/status/fetch.php?pkg=texlive-bin=sparc64=2020.20200327.54578-2=1586764228=0

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



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

2020-04-13 Thread Hilmar Preuße
Am 13.04.2020 um 16:35 teilte Hilmar Preusse mit:

Hi,

> The build fails at least on powerpc & sparc64. Interestingly
> it still worked when the -1 was uploaded to experimental. The
> build fails b/c a header file is missing.
> 

I tried to reproduce the issue using sbuild like this:

sbuild --host=powerpc -d unstable --extra-repository='deb
http://ftp.ports.debian.org/debian-ports/ sid main'
--extra-repository-key=/usr/share/keyrings/debian-ports-archive-keyring.gpg
 texlive-bin

For any reason some packages can't be installed into the sbuild chroot,
although they are available in the porters archive. Not sure, what I'm
doing wrong here.


Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sbuild-build-depends-main-dummy:powerpc : Depends: libgd-dev:powerpc
but it is not going to be installed
   Depends: libxaw7-dev:powerpc
but it is not going to be installed
   Depends: texlive-binaries:powerpc
E: Unable to correct problems, you have held broken packages.


H.
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


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

2020-04-13 Thread Hilmar Preusse
Source: texlive-bin
Version: 2020.20200327.54578-2
Severity: important

Dear Maintainer,

   * What led up to the situation?

Upload of TL 2020 to Debian unstable.

The build fails at least on powerpc & sparc64. Interestingly
it still worked when the -1 was uploaded to experimental. The
build fails b/c a header file is missing.

/bin/bash ./libtool  --tag=CC   --mode=link gcc -Wimplicit -Wreturn-type 
-DU_IS_BIG_ENDIAN=0 -DU_IS_BIG_ENDIAN=0  -Wl,-z,relro -o ctwill-refsort 
ctwill-refsort.o lib/lib.a /<>/Work/texk/kpathsea/libkpathsea.la 
-lm
In file included from ../../../texk/web2c/mplibdir/mpmathbinary.w:28:
../../../texk/web2c/mplibdir/mpmathbinary.w:38:10: fatal error: mplib.h: No 
such file or directory
   38 | #include "mplib.h"
  |  ^
compilation terminated.

Hilmar

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 5.5.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)