All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/lirc-tools: use single quote with SETUPTOOLS_ENV
@ 2019-12-09 17:10 Ryan Barnett
  2019-12-09 21:40 ` Peter Korsgaard
  2019-12-22 20:31 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Ryan Barnett @ 2019-12-09 17:10 UTC (permalink / raw)
  To: buildroot

With the change to pkg-python to use TARGET_CONFIGURE_OPTS in
PKG_PYTHON_SETUPTOOLS_ENV in commit 1745fcde74, the
LIRC_TOOLS_MAKE_ENV is incorrect as it sets the SETUPTOOLS_ENV using
double quotes. This causes issues because the
PKG_PYTHON_SETUPTOOLS_ENV contain double quotes as well. This causes a
build error such as:

  /bin/sh: -I/home/naourr/work/instance-0/output-1/host/include
          CXXFLAGS_FOR_BUILD=-O2: No such file or directory

Fix this by using single quotes with PKG_PYTHON_SETUPTOOLS_ENV instead
of double quotes.

Fixes:
  http://autobuild.buildroot.net/results/f7a9c02add9bde563c7289f7c0be2cb7aefd96b8

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
---
 package/lirc-tools/lirc-tools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/lirc-tools/lirc-tools.mk b/package/lirc-tools/lirc-tools.mk
index e468f2a25d..d66f4e9925 100644
--- a/package/lirc-tools/lirc-tools.mk
+++ b/package/lirc-tools/lirc-tools.mk
@@ -47,7 +47,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_PYTHON3),y)
 LIRC_TOOLS_DEPENDENCIES += python3 host-python3-setuptools
-LIRC_TOOLS_MAKE_ENV += SETUPTOOLS_ENV="$(PKG_PYTHON_SETUPTOOLS_ENV)"
+LIRC_TOOLS_MAKE_ENV += SETUPTOOLS_ENV='$(PKG_PYTHON_SETUPTOOLS_ENV)'
 endif
 
 define LIRC_TOOLS_INSTALL_INIT_SYSV
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/lirc-tools: use single quote with SETUPTOOLS_ENV
  2019-12-09 17:10 [Buildroot] [PATCH 1/1] package/lirc-tools: use single quote with SETUPTOOLS_ENV Ryan Barnett
@ 2019-12-09 21:40 ` Peter Korsgaard
  2019-12-22 20:31 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-12-09 21:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Ryan" == Ryan Barnett <ryan.barnett@rockwellcollins.com> writes:

 > With the change to pkg-python to use TARGET_CONFIGURE_OPTS in
 > PKG_PYTHON_SETUPTOOLS_ENV in commit 1745fcde74, the
 > LIRC_TOOLS_MAKE_ENV is incorrect as it sets the SETUPTOOLS_ENV using
 > double quotes. This causes issues because the
 > PKG_PYTHON_SETUPTOOLS_ENV contain double quotes as well. This causes a
 > build error such as:

 >   /bin/sh: -I/home/naourr/work/instance-0/output-1/host/include
 >           CXXFLAGS_FOR_BUILD=-O2: No such file or directory

 > Fix this by using single quotes with PKG_PYTHON_SETUPTOOLS_ENV instead
 > of double quotes.

 > Fixes:
 >   http://autobuild.buildroot.net/results/f7a9c02add9bde563c7289f7c0be2cb7aefd96b8

 > Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/lirc-tools: use single quote with SETUPTOOLS_ENV
  2019-12-09 17:10 [Buildroot] [PATCH 1/1] package/lirc-tools: use single quote with SETUPTOOLS_ENV Ryan Barnett
  2019-12-09 21:40 ` Peter Korsgaard
@ 2019-12-22 20:31 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-12-22 20:31 UTC (permalink / raw)
  To: buildroot

>>>>> "Ryan" == Ryan Barnett <ryan.barnett@rockwellcollins.com> writes:

 > With the change to pkg-python to use TARGET_CONFIGURE_OPTS in
 > PKG_PYTHON_SETUPTOOLS_ENV in commit 1745fcde74, the
 > LIRC_TOOLS_MAKE_ENV is incorrect as it sets the SETUPTOOLS_ENV using
 > double quotes. This causes issues because the
 > PKG_PYTHON_SETUPTOOLS_ENV contain double quotes as well. This causes a
 > build error such as:

 >   /bin/sh: -I/home/naourr/work/instance-0/output-1/host/include
 >           CXXFLAGS_FOR_BUILD=-O2: No such file or directory

 > Fix this by using single quotes with PKG_PYTHON_SETUPTOOLS_ENV instead
 > of double quotes.

 > Fixes:
 >   http://autobuild.buildroot.net/results/f7a9c02add9bde563c7289f7c0be2cb7aefd96b8

 > Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>

Committed to 2019.02.x and 2019.11.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-22 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-09 17:10 [Buildroot] [PATCH 1/1] package/lirc-tools: use single quote with SETUPTOOLS_ENV Ryan Barnett
2019-12-09 21:40 ` Peter Korsgaard
2019-12-22 20:31 ` Peter Korsgaard

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.