From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 23 Apr 2021 09:58:20 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lZqhg-0005UZ-9D for lore@lore.pengutronix.de; Fri, 23 Apr 2021 09:58:20 +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 1lZqhf-0006zm-S1; Fri, 23 Apr 2021 09:58:19 +0200 Received: from mail-he1eur02on061e.outbound.protection.outlook.com ([2a01:111:f400:fe05::61e] helo=EUR02-HE1-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 1lZqhI-0006uO-DJ; Fri, 23 Apr 2021 09:57:59 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Su+22nDWR95I+xXjn0EE95XzDmzmc9Jjq0mmdJLOlSrKclA6WGUuA079WDbFEbwgBB2dtUahOY1Gt7kNf4I2KKvGeH0LDojlMKo+ndrgpyGhYIlE/73U4V7nvtvQMUZ2LzADR9WPig1q7gE7TZ4MMbZmy0pKUHcKdeICwOZs38tYdbxBHrXNlSZiEFj4aBxtRb0/7xoBDNALExImQpFFHzzYprs1HUF8apjASxj4svhHoL1/L8fd67gwriADxGottSPdU4xoIsbNAvr/VYwAIleH+gTyDXDecp1+EOKSiRDzF1al5cziioCmXIAZ/O67bYwfJrEtgJnHR/PoBLN/3A== 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-SenderADCheck; bh=wBL+EYJIJMKEH9WO+o5NI1x/EzWWyKvFiJ7551xJAVY=; b=DETDxFv1Pm/mAIr3cUaiDhviRlcFLH3/EgWY6TaUnEGLkZ3BMhKvY+K0e0obdFl31Xs+LLdc004+I1CWuAS4XbP59VhS5B0dAKGSWXHWR2Fos9Zu+tOlIqpDwZ089T2eJVEUMTxUiEKkWO15Mh4AlqKz5irNSAbYML4bIDrtWNFNmBWpApYz5kGRlRSsvjD5Xs4iXcT3b+oMzwMtjdbCQunFdnEyGZLZnEt9zG33qwzcUZxBG7mHeFLf8XSF7HA2giN2Bk/LTfjhmlvgXONv/BstOqi9lWuhdCG0LEV5ApnC/KFNF+vqjQiYpnPL6w+zVLOO6Z3/kle5Nm+t01QJGg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wBL+EYJIJMKEH9WO+o5NI1x/EzWWyKvFiJ7551xJAVY=; b=JBkKPVbbpxTkB/3UAJ90a8+qfJSv+aVDcR/f7K4dBmb88PnIfWly9Q8v6/s/vYmwq2YalOfBKLzsdMOZjH7AtAuG8KWTIiUYE/URY9Bfr60sVxW+zyMo3IUvB8q7WUpPtrHV2+8MjwPjMko6cV/zQX2ctRdHbUvtAiPdal0fhwg= Authentication-Results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=t2data.com; Received: from HE1PR0602MB2858.eurprd06.prod.outlook.com (2603:10a6:3:da::10) by HE1PR06MB3212.eurprd06.prod.outlook.com (2603:10a6:7:1b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.23; Fri, 23 Apr 2021 07:57:54 +0000 Received: from HE1PR0602MB2858.eurprd06.prod.outlook.com ([fe80::409f:a235:de54:364e]) by HE1PR0602MB2858.eurprd06.prod.outlook.com ([fe80::409f:a235:de54:364e%8]) with mapi id 15.20.4065.021; Fri, 23 Apr 2021 07:57:54 +0000 To: ptxdist@pengutronix.de, Michael Olbrich References: <3aeb907e-2049-4b47-ded1-a4a262761146@t2data.com> <20210423071712.GF4162561@pengutronix.de> From: Christian Melki Message-ID: <47e2bcd8-df32-7ee7-a917-9c7fa0427f73@t2data.com> Date: Fri, 23 Apr 2021 09:58:01 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 In-Reply-To: <20210423071712.GF4162561@pengutronix.de> Content-Language: en-US X-Originating-IP: [81.234.39.46] X-ClientProxiedBy: OL1P279CA0042.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:14::11) To HE1PR0602MB2858.eurprd06.prod.outlook.com (2603:10a6:3:da::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.7.217] (81.234.39.46) by OL1P279CA0042.NORP279.PROD.OUTLOOK.COM (2603:10a6:e10:14::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20 via Frontend Transport; Fri, 23 Apr 2021 07:57:53 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e1b3058-d5ec-4c15-b09b-08d9062d8020 X-MS-TrafficTypeDiagnostic: HE1PR06MB3212: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2089; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cWhN2GVRN3syKtPuPF/1F6/9DcPxH/Af5eFTzvIznYCQ04/aMvCPtcGOJrOJHGUaAALDNbxvS15JbTKRtjSLTVqLuohFjzfnV28w4V0AtV/KslZMOkWo1IVSraaKWRoOuFzLKRfElsbXx2oBDluDOehHWewVehAAbeZcOBtb0MlS3FUvS4BmNRmzvbLTqGoduI6oZfedeUtr+BKh+boB6X6+EYcFwED6zOmiSyaI+lVFj9jPjmYNQuq5YKiVDpF2N0IerbooKjZRcDguIH8NODB9GkPIRBNDygLA9dXv0zmZ7bN/NzCcCj8KfwEUHVzjy2EvhkZKqKBfitTe/kWKZvntYoI+7ClmjQ9B6AlUR8y0NhVMKLJf1rU69WxrFeB339Sk1B+QcUpfjv9/1ci4tIMXJXQ5JgC/MjiObBJb2LylQMAo42t48boKiIkoxAsQyaa5Xudec2fx4mNQFgYWHI/kaHVEDEaIlrj0bEL6w3LpH3V1cCvNI6XGJ9BvkyRIkQvPEsyo9VNxxGjAQOOTidMlM8DWgdQBKJvYpb8sMZ+dcVb3xOF2l+0XqVf1EpyQnH5g1Pgp6HeVL2EggNZgZnver5rlnQU2vWOr5jjHCPVC6Umg2tq4Tbi23MwndSl9ji4UZdFT0O3KBfzHu2+Zk1Upue1Qw8+kRnFUa9ih4ZrT/g86hpTyZlaaRG2Z4fmttJnFLJ6ZF22DVg8Jh9aQE4a0RxKUWS1rLtugZev8Nh7R6XYPHDuyNUn6kj5u+a4xslilin3emvq62r6m5uq+9Dt2R0kKEZGMBLnmvpf9qVa5QxKEBpfNdJ9h4m7k2O6w X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0602MB2858.eurprd06.prod.outlook.com; PTR:; CAT:NONE; SFS:(39830400003)(376002)(396003)(136003)(42606007)(346002)(366004)(26005)(83380400001)(44832011)(16526019)(316002)(6666004)(38100700002)(38350700002)(66556008)(31696002)(53546011)(66946007)(86362001)(2616005)(956004)(6916009)(31686004)(186003)(36756003)(66476007)(8676002)(3450700001)(5660300002)(52116002)(16576012)(6486002)(8936002)(478600001)(2906002)(966005)(450100002)(21314003)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?QnpPWTlWaEJnSjd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ginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5e1b3058-d5ec-4c15-b09b-08d9062d8020 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0602MB2858.eurprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2021 07:57:54.4985 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: s11DDisp4tUYso//zn5ZXvJf04bmg7pbHzCiO1fYTlbel1iu9mp368AK3gdQqQ+jlXu1ve9+SIB34+t9OGRvLPh6A42Kz7gmh5jsI5Ea6Fs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR06MB3212 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,MSGID_FROM_MTA_HEADER,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] pkg-config-wrapper breakage. 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, christian.melki@t2data.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 On 4/23/21 9:17 AM, Michael Olbrich wrote: > On Thu, Apr 22, 2021 at 09:11:30PM +0200, Christian Melki wrote: >> I'm having trouble building. >> Reverting this commit fixes my issue. >> https://git.pengutronix.de/cgit/ptxdist/commit/scripts/pkg-config-wrapper?id=ee2867017402a411c279095a0bd7669693c98352 >> >> whitelist source is not empty, first option is not help or version. >> Hence next call fails because it mixes --print-provides with --libs and >> --cflags. > > Did you change pkg-config in some way? The version in ptxdist does not fail > if --print-provides and --libs / --cflags are mixed. It just prints some > warnings. > And this commit does not change the way pkg-config is called. It just > aborts early on error, which means that the package is not found. > > Michael > Nope. But maybe I misunderstood the error... I came to the conclusion that it couldn't find libmnl because of the mixed parameters. I was probably mistaking the warning whine for actual libmnl .pc lookup failure (which was due to placement in lib64). Thanks for the clarification, made me look more closely. So, probably not an issue. :) >> In this empty test build ethtool is the first package after libmnl for >> target. PKG_CONFIG_DEBUG_SPEW enabled set in ethtool configure script. >> >> ----------------------- >> target: ethtool.prepare >> ----------------------- >> >> checking for a BSD-compatible install... >> /home/xxx/work/tracker/lib/ptxdist-2021.04.0/bin/install -c >> checking whether build environment is sane... yes >> checking for x86_64-tracker-linux-gnu-strip... >> x86_64-tracker-linux-gnu-strip >> checking for a thread-safe mkdir -p... >> /home/xxx/work/tracker/lib/ptxdist-2021.04.0/bin/mkdir -p >> checking for gawk... gawk >> checking whether make sets $(MAKE)... yes >> checking whether make supports nested variables... yes >> checking whether to enable maintainer-specific portions of Makefiles... no >> checking for x86_64-tracker-linux-gnu-gcc... x86_64-tracker-linux-gnu-gcc >> checking whether the C compiler works... yes >> checking for C compiler default output file name... a.out >> checking for suffix of executables... >> checking whether we are cross compiling... yes >> checking for suffix of object files... o >> checking whether we are using the GNU C compiler... yes >> checking whether x86_64-tracker-linux-gnu-gcc accepts -g... yes >> checking for x86_64-tracker-linux-gnu-gcc option to accept ISO C89... >> none needed >> checking whether x86_64-tracker-linux-gnu-gcc understands -c and -o >> together... yes >> checking for style of include used by make... GNU >> checking dependency style of x86_64-tracker-linux-gnu-gcc... gcc3 >> checking how to run the C preprocessor... x86_64-tracker-linux-gnu-gcc -E >> checking for grep that handles long lines and -e... /usr/bin/grep >> checking for egrep... /usr/bin/grep -E >> checking whether x86_64-tracker-linux-gnu-gcc needs -traditional... no >> checking pkg-config is at least version 0.9.0... PKG_CONFIG_DEBUG_SPEW >> variable enabling debug spew >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/lib/pkgconfig' >> from PKG_CONFIG_PATH >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/share/pkgconfig' >> from PKG_CONFIG_PATH >> Global variable definition 'pc_sysrootdir' = '/' >> Global variable definition 'pc_top_builddir' = '$(top_builddir)' >> no output option set, defaulting to --exists >> Error printing disabled by default due to use of output options >> --exists, --atleast/exact/max-version, --list-all or no output option at >> all. Value of --print-errors: 1 >> Error printing enabled >> yes >> checking whether defines big-endian types... yes >> checking for ANSI C header files... yes >> checking for socket... yes >> checking for strtol... yes >> checking for bash-completion directory... >> ${datadir}/bash-completion/completions >> checking pkg-config is at least version 0.9.0... PKG_CONFIG_DEBUG_SPEW >> variable enabling debug spew >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/lib/pkgconfig' >> from PKG_CONFIG_PATH >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/share/pkgconfig' >> from PKG_CONFIG_PATH >> Global variable definition 'pc_sysrootdir' = '/' >> Global variable definition 'pc_top_builddir' = '$(top_builddir)' >> no output option set, defaulting to --exists >> Error printing disabled by default due to use of output options >> --exists, --atleast/exact/max-version, --list-all or no output option at >> all. Value of --print-errors: 1 >> Error printing enabled >> yes >> checking for libmnl... no >> PKG_CONFIG_DEBUG_SPEW variable enabling debug spew >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/lib/pkgconfig' >> from PKG_CONFIG_PATH >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/share/pkgconfig' >> from PKG_CONFIG_PATH >> Global variable definition 'pc_sysrootdir' = '/' >> Global variable definition 'pc_top_builddir' = '$(top_builddir)' >> no output option set, defaulting to --exists >> Error printing disabled by default due to use of output options >> --exists, --atleast/exact/max-version, --list-all or no output option at >> all. Value of --print-errors: 1 >> Error printing enabled >> configure: error: Package requirements (libmnl) were not met: >> >> PKG_CONFIG_DEBUG_SPEW variable enabling debug spew >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/lib/pkgconfig' >> from PKG_CONFIG_PATH >> Adding directory >> '/home/xxx/work/tracker/bin/platform-tracker/sysroot-target/usr/share/pkgconfig' >> from PKG_CONFIG_PATH >> Global variable definition 'pc_sysrootdir' = '/' >> Global variable definition 'pc_top_builddir' = '$(top_builddir)' >> Ignoring incompatible output option "--cflags" >> Ignoring incompatible output option "--libs" >> Error printing enabled by default due to use of output options besides >> --exists, --atleast/exact/max-version or --list-all. Value of >> --silence-errors: 0 >> Error printing enabled >> Adding virtual 'pkg-config' package to list of known packages >> Looking for package 'libmnl' >> Looking for package 'libmnl-uninstalled' >> No package 'libmnl' found >> >> Consider adjusting the PKG_CONFIG_PATH environment variable if you >> installed software in a non-standard prefix. >> >> Alternatively, you may set the environment variables MNL_CFLAGS >> and MNL_LIBS to avoid the need to call pkg-config. >> See the pkg-config man page for more details. >> make: *** >> [/home/xxx/work/tracker/lib/ptxdist-2021.04.0/rules/post/ptxd_make_world_prepare.make:20: >> /home/xxx/work/tracker/bin/platform-tracker/state/ethtool.prepare] Error 1 >> >> >> _______________________________________________ >> ptxdist mailing list >> ptxdist@pengutronix.de >> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de >> _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de