All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/php-*: fix autoconf variables
Date: Mon, 10 Feb 2020 09:02:41 +0100	[thread overview]
Message-ID: <87pnemswda.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <87tv3ysxlj.fsf@dell.be.48ers.dk> (Peter Korsgaard's message of "Mon, 10 Feb 2020 08:36:08 +0100")

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
 >> Build of php-* packages are broken since commit
 >> 3292f3de499717360cf18d7fecd79ac096216ca8 because
 >> $(HOST_DIR)/bin/auto{conf,header} have been replaced by
 >> $(HOST_DIR)/bin/auto{conf,header} -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)"

 >> So revert this change (which should have been only refactoring) for
 >> those packages

 >> Fixes:
 >> - http://autobuild.buildroot.org/results/0d5f4a792652e302b8c00c1e0f99966cc930fbac
 >> - http://autobuild.buildroot.org/results/91a559183db212803a90cb399a1cb505b14818d9

 > Thanks, I also just noticed that.

 >> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 >> ---
 >> package/php-amqp/php-amqp.mk           | 4 ++--
 >> package/php-geoip/php-geoip.mk         | 4 ++--
 >> package/php-gnupg/php-gnupg.mk         | 4 ++--
 >> package/php-imagick/php-imagick.mk     | 4 ++--
 >> package/php-memcached/php-memcached.mk | 4 ++--
 >> package/php-ssh2/php-ssh2.mk           | 4 ++--
 >> package/php-yaml/php-yaml.mk           | 4 ++--
 >> package/php-zmq/php-zmq.mk             | 4 ++--
 >> 8 files changed, 16 insertions(+), 16 deletions(-)

 >> diff --git a/package/php-amqp/php-amqp.mk b/package/php-amqp/php-amqp.mk
 >> index 8f3ba1f9f4..c808ecdbd6 100644
 >> --- a/package/php-amqp/php-amqp.mk
 >> +++ b/package/php-amqp/php-amqp.mk
 >> @@ -16,8 +16,8 @@ PHP_AMQP_LICENSE_FILES = LICENSE
 
 >> define PHP_AMQP_PHPIZE
 >> (cd $(@D); \
 >> -		PHP_AUTOCONF=$(AUTOCONF) \
 >> -		PHP_AUTOHEADER=$(AUTOHEADER) \
 >> +		PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
 >> +		PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \

 > This means dropping the -I flags, is that correct? Alternatively, I
 > guess we could do PHP_AUTOCONF='$(AUTOCONF)'

That unfortunately doesn't work as phpize does a -x "$PHP_AUTOCONF"
check:

(cd /home/peko/source/buildroot/output-php/build/php-geoip-1.1.1; PHP_AUTOCONF='/home/peko/source/buildroot/output-php/host/bin/autoconf -I "/home/peko/source/EADER='/home/peko/source/buildroot/output-php/host/bin/autoheader -I "/home/peko/source/buildroot/output-php/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usrsroot/usr/bin/phpize)
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

So I guess there is not much we can do (besides adding a bunch of
wrapper scripts to hide those arguments) and I've committed your patch,
thanks.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2020-02-10  8:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-09 22:45 [Buildroot] [PATCH 1/1] package/php-*: fix autoconf variables Fabrice Fontaine
2020-02-10  7:36 ` Peter Korsgaard
2020-02-10  8:02   ` Peter Korsgaard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnemswda.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.