From patchwork Sun May 17 12:27:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1292144 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Y5mDN4p1; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49Q1bQ5z6Hz9sTD for ; Sun, 17 May 2020 22:26:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3F7592001F; Sun, 17 May 2020 12:26:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Jj-+Lmf9ml1; Sun, 17 May 2020 12:26:24 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 22E012035B; Sun, 17 May 2020 12:26:24 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id CB98A1BF2C5 for ; Sun, 17 May 2020 12:26:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C838186A8F for ; Sun, 17 May 2020 12:26:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WC8P5wC8v6dt for ; Sun, 17 May 2020 12:26:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DECB886A8C for ; Sun, 17 May 2020 12:26:21 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id j5so8603108wrq.2 for ; Sun, 17 May 2020 05:26:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kUmeuHrVD+vmnk3jEYhHsvE6fYwk4xx5jVZKpKv3e9o=; b=Y5mDN4p1BFAaAw/W5UaX9niX7JGU8aCANLbNsRxTmgJtZEQZoqlUVaZCQoKH52KsdZ VJbt6LPR5ZarYS7dd0Jlex7iPZ3km0cMxHFpvvScg6bEwDzHJzkmiYrdK+odmDMF6vls hL0xmVrCVUtmZeQggSOgZctSZtIlpyiMohqceg1v9JzloA8t+WGfVSe3zY22K+jqt2m+ Itb/qAu8w+juP3lDGqAosoRL0YvdnoXe8zWVqDCtbmHdstuY8ruNAUxTmMqrow0J/N2J 8iD5H2+0u1V21IgKqcyUFcoGHKo7LUEZ+SVQNOKaDZ7TT74//XPbqy4tCJZ7VINtYtBn 6SoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kUmeuHrVD+vmnk3jEYhHsvE6fYwk4xx5jVZKpKv3e9o=; b=aAPpea7lkOcZm3S62Rci++f9lHbYZiTsv1KOOLs7d0iRdoq9VInyX5FmSJ7tphyUOx yOr474JFqzx1gqC0tQVMQevMRiTTyG0biiTa+1Ettj2n4wITANyA4YLzqAjsJwSONpvW 5gHk8fny+ba/U1TQ9JkgascFeNjfV+8xJhcOVQh6NvDZn0z+u8sSqQEJn1PiMc0ssSgl SL9Q+NYGhy6oqiEiVykBEp6zbKxE4oWnl1/014UReawKq1zmf/An51HC812K3sKTYkZA iPS6rxqNBGqTNEGKUc4EczkdhwpjQiD8OgWgCClZGWyQeBo+chzY9ohX5lbJ+CHdd+Mn Xokg== X-Gm-Message-State: AOAM531VFPuc5X/WJAWCOB3uQQZh/xBxsfxbzhD4QI5FTBjIo/7rkDe0 EKSG4DF9LjK9Tc/2fPvqmhhd/zGb X-Google-Smtp-Source: ABdhPJz1IwEfQ7SrumNV2WuoDIh/XnKRJrLdIEns6zxXOmGe/E6rSFa9UONVxKQgLCmKgWUnkRp2rg== X-Received: by 2002:adf:e511:: with SMTP id j17mr15361765wrm.204.1589718379908; Sun, 17 May 2020 05:26:19 -0700 (PDT) Received: from kali.home (lfbn-ren-1-2144-158.w92-167.abo.wanadoo.fr. [92.167.223.158]) by smtp.gmail.com with ESMTPSA id f123sm12006411wmf.44.2020.05.17.05.26.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 05:26:19 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Sun, 17 May 2020 14:27:38 +0200 Message-Id: <20200517122738.2207020-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/python-pyqt5: QtSvg needs QtWidgets X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine , Asaf Kahlon , =?utf-8?q?Manuel_V=C3=B6gele?= Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Building QtSvg without QtWidgets results in the following build failure: /tmp/instance-0/output-1/host/bin/powerpc64le-linux-g++ -c -pipe -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os --sysroot=/tmp/instance-0/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SVG_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I../../../host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/python3.8 -I../../../host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/qt5 -I../../../host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/qt5/QtSvg -I../../../host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/qt5/QtGui -I../../../host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/qt5/QtCore -I. -I../../../host/mkspecs/devices/linux-buildroot-g++ -o sipQtSvgcmodule.o sipQtSvgcmodule.cpp sip/QtWidgets/qwidget.sip:28:10: fatal error: qwidget.h: No such file or directory compilation terminated. sip/QtWidgets/qgraphicsitem.sip:26:10: fatal error: qgraphicsitem.h: No such file or directory compilation terminated. Fixes: - http://autobuild.buildroot.org/results/26f55a1fa9f6520ce449b98b40d98f984cec07b3 Signed-off-by: Fabrice Fontaine --- package/python-pyqt5/python-pyqt5.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/package/python-pyqt5/python-pyqt5.mk b/package/python-pyqt5/python-pyqt5.mk index 9b5e9089fc..9285b6497c 100644 --- a/package/python-pyqt5/python-pyqt5.mk +++ b/package/python-pyqt5/python-pyqt5.mk @@ -39,6 +39,12 @@ endif ifeq ($(BR2_PACKAGE_QT5BASE_TEST),y) PYTHON_PYQT5_MODULES += QtTest endif + +# QtSvg needs QtWidgets +ifeq ($(BR2_PACKAGE_QT5SVG),y) +PYTHON_PYQT5_DEPENDENCIES += qt5svg +PYTHON_PYQT5_MODULES += QtSvg +endif endif ifeq ($(BR2_PACKAGE_QT5CONNECTIVITY),y) @@ -88,11 +94,6 @@ PYTHON_PYQT5_DEPENDENCIES += qt5serialport PYTHON_PYQT5_MODULES += QtSerialPort endif -ifeq ($(BR2_PACKAGE_QT5SVG),y) -PYTHON_PYQT5_DEPENDENCIES += qt5svg -PYTHON_PYQT5_MODULES += QtSvg -endif - ifeq ($(BR2_PACKAGE_QT5WEBCHANNEL),y) PYTHON_PYQT5_DEPENDENCIES += qt5webchannel PYTHON_PYQT5_MODULES += QtWebChannel