From patchwork Fri Aug 21 11:26:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: universe II X-Patchwork-Id: 509471 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 94F41140772 for ; Fri, 21 Aug 2015 21:26:52 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id AD4FE31DAF; Fri, 21 Aug 2015 11:26:51 +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 mZkiyo9jp2V3; Fri, 21 Aug 2015 11:26:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E44142F40B; Fri, 21 Aug 2015 11:26:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 758BB1C1619 for ; Fri, 21 Aug 2015 11:26:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 71B9491B1F for ; Fri, 21 Aug 2015 11:26:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TyB+cYMdKDPz for ; Fri, 21 Aug 2015 11:26:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by whitealder.osuosl.org (Postfix) with ESMTPS id 688FD91B1B for ; Fri, 21 Aug 2015 11:26:47 +0000 (UTC) Received: from [192.168.1.101] ([2.166.166.103]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MIzGn-1ZUfLW3dQv-002Ujo for ; Fri, 21 Aug 2015 13:26:44 +0200 To: buildroot@busybox.net From: universe II Message-ID: <55D70AF3.3050604@gmx.de> Date: Fri, 21 Aug 2015 13:26:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 X-Provags-ID: V03:K0:BukEz+91OA9Iwjg+Ir6JMlBUJuVpAof4SJBeWmHGq0F0c9LqxWy qKzcqgpLrgy7shXYUTv/xKLbrKGEm8b0un54nF6KqbCAUNgXstVgQ/5avyydMdPFcCJ01gI V7vvc4lNO8nyK8j6okSyx+V3sd+oxXyIsCaZDzAlbME0jSD3hZvfv4D37skoWYRmvI1ngZR jQXESZ74ehKjCV+f/b/+g== X-UI-Out-Filterresults: notjunk:1; V01:K0:cZSDoGv4RKQ=:6zMFJPKpMMi4QDnKtTcUvJ HHxQ0kfjHqmbuWmSwfOiV/WufvLA18ISMxLP1CpNxzifuklSnLuLeFJDrRzdqf7QU1snTgH9g P3S/AFGYX7VsL9vw00VebAus0bc+P++vjzjSO0LUQNGR1i264G8LPx5zxE7e/+vHax+HWgJbO NDggXCxpg+m4QoCpUK8gHx2LqLk5T4NqoCL/XkCZnwDH/HO9uc9lWcD/2MSx1kH7RO2rGnxoB QfRGFls0l+lDAsAyZUX5UdaH90WgJ49E3HIMea/nnosS2COhu/G11QOx9tzLG5DCGuQnj2P7D 2UIgXSVWfzYskOrz5ZQ6nUMLDT+2J3/77EmrqUZvlxbeAJpQ7DZhNbPqx4Sr4PCP7hAMFZT7c DLuh0NYpwJmBkw3zze8X6fWWwSBKqsHEL+L5zwg1ypPtm8/ZT3EQ1O2H5iuU85VuRyWNYo8yH e1NfXehuokxIKbl3VrPp1LTwj/j1sBaRbKyVl9IToGnk+9oHReHW0T0pGJthhCQZLmhhbtLDS amlDHK1NKgrgAyd9qomfaL3mC3vMkNIyZx6Oke5s1XgvFfpoZyq3keQRX7dWWmNbfGGheEz5c sxIYP5nun9J+WiVUBuKsiHj+tdp/xCFV7lxXXlnIqbra3zHt6xfKqSxo7IGJ85DBmXO3iWH8o 6/+zjjqwC6DpnLh/vtCMbCYKNzlci2E1LW0eXsmhdHH7mKNm8VQxuFg6t0sv6hynyAAPxSdoW E6XkyeGQjU0V7fPA65tanO28jDU5ZI4ltrkLTQ== Subject: [Buildroot] Add missing config to RPM target package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Dear all, building the RPM package for my remote target I found a misconfiguration of the .mk file. If the regular expression package pcre is enabled in buildroot, rpm will use it. If not, nothing will be used and regular expression are not available, making rpm unusable. But rpm has the ability to use an internal pcre implementation if the external lib is not available. This needs to be correctly activated before building and then rpm works fine on the target. See the attached patch for more details. Regards, Andreas diff -Naur a/package/rpm/rpm.mk b/package/rpm/rpm.mk --- a/package/rpm/rpm.mk 2015-08-07 11:38:37.559148663 +0200 +++ b/package/rpm/rpm.mk 2015-08-21 11:13:31.679042077 +0200 @@ -34,7 +34,7 @@ RPM_DEPENDENCIES += pcre RPM_CONF_OPTS += --with-pcre=external else -RPM_CONF_OPTS += --with-pcre=none +RPM_CONF_OPTS += --with-pcre=internal endif ifeq ($(BR2_PACKAGE_FILE),y)