Jump to content


Photo

[openpli 2.0 for vu+duo]: problems in makefile

openembedded server

  • Please log in to reply
41 replies to this topic

#1 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 2 May 2012 - 09:11

Hi,
I'm new here. I tried to build a (hopefully proven) openpli 2.0 for my VU+ Duo.
Here are some of my probs and the intermediate solution. Maybe the maintainer of the Makefile /step by step guide will update his/her description.

1. Prerequisites: it should be mentioned to use at least git 1.7.xx or higher, otherwise option git clone -b will fail. ok that was easy but costed me ~2 hours.

...
git clone -b 1.10 git://git.openembedded.org/bitbake																										  
error: unknown switch `b'																																 	
...

2. after some warnings I got the "makefile 2.0"
starting the makefile 2.0 leads to some broken links:
...
http://project-valerie.googlecode.com/svn/trunk/pyvalerie/src:  (Not a valid URL)
...

I changed the URL to
http://project-valerie.googlecode.com/svn/trunk/pc/src]

3. and now I'm stuck due to some missing (openembedded) sources. I heard some rumours that Dream has quit E2 sources support...
Does anybody have working E2 sources/repository and can fix the openPLI 2.0 Makefile? (or post the new repositories here)

Resolving invisible-island.net... 216.194.248.64												
Connecting to invisible-island.net|216.194.248.64|:21... connected.							
Logging in as anonymous ... NOTE: fetch ftp://invisible-island.net/ncurses/5.7/ncurses-5.7-20110108-patch.sh.bz2
Logged in!																									
==> SYST ... done.	==> PWD ... done.
==> TYPE I ... done.  ==> CWD /ncurses/5.7 ...
No such directory `ncurses/5.7'.

--2012-04-27 13:06:30--  http://mirrors.openembedded.org//ncurses-5.7-20110108-patch.sh.bz2
Resolving mirrors.openembedded.org... 82.197.159.157
Connecting to mirrors.openembedded.org|82.197.159.157|:80... NOTE: fetch http://mirrors.openembedded.org//ncurses-5.7-20110108-patch.sh.bz2
failed: No route to host.
--2012-04-27 13:06:34--  http://sources.openembedded.org//ncurses-5.7-20110108-patch.sh.bz2
Resolving sources.openembedded.org... 140.211.169.152
Connecting to sources.openembedded.org|140.211.169.152|:80... NOTE: fetch http://sources.openembedded.org//ncurses-5.7-20110108-patch.sh.bz2
connected.
HTTP request sent, awaiting response... 404 Not Found
2012-04-27 13:06:34 ERROR 404: Not Found.

ERROR: TaskFailed event exception, aborting
...

thanks!

Edited by popeye2, 2 May 2012 - 09:16.


Re: [openpli 2.0 for vu+duo]: problems in makefile #2 MiLo

  • PLi® Core member
  • 14,052 posts

+298
Excellent

Posted 2 May 2012 - 11:41

2.0 is outdated. Use 2.1.
Real musicians never die - they just decompose

Re: [openpli 2.0 for vu+duo]: problems in makefile #3 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 2 May 2012 - 12:30

aha
would be a good idea to update the help file for newbies, either.
2.1 is still reported as unstable, as it is now obviously with outdated source urls ...
which branch is stable and known to work?

Re: [openpli 2.0 for vu+duo]: problems in makefile #4 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 2 May 2012 - 13:09

I think you're using an outdated howto.

This should be uptodate: http://openpli.org/wiki/Development

Re: [openpli 2.0 for vu+duo]: problems in makefile #5 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 2 May 2012 - 14:39

Hi Pieterg,
thanks for yout link.
Nevertheless I have the feeling I'm circling around (I was referenced to your forum from hdfreaks forum)

Troubleshooting

task Fetch failed: Unable to fetch URL

If this is your first build, this error will occur a few times. I will try and provide an archive with all the sources that are not found at their specified location.


Who wrote the wiki and where can I find missing URLs?
That is my essential question.
And I used the wiki how to build an ubuntu environment http://users.telenet...npliubuntu.html
which is also referenced in your link.
Do you have contact to the maintainers of the wiki to update the howtos?

Re: [openpli 2.0 for vu+duo]: problems in makefile #6 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 2 May 2012 - 14:53

our wiki? I believe anyone can fix the info, if it is wrong

Re: [openpli 2.0 for vu+duo]: problems in makefile #7 hemispherical1

  • Senior Member
  • 1,596 posts

+49
Good

Posted 2 May 2012 - 17:33

Missing sources can probably be found thru http://openpli.org/f...s-acceleration/


--
hemi

Re: [openpli 2.0 for vu+duo]: problems in makefile #8 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 3 May 2012 - 06:50

Hi hemispherical1,
thanks for your link. I will take it in consideration when I'm familiar with the build processs. Currently I'm still lacking of knowledge oft he overall process. So probably I cannot fix build scripts which try to get svn or git repositories and fix it with http requests from another site.
Is there an official (mirror) svn repository of the openembedded E2/E sources besides the Dream websites?
so far it seems that Makefile 2.0 tries to get the OE sources from 3 repositories, and all are down when trying to fetch ncurses-patch ...
I will try to start Makefile 2.1, but probably I will get similar results.
A pure mirror would be great (without touching makefiles) just by by modifying my local /etc/hosts file . Just an idea.
ok, still pathes need to be adopted.
hm
OK, frickling around, maybe no other solution now possible.
Any fixing of the build scripts would be appreciated, not only for me, but for other fellows, too. :-D

Re: [openpli 2.0 for vu+duo]: problems in makefile #9 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 3 May 2012 - 13:19

Hi,
added the missing ncurses 5.7 patches manually.
Bitbake stops now with this error:
... svn --non-interactive info  https://openpli.svn.sourceforge.net/svnroot/openpli/trunk/external/tuxterm-enigma2-plugin/ failed with signal 1, output:																			  
svn: PROPFIND of '/svnroot/openpli/!svn/vcc/default': Could not read status line: Connection reset by peer (https://openpli.svn.sourceforge.net)						  
 while evaluating:																																						
${PN}-${EXTENDPE}${PV}-${PR}
while I can see the https link when opening in the browser. What's wrong?
Thanks for taking time to answer my dull questions

Re: [openpli 2.0 for vu+duo]: problems in makefile #10 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 3 May 2012 - 13:33

very strange.
I did copy/pasted the offending svn commands to a shell, and they were running fine. Now also the bitbake continues.
ts ...

Re: [openpli 2.0 for vu+duo]: problems in makefile #11 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 7 May 2012 - 15:06

Hi,
in meantuime I solved the upper problems by finding the missing packages.
But now I'm stuck at the following line
 NOTE: Task failed: Fetch failed: Unable to fetch URL git://git.debian-maintainers.org/git/daniel/libdvdread.git;protocol=git;branch=debian;tag=8d2745c6e61cbcf70112d5bb0d15685090e20af1 from any source.																																			 
I already fetched an archive in .tar.gz format,
but it is not accepted. How do I edit recipe (md5sum?) or change from git checkout to an archive?
thanks

Re: [openpli 2.0 for vu+duo]: problems in makefile #12 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 10 May 2012 - 07:53

Hi,
I took me some time to fetch all missing packages+ patches and adopt the recipes from git sources to tarballs. Most time consuming was to get knowledge of the environment vastiables, so that the unpacking and compiling is done in the same dir. The above libdvdread e.g. was pretty simple to fetch, but the tarballs were packed in a sub directory libdvdread, which was (obviously) another path than in the git source. Ok, now I understand some very basic principles of bitbake :) .

The bitbake compiled over night, and now I see it was stuck at compiling Enigma2.
Very strange, as it should be an unmodified openpli makefile.
Does anybody have an idea what is missing (sources or tools) with this error fingerprint?
In file included from <command-line>:0:																																  
| ./../enigma2_config.h:110:1: warning: this is the location of the previous definition																					
| dvb/pmt.cpp: In member function 'void eDVBServicePMTHandler::AITready(int)':																							
| dvb/pmt.cpp:255: error: 'InterActionTransportConstIterator' was not declared in this scope																			  
| dvb/pmt.cpp:255: error: expected ';' before 'interactionit'																											  
| dvb/pmt.cpp:255: error: 'interactionit' was not declared in this scope																								  
| dvb/pmt.cpp:255: error: 'class TransportProtocolDescriptor' has no member named 'getInteractionTransports'															  
| dvb/pmt.cpp:264: error: 'GRAPHICS_CONSTRAINTS_DESCRIPTOR' was not declared in this scope																				
| dvb/pmt.cpp:266: error: 'SIMPLE_APPLICATION_LOCATION_DESCRIPTOR' was not declared in this scope																		  
| dvb/pmt.cpp:268: error: 'SimpleApplicationLocationDescriptor' was not declared in this scope																			
| dvb/pmt.cpp:268: error: 'applicationlocation' was not declared in this scope																							
| dvb/pmt.cpp:268: error: expected primary-expression before ')' token																									
| dvb/pmt.cpp:272: error: 'APPLICATION_USAGE_DESCRIPTOR' was not declared in this scope																					
| dvb/pmt.cpp:274: error: 'SIMPLE_APPLICATION_BOUNDARY_DESCRIPTOR' was not declared in this scope																		  
|   CXX	dvb/rotor_calc.o																																				
| make[4]: *** [dvb/pmt.o] Error 1																																		
| make[4]: *** Waiting for unfinished jobs....																															
| dvb/epgcache.cpp: In member function 'void eEPGCache::channel_data::readMHWData2(const __u8*)':																		  
| dvb/epgcache.cpp:4110: warning: array subscript is below array bounds
| ../lib/dvb/idvb.h: In member function 'PyObject* eEPGCache::lookupEvent(ePyObject, ePyObject)':
| ../lib/dvb/idvb.h:187: warning: dereferencing pointer 'dvb_ref' does break strict-aliasing rules
| ../lib/dvb/idvb.h:190: warning: dereferencing pointer 'dvb_ref' does break strict-aliasing rules
| ../lib/dvb/idvb.h:199: warning: dereferencing pointer 'dvb_ref' does break strict-aliasing rules
| ../lib/dvb/idvb.h:202: warning: dereferencing pointer 'dvb_ref' does break strict-aliasing rules
| dvb/epgcache.cpp:2423: note: initialized from here
| make[4]: Leaving directory `/home/whw/src/pli/build-vuduo/tmp/work/vuduo-oe-linux/enigma2-2.7+git0+3184684d076eaa9307da6fdf7cb6433452004981-r26/git/lib'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory `/home/whw/src/pli/build-vuduo/tmp/work/vuduo-oe-linux/enigma2-2.7+git0+3184684d076eaa9307da6fdf7cb6433452004981-r26/git/lib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/home/whw/src/pli/build-vuduo/tmp/work/vuduo-oe-linux/enigma2-2.7+git0+3184684d076eaa9307da6fdf7cb6433452004981-r26/git/lib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/whw/src/pli/build-vuduo/tmp/work/vuduo-oe-linux/enigma2-2.7+git0+3184684d076eaa9307da6fdf7cb6433452004981-r26/git'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package enigma2-2.7+git0+3184684d076eaa9307da6fdf7cb6433452004981-r26: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /home/whw/src/pli/openembedded/recipes/enigma2/enigma2.bb do_compile failed
ERROR: Task 179 (/home/whw/src/pli/openembedded/recipes/enigma2/enigma2.bb, do_compile) failed with exit code 1
Waiting for 1 active tasks to finish:
1: gdbm-native-1.8.3-r5 do_configure (pid 15914)
ERROR: '/home/whw/src/pli/openembedded/recipes/enigma2/enigma2.bb' failed
NOTE: package gdbm-native-1.8.3-r5: task do_configure: Succeeded
ERROR: '/home/whw/src/pli/openembedded/recipes/enigma2/enigma2.bb' failed
ERROR: '/home/whw/src/pli/openembedded/recipes/enigma2/enigma2.bb' failed


