From patchwork Fri Mar 18 19:28:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Darcy Watkins X-Patchwork-Id: 5501 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2407AC433F5 for ; Fri, 18 Mar 2022 19:28:45 +0000 (UTC) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.49]) by mx.groups.io with SMTP id smtpd.web11.14186.1647631724151780656 for ; Fri, 18 Mar 2022 12:28:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@sierrawireless.com header.s=selector1 header.b=h+ONPBJt; spf=pass (domain: sierrawireless.com, ip: 40.107.220.49, mailfrom: dwatkins@sierrawireless.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RGPEpcwgZewHJDjNFm+wtFQb3hIBmAbaBXiSSQD1YaR0mcDY8rxNWfyg94yoEBjUawJ4eQmE1ZI0v6Iz7KALTOCuUsgjjHdZO9zY1aWTSE1Wx7wzZDPL+13qKnWVnLpKxas0ogsp9X2EkMXbd9VLepgQr1RD7lltWEP10CWB1P/CdufnACGbyAXKRD7E6WuD+Jgyv9PIpedChvX5+sJGQ9F1CrAnheBDBH7FxbbvD5qyLtGm1yvQjnpyTcMm7sdkCxU6V4wAqkciwW5o+bzs0Nl63UlTjDHxUZSXGYHu/2JI9XQBMoVmqoX14zOzjxkRfa6ZX8MbiPoJe1u0gPnONw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8xyyfWY2hu8zBpSYEdjTYtcogo7+Ee5TtJRXdL1JFnA=; b=dD1NJbcVLSCiWfmt2u2H1+J8LjlMcXFx4ZXBu5RCPHRYHnB+z+o8u5YeDQhrohSGOFt201rkaY3ynsnaPHDjo8q9OhPwSb5M8lj/lVroUncwLcoHyrcuyJu9XK+8KGYf2dGR+win0DfVtYIolDOLcMvBJgpuDLHnZ0voKzdvsQMcqTx54TzQugqITTJR1XSkXvP7XhqImL5ZvScRwwu/UbhnlYfQdkpn5SLrL8Z17pKz6fWIXz7DeM8JW0oYH9TnlQSHJ/UFwPk3Fhj+QIrkkMXuVjr0a7Hpwf5qvkNxRds+rtG/5W+tiiqmqiSKPTHqeM7sQKIikdVm+pfZ3NjwJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sierrawireless.com; dmarc=pass action=none header.from=sierrawireless.com; dkim=pass header.d=sierrawireless.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sierrawireless.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8xyyfWY2hu8zBpSYEdjTYtcogo7+Ee5TtJRXdL1JFnA=; b=h+ONPBJtxFPShmf+C46DCGehGUyKiDNMPyXzDCqzF7JyscxIvFsI1Xyt0w7biVj6FCv3z3Lq9/cH1RD6RE8x69AsOSsah1DUvmit3IvDqsLeWeUxI64oV/jUuvYN1/eZZ+FbLVMnSxCYYsy+x6TMBFn9ZU9YGMKLKcu9DfvQwx0= Received: from CO6PR02MB8740.namprd02.prod.outlook.com (2603:10b6:303:137::20) by BYAPR02MB5989.namprd02.prod.outlook.com (2603:10b6:a03:121::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.17; Fri, 18 Mar 2022 19:28:39 +0000 Received: from CO6PR02MB8740.namprd02.prod.outlook.com ([fe80::d476:8d6f:d74b:d2ad]) by CO6PR02MB8740.namprd02.prod.outlook.com ([fe80::d476:8d6f:d74b:d2ad%5]) with mapi id 15.20.5081.014; Fri, 18 Mar 2022 19:28:39 +0000 From: Darcy Watkins To: "yocto@lists.yoctoproject.org" Subject: meta-java: classpath recipe needs inherit from pkgconfig in kirkstone Thread-Topic: meta-java: classpath recipe needs inherit from pkgconfig in kirkstone Thread-Index: AQHYOvUFSqr2uydZu02rIu30HpNFog== Date: Fri, 18 Mar 2022 19:28:39 +0000 Message-ID: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=sierrawireless.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 63935e0b-e0fe-44c3-561a-08da0915815b x-ms-traffictypediagnostic: BYAPR02MB5989:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sWoO6xqNqMm9S1qQ2a3CWlFNAsdBeCop9Vq4jFWKz2VnXx7J3BzsQ1AiTfm32CvPx9e4Mz5sg31yR+mIcQELSvDiRbQtQbnHVXFO+E4+LhnGgJ6baSgUbxMULU+Svw/9O2sgPTPrm1QQrICAtTNsradNiA5uCfkD4c3alMsH7xdG6qnmLTVjm9/nFguBUQXaHkX/0M2CvHFDG/yl+FKYpxo/wUUtt3vQlAeVa5tKYFkQO4ma4ogHZt/CVjBAS6U+qrGI0ZapquOr20TnjTOsncy1K0ep4JEbzBfpgTKFXVdUxxUazOzfZjeI6V6NtIe432zA56eL2KODj5Ewt2qHjlFUTL06XuZdAsqO6dDY2irO1ZarcSYQojBClNOasxR2WBaeqmknHY2d01IMbQD6rOs4mOhaaPqLmLTIIz0IDG/GoJBdP8p2L3u9F/ePhe4jBRCVWnOAlKDAVigEJ9Cha3UC6E+5g1BEZS6ZwMb5BN3A+hRVl1YUm0szHkzrAqSallShLXfceUnGofmhh3wyn4tU2ee05qsLp6RPEP41fH8BhM8fGCQrdJfqryT6vefnx/SpbEsol2yzSLh3gPgvFItrEN859QEQDBZKzODNYRZMdOsTg5+Dqc0Z859+bOenr1RfWE5VY7/8CWJrPWrj8160hSgV+410CDPdUf3wQSIzUofBtz7UneQ8Dnb/BGNiz4sE5zvjop2jrGzRRrt9vdZO4bL8ugE9KY167QLS0RCh4EofiaSzE+AqrP3Nj0sHTnvSdGQGX0CZkSZVMuxhQSRaN76trfL4GiwstGYbO2xGfc4AwQkFXtofmFK7RoC1 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR02MB8740.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(86362001)(8676002)(5660300002)(38100700002)(40140700001)(166002)(38070700005)(66556008)(9686003)(66946007)(6916009)(76116006)(316002)(2906002)(19273905006)(64756008)(83380400001)(508600001)(66446008)(8936002)(7696005)(9326002)(186003)(71200400001)(52536014)(966005)(6506007)(55016003)(122000001)(33656002)(66476007)(563064011);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?windows-1252?q?jw5VbXFFcj9W5Wre1C/Rw?= =?windows-1252?q?7TIpV5BQI1YFatOBy7khZB0qWPQeCTHCloX66zU1UTVl7WCBVlLslaTdYc?= =?windows-1252?q?V3CT/Y1UfCCMTPnKgNWyynpnFbR8HfpDqoRK+NdfWhenkdaFRJ0LONWKBn?= =?windows-1252?q?Yecw28pywK48mqBEvoAbeqSV0XZPiKz4dLo/m9dlotAQ7PxKd58Ef4De9v?= =?windows-1252?q?cHq2BOjuoQdqwG7A14gY4vC0qzicuHHLhJvMBsUv/nIx64CbHuQuWqtvIt?= =?windows-1252?q?TLjyx4V0a4YFX0InXWS1+Z1lI3ooLmzVxvcs/hu26Yrht5iQXR8+KEiaQ8?= =?windows-1252?q?wAO5DjRpb46fz5lqK65BSYzVSO/6wUahnBvnwtIpoCHnQ1kM3xhL5qxf56?= =?windows-1252?q?UasrIlp+0v1KlErpajz8m9ziSjzhwIzC3sewpG+cX705L1HmjXgbim7Ok5?= =?windows-1252?q?NKg0Gt5TpAutUN5nYknALagJbOv8wKspiqKP8OX/1WWNAtVG3k7T7tM6+y?= =?windows-1252?q?SRQ6+2WAZaNvIRGpMVwjP0tbhEM1hdvatHKmgjFNmVMpU/zT7hp7O1MSYK?= =?windows-1252?q?LqVcYMUnKJeNQ75ZEEJOwcCesKQHk4jtAnlv66Z1ngXFLB1/3Ss9+a2R+x?= =?windows-1252?q?knqB+Y6rzn51sL/2H3qOJY+Ijl0TIAo/3nESs4mldPSC/r+Kic6w8+0n9V?= =?windows-1252?q?nFgtY/K/gNw8zouyGe44eRMf0NqAlq9QAEw6wFF6BKfWonTooSlgApw4C9?= =?windows-1252?q?2xQm3sWRaUWV2WpnY95kSiPE0kQ7Hqm1fOscZLNn7uQ8rIk+PEIeXNaKsa?= =?windows-1252?q?miOPF3jtUtaKtM6vC2Kr7knqE7iDzLW22tPsknCYDI67QoVm+apTEMucvY?= =?windows-1252?q?4HPqiyYZWvGl5+QyXedJtrPCc7BIsI9Arj2liV/lgvLpHABk65Kh2Tt+F8?= =?windows-1252?q?hnycmwgM4qPqhCigxakLe/mMiOt6HgaW6nQKhOolxVeLeuACYNFz3fNHuV?= =?windows-1252?q?iw4iI1Wrv7KUNG1QHHhRO5hzW0IInHA0ikQGCANk/0Xs3G7rcV6W5kCCGP?= =?windows-1252?q?HxHJLeUgpg+HgsJtnMU5CWxwGYAiVn7xH52p4sBetqUbU3bwoVsxCQ8Q0O?= =?windows-1252?q?alCbtZq28XZJe84Udpk6OrO7Z9wq/fFV3F9sw/CzwZFEdbnPdRzfB7PSpg?= =?windows-1252?q?35KAbudVob3WsQweTwCTrbc6/Dpp08gGOTyjUlWpAv6caZaWqXuueQiHOE?= =?windows-1252?q?JtRi36OurhDg3IQfhB3VKbepo4CAdK3Fjr4VQ3mmS+0YBYLRTWP9FF6tzC?= =?windows-1252?q?VL2Fyu+fJoqCx6R9cKLoJqysATPocSHr3vvnu19OruLfM4uQ96K4IUjTkO?= =?windows-1252?q?LgN1N1xj6SaxIyU53s1LLLqXGobS14S7vMInMO4mEx2AT0PcxsoyDhERwY?= =?windows-1252?q?Mtxc/AbE7WJqve/g/kMG3+pWl8hoicZ37pmHMAZEuvPRI498JCSZrx7p1D?= =?windows-1252?q?1LftYYJ1oQ1RXDQ1Y7siQsyXRi2vJgkas8KI5K2RbWRWpehngrb8pFihgs?= =?windows-1252?q?dyng1aH2297/SAHN4GxHQm7Eikv7iItxPRq6N3ptWjZN0yXKjVN3ZGxruF?= =?windows-1252?q?pcQkQMRC36cYCTCZWdUlqDsQ+nV+H4FqeZ2SVUFABAYBpWTVko=3D?= MIME-Version: 1.0 X-OriginatorOrg: sierrawireless.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR02MB8740.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63935e0b-e0fe-44c3-561a-08da0915815b X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2022 19:28:39.4931 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 08059a4c-2486-43dd-89e3-3a747e0dcbe8 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: rQDfeRNWwdVbBsfluWTe+2HUdGch5QZ+rOOBua+HZOCQdvJX+hgRMRw1tijRXJWiUDRlkCAfF4L/ez8xugOFKZjJWOVDh3szRCOoPch7m+U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR02MB5989 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 18 Mar 2022 19:28:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/56496 Hi, I am trying out a build that uses kirkstone branch for meta-java and master branch (as proxy for kirkstone) for everything else. | configure: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. dwatkins@carmd-ed-n11377-docker-dwatkins_voyager1:64bit build $ ls tmp/work/cortexa7hf-neon-poky-linux-gnueabi/gtk+3/ 3.24.31-r0 dwatkins@carmd-ed-n11377-docker-dwatkins_voyager1:64bit build $ ls tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/ 1_2.70.4-r0 dwatkins@carmd-ed-n11377-docker-dwatkins_voyager1:64bit build $ ls tmp/work/cortexa7hf-neon-poky-linux-gnueabi/gdk-pixbuf/ 2.42.6-r0 dwatkins@carmd-ed-n11377-docker-dwatkins_voyager1:64bit build $ ls tmp/work/cortexa7hf-neon-poky-linux-gnueabi/gtk+ 2.24.33-r0 dwatkins@carmd-ed-n11377-docker-dwatkins_voyager1:64bit build $ find tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/ | grep gthread tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/include/glib-2.0/gio/gthreadedsocketservice.h tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/include/glib-2.0/glib/gthreadpool.h tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/include/glib-2.0/glib/deprecated/gthread.h tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/include/glib-2.0/glib/gthread.h tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/lib/pkgconfig/gthread-2.0.pc tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/lib/libgthread-2.0.so tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/lib/libgthread-2.0.so.0 tmp/work/cortexa7hf-neon-poky-linux-gnueabi/glib-2.0/1_2.70.4-r0/image/usr/lib/libgthread-2.0.so.0.7000.4 All the prerequisites appear met. Have some of the variables used to setup sysroots, etc. changed in kirkstone but not been updated in meta-java yet? ERROR: classpath-0.99-r3 do_configure: configure failed ERROR: classpath-0.99-r3 do_configure: ExecutionError('/home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/run.do_configure.29702', 1, None, None) ERROR: Logfile of failure stored in: /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/log.do_configure.29702 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/home/dwatkins/workspace/mgos/voyager1/upstream/yocto/meta-java/recipes-core/ecj/ecj-bootstrap-native.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/mgos/voyager1/upstream/yocto/poky/meta/recipes-extended/zip/zip_3.0.bb:do_populate_sysroot', '/home/dwatkins/workspace/mgos/voyager1/upstream/yocto/poky/meta/recipes-devtools/file/file_5.41.bb:do_populate_sysroot', '/home/dwatkins/workspace/mgos/voyager1/upstream/yocto/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', 'virtual:native:/home/dwatkins/workspace/mgos/voyager1/upstream/yocto/poky/meta/recipes-devtools/autoconf/autoconf_2.71.bb:do_populate_sysroot', ---snip!--- | checking for remove... yes | checking for shmat... yes | checking for IceConnectionNumber in -lICE... yes | checking for XTestQueryExtension in -lXtst... yes | checking for pkg-config... no | *** The pkg-config script could not be found. Make sure it is | *** in your path, or set the PKG_CONFIG environment variable | *** to the full path to pkg-config. | *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. | configure: error: Library requirements (gtk+-2.0 >= 2.8 gthread-2.0 >= 2.2 gdk-pixbuf-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. | NOTE: The following config.log files may provide further information. | NOTE: /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/build/config.log | ERROR: configure failed | WARNING: /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/run.do_configure.29702:291 exit 1 from 'exit 1' | WARNING: Backtrace (BB generated script): | #1: bbfatal_log, /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/run.do_configure.29702, line 291 | #2: oe_runconf, /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/run.do_configure.29702, line 267 | #3: autotools_do_configure, /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/run.do_configure.29702, line 237 | #4: do_configure, /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/run.do_configure.29702, line 157 | #5: main, /home/dwatkins/workspace/mgos/voyager1/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/classpath/0.99-r3/temp/run.do_configure.29702, line 295 ERROR: Task (/home/dwatkins/workspace/mgos/voyager1/upstream/yocto/meta-java/recipes-core/classpath/classpath_0.99.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 2426 tasks of which 2418 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/dwatkins/workspace/mgos/voyager1/upstream/yocto/meta-java/recipes-core/classpath/classpath_0.99.bb:do_configure Summary: There were 8 WARNING messages. Summary: There were 2 ERROR messages, returning a non-zero exit code. The following appears to fix it…. dwatkins@carmd-ed-n11377-docker-dwatkins_voyager1:64bit meta-java $ git diff All I am doing is adding ‘pkgconfig’ to its inheritance list because the error message suggested “consider adjusting the PKG_CONFIG_PATH environment variable”. Regards, Darcy Darcy Watkins :: Senior Staff Engineer, Firmware SIERRA WIRELESS Direct +1 604 233 7989 :: Fax +1 604 231 1109 :: Main +1 604 231 1100 13811 Wireless Way :: Richmond, BC Canada V6V 3A4 [M4] dwatkins@sierrawireless.com :: www.sierrawireless.com diff --git a/recipes-core/classpath/classpath.inc b/recipes-core/classpath/classpath.inc index 42c5daf..5bf1cf6 100644 --- a/recipes-core/classpath/classpath.inc +++ b/recipes-core/classpath/classpath.inc @@ -7,7 +7,7 @@ LICENSE = "GPL-2.0 & SAX-PD" PBN = "classpath" -inherit autotools java gettext +inherit autotools java gettext pkgconfig DEPENDS = "virtual/javac-native fastjar-native zip-native gmp antlr-native gtk+ gconf libxtst file"