Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] 2012.08-rc3 skipping python modules during build
@ 2012-08-28 15:43 Eric Seifert
  2012-08-28 23:00 ` Arnout Vandecappelle
  2012-08-28 23:18 ` Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Eric Seifert @ 2012-08-28 15:43 UTC (permalink / raw)
  To: buildroot

Hello, I have been using the stable 2012.05 build without issue and wanted
to try the latest rc3. I have a few extra python modules I have added to
the external python modules section. It seems in the latest rc3 is not
building them or even downloading the packages even though they are
selected in the menuconfig, they are just ignored. It works in the stable
2012.05 build. When I select one of the existing external modules such as
pthon-serial, it does get built.


Thanks,
Eric Seifert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120828/edc77f03/attachment.html>

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

* [Buildroot] 2012.08-rc3 skipping python modules during build
  2012-08-28 15:43 [Buildroot] 2012.08-rc3 skipping python modules during build Eric Seifert
@ 2012-08-28 23:00 ` Arnout Vandecappelle
  2012-08-28 23:18 ` Thomas Petazzoni
  1 sibling, 0 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2012-08-28 23:00 UTC (permalink / raw)
  To: buildroot

On 08/28/12 17:43, Eric Seifert wrote:
> Hello, I have been using the stable 2012.05 build without issue and wanted to try the latest rc3. I have a few extra
> python modules I have added to the external python modules section. It seems in the latest rc3 is not building them or
> even downloading the packages even though they are selected in the menuconfig, they are just ignored. It works in the
> stable 2012.05 build. When I select one of the existing external modules such as pthon-serial, it does get built.

  The package infrastructure has changed.  If you added a package ending with
$(eval $(call GENTARGETS))
it will be ignored.  Replace it with
$(eval $(call package-generic))

  (Note: this is just guesswork based on the limited information you gave.)

  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] 2012.08-rc3 skipping python modules during build
  2012-08-28 15:43 [Buildroot] 2012.08-rc3 skipping python modules during build Eric Seifert
  2012-08-28 23:00 ` Arnout Vandecappelle
@ 2012-08-28 23:18 ` Thomas Petazzoni
  2012-08-29  0:35   ` Arnout Vandecappelle
  1 sibling, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2012-08-28 23:18 UTC (permalink / raw)
  To: buildroot

Le Tue, 28 Aug 2012 08:43:38 -0700,
Eric Seifert <eric.seifert@cyaninc.com> a ?crit :

> Hello, I have been using the stable 2012.05 build without issue and wanted
> to try the latest rc3. I have a few extra python modules I have added to
> the external python modules section. It seems in the latest rc3 is not
> building them or even downloading the packages even though they are
> selected in the menuconfig, they are just ignored. It works in the stable
> 2012.05 build. When I select one of the existing external modules such as
> pthon-serial, it does get built.

You aren't giving enough details to provide a final answer, but my
guess is that you should replace:

$(eval $(call GENTARGETS))

by

$(eval $(generic-package))

at the end of your Python external modules .mk files.

And also, you should submit those .mk files upstream if they correspond
to publicly available Python modules.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] 2012.08-rc3 skipping python modules during build
  2012-08-28 23:18 ` Thomas Petazzoni
