NetBSD Problem Report #54120

From tsutsui@ceres.dti.ne.jp  Sat Apr 13 06:53:49 2019
Return-Path: <tsutsui@ceres.dti.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 6E7127A17E
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 13 Apr 2019 06:53:49 +0000 (UTC)
Message-Id: <201904130653.x3D6rhf9013133@ceres.dti.ne.jp>
Date: Sat, 13 Apr 2019 15:53:43 +0900 (JST)
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Reply-To: tsutsui@ceres.dti.ne.jp
To: gnats-bugs@NetBSD.org
Cc: tsutsui@ceres.dti.ne.jp
Subject: pkgsrc-2019Q1 www/webkit-gtk build fails without MAKE_JOBS
X-Send-Pr-Version: 3.95

>Number:         54120
>Category:       pkg
>Synopsis:       pkgsrc-2019Q1 www/webkit-gtk build fails without MAKE_JOBS
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 13 06:55:00 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.0 + pkgsrc-2019Q1
>Organization:
>Environment:
System: NetBSD optiplex 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
As noted in PR pkg/54109, pkgsrc-2019Q1 www/webkit-gtk build on
NetBSD/i386 8.0 fails if MAKE_JOBS is not specified.
 http://mail-index.netbsd.org/pkgsrc-bugs/2019/04/12/msg066280.html

The error message is:
---
 :

[ 91%] Building CXX object Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/unified-sources/UnifiedSource-54928a2b-31.cpp.o
[ 91%] Linking CXX shared library ../../lib/libwebkit2gtk-4.0.so
/usr/bin/ld: warning: libstdc++.so.8, needed by /s/obj.i386/pkgsrc/www/webkit-gtk/work.i386/.buildlink/lib/libGL.so, may conflict with libstdc++.so.7
/usr/bin/ld: warning: libfontconfig.so.1, needed by /s/obj.i386/pkgsrc/www/webkit-gtk/work.i386/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfontconfig.so.2
/usr/bin/ld: warning: libfontconfig.so.1, needed by /s/obj.i386/pkgsrc/www/webkit-gtk/work.i386/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfontconfig.so.2
/usr/bin/ld: warning: libfreetype.so.6, needed by /s/obj.i386/pkgsrc/www/webkit-gtk/work.i386/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfreetype.so.18
/usr/bin/ld: warning: libfreetype.so.6, needed by /s/obj.i386/pkgsrc/www/webkit-gtk/work.i386/.buildlink/lib/libpangocairo-1.0.so, may conflict with libfreetype.so.18
[ 91%] Built target WebKit
Scanning dependencies of target WebKit2WebExtension-4-gir
gmake[2]: *** No rule to make target 'JavaScriptCore-4.0.gir', needed by 'WebKit2-4.0.gir'.  Stop.
gmake[1]: *** [CMakeFiles/Makefile2:1244: Source/WebKit/CMakeFiles/WebKit2WebExtension-4-gir.dir/all] Error 2
gmake: *** [Makefile:152: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/webkit-gtk
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/webkit-gtk

---

Mote builds with MAKE_JOBS=5 works.

I've also put full build messages to gist:

- without MAKE_JOBS (error):
 https://gist.github.com/tsutsui/e697848bb494cf227e003ded29a488fe

- with MAKE_JOBS=5 (builds):
 https://gist.github.com/tsutsui/8aee0b8314c53619c96a1ae06b6908d2

>How-To-Repeat:
Build pkgsrc/www/webkit-gtk on NetBSD/i386 8.0 without MAKE_JOBS settings.

>Fix:
No idea.
Some dependencies (related to JavaScriptCore-4.0.gir) are missing
in Makefiles?

---
Izumi Tsutsui

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.