All of lore.kernel.org
 help / color / mirror / Atom feed
* Quick hack for compiling old and outdated YOCTO Jethro for Renesas iwg20m
@ 2018-03-19 16:38 Zoran Stojsavljevic
  2018-03-19 20:40 ` Josef Holzmayr
  2018-03-19 20:47 ` Tom Rini
  0 siblings, 2 replies; 4+ messages in thread
From: Zoran Stojsavljevic @ 2018-03-19 16:38 UTC (permalink / raw)
  To: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 3936 bytes --]

Hello,

I have to do some job on the Renesas iwg20m platform. From this site:
https://elinux.org/RZ-G/Boards/Yocto_2.0

I found some explanation how to do YOCTO build, which I a bit modified
(conf/local.conf).

It does download all the packages, but it fails here (in *RED*):

[vuser@localhost conf]$ bitbake core-image-minimal
WARNING: Host distribution "Fedora-27" has not been validated with this
version of the build system; you may possibly experience unexpected
failures. It is recommended that you use a tested distribution.
Loading cache: 100%
|############################################################################################|
ETA:  00:00:00
Loaded 2160 entries from dependency cache.
WARNING: No recipes available for:

/home/vuser/projects2/iwg20m/build/../meta-renesas/meta-rzg1/recipes-qt/qt5/qtmultimedia_git.bbappend

/home/vuser/projects2/iwg20m/build/../meta-renesas/meta-rzg1/recipes-qt/qt5/qtbase_git.bbappend

/home/vuser/projects2/iwg20m/build/../meta-renesas/meta-rzg1/recipes-qt/qt5/qtwayland_git.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.28.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Fedora-27"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "skrzg1m"
DISTRO            = "poky"
DISTRO_VERSION    = "2.0.1"
TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa15"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "tmp:3b223f75eec1738fbc913858e8e11c8305e3edcb"
meta-oe           = "tmp:dc5634968b270dde250690609f0015f881db81f2"
meta-yocto-bsp    = "tmp:3b223f75eec1738fbc913858e8e11c8305e3edcb"
meta-rzg1         = "yocto_2.0:a6c3c79635bd5ee309fc3c62d36b1707086d9136"
meta-linaro-toolchain = "tmp:12993e6bc8658ee37d303d8d59007f8dd9ab2b30"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at
/home/vuser/projects2/iwg20m/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.30440)
ERROR: Logfile of failure stored in:
/home/vuser/projects2/iwg20m/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.30440
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4






*| : && /usr/bin/mkdir -p doc && {
PATH='/home/vuser/projects2/iwg20m/build/tmp/work/x86_64-linux/automake-native/1.15-r0/build/t/wrap:'$PATH
&& export PATH; } && /usr/bin/perl
/home/vuser/projects2/iwg20m/build/tmp/work/x86_64-linux/automake-native/1.15-r0/automake-1.15/doc/help2man
--output=doc/automake-1.15.1 automake-1.15| help2man: can't get `--help'
info from automake-1.15| Try `--no-discard-stderr' if option outputs to
stderr| make: *** [Makefile:3687: doc/automake-1.15.1] Error 255| ERROR:
oe_runmake failed| ERROR: Function failed: do_compile (log file is located
at
/home/vuser/projects2/iwg20m/build/tmp/work/x86_64-linux/automake-native/1.15-r0/temp/log.do_compile.30440)ERROR:
Task 283
(virtual:native:/home/vuser/projects2/iwg20m/build/../poky/meta/recipes-devtools/automake/automake_1.15.bb
<http://automake_1.15.bb>, do_compile) failed with exit code '1'*
NOTE: Tasks Summary: Attempted 699 tasks of which 697 didn't need to be
rerun and 1 failed.
No currently running tasks (527 of 2182)

Summary: 1 task failed:

virtual:native:/home/vuser/projects2/iwg20m/build/../poky/meta/recipes-devtools/automake/
automake_1.15.bb, do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
[vuser@localhost conf]$
_______

My question is: does anybody know quick hack how to fix this error? Seems,
that it fails while generating doc files... How I can disable doc
generation for this, maybe some generic way for any package?

Thank you,
Zoran
_______

[-- Attachment #2: Type: text/html, Size: 4599 bytes --]

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

* Re: Quick hack for compiling old and outdated YOCTO Jethro for Renesas iwg20m
  2018-03-19 16:38 Quick hack for compiling old and outdated YOCTO Jethro for Renesas iwg20m Zoran Stojsavljevic
@ 2018-03-19 20:40 ` Josef Holzmayr
  2018-03-19 20:47 ` Tom Rini
  1 sibling, 0 replies; 4+ messages in thread
From: Josef Holzmayr @ 2018-03-19 20:40 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: Yocto Project

Howdy!
On Mon, Mar 19, 2018 at 05:38:47PM +0100, Zoran Stojsavljevic wrote:
> [vuser@localhost conf]$ bitbake core-image-minimal
> WARNING: Host distribution "Fedora-27" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.
> 
> My question is: does anybody know quick hack how to fix this error?

The first, simplest and most obvious would be to try and build with a
supported distro. Just fire up some generic debian/ubuntu docker and see
what happens.

Greetz
-- 
———————————————
Josef Holzmayr
Software Developer Embedded Systems

Tel: +49 8444 9204-48
Fax: +49 8444 9204-50

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
———————————————
Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
Ust-IdNr: DE 128592548 

_____________________________________________________________
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548



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

* Re: Quick hack for compiling old and outdated YOCTO Jethro for Renesas iwg20m
  2018-03-19 16:38 Quick hack for compiling old and outdated YOCTO Jethro for Renesas iwg20m Zoran Stojsavljevic
  2018-03-19 20:40 ` Josef Holzmayr
@ 2018-03-19 20:47 ` Tom Rini
  2018-03-23 17:03   ` Zoran Stojsavljevic
  1 sibling, 1 reply; 4+ messages in thread
From: Tom Rini @ 2018-03-19 20:47 UTC (permalink / raw)
  To: Zoran Stojsavljevic; +Cc: Yocto Project

[-- Attachment #1: Type: text/plain, Size: 851 bytes --]

On Mon, Mar 19, 2018 at 05:38:47PM +0100, Zoran Stojsavljevic wrote:
> Hello,
> 
> I have to do some job on the Renesas iwg20m platform. From this site:
> https://elinux.org/RZ-G/Boards/Yocto_2.0
> 
> I found some explanation how to do YOCTO build, which I a bit modified
> (conf/local.conf).
> 
> It does download all the packages, but it fails here (in *RED*):
> 
> [vuser@localhost conf]$ bitbake core-image-minimal
> WARNING: Host distribution "Fedora-27" has not been validated with this
> version of the build system; you may possibly experience unexpected
> failures. It is recommended that you use a tested distribution.

This is your biggest warning and source of problems.  If you have to
work with an old version of Yocto, you need to setup a
VM/chroot/whatever of a supported at that time host distribution.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: Quick hack for compiling old and outdated YOCTO Jethro for Renesas iwg20m
  2018-03-19 20:47 ` Tom Rini
@ 2018-03-23 17:03   ` Zoran Stojsavljevic
  0 siblings, 0 replies; 4+ messages in thread
From: Zoran Stojsavljevic @ 2018-03-23 17:03 UTC (permalink / raw)
  To: Tom Rini; +Cc: Yocto Project

Hello Tom,

> This is your biggest warning and source of problems. If you have
> to work with an old version of Yocto, you need to setup a
> VM/chroot/whatever of a supported at that time host distribution.

Jozef was right, and you were iron right, just straight to the middle.
So I decided to listen to your advice, and to build aside VBox VM
environment. I have chosen Fedora 23 server, built the VBox VM with
Fedora 23, and the initial issue disappeared.

But another issue appeared. It is somehow described very well here,
and many people at the same time had this problem:
https://lists.yoctoproject.org/pipermail/yocto/2015-February/023624.html

I then continued to search, and found the following:
https://stackoverflow.com/questions/37475222/ncurses-6-0-compilation-error-error-expected-before-int

I did this: export CPPFLAGS="-P", but this did not help. Then I
advanced gcc to F25 package (6.4.1), it did not help either. Advancing
to Fedora 26 (7.3) revamped/resurfaced the original problem, so I did
regress gcc back to Fedora 24 version (6.3.1).

What could be the problem here?

Thank you,
Zoran
_______

On Mon, Mar 19, 2018 at 9:47 PM, Tom Rini <trini@konsulko.com> wrote:
> On Mon, Mar 19, 2018 at 05:38:47PM +0100, Zoran Stojsavljevic wrote:
>> Hello,
>>
>> I have to do some job on the Renesas iwg20m platform. From this site:
>> https://elinux.org/RZ-G/Boards/Yocto_2.0
>>
>> I found some explanation how to do YOCTO build, which I a bit modified
>> (conf/local.conf).
>>
>> It does download all the packages, but it fails here (in *RED*):
>>
>> [vuser@localhost conf]$ bitbake core-image-minimal
>> WARNING: Host distribution "Fedora-27" has not been validated with this
>> version of the build system; you may possibly experience unexpected
>> failures. It is recommended that you use a tested distribution.
>
> This is your biggest warning and source of problems.  If you have to
> work with an old version of Yocto, you need to setup a
> VM/chroot/whatever of a supported at that time host distribution.
>
> --
> Tom


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

end of thread, other threads:[~2018-03-23 17:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-19 16:38 Quick hack for compiling old and outdated YOCTO Jethro for Renesas iwg20m Zoran Stojsavljevic
2018-03-19 20:40 ` Josef Holzmayr
2018-03-19 20:47 ` Tom Rini
2018-03-23 17:03   ` Zoran Stojsavljevic

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.