@ 2012-08-29  0:35   ` Arnout Vandecappelle
  2012-08-29  0:37     ` [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS Arnout Vandecappelle
  2012-08-29 11:54     ` [Buildroot] 2012.08-rc3 skipping python modules during build Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2012-08-29  0:35 UTC (permalink / raw)
  To: buildroot

On 08/29/12 01:18, Thomas Petazzoni wrote:
> Le Tue, 28 Aug 2012 08:43:38 -0700,
> Eric Seifert<eric.seifert@cyaninc.com>  a ?crit :
>
>> Hello, I have been using the stable 2012.05 build without issue and wanted
>> to try the latest rc3. I have a few extra python modules I have added to
>> the external python modules section. It seems in the latest rc3 is not
>> building them or even downloading the packages even though they are
>> selected in the menuconfig, they are just ignored. It works in the stable
>> 2012.05 build. When I select one of the existing external modules such as
>> pthon-serial, it does get built.
>
> You aren't giving enough details to provide a final answer, but my
> guess is that you should replace:
>
> $(eval $(call GENTARGETS))
>
> by
>
> $(eval $(generic-package))
>
> at the end of your Python external modules .mk files.

  Maybe we should temporarily add something like

GENTARGETS = $$(error The GENTARGETS macro no longer exists; use $$$$(eval $$$$(generic-package)) or $$$$(eval 
$$$$(generic-host-package)))

  Regards,
  Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS
  2012-08-29  0:35   ` Arnout Vandecappelle
@ 2012-08-29  0:37     ` Arnout Vandecappelle
  2012-08-29  0:39       ` Arnout Vandecappelle
  2012-09-05 20:56       ` Peter Korsgaard
  2012-08-29 11:54     ` [Buildroot] 2012.08-rc3 skipping python modules during build Thomas Petazzoni
  1 sibling, 2 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2012-08-29  0:37 UTC (permalink / raw)
  To: buildroot

With the replacement of GENTARGETS by package-generic, there is a risk
that local packages don't work anymore without any indication of what
is wrong.  Therefore, generate an error message if the GENTARGETS,
AUTOTARGETS or CMAKETARGETS macro is still used.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

---
 package/Makefile.in |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/Makefile.in b/package/Makefile.in
index 6fad224..2502602 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -304,6 +304,12 @@ else
 SHARED_STATIC_LIBS_OPTS=--enable-static --enable-shared
 endif
 
+# Warn if a package uses the deprecated GENTARGETS macros.  This can be
+# removed again for BR-2012.11.
+GENTARGETS = $$(error The GENTARGETS macro no longer exists; use $$$$(eval $$$$(generic-package)) or $$$$(eval $$$$(host-generic-package)))
+AUTOTARGETS = $$(error The AUTOTARGETS macro no longer exists; use $$$$(eval $$$$(autotools-package)) or $$$$(eval $$$$(host-autotools-package)))
+CMAKETARGETS = $$(error The CMAKETARGETS macro no longer exists; use $$$$(eval $$$$(cmake-package)) or $$$$(eval $$$$(host-cmake-package)))
+
 include package/pkg-utils.mk
 include package/pkg-download.mk
 include package/pkg-autotools.mk
-- 
tg: (bc753d3..) t/gentargets-deprecated (depends on: master)

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

* [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS
  2012-08-29  0:37     ` [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS Arnout Vandecappelle
@ 2012-08-29  0:39       ` Arnout Vandecappelle
  2012-09-05 20:56       ` Peter Korsgaard
  1 sibling, 0 replies; 10+ messages in thread
From: Arnout Vandecappelle @ 2012-08-29  0:39 UTC (permalink / raw)
  To: buildroot

On 08/29/12 02:37, Arnout Vandecappelle (Essensium/Mind) wrote:
> With the replacement of GENTARGETS by package-generic, there is a risk
> that local packages don't work anymore without any indication of what
> is wrong.  Therefore, generate an error message if the GENTARGETS,
> AUTOTARGETS or CMAKETARGETS macro is still used.
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind)<arnout@mind.be>

  Note: this is for master, perhaps it can be left out of next.

  Note2: I only tested it with AUTOTARGETS.

  Regards,
  Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] 2012.08-rc3 skipping python modules during build
  2012-08-29  0:35   ` Arnout Vandecappelle
  2012-08-29  0:37     ` [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS Arnout Vandecappelle
@ 2012-08-29 11:54     ` Thomas Petazzoni
  2012-08-29 15:36       ` Eric Seifert
  1 sibling, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2012-08-29 11:54 UTC (permalink / raw)
  To: buildroot

Le Wed, 29 Aug 2012 02:35:43 +0200,
Arnout Vandecappelle <arnout@mind.be> a ?crit :

>   Maybe we should temporarily add something like
> 
> GENTARGETS = $$(error The GENTARGETS macro no longer exists; use $$$$(eval $$$$(generic-package)) or $$$$(eval 
> $$$$(generic-host-package)))

Care to send a patch for this (and the AUTOTARGETS, CMAKETARGETS as
well) ?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] 2012.08-rc3 skipping python modules during build
  2012-08-29 11:54     ` [Buildroot] 2012.08-rc3 skipping python modules during build Thomas Petazzoni
@ 2012-08-29 15:36       ` Eric Seifert
  2012-08-29 16:11         ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Seifert @ 2012-08-29 15:36 UTC (permalink / raw)
  To: buildroot

Thanks Guys, that's the issue. I appreciate everyone's responsiveness! I
will submit the python module packages when I have worked out some issues
with them.

Thanks,
Eric Seifert

On Wed, Aug 29, 2012 at 4:54 AM, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:

> Le Wed, 29 Aug 2012 02:35:43 +0200,
> Arnout Vandecappelle <arnout@mind.be> a ?crit :
>
> >   Maybe we should temporarily add something like
> >
> > GENTARGETS = $$(error The GENTARGETS macro no longer exists; use
> $$$$(eval $$$$(generic-package)) or $$$$(eval
> > $$$$(generic-host-package)))
>
> Care to send a patch for this (and the AUTOTARGETS, CMAKETARGETS as
> well) ?
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120829/809577c1/attachment.html>

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

* [Buildroot] 2012.08-rc3 skipping python modules during build
  2012-08-29 15:36       ` Eric Seifert
@ 2012-08-29 16:11         ` Thomas Petazzoni
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2012-08-29 16:11 UTC (permalink / raw)
  To: buildroot

Le Wed, 29 Aug 2012 08:36:29 -0700,
Eric Seifert <eric.seifert@cyaninc.com> a ?crit :

> Thanks Guys, that's the issue. I appreciate everyone's
> responsiveness! I will submit the python module packages when I have
> worked out some issues with them.

Excellent, thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS
  2012-08-29  0:37     ` [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS Arnout Vandecappelle
  2012-08-29  0:39       ` Arnout Vandecappelle
@ 2012-09-05 20:56       ` Peter Korsgaard
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Korsgaard @ 2012-09-05 20:56 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 Arnout> With the replacement of GENTARGETS by package-generic, there is a risk
 Arnout> that local packages don't work anymore without any indication of what
 Arnout> is wrong.  Therefore, generate an error message if the GENTARGETS,
 Arnout> AUTOTARGETS or CMAKETARGETS macro is still used.

 Arnout> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

Commmitted, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2012-09-05 20:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-28 15:43 [Buildroot] 2012.08-rc3 skipping python modules during build Eric Seifert
2012-08-28 23:00 ` Arnout Vandecappelle
2012-08-28 23:18 ` Thomas Petazzoni
2012-08-29  0:35   ` Arnout Vandecappelle
2012-08-29  0:37     ` [Buildroot] [PATCH] pkg-infra: warn about use of deprecated GENTARGETS Arnout Vandecappelle
2012-08-29  0:39       ` Arnout Vandecappelle
2012-09-05 20:56       ` Peter Korsgaard
2012-08-29 11:54     ` [Buildroot] 2012.08-rc3 skipping python modules during build Thomas Petazzoni
2012-08-29 15:36       ` Eric Seifert
2012-08-29 16:11         ` Thomas Petazzoni

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