public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH v2] buildhcroot/build.sh: Disable deps checking
@ 2018-08-15  8:14 Alexander Smirnov
  2018-08-16 12:26 ` Maxim Yu. Osipov
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Smirnov @ 2018-08-15  8:14 UTC (permalink / raw)
  To: isar-users; +Cc: Alexander Smirnov

This change is needed in order to avoid failures of dpkg-buildpackage
when a package provides python-pip:native or python-mako:native as
build-depends. ":native" would make the builddeps check fail while that
is needed to install (via mk-build-deps) the host-side version of
these packages in a cross-build case.

Initially it was proposed to use '--no-check-builddeps' parameter, but
seems dpkg-buildpackage from Jessie doesn't support it. I've found,
that '-d' means the same and it's supported in all the suites.


Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta/recipes-devtools/buildchroot/files/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
index c2967d2..e2dabab 100644
--- a/meta/recipes-devtools/buildchroot/files/build.sh
+++ b/meta/recipes-devtools/buildchroot/files/build.sh
@@ -61,4 +61,4 @@ for i in configure aclocal.m4 Makefile.am Makefile.in; do
 done
 
 # Build the package
-dpkg-buildpackage -a$target_arch
+dpkg-buildpackage -a$target_arch -d
-- 
2.11.0


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

* Re: [PATCH v2] buildhcroot/build.sh: Disable deps checking
  2018-08-15  8:14 [PATCH v2] buildhcroot/build.sh: Disable deps checking Alexander Smirnov
@ 2018-08-16 12:26 ` Maxim Yu. Osipov
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Yu. Osipov @ 2018-08-16 12:26 UTC (permalink / raw)
  To: Alexander Smirnov, isar-users

On 08/15/2018 11:14 AM, Alexander Smirnov wrote:
> This change is needed in order to avoid failures of dpkg-buildpackage
> when a package provides python-pip:native or python-mako:native as
> build-depends. ":native" would make the builddeps check fail while that
> is needed to install (via mk-build-deps) the host-side version of
> these packages in a cross-build case.
> 
> Initially it was proposed to use '--no-check-builddeps' parameter, but
> seems dpkg-buildpackage from Jessie doesn't support it. I've found,
> that '-d' means the same and it's supported in all the suites.

Applied to the 'next',

Thanks,
Maxim.

> 
> Signed-off-by: Alexander Smirnov <asmirnov@ilbers.de>
> Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>   meta/recipes-devtools/buildchroot/files/build.sh | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/buildchroot/files/build.sh b/meta/recipes-devtools/buildchroot/files/build.sh
> index c2967d2..e2dabab 100644
> --- a/meta/recipes-devtools/buildchroot/files/build.sh
> +++ b/meta/recipes-devtools/buildchroot/files/build.sh
> @@ -61,4 +61,4 @@ for i in configure aclocal.m4 Makefile.am Makefile.in; do
>   done
>   
>   # Build the package
> -dpkg-buildpackage -a$target_arch
> +dpkg-buildpackage -a$target_arch -d
> 


-- 
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

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

end of thread, other threads:[~2018-08-16 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15  8:14 [PATCH v2] buildhcroot/build.sh: Disable deps checking Alexander Smirnov
2018-08-16 12:26 ` Maxim Yu. Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox