From patchwork Wed Dec 12 21:34:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1012314 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.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.b="Dm6i1MKM"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43FVTX1W1Kz9s7T for ; Thu, 13 Dec 2018 08:35:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9D65D87E8E; Wed, 12 Dec 2018 21:35:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OB6qQBujy96Z; Wed, 12 Dec 2018 21:35:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 8585087E88; Wed, 12 Dec 2018 21:35:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E8D621BF593 for ; Wed, 12 Dec 2018 21:35:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E62CE22888 for ; Wed, 12 Dec 2018 21:35:01 +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 rSvv7ClaGAdp for ; Wed, 12 Dec 2018 21:35:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by silver.osuosl.org (Postfix) with ESMTPS id 3D73C22091 for ; Wed, 12 Dec 2018 21:35:01 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id a18so337874wmj.1 for ; Wed, 12 Dec 2018 13:35:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=x30YQa/cQ84/lbzhOMkC/LGsvN8VoPn5DEsU94oQgo8=; b=Dm6i1MKMiezNT70Y4MqedsddbU98D72DvuFa0tNQcZ4jqC5rY8S3paieCOuHlA3Cuy yPuNrZBH8C4Na7JDg+OqaQTLcP3LUFLCvFXmuG/5PvcKDc+33xZ4z+QDLh4ZqVXb8azb PLSoayaTCo0NrBkEdr5e7ryAyaMWqE+Og9zAGl7Iei3/AKYO4nNls5b0qlaBJa3+evfL VvUCB66nhEwl91YJdnHCx9h+FMQWoJZaQb6alHQ8tWxSn5CB5KG7A+wEi/cKbHFYJxVm 8UP/pH5lEG+rwoVsm9W2IQFfycruMD93GzJCRe19QUFQAroKI6wIPX5x7ws1lTmtpY22 AV6A== 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; bh=x30YQa/cQ84/lbzhOMkC/LGsvN8VoPn5DEsU94oQgo8=; b=N93OgR275CB/diCyHeea11CPbH82HFOC6CIP9z2d0VZYG0Sg+ji+F1b4RfuG4/Oywm 2lQfjAp6KR1ZCydSm5zJJSDaPL2i8O4WC4hfFRfq7nqRBcwt8DacO7YFqtxYQ0ZJXmQ8 Y9l9UKAfqyFXnxYR6iG/G9H50Iip29NnhuqRGkDsXhSt33j5qdysyGy8AUP45UX+y+Or Pld4Bcaof4cEf7jPTGqQpm8H8hbO3f1TQHIiaccFfK2Y2qrT5RPILBL4JGWYVRt03US4 vCaCZBm+H6orDzqI16n3Y2MUCLE5cYAt9KE54Gj/lNyjpTpOqdGCuOTomzUSwDLY0kS/ /qQA== X-Gm-Message-State: AA+aEWYC7iDi/Tmte2Z7lTF6uyyWy1i17RlbSmyJqbgnnKDlsxrKagCl C9JAKiDVvn9QBF/2Ftn2HuxR11vw X-Google-Smtp-Source: AFSGD/VlhKJwr3rvkbH+Isd0YA7Ujoyf7ixoC8JpU9qBjAXMvlAH9ynBHDh3dyL1h5Gay/8qLdBgLQ== X-Received: by 2002:a1c:cc2:: with SMTP id 185mr8176357wmm.1.1544650499462; Wed, 12 Dec 2018 13:34:59 -0800 (PST) Received: from localhost.localdomain ([80.12.33.82]) by smtp.gmail.com with ESMTPSA id 62sm18776812wra.30.2018.12.12.13.34.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Dec 2018 13:34:58 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 12 Dec 2018 22:34:44 +0100 Message-Id: <20181212213444.4501-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] libv4l: fix udev build with pkgconf 1.5.3 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 MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Since the bump to 1.5.3, pkgconf prepends the sysroot to all absolute paths found in the .pc file. This is correct when the paths refer to something in STAGING_DIR (e.g. libdir, includedir), but not when it refers to something used for the target. libv4l uses the udevdir variable from libudev.pc to decide where to install things. Since DESTDIR is prepended to the install destination, this will end up in the wrong location. Until a better solution is found in pkgconf, pass the udevdir to use explicitly instead of relying on libudev.pc. Fixes: - http://autobuild.buildroot.org/results/597cd814225c2af9b896a1f25f98cdff33fd810a Signed-off-by: Fabrice Fontaine --- package/libv4l/libv4l.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index 6b5b7bd2ee..6df69c19f0 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -45,6 +45,7 @@ LIBV4L_DEPENDENCIES += libgl endif ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBV4L_CONF_OPTS += --with-udevdir=/usr/lib/udev LIBV4L_DEPENDENCIES += udev endif