Preceding were a lot of warnings regarding different PACKAGE_XXX redefinitions
sunny regards,
popeye2

Edited by popeye2, 10 May 2012 - 07:56.


Re: [openpli 2.0 for vu+duo]: problems in makefile #13 mrk72

  • Member
  • 39 posts

+10
Neutral

Posted 10 May 2012 - 18:37

can You list the broken packages?

I don't like taking old packages from a central repository.
When a developer deletes a certain package, than it is because of vulnerabilities.
Or a hosting has changed.

In both cases, It's better to fix them...

Re: [openpli 2.0 for vu+duo]: problems in makefile #14 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 11 May 2012 - 09:06

Hi mrk72,
it is enigma2.bb, which fails to compile.
PV = "2.7+git${SRCPV}"
PKGV = "2.7+git${GITPKGV}"
PR = "r26"

SRC_URI = "git://openpli.git.sourceforge.net/gitroot/openpli/enigma2;protocol=git"
# SRC_URI = "git://${HOME}/pli/enigma2;protocol=file"

I think enigma version is 2.7.2 r26
I'm wondering why code should be removed from a branch/tag , not from the main repository. This makes takes within a code repository useless.
As a beginner,
I 'd like to build a well-known image first. (openpli Makefile 2.0). Not sure if Makefile 2.1 will run "better" when it is still work- in- progress.

All missing source packages I googled and installed so far, and bitbake proceeds up to enigma2.bb ....
So I don't have a clue what is missing or if the chosen branch /tag for openpli did not compile ever.

Re: [openpli 2.0 for vu+duo]: problems in makefile #15 littlesat

  • PLi® Core member
  • 56,620 posts

+695
Excellent

Posted 11 May 2012 - 09:31

Makefile2.0 is obsolete.... Use 2.1!!!

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [openpli 2.0 for vu+duo]: problems in makefile #16 popeye2

  • Member
  • 43 posts

+1
Neutral

Posted 11 May 2012 - 12:05

Makefile2.0 is obsolete.... Use 2.1!!!

I will do as soon I get my first project compiled..

I just found , that Openpli 2.0 enigma2.bb will fetch latest enigma2 sources from git, not a branch (in my case from 7.5.12- "3184684d076eaa9307da6fdf7cb6433452004981" )

Does anybody remember correct enigma2 branch/tag/version for openpli2.0 build ?

How is the bitbake command to fetch a certain version from git?

thanks
Popeye ...learning by doing :)

Edited by popeye2, 11 May 2012 - 12:06.


Re: [openpli 2.0 for vu+duo]: problems in makefile #17 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 11 May 2012 - 12:24

please, for the last time, use 2.1.
2.0 is no longer supported, and in fact it will be broken because e2 progressed since then (and got new dependencies, not available in 2.0)

Re: [openpli 2.0 for vu+duo]: problems in makefile #18 littlesat

  • PLi® Core member
  • 56,620 posts

+695
Excellent

Posted 11 May 2012 - 12:24

I will do as soon I get my first project compiled..

Then as soon will take forever....

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: [openpli 2.0 for vu+duo]: problems in makefile #19 MiLo

  • PLi® Core member
  • 14,052 posts

+298
Excellent

Posted 11 May 2012 - 18:16

Maybe we should just delete the 2.0 branch. Or rename it to "obsolete-please-dont-use".
Real musicians never die - they just decompose

Re: [openpli 2.0 for vu+duo]: problems in makefile #20 mrk72

  • Member
  • 39 posts

+10
Neutral

Posted 11 May 2012 - 20:26

All missing source packages I googled and installed so far


That are the files of my interest!


@Pli Developer
Maybe just a "headlight" on this page http://openpli.org/development/


4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users