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

Bug#760519: marked as done (qtwebkit: Uses unbound parallelism on unknown platforms)



Your message dated Sat, 06 Sep 2014 00:06:02 +0000
with message-id <E1XQ3Vy-0002hB-O4@franck.debian.org>
and subject line Bug#760519: fixed in qtwebkit 2.3.2.dfsg-3
has caused the Debian Bug report #760519,
regarding qtwebkit: Uses unbound parallelism on unknown platforms
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
760519: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760519
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtwebkit
Version: 2.3.2.dfsg-2
Severity: important
User: debian-hurd@lists.debian.org
Usertags: hurd
Tags: patch

Hello,

qtwebkit currently puts hurd buildds on their knees because its
build systems uses "make -j", i.e. without specifying the requested
parallelism level, which means unbound parallelism, which when building
c++ code basically means filling dozens of gigabytes of memory.

This apparently comes from ./Tools/Scripts/webkitdirs.pm which for
unknown platforms makes numberOfCPUs() return an empty string, which
thus ends up with "make -j".

The attached patch makes qtwebkit default to 1 instead of defaulting to
unbound parallelism.

Perhaps upstream will also prefer to try to use the portable way,
sysconf(_SC_NPROCESSORS_ONLN) (I don't know the perl equivalent).

Samuel

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel
AUTHOR
     FvwmM4 is the result of a random  bit  mutation  on  a  hard
     disk,  presumably  a  result  of  a  cosmic-ray or some such
     thing.
(extrait de la page de man de FvwmM4)
--- ./Tools/Scripts/webkitdirs.pm.original	2014-09-05 00:09:09.000000000 +0200
+++ ./Tools/Scripts/webkitdirs.pm	2014-09-05 00:10:34.000000000 +0200
@@ -362,6 +362,10 @@
     } elsif (isDarwin() || isFreeBSD()) {
         chomp($numberOfCPUs = `sysctl -n hw.ncpu`);
     }
+    if (!defined($numberOfCPUs) or $numberOfCPUs eq "")
+    {
+      $numberOfCPUs = "1";
+    }
 }
 
 sub jscPath($)

--- End Message ---
--- Begin Message ---
Source: qtwebkit
Source-Version: 2.3.2.dfsg-3

We believe that the bug you reported is fixed in the latest version of
qtwebkit, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 760519@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org> (supplier of updated qtwebkit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 05 Sep 2014 19:19:16 -0300
Source: qtwebkit
Binary: 
Architecture: source
Version: 2.3.2.dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Description:
 libqtwebkit-dev - Web content engine library for Qt - development files
 libqtwebkit-qmlwebkitplugin - Qt WebKit QML plugin
 libqtwebkit4 - Web content engine library for Qt
 libqtwebkit4-dbg - Web content engine library for Qt - debugging symbols
Closes: 700093 760519
Changes:
 qtwebkit (2.3.2.dfsg-3) unstable; urgency=medium
 .
   * Disable JIT also in s390x.
   * Build depend upon libqt4-dev >= 4:4.8.6+git64-g5dc8b2b+dfsg-2~ so as to
     be sure to be using the version of xmlpatterns that does not consumes a
     lot of memory.
   * Ensure ppc64el is built in little endian mode with
     Colin Watson's ppc64el.patch.
   * Bound CPU usage on unknown platforms with bound_cpu_usage.patch
     (Closes: #760519). Thanks Samuel Thibault for the patch.
   * Update symbols files with buildds' logs.
   * Add x32_support.patch to support x32 (Closes: #700093).
     - Also disable JIT on x32.
   * Add arm64.patch (taken from Ubuntu's aarch64.patch) and modify it to
     properly detect arm64.
Checksums-Sha1:
 3062bddbb1c5a5e59b9c3f8c3cb7ddd537b693ae 2551 qtwebkit_2.3.2.dfsg-3.dsc
 7575769f0b5711866b226db565a92dd3f4a4ebc4 80464 qtwebkit_2.3.2.dfsg-3.debian.tar.xz
Checksums-Sha256:
 7530f71c4c0e421b251f8bd7b9dcc20d4e5ea94c4803ee16a928ae3b2f4899eb 2551 qtwebkit_2.3.2.dfsg-3.dsc
 277352a3b5e0eb82fd3ab6d6a3f0b60f984d0229454e375f9cf3abfee5563670 80464 qtwebkit_2.3.2.dfsg-3.debian.tar.xz
Files:
 54cbac0a0d09d96a81ffd97f3b248aaf 2551 libs optional qtwebkit_2.3.2.dfsg-3.dsc
 558842d6fdfb74119f63850d22fa74a8 80464 libs optional qtwebkit_2.3.2.dfsg-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUCk0gAAoJEKtkX0BihqfQZJUP/2nGghd6J4FqgfzQ5jOcrtKg
aQEJp8Lnccx0REQTLkpXUsz/vz3jsOG7d2SR9J2QM8xG3VKqRQyFBQ6OssN7kbxc
f2Je9uimvSnSzCnZwtIkAAcm+Vc9tdZBNWdx5d+RpH/2kiyUCDiYs59nlDq+XlvI
h4+ruP8XwmjkJNt5ZgbI8AKGCFKbMT1Rccg/2Owz9Q4H5VUqJEquW96PftX038mE
nPybTVgEfJgugZN4rxXjcuEErIAy8KxFAK8YxBHl3rSGuPFK1Cu9e19o4pB/nnrS
+VelqNM1heEuaHuiihc7IquP4l7f8/qwF9PXTcm7Gk1yFEMVi0Ayqg/JC7CPjmwv
SO868kzUME4Oaxo5x1bTk+JggHcqavdj+htdGcQ4Aq9q49avHSVwqMAzoCpnimrY
kDtX/BNKmiqZ2zYM/zcA1Sez9fcPLDEyk56uh+EInGS1oEgEJ75aP4Wa9do0MpTS
jzugEjN9L+GMFDUqj1hLMXFToN3uzBlBSou7VD+8sPy6D7cZmvi75dfAmbGX76SF
puVyAOG6WWgHg/VbJnMBScRk2xL5USVyYh1NOSjbteZIUhdx3VxC2g3OLmv5xwiT
dgFrhUwBz+lkJ3KvcC3o1nCQNcTFGqIlrFPSwpCzP3gX48VfiJtjaswwmm93Dnrp
bCpUlWw8IIplIY64/F9z
=6WXY
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: