* [U-Boot] Swig now required to build U-Boot?
@ 2017-12-08 23:28 Stephen Warren
2017-12-08 23:53 ` Simon Glass
0 siblings, 1 reply; 8+ messages in thread
From: Stephen Warren @ 2017-12-08 23:28 UTC (permalink / raw)
To: u-boot
Simon,
Is it expected that the latest u-boot-dm.git master branch now requires
swig? All the non-sandbox builds on my test systems are failing:
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
GEN ./Makefile
UPD include/generated/timestamp_autogenerated.h
CHK include/config.h
CFG u-boot.cfg
SHIPPED scripts/dtc/pylibfdt/libfdt.i
PYMOD scripts/dtc/pylibfdt/_libfdt.so
unable to execute 'swig': No such file or directory
error: command 'swig' failed with exit status 1
make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
make[3]: *** [scripts/dtc/pylibfdt] Error 2
make[2]: *** [scripts/dtc] Error 2
make[1]: *** [scripts] Error 2
make[1]: *** Waiting for unfinished jobs....
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Swig now required to build U-Boot?
2017-12-08 23:28 [U-Boot] Swig now required to build U-Boot? Stephen Warren
@ 2017-12-08 23:53 ` Simon Glass
2017-12-08 23:57 ` Stephen Warren
2017-12-09 0:16 ` Sergey Kubushyn
0 siblings, 2 replies; 8+ messages in thread
From: Simon Glass @ 2017-12-08 23:53 UTC (permalink / raw)
To: u-boot
Hi Stephen,
On 8 December 2017 at 16:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
> Simon,
>
> Is it expected that the latest u-boot-dm.git master branch now requires
> swig? All the non-sandbox builds on my test systems are failing:
>
> CHK include/config/uboot.release
> CHK include/generated/timestamp_autogenerated.h
> GEN ./Makefile
> UPD include/generated/timestamp_autogenerated.h
> CHK include/config.h
> CFG u-boot.cfg
> SHIPPED scripts/dtc/pylibfdt/libfdt.i
> PYMOD scripts/dtc/pylibfdt/_libfdt.so
> unable to execute 'swig': No such file or directory
> error: command 'swig' failed with exit status 1
> make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
> make[3]: *** [scripts/dtc/pylibfdt] Error 2
> make[2]: *** [scripts/dtc] Error 2
> make[1]: *** [scripts] Error 2
> make[1]: *** Waiting for unfinished jobs....
Yes, unless we have a very recent libfdt on the system (and even then
I'm not sure that it is picked up). We need swig to build pylibfdt
which is needed for binman.
Regards,
Simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Swig now required to build U-Boot?
2017-12-08 23:53 ` Simon Glass
@ 2017-12-08 23:57 ` Stephen Warren
2017-12-09 0:04 ` Simon Glass
2017-12-09 0:16 ` Sergey Kubushyn
1 sibling, 1 reply; 8+ messages in thread
From: Stephen Warren @ 2017-12-08 23:57 UTC (permalink / raw)
To: u-boot
On 12/08/2017 04:53 PM, Simon Glass wrote:
> Hi Stephen,
>
> On 8 December 2017 at 16:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> Simon,
>>
>> Is it expected that the latest u-boot-dm.git master branch now requires
>> swig? All the non-sandbox builds on my test systems are failing:
>>
>> CHK include/config/uboot.release
>> CHK include/generated/timestamp_autogenerated.h
>> GEN ./Makefile
>> UPD include/generated/timestamp_autogenerated.h
>> CHK include/config.h
>> CFG u-boot.cfg
>> SHIPPED scripts/dtc/pylibfdt/libfdt.i
>> PYMOD scripts/dtc/pylibfdt/_libfdt.so
>> unable to execute 'swig': No such file or directory
>> error: command 'swig' failed with exit status 1
>> make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
>> make[3]: *** [scripts/dtc/pylibfdt] Error 2
>> make[2]: *** [scripts/dtc] Error 2
>> make[1]: *** [scripts] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>
> Yes, unless we have a very recent libfdt on the system (and even then
> I'm not sure that it is picked up). We need swig to build pylibfdt
> which is needed for binman.
Which version of swig is required? (Perhaps the makefile could check for
the required minimum version and bail out early with a mesage, like it
does for dtc and gcc?)
I have 2.0.11 available in the distro package repository, but I see that
3.0.x exists on swig.org. I hope I can get away with installing the
standard OS package.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Swig now required to build U-Boot?
2017-12-08 23:57 ` Stephen Warren
@ 2017-12-09 0:04 ` Simon Glass
2017-12-09 0:25 ` Stephen Warren
0 siblings, 1 reply; 8+ messages in thread
From: Simon Glass @ 2017-12-09 0:04 UTC (permalink / raw)
To: u-boot
Hi Stephen,
On 8 December 2017 at 16:57, Stephen Warren <swarren@wwwdotorg.org> wrote:
> On 12/08/2017 04:53 PM, Simon Glass wrote:
>>
>> Hi Stephen,
>>
>> On 8 December 2017 at 16:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>>
>>> Simon,
>>>
>>> Is it expected that the latest u-boot-dm.git master branch now requires
>>> swig? All the non-sandbox builds on my test systems are failing:
>>>
>>> CHK include/config/uboot.release
>>> CHK include/generated/timestamp_autogenerated.h
>>> GEN ./Makefile
>>> UPD include/generated/timestamp_autogenerated.h
>>> CHK include/config.h
>>> CFG u-boot.cfg
>>> SHIPPED scripts/dtc/pylibfdt/libfdt.i
>>> PYMOD scripts/dtc/pylibfdt/_libfdt.so
>>> unable to execute 'swig': No such file or directory
>>> error: command 'swig' failed with exit status 1
>>> make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
>>> make[3]: *** [scripts/dtc/pylibfdt] Error 2
>>> make[2]: *** [scripts/dtc] Error 2
>>> make[1]: *** [scripts] Error 2
>>> make[1]: *** Waiting for unfinished jobs....
>>
>>
>> Yes, unless we have a very recent libfdt on the system (and even then
>> I'm not sure that it is picked up). We need swig to build pylibfdt
>> which is needed for binman.
>
>
> Which version of swig is required? (Perhaps the makefile could check for the
> required minimum version and bail out early with a mesage, like it does for
> dtc and gcc?)
>
> I have 2.0.11 available in the distro package repository, but I see that
> 3.0.x exists on swig.org. I hope I can get away with installing the standard
> OS package.
Yes v2 should be fine. I have:
$ swig -version
SWIG Version 2.0.11
Compiled with g++ [x86_64-unknown-linux-gnu]
Configured options: +pcre
Please see http://www.swig.org for reporting bugs and further information
Regards,
Simon
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Swig now required to build U-Boot?
2017-12-08 23:53 ` Simon Glass
2017-12-08 23:57 ` Stephen Warren
@ 2017-12-09 0:16 ` Sergey Kubushyn
2017-12-12 1:51 ` Tom Rini
1 sibling, 1 reply; 8+ messages in thread
From: Sergey Kubushyn @ 2017-12-09 0:16 UTC (permalink / raw)
To: u-boot
On Fri, 8 Dec 2017, Simon Glass wrote:
> Hi Stephen,
>
> On 8 December 2017 at 16:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> Simon,
>>
>> Is it expected that the latest u-boot-dm.git master branch now requires
>> swig? All the non-sandbox builds on my test systems are failing:
>>
>> CHK include/config/uboot.release
>> CHK include/generated/timestamp_autogenerated.h
>> GEN ./Makefile
>> UPD include/generated/timestamp_autogenerated.h
>> CHK include/config.h
>> CFG u-boot.cfg
>> SHIPPED scripts/dtc/pylibfdt/libfdt.i
>> PYMOD scripts/dtc/pylibfdt/_libfdt.so
>> unable to execute 'swig': No such file or directory
>> error: command 'swig' failed with exit status 1
>> make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
>> make[3]: *** [scripts/dtc/pylibfdt] Error 2
>> make[2]: *** [scripts/dtc] Error 2
>> make[1]: *** [scripts] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>
> Yes, unless we have a very recent libfdt on the system (and even then
> I'm not sure that it is picked up). We need swig to build pylibfdt
> which is needed for binman.
Err, would it be long before we need Java/Eclipse/Maven/younameit to just
build U-Boot?
---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Swig now required to build U-Boot?
2017-12-09 0:04 ` Simon Glass
@ 2017-12-09 0:25 ` Stephen Warren
0 siblings, 0 replies; 8+ messages in thread
From: Stephen Warren @ 2017-12-09 0:25 UTC (permalink / raw)
To: u-boot
On 12/08/2017 05:04 PM, Simon Glass wrote:
> Hi Stephen,
>
> On 8 December 2017 at 16:57, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> On 12/08/2017 04:53 PM, Simon Glass wrote:
>>>
>>> Hi Stephen,
>>>
>>> On 8 December 2017 at 16:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
>>>>
>>>> Simon,
>>>>
>>>> Is it expected that the latest u-boot-dm.git master branch now requires
>>>> swig? All the non-sandbox builds on my test systems are failing:
>>>>
>>>> CHK include/config/uboot.release
>>>> CHK include/generated/timestamp_autogenerated.h
>>>> GEN ./Makefile
>>>> UPD include/generated/timestamp_autogenerated.h
>>>> CHK include/config.h
>>>> CFG u-boot.cfg
>>>> SHIPPED scripts/dtc/pylibfdt/libfdt.i
>>>> PYMOD scripts/dtc/pylibfdt/_libfdt.so
>>>> unable to execute 'swig': No such file or directory
>>>> error: command 'swig' failed with exit status 1
>>>> make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
>>>> make[3]: *** [scripts/dtc/pylibfdt] Error 2
>>>> make[2]: *** [scripts/dtc] Error 2
>>>> make[1]: *** [scripts] Error 2
>>>> make[1]: *** Waiting for unfinished jobs....
>>>
>>>
>>> Yes, unless we have a very recent libfdt on the system (and even then
>>> I'm not sure that it is picked up). We need swig to build pylibfdt
>>> which is needed for binman.
>>
>>
>> Which version of swig is required? (Perhaps the makefile could check for the
>> required minimum version and bail out early with a mesage, like it does for
>> dtc and gcc?)
>>
>> I have 2.0.11 available in the distro package repository, but I see that
>> 3.0.x exists on swig.org. I hope I can get away with installing the standard
>> OS package.
>
> Yes v2 should be fine.
OK, installing the swig and python-dev packages made the builds work. I
do see test failures on Beaver and Jetson TK1 (but not other boards),
but I probably won't be able to look at those until Monday, and the
tests haven't finished yet so I can't grab the logs.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Swig now required to build U-Boot?
2017-12-09 0:16 ` Sergey Kubushyn
@ 2017-12-12 1:51 ` Tom Rini
2017-12-19 15:41 ` Simon Glass
0 siblings, 1 reply; 8+ messages in thread
From: Tom Rini @ 2017-12-12 1:51 UTC (permalink / raw)
To: u-boot
On Fri, Dec 08, 2017 at 04:16:41PM -0800, Sergey Kubushyn wrote:
> On Fri, 8 Dec 2017, Simon Glass wrote:
>
> >Hi Stephen,
> >
> >On 8 December 2017 at 16:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
> >>Simon,
> >>
> >>Is it expected that the latest u-boot-dm.git master branch now requires
> >>swig? All the non-sandbox builds on my test systems are failing:
> >>
> >> CHK include/config/uboot.release
> >> CHK include/generated/timestamp_autogenerated.h
> >> GEN ./Makefile
> >> UPD include/generated/timestamp_autogenerated.h
> >> CHK include/config.h
> >> CFG u-boot.cfg
> >> SHIPPED scripts/dtc/pylibfdt/libfdt.i
> >> PYMOD scripts/dtc/pylibfdt/_libfdt.so
> >>unable to execute 'swig': No such file or directory
> >>error: command 'swig' failed with exit status 1
> >>make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
> >>make[3]: *** [scripts/dtc/pylibfdt] Error 2
> >>make[2]: *** [scripts/dtc] Error 2
> >>make[1]: *** [scripts] Error 2
> >>make[1]: *** Waiting for unfinished jobs....
> >
> >Yes, unless we have a very recent libfdt on the system (and even then
> >I'm not sure that it is picked up). We need swig to build pylibfdt
> >which is needed for binman.
>
> Err, would it be long before we need Java/Eclipse/Maven/younameit to just
> build U-Boot?
There is a fine line to be walked here. On the flip side, do we want to
have to depend on N little external tools to put together a functional
image? We can use binman to avoid some subset of that. That said,
Simon, are we only building binman related stuff when we need binman in
the end? Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171211/055c8771/attachment.sig>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] Swig now required to build U-Boot?
2017-12-12 1:51 ` Tom Rini
@ 2017-12-19 15:41 ` Simon Glass
0 siblings, 0 replies; 8+ messages in thread
From: Simon Glass @ 2017-12-19 15:41 UTC (permalink / raw)
To: u-boot
Hi Tom,
On 11 December 2017 at 18:51, Tom Rini <trini@konsulko.com> wrote:
> On Fri, Dec 08, 2017 at 04:16:41PM -0800, Sergey Kubushyn wrote:
>> On Fri, 8 Dec 2017, Simon Glass wrote:
>>
>> >Hi Stephen,
>> >
>> >On 8 December 2017 at 16:28, Stephen Warren <swarren@wwwdotorg.org> wrote:
>> >>Simon,
>> >>
>> >>Is it expected that the latest u-boot-dm.git master branch now requires
>> >>swig? All the non-sandbox builds on my test systems are failing:
>> >>
>> >> CHK include/config/uboot.release
>> >> CHK include/generated/timestamp_autogenerated.h
>> >> GEN ./Makefile
>> >> UPD include/generated/timestamp_autogenerated.h
>> >> CHK include/config.h
>> >> CFG u-boot.cfg
>> >> SHIPPED scripts/dtc/pylibfdt/libfdt.i
>> >> PYMOD scripts/dtc/pylibfdt/_libfdt.so
>> >>unable to execute 'swig': No such file or directory
>> >>error: command 'swig' failed with exit status 1
>> >>make[4]: *** [scripts/dtc/pylibfdt/_libfdt.so] Error 1
>> >>make[3]: *** [scripts/dtc/pylibfdt] Error 2
>> >>make[2]: *** [scripts/dtc] Error 2
>> >>make[1]: *** [scripts] Error 2
>> >>make[1]: *** Waiting for unfinished jobs....
>> >
>> >Yes, unless we have a very recent libfdt on the system (and even then
>> >I'm not sure that it is picked up). We need swig to build pylibfdt
>> >which is needed for binman.
>>
>> Err, would it be long before we need Java/Eclipse/Maven/younameit to just
>> build U-Boot?
>
> There is a fine line to be walked here. On the flip side, do we want to
> have to depend on N little external tools to put together a functional
> image? We can use binman to avoid some subset of that. That said,
> Simon, are we only building binman related stuff when we need binman in
> the end? Thanks!
Sorry I missed this question but answered it on another thread. Yes we
are only building pylibfdt when it is needed. It is controlled by
CONFIG_PYLIBFDT which is enabled when binman or dtoc are needed.
Regards,
Simon
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2017-12-19 15:41 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-08 23:28 [U-Boot] Swig now required to build U-Boot? Stephen Warren
2017-12-08 23:53 ` Simon Glass
2017-12-08 23:57 ` Stephen Warren
2017-12-09 0:04 ` Simon Glass
2017-12-09 0:25 ` Stephen Warren
2017-12-09 0:16 ` Sergey Kubushyn
2017-12-12 1:51 ` Tom Rini
2017-12-19 15:41 ` Simon Glass
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.