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

Bug#819868: marked as done (qtwebkit: Make determineNumberOfCPUs work on kfreebsd)



Your message dated Fri, 15 Apr 2016 23:50:50 +0000
with message-id <E1arDVi-0005YF-2K@franck.debian.org>
and subject line Bug#819868: fixed in qtwebkit 2.3.4.dfsg-7
has caused the Debian Bug report #819868,
regarding qtwebkit: Make determineNumberOfCPUs work on kfreebsd
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.)


-- 
819868: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819868
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qtwebkit
Version: 2.3.4.dfsg-6
Severity: wishlist
Tags: patch

Hi

Please could you apply this tiny patch? It makes determineNumberOfCPUs work on kfreebsd.

Note1: This is more relevant than it seems. I recall seeing some build system (not sure if qtwebkit itself or something else) spawning an unlimited offspring of gcc processes (~50) when this routine fails.

Note2: This is the old version of the patch for qtwebkit 2.3.4. A slightly different version has already been sent upstream.

Thanks!

-- 
Jon Boden

ubuntuBSD -- The power of FreeBSD kernel with familiarity of Ubuntu OS!

http://www.ubuntubsd.org/ -- https://twitter.com/ubuntuBSD
Index: Tools/Scripts/webkitdirs.pm
===================================================================
--- Tools/Scripts/webkitdirs.pm	(revision 198974)
+++ Tools/Scripts/webkitdirs.pm	(working copy)
@@ -409,7 +409,7 @@
     } elsif (isAnyWindows()) {
         # Assumes cygwin
         $numberOfCPUs = `ls /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor | wc -w`;
-    } elsif (isDarwin() || isFreeBSD()) {
+    } elsif (isDarwin() || isFreeBSD() || isKernelFreeBSD()) {
         chomp($numberOfCPUs = `sysctl -n hw.ncpu`);
     }
 }
@@ -1216,6 +1216,11 @@
     return ($^O eq "freebsd") || ($^O eq "openbsd") || ($^O eq "netbsd") || 0;
 }
 
+sub isKernelFreeBSD()
+{
+    return isFreeBSD() || ($^O eq "gnukfreebsd") || 0;
+}
+
 sub isARM()
 {
     return ($Config{archname} =~ /^arm[v\-]/) || ($Config{archname} =~ /^aarch64[v\-]/);

--- End Message ---
--- Begin Message ---
Source: qtwebkit
Source-Version: 2.3.4.dfsg-7

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 819868@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, 15 Apr 2016 20:40:17 -0300
Source: qtwebkit
Binary: libqtwebkit-dev libqtwebkit4 libqtwebkit-qmlwebkitplugin libqtwebkit4-dbg
Architecture: source
Version: 2.3.4.dfsg-7
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: 819868 821013
Changes:
 qtwebkit (2.3.4.dfsg-7) unstable; urgency=medium
 .
   * Add fix_number_of_cpus_in_kfreebsd.diff to bound the number of CPUs used
     to compile webkit on KFreeBSD (Closes: #819868). Thanks Jon Boden!
   * Properly detect x32 in Atomics.h (Closes: #821013). Thanks James Clarke!
Checksums-Sha1:
 e06cbdfee17b8fd4465f94e895bdbfb976378e86 2551 qtwebkit_2.3.4.dfsg-7.dsc
 561df940f054233624d69b4a0e26ddb8d195beb6 85080 qtwebkit_2.3.4.dfsg-7.debian.tar.xz
Checksums-Sha256:
 7e68bfcf767e9cdd802872b57d4aef2d8e6b7cc209effaff3d60dd67568d336a 2551 qtwebkit_2.3.4.dfsg-7.dsc
 3b6a41b73123d08b622f8af423a46aba57acdbe556853d02aedc36527107f78c 85080 qtwebkit_2.3.4.dfsg-7.debian.tar.xz
Files:
 9359dd4dfe639fae07735d5ab66ff163 2551 libs optional qtwebkit_2.3.4.dfsg-7.dsc
 3c2d59b2cd131d28ed4ac52d3738af8b 85080 libs optional qtwebkit_2.3.4.dfsg-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXEXw8AAoJEKtkX0BihqfQRXwQAInxI8o2Zn1HheepC7NcGPhr
z6mDhEYmbA0n3dNq60SGGYAhjQfaQErUiPv3ExrIpXapSho7mTywurqcc2v5BtxP
bWq5UJY4IrfQWQ7QlLQdoR9hQ+sbH34whn/lZZq4Z8OhvTwu0/Rr+5yV8UkbZUcy
ehs/SVhNvqwc7EyI+TKZ5jnCeA0g6Ig3Tv7Deao3W+cNvK86snlxkgMXgZ2CWEge
EuGqISYUk4fzEgX9viXNcVfuU5qQEpTlnE/lIGarR9pIB4wjx1h8+NcMZxxLpe66
72JDxqOTe9XDLZ/gGEKWtiSvWqoSw2pyD9gSVP66sQ4S4Jwp3D96xGf/prP04qLp
uBYP32G8J6gdh8oiHQ31iD0To9LbN9bMkL61Cq04F/LZvALoLQDx7F8vdDrszbQM
f9Fbu9cE8B+ghWCOfCDA5Kz8HjfPAYei7aYb11pZuA+dFwDDA4hZn0GAdDPjeWL/
E9Q1CUZCDrS2y5FLepD8lYj+BAKU2Ai28ApP1+6urMnalc8BpO00Mf1qQrQkE/jq
8aVbYTXju3usmff4LsmONloxw3tCfz18fevXvnzkIZn58EgzYhKzTWAX95DYfASp
KtV12+ARZvRin3wBhM+rp9R3hYgYZcXXtjjIrCzxUVcBDtahAW1qnWLtqRe3HmHR
Rp6YGxpIcGaHziWJ26k5
=qfAV
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: