Jump to content


Photo

build error bitratecalc


  • Please log in to reply
13 replies to this topic

#1 scruff1963

  • Member
  • 44 posts

0
Neutral

Posted 4 March 2012 - 22:10

Just tried to build a vuduo image and got this error (log attached)
It's the same if I try a dm800se build as well, was wondering if there have been any changed made recently ?

Attached Files

  • Attached File  vu.txt   119.03KB   12 downloads


Re: build error bitratecalc #2 scruff1963

  • Member
  • 44 posts

0
Neutral

Posted 5 March 2012 - 21:51

Am I the only 1 getting this problem ?

Re: build error bitratecalc #3 rossi2000

  • Senior Member
  • 45 posts

+5
Neutral

Posted 6 March 2012 - 08:40

i am recieving this error too
on both vu and dreambox builds

ive not tried to clean the recipe and rebuild yet, have you tried this?

Re: build error bitratecalc #4 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 6 March 2012 - 11:00

May be related to my restructuring of the E2 build, maybe the headers aren't all properly installed. Probably I missed some path suffixes or "nobase_" prefixes for them. I didn't quite realize those headers were being installed in the staging area too.

Anyway, I'll look into it.
Real musicians never die - they just decompose

Re: build error bitratecalc #5 rossi2000

  • Senior Member
  • 45 posts

+5
Neutral

Posted 6 March 2012 - 13:13

thanks milo

Re: build error bitratecalc #6 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 6 March 2012 - 15:40

May be related to my restructuring of the E2 build, maybe the headers aren't all properly installed. Probably I missed some path suffixes or "nobase_" prefixes for them. I didn't quite realize those headers were being installed in the staging area too.

Anyway, I'll look into it.


Yes i think so.
The issue affect not only birateviewer but others plugins too like vlc merlinplayer and partnerbox.
The cause seems to be missed headers of enigma2 in staging area.
Lokking for example at sysroots/mipsel-oe-linux/usr/include/enigma2/lib you will see that the "base" folder with all the header files is missed.

Re: build error bitratecalc #7 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 6 March 2012 - 15:52

Confirmed. Adding the "base" folder all the plugins are successfully compiled.

Re: build error bitratecalc #8 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 6 March 2012 - 16:16

Save me some time, what did you change exactly? (i suspect you added "/base" to the install path of the headers target in Makefile.inc)
Real musicians never die - they just decompose

Re: build error bitratecalc #9 andyblac

  • Senior Member
  • 465 posts

+18
Neutral

Posted 6 March 2012 - 16:35

milo this is the build error i told you about and i showed you my commit to fix it

Edited by andyblac, 6 March 2012 - 16:36.


Re: build error bitratecalc #10 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 6 March 2012 - 16:54

Save me some time, what did you change exactly? (i suspect you added "/base" to the install path of the headers target in Makefile.inc)


Milo i think it is only a typo in the enigma2/lib/base/Makefile.inc

you have substitute
baseincludedir = $(pkgincludedir)/lib

with
baseincludedir = $(pkgincludedir)/lib/base

Otherwise the header files of base folder are installed in sysroots/mipsel-oe-linux/usr/include/enigma2/lib instead of sysroots/mipsel-oe-linux/usr/include/enigma2/lib/base

Re: build error bitratecalc #11 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 6 March 2012 - 17:32

Of course to replicate the error you need to setup a new build env or simply manually delete the folder build-xxxx/tmp/sysroots/mipsel-oe-linux/usr/include/enigma2
This because the clean of enigma2 package don't clean the staging area too.
So, delete the folder, clean enigma2 and aenigma2-plugins packages and rebuild and you will have the compilation fail because the base file headers are in the wrong folder.
The fix to /lib/base/Makefile.inc above solve all the issue.

Re: build error bitratecalc #12 MiLo

  • PLi® Core member
  • 14,045 posts

+298
Excellent

Posted 6 March 2012 - 18:34

Oh, it was just the one. I thought all makefile.inc files had the same problem, but I just overlooked this one.
Real musicians never die - they just decompose

Re: build error bitratecalc #13 bacicciosat

  • Senior Member
  • 540 posts

+100
Excellent

Posted 6 March 2012 - 18:37

Check the folder lib/dvb too
the subfolder lowlevel seems to be missed in staging headers
maybe forgot Makefile.am for dir ?

Re: build error bitratecalc #14 scruff1963

  • Member
  • 44 posts

0
Neutral

Posted 6 March 2012 - 18:58

Thanks it seems to be working now.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users