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

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

  • Member
  • 43 posts

+1
Neutral

Posted 12 May 2012 - 09:13

Hi,
I understood. You will not have time and leisure to support obsolete images, I fully agree.

I don't know if open source allows revocation of old sources. At least some commercial projects may rely on availability of these releases (and made their changes themselves public available)- what will happen if if they just linked the foreign sources , e.g. from openpli, and it would not be possible to build their (modified) image any longer?.
For (afaik) non commercial projects like openpli it is pretty easy, to revoke their code (and link their sources to third party code repositories). For open souce STB community it isn't a pleasure. And commercial projects will not diclose their GPLed modifications, when the original sources are not available any longer, as well. So it will run into a vicious circle.
So please, keep the code. Marking it obsolete is a good idea, however.

@mrk72 what package do you miss?

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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 12 May 2012 - 10:21

The code is always kept, we're using git as you found out.

So if you fix all git revs, instead of using AUTOREV, you can build an exact replica of an old image.
But you'd have to gather some knowledge about openembedded and bitbake in order to be able to do that.

Re: [openpli 2.0 for vu+duo]: problems in makefile #23 WanWizard

  • PLi® Core member
  • 69,121 posts

+1,763
Excellent

Posted 12 May 2012 - 10:57

And commercial projects will not diclose their GPLed modifications...

All projects, commercial or otherwise, HAVE to disclose their modifications, it is required by the GPL license.

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


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

  • Member
  • 43 posts

+1
Neutral

Posted 14 May 2012 - 13:25

Hi,
is there a chance to find a suitable git hash version, when the recipe (obviously) is using latest version (for unstable release) instead of hashed version (for stable release I try to rebake)?. There are tons of openpli2 binaries out there, but do they have a log of used sources packages and revisions?
thanks

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

  • PLi® Core member
  • 14,052 posts

+298
Excellent

Posted 14 May 2012 - 13:56

Here's an online log. Just click to the version you want, and fill in its revision hash as SRCREV in the include file that sets all the revisions.
http://openpli.git.s...igma2;a=summary

But that's just the technical answer to your question. It would help a lot if you'd just explain what you are trying to accomplish, and what you want to use.
Real musicians never die - they just decompose

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

  • Member
  • 43 posts

+1
Neutral

Posted 14 May 2012 - 19:55

Hi,
in a first step I want to reproduce an image from sources for vuplus duo, along with understanding what the tools are doing. For the future I have not decided yet to build my own modifications, or just testing new ideas. My last sw development experience is ~10 years ago, so not to become rusty, I'm here :)

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

  • Member
  • 43 posts

+1
Neutral

Posted 14 May 2012 - 20:07

To precise my question, given e.g. a stable binary published openpli release, how can I find all associated source revisions? Is there a release note ("nightly build from May xx, 2012, using latest sources or tagged sources from xx.yy.zzz" ...).
I only know CVS, which allows main development tree and release (tagged) branches. I don't see it up to now in GIT. But maybe I do not have enough knowledge about GIT yet ...

Edited by popeye2, 14 May 2012 - 20:11.


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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 14 May 2012 - 20:11

git commit hashes are contained in the package versions, so if you have the image (or feed) you can reconstruct it.

If you don't, you have to check the commitlogs, and find the latest commit for a certain date.
Only for the limited number of AUTOREV packages of course.

But if you ask me, not worth the trouble.

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

  • Member
  • 43 posts

+1
Neutral

Posted 14 May 2012 - 20:21

>But if you ask me, not worth the trouble.

Yes, we had the discussion above and probably you're right. It is my way of learning by doing by fighting it out. So I did neither consider broken source repos, nor auorev build instructions.Always thought of tagged (and fixed) versions to build an image, tested etc. (as it might be in commercial Linux builds like Suse or Debian) ...I learned now it is a constant work in progress...

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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 14 May 2012 - 21:05

yes, for an automatic daily build, you really want to use AUTOREV.

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

  • PLi® Core member
  • 14,052 posts

+298
Excellent

Posted 15 May 2012 - 08:47

in a first step I want to reproduce an image from sources for vuplus duo, along with understanding what the tools are doing.


Just start with the "master" branch and build from that. At least you can be pretty sure it will actually deliver something. With the obsolete 2.0 branch you'll spend many a day hunting for source packages that have been removed from their sites and similar problems that won't help you learn anything...
Real musicians never die - they just decompose

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

  • Member
  • 43 posts

