From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 04 Oct 2022 15:58:32 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ofiRL-005c3c-VQ for lore@lore.pengutronix.de; Tue, 04 Oct 2022 15:58:32 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1ofiRL-0005H3-6Y; Tue, 04 Oct 2022 15:58:31 +0200 Received: from mail-co1nam11on2054.outbound.protection.outlook.com ([40.107.220.54] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ofiQq-0005Gs-B1 for ptxdist@pengutronix.de; Tue, 04 Oct 2022 15:58:01 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MYNmaYJtLJmBY5SlYEqCvU0AmwAgNjISzZtugvnVaRNLdBu0J96m4cvQackCb1aNgdU1jCYQMMv23vkAn2yuayjFgwhi9eFyG1NLt7X7EK7a9yAdfrJ3YIXQs7JMtH7mL/2EdazRRh0BUBjXTMuIOMVttKPoR2DNIKcGsYcwZBwLllj1mN4DOzkT7PQLv56G/KUqFgOVGGURpl6XmtmB0KT5NDAoQs55Wo4NviV3QeMUzezSpNWt9Ps/mfyoaeMdIljCQpoU3gBwtCqUoe1HqdRu/UPykde9T2xVKk7oBO89a+BGtuAO6sYeE+lFASWwkCGF4sVXIEIz//+PRXKIsg== 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=erctAlgrF638UgvQ17YvWA63w/N2gPMJkDaeimoQxIY=; b=K7hMainB2nDydayEO/KYhKGxcDYb0PMJxzVAZr8wotTi9Rn1I6nsaR8Wm5uMsRMw/94qfwyX19GnaZYes6OX3uwfvvfS36Un1/pzOChGC5ZoKP0VCAz+Mc6BGhvrhXIVXCHOSk1jFojScXX1Hf87y0gKVm/B3eyc+omZi+Im8mVQN9agvhVepUUOhV+kUe79G3L++GfQbDc/rKTpSkBx7REoQZRFGlmi1Pqz03FQqxO+nxBu/lDpI0I9G9AEY+zQ/4m+xNDAEdODO6uRA2ryIuGwU7IK41lZhUgBO3MXPR3V1lckK+weTsUa1LTIM7wKC0UgzqgFiiEy7HS1X7qL4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=grayhill.com; dmarc=pass action=none header.from=grayhill.com; dkim=pass header.d=grayhill.com; arc=none Received: from BYAPR14MB3078.namprd14.prod.outlook.com (2603:10b6:a03:15b::12) by DM4PR14MB6303.namprd14.prod.outlook.com (2603:10b6:8:105::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.17; Tue, 4 Oct 2022 13:57:51 +0000 Received: from BYAPR14MB3078.namprd14.prod.outlook.com ([fe80::246d:900d:2887:a1d1]) by BYAPR14MB3078.namprd14.prod.outlook.com ([fe80::246d:900d:2887:a1d1%5]) with mapi id 15.20.5676.028; Tue, 4 Oct 2022 13:57:51 +0000 From: Richard OGrady To: "ptxdist@pengutronix.de" Thread-Topic: [ptxdist] pkg-config-wrapper issue Thread-Index: AdjXUjaauat92cUPTIeRSHhK8Cm2uwAFp3yAACPgYsA= Date: Tue, 4 Oct 2022 13:57:51 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=grayhill.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR14MB3078:EE_|DM4PR14MB6303:EE_ x-ms-office365-filtering-correlation-id: d0ca1c66-fc58-4f1c-3d50-08daa6106d8f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LDwwf/unKCmwMIdva/rUcQxo4LN3wYLBMD+x/Cgwq12d0gtzXO2m+MQ2lwFNu82MVPTJ6t2X/R5lhgI6KqRjUy7+APNceJLocC9idTPAnWW3FmnjHG/Eg7IBcSWPgKudwgl5cbvAsZ+W71wfOwBoEVoyCR+l9FOYcRuKsTDCaEM4Asmk+tTEdqB+B9aeZL6a59E3SYCQuCk8ENho1p4pQqg+5o5JZ6AFjwyey2125lQDzgDLtD0tw/Xrxz0YBmveUMcZJZD5NwR7aUSk8rcEGPLnZK9KdSV9aAzkGtkBzVEE8cEsuPGj0iV+JQSIBqGYWs4TmZv0sPAqQMb6VweCY+Kabz1Byag5emsZNbiCtTIdS8EQudEu1lRxW6/AZmIKbcl9OsBlJPhM9XEo8lrYwdmM8kDI/hNS9Um+z5+eUqZbfb5avlwWkBpdOOiDetNpT4i0fDeZ2DGKHD2qChtqfKeJRbUkFc1VKa+sbOzUqIfcu7hYe2yPvYN9nhbWZHVZxq9nAyHpD2oHQIeSOHXtavxUkAjrBVWLNMJhkNpW50G5UOMnJjC1leknM7dUA3Unz5Q2b0rxeAmSw5aeaNjoJ3/h37dzjAP7imINaEDd2S4bujC6SquHGIauLkhh8fLAgRc0DoHDRppYvAs05hx0iTu4xNDgPAKd70J5ekG54GPZh2V+MjmKBu08kJTNWsf3mgSBLu+fmahmqRAbpV+INdujoVHkIm8hO6NlyLKXcm2MvupAsLAjSNQQuu/Df7VUrEwuNcb5s07a7zpnCmaPRw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR14MB3078.namprd14.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(366004)(346002)(136003)(396003)(39850400004)(451199015)(83380400001)(5660300002)(71200400001)(2906002)(8936002)(53546011)(33656002)(7696005)(6506007)(38070700005)(64756008)(38100700002)(55236004)(66446008)(55016003)(478600001)(66556008)(6916009)(316002)(86362001)(8676002)(41300700001)(122000001)(52536014)(66946007)(76116006)(186003)(9686003)(66476007)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ioTgfnwAzarMxSwuiXKFuM7QAbpVwAiwB8sqEr2x6gFhwi+rNZ9bOmOkDv3x?= =?us-ascii?Q?CGewCplQ83552H9OgwrBisdKrQ+as3d8jHwz6p1nSXSBwqWnw8BuvUUdfRGa?= =?us-ascii?Q?UO7UjQqtBPx6b3kWfteMfj0HLjlBpeyxumaCNphrN+rAdnPXBNlOzPls1JqL?= =?us-ascii?Q?gYj/suM4Jn0a0hLNt4/yrSkCd6ErbmB3dWDqdCX47mOFJQcISkFQl7k17rl5?= =?us-ascii?Q?TkxkamT8w5fFyhRAGLpGKCsPrxK7k7quAkDdsShptpxOyKqqU7IMemo/TDgA?= =?us-ascii?Q?kVf6Q5wZoPObfWYbOueJXd071FIC/J6yrf0RixCF/cU0VA4lyEdrLfRh/5TA?= =?us-ascii?Q?1j8zPEOoVvxp/q0z6zpSxinNdorJH5kCX2b1F6R9XNYay7Ud0drONlmw3GhM?= =?us-ascii?Q?tCQnVUisiDKQlT61RJ6X6wSfMvx+XoVMB4LTbAXHosmu1G1qet46udw1UKqk?= =?us-ascii?Q?Y5uBsZR71kLZBaBwGE8Pxiyf7zf2XVmGCnvFHHiJVEBZE6SpGwsuHDrG4G4s?= =?us-ascii?Q?O4RRqULDizP2Ng7i4bAqJjS5TRLTNp3NgP1Q913EwMvez5mpD8YGHqwx5TM7?= =?us-ascii?Q?NMK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+I4FjJWJaowXx09?= =?us-ascii?Q?fd/IbgI/WCpuMfuLcf/V38hlOuRBiTMpKc0MlSi+NHK4x+A76GUfJALdDghS?= =?us-ascii?Q?lsD8DgtthY1ixDfhgP3seDTfl2KfwjKxgFtiNL0ODzuHyuCKsfHkIRUoQkIn?= =?us-ascii?Q?UA=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: grayhill.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR14MB3078.namprd14.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d0ca1c66-fc58-4f1c-3d50-08daa6106d8f X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2022 13:57:51.3669 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 425653eb-8a0a-4fed-a37b-bb46c02c9c12 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: u7PocGSC7DwYCV28KMaQlrqLQzEDS7qcMrP+VhVsAUckyJaUCP1yVWjWOsSHc15Zczabtz57KtK+ociZr/py/eNzrmCv9NKvyw7Kn6umqvM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR14MB6303 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] pkg-config-wrapper issue X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false > -----Original Message----- > From: ptxdist On Behalf Of Ladislav Mich= l > Sent: Monday, October 3, 2022 3:44 PM > To: ptxdist@pengutronix.de > Subject: Re: [ptxdist] pkg-config-wrapper issue >=20 > On Mon, Oct 03, 2022 at 06:14:34PM +0000, Richard OGrady wrote: > > Hello, > > > > We are using ptxdist 2022.07 and are building 2 packages, libimxvpuapi2= and libimxdmabuffer. > > libimxvpuapi2 depends on libimxdmabuffer and accordingly libimxvpuapi2.= in selects libimxdmabuffer. >=20 > Those 'depends on' and 'select' are actual keywords used in *.in files or= just a > description? >=20 'depends on' is just a statement of fact, 'select' is keyword in libimxvpua= pi2.in > > The libimxvpuapi2 build fails during config. The config file shows > > > > Checking for 'libimxdmabuffer >=3D 0.9.0' > > ['/home/rich/imx6_3D104X_fsl6/Grayhill-iMX6/platform-3D50_std/sysroot- > > cross/bin/pkg-config', '--cflags', '--libs', 'libimxdmabuffer', '>=3D', > > '0.9.0'] > > err: pkg-config: warning: blocking 'libimxdmabuffer': not selected by '= libimxvpuapi2' > > > > So pkg-config-wrapper is blocking the libimxdmabuffer package. The cod= e that does this in pkg-config-wrapper is: > > > > for pkg in ${pkgs}; do > > if [[ ! " ${whitelist} " =3D~ " ${pkg} " && ! "${pkg}" =3D~ = '-uninstalled' ]]; then > > echo "$(basename ${0}): warning: blocking '${pkg}': not s= elected by '${PKGCONFIG_WHITELIST_SRC}'" >&${ERROR_FD} > > exit 1 > > fi > > done > > > > We can get rid of the issue by commenting out the code above in pkg-con= fig-wrapper but it seems that then breaks some other packages. > > Libimxdmabuffer is version 1.1.2. Both packages are using waf to build= . > > > > What could be going wrong? >=20 > It is a bit hard to tell without seeing actutal code, but from descriptio= n above I > guess you created circular dependency which got dropped. >=20 I guess another way to ask the question is what is that code chunk in pkg-c= onfig-wrapper trying to do? It seems that if ${whitelist} were to contain ${pkg} then it would not bail= out. Correct? If so, then by what mechanism would ${whitelist} contain ${pkg}? > > Rich OGrady > > > >