+1
Neutral

Posted 15 May 2012 - 08:49

Hi,
I tried to find out all autorev recipes with this command
popeye2@naegele-pc:~/src/pli/openembedded/recipes> find .|xargs grep "inherit gitpkgv"
./libdreamdvd/libdreamdvd.bb:inherit gitpkgv
./aio-grab/aio-grab.bb:inherit gitpkgv
./dreambox/gst-plugin-dvbmediasink.bb:inherit gitpkgv
./enigma2/enigma2.bb:#inherit gitpkgv
./enigma2/enigma2-skins.bb:inherit gitpkgv
./enigma2/enigma2-plugins.bb:inherit gitpkgv
./tuxbox/libtuxtxt.bb:inherit gitpkgv
./tuxbox/tuxtxt-enigma2.bb:inherit gitpkgv
./openpli/hotplug-e2-helper.bb:inherit gitpkgv
./openpli/enigma2-plugin-skins-magic.bb:inherit gitpkgv
./openpli/usbtunerhelper.bb:inherit gitpkgv
./openpli/enigma2-plugin-extensions-xmltvimport.bb:inherit gitpkgv
./openpli/enigma2-pliplugins.bb:inherit gitpkgv
./ambx/python-pyambx.bb:inherit gitpkgv
./ambx/enigma2-plugin-extensions-ambx.bb:inherit gitpkgv
./ambx/ambx.bb:inherit gitpkgv
[1]+  Terminated			  find . | xargs grep inherit
Given this, a lot of recipes need to be fixed to a special git hash instead of "latest"
arghhh...

ok, try 2.1 Makefile

Edited by popeye2, 15 May 2012 - 08:50.


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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 15 May 2012 - 09:14

well, only a hand full of the 1000+ packages, wouldn't call that a lot ;)
BTW don't forget the svn packages.
Just check the conf/distro/include/unstable-openpli-versions.inc

Edited by pieterg, 15 May 2012 - 09:15.


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

  • Member
  • 43 posts

+1
Neutral

Posted 15 May 2012 - 11:41

;) a few packages cause a lot of hand work ...

BTW. where i can find latest makefile 2.1? I see there are 8 pages in this forum pinned at the top, and some attached Makefile mods. So where to start?

Edited by popeye2, 15 May 2012 - 11:41.


Re: [openpli 2.0 for vu+duo]: problems in makefile #35 blzr

  • PLi® Core member
  • 2,269 posts

+118
Excellent

Posted 15 May 2012 - 12:13

here you go:
http://openpli.svn.s...le-2.1?view=log
True sarcasm doesn't need green font...

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

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 15 May 2012 - 12:17

I see there are 8 pages in this forum pinned at the top, and some attached Makefile mods. So where to start?


http://openpli.org/f...post__p__274469

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

  • Member
  • 43 posts

+1
Neutral

Posted 15 May 2012 - 13:07

Thanks.
I'm missing make clean ...
Installing Makefile in same dir as Makefile 2.0, nothing happens, but a few echos. And there is no make clean in Makefile-2.1.
Something like
:clean
rm -f ./bitbake; rm -f build*; rm-f ./cache; rm -f ./openembedded
would help ...

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

  • PLi® Core member
  • 14,052 posts

+298
Excellent

Posted 15 May 2012 - 18:32

It isn't a true Makefile anyway, it's just a bunch of shell scripts. The actual building is done by Bitbake, not make.
Real musicians never die - they just decompose

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

  • Member
  • 43 posts

+1
Neutral

Posted 15 May 2012 - 19:56

sure.
But the recipes weren't updated when upgrading from Makefile 2.0 to 2.1.
So just a piece of user friendlyness to add ...

Edited by popeye2, 15 May 2012 - 19:59.


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

  • Member
  • 43 posts

+1
Neutral

Posted 16 May 2012 - 08:08

Hi, Makefile 2.1 worked for me during the night,
but it failed building the image.
What packet do I miss? Is there a Linux zip-command available?

| /home/popeye2/src/pli/build-vuduo/tmp/work/vuduo-oe-linux/openpli-enigma2-image-1.0-r0/temp/run.do_rootfs.11294: line 111: zip: command not found
thanks


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users