Jump to content


Photo

Building openpl2.1 from DM8000 on x64 ubuntu


  • Please log in to reply
68 replies to this topic

Re: Building openpl2.1 from DM8000 on x64 ubuntu #41 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 6 December 2013 - 07:20

Gave it another shot on my native system, but cannot really determine what is wrong under the hood - googling does not really help me - therefore noone here who experienced similar error below, would be great if that can get sorted :

./stdio.h:143:1: error: 'gets' undeclared here (not in a function)

 

 

Also unfortunately in my squeeze environement I cannot finalise build due to :

NOTE: package libdvbsi++-1.0+git0+bf0c2bb7b326b93713629dbf74f63a0a54ffe59d-r0: task Fetch failed: Unable to fetch URL git://git.open
dreambox.org/git/obi/libdvbsi++.git;protocol=git from any source.: Failed
ERROR: Function 'Fetch failed: Unable to fetch URL git://git.opendreambox.org/git/obi/libdvbsi++.git;protocol=git from any source.' 
failed
ERROR: Task 1347 (/home/openpli/openembedded/recipes/tuxbox/libdvbsi++.bb, do_fetch) failed with exit code '1'
ERROR: '/home/openpli/openembedded/recipes/tuxbox/libdvbsi++.bb' failed


Re: Building openpl2.1 from DM8000 on x64 ubuntu #42 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 6 December 2013 - 09:04

The second one should be easy to fix, if you can find the source somewhere else.

 

The first one is something you keep running into. It looks like you have a version of gcc/glibc-dev that obsoleted the gets macro.

 

Can you type gcc -v?

artemis erik:/var/log $ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --disable-build-with-cxx --disable-build-poststage1-with-cxx --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) 

Also what glibc-dev do you have, I am using 2.15.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Building openpl2.1 from DM8000 on x64 ubuntu #43 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 6 December 2013 - 17:37

gcc on my linux mint 16 distro reports 4.8.1, so you suggest to downgrade to G++4.7 ?

Think I followed instrucitons on this link once already, but kept both g++4.8 and g++4.7 ...

MAybe following parameters can be set explicitly in MakeFile-2.1 : " CC=gcc-4.7 CXX=g++-4.7 "

 

~ # gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.8.1-10ubuntu9' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9) 

 

Also libc version is 2.17 :

./lib/x86_64-linux-gnu/libc-2.17.so
./lib/i386-linux-gnu/libc-2.17.so
./lib32/libc-2.17.so

 

My VM reports still same error so need to find out in which directory  libdvbsi++.git needs to be stored



Re: Building openpl2.1 from DM8000 on x64 ubuntu #44 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 6 December 2013 - 17:52

I think you should google for "obsoleteness of gets" and how to workaround it.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Building openpl2.1 from DM8000 on x64 ubuntu #45 betacentauri

  • PLi® Core member
  • 7,185 posts

+323
Excellent

Posted 6 December 2013 - 17:56

Regarding libdvbsi++: Try to unzip attached file in your sources directory.

Attached Files


Xtrend ET-9200, ET-8000, ET-10000, OpenPliPC on Ubuntu 12.04

Re: Building openpl2.1 from DM8000 on x64 ubuntu #46 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 7 December 2013 - 07:27

betacentauri and Erik - thanks for your input!

 

Did a fresh install from scratch except for sources and took an hour to get a config failure.

Once again close but still no image built ...

 

<snip snip>

| Configuring rtl8192cu.
| Configuring enigma2-plugin-systemplugins-satfinder.
| Configuring enigma2-plugin-systemplugins-videotune.
| Configuring enigma2-plugin-extensions-audiosync.
| Collected errors:
|  * opkg_install_cmd: Cannot install package enigma2-plugin-extensions-ppanel.
|  * opkg_install_cmd: Cannot install package enigma2-plugin-extensions-autobackup.
|  * opkg_install_cmd: Cannot install package enigma2-plugin-extensions-openwebif.
NOTE: package openpli-enigma2-image-1.0-r0: task do_rootfs: Failed
ERROR: Function 'do_rootfs' failed (see /home/openpli/build-dm8000/tmp/work/dm8000-oe-linux/openpli-enigma2-image-1.0-r0/temp/log.do_rootfs.18414 for further information)
ERROR: Task 12 (/home/openpli/openembedded/recipes/images/openpli-enigma2-image.bb, do_rootfs) failed with exit code '1'
ERROR: '/home/openpli/openembedded/recipes/images/openpli-enigma2-image.bb' failed

 

I attched output.txt which holds the log.do as well buildprocess ...

Attached Files



Re: Building openpl2.1 from DM8000 on x64 ubuntu #47 ranico

  • Member
  • 25 posts

0
Neutral

Posted 5 January 2014 - 10:17

Dolphs, did you finally succeeded to build the pli image ?

 

Currently, I am also trying to build the openpli 2.1 for a dm8000, and encountered almost the identically issues.

Using oracle virtual box, debian 

 

I also came with  exactly the same error as previous post.

I have found on the forum:

go to openpli/openembedded

git submodule init

git pull

git submodule update

 

(see http://openpli.org/f...rie#entry227727)

 

But also not able to make an image: I do have still the following error:

Waiting for 3 active tasks to finish:
0: python-cheetah-2.4.4-r2 do_compile (pid 20177)
1: python-cheetah-native-2.4.4-r2 do_package_stage (pid 20243)
2: enigma2-2.7+git0+071395d760cb2e78399fc9f2a52c4218c1e92723-r36 do_install (pid 20182)
Waiting for 2 active tasks to finish:
0: python-cheetah-2.4.4-r2 do_compile (pid 20177)
1: enigma2-2.7+git0+071395d760cb2e78399fc9f2a52c4218c1e92723-r36 do_install (pid 20182)
NOTE: package python-cheetah-native-2.4.4-r2: task do_package_stage: Succeeded
Waiting for 1 active tasks to finish:
0: enigma2-2.7+git0+071395d760cb2e78399fc9f2a52c4218c1e92723-r36 do_install (pid 20182)
NOTE: package python-cheetah-2.4.4-r2: task do_compile: Succeeded
NOTE: package enigma2-2.7+git0+071395d760cb2e78399fc9f2a52c4218c1e92723-r36: task do_install: Succeeded
ERROR: '/home/rgr/openpli/openembedded/recipes/openpli/enigma2-pliplugins.bb' failed
make: *** [image] Error 1

 

 

 

Attached Files



Re: Building openpl2.1 from DM8000 on x64 ubuntu #48 dolphs

  • Senior Member
  • 987 posts

+8
Neutral

Posted 7 January 2014 - 10:24

nope stopped this exercise as I am currently focussing on other projects - meanwhile have a workaround



Re: Building openpl2.1 from DM8000 on x64 ubuntu #49 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 7 January 2014 - 19:43

Oh BTW it must be something with your building environment. I just finished setting up a complete new building environment, from scratch, on Fedora 20, and it just works.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Building openpl2.1 from DM8000 on x64 ubuntu #50 raleo

  • Member
  • 1 posts

0
Neutral

Posted 14 January 2014 - 23:35

Thank you very much to all.
Following this thread:

NOTE: Tasks Summary: Attempted 3589 tasks Of which 3494 did not need to be rerun and 0 failed

:D



Re: Building openpl2.1 from DM8000 on x64 ubuntu #51 Ford

  • Member
  • 10 posts

0
Neutral

Posted 15 January 2014 - 00:09

Can I use this git to build DM7025 image ?


North@Polar

Re: Building openpl2.1 from DM8000 on x64 ubuntu #52 Ford

  • Member
  • 10 posts

0
Neutral

Posted 16 January 2014 - 16:57

NOTE: package util-linux-ng-native-2.18-r36.0: task Fetch failed: Unable to fetch URL http://www.mirrorser...z2;name=archive from any source.: Failed
ERROR: Function 'Fetch failed: Unable to fetch URL http://www.mirrorser...z2;name=archive from any source.' failed
ERROR: Task 1068 (virtual:native:/home/polar/openplicods/openembedded/recipes/util-linux-ng/util-linux-ng_2.18.bb, do_fetch) failed with exit code '1'
ERROR: '/home/polar/openplicods/openembedded/recipes/base-passwd/base-passwd_3.5.24.bb' failed
ERROR: '/home/polar/openplicods/openembedded/recipes/linux/linux-dm7025.bb' failed
ERROR: '/home/polar/openplicods/openembedded/recipes/libpng/libpng_1.5.10.bb' failed
ERROR: '/home/polar/openplicods/openembedded/recipes/util-linux-ng/util-linux-ng_2.18.bb' failed
ERROR: 'virtual:native:/home/polar/openplicods/openembedded/recipes/util-linux-ng/util-linux-ng_2.18.bb' failed


North@Polar

Re: Building openpl2.1 from DM8000 on x64 ubuntu #53 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 16 January 2014 - 16:59

You will see this all of the time. Use google and download it manually.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Building openpl2.1 from DM8000 on x64 ubuntu #54 Ford

  • Member
  • 10 posts

0
Neutral

Posted 16 January 2014 - 17:01

I hat use google but some how some files are not right ones


North@Polar

Re: Building openpl2.1 from DM8000 on x64 ubuntu #55 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 16 January 2014 - 17:02

You must also generate the checksum (see the other files in de sources directory).


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Building openpl2.1 from DM8000 on x64 ubuntu #56 Ford

  • Member
  • 10 posts

0
Neutral

Posted 16 January 2014 - 17:04

Thenks I will test that one


North@Polar

Re: Building openpl2.1 from DM8000 on x64 ubuntu #57 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 16 January 2014 - 17:06

You must also generate the checksum (see the other files in de sources directory).

 

actually, just create the '.done' stamp. Checksums are handled by bitbake.



Re: Building openpl2.1 from DM8000 on x64 ubuntu #58 Ford

  • Member
  • 10 posts

0
Neutral

Posted 16 January 2014 - 17:19

how is it made ? dust like

openssl md5 base-passwd_3.5.24.tar.gz in terminal ?


North@Polar

Re: Building openpl2.1 from DM8000 on x64 ubuntu #59 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+542
Excellent

Posted 16 January 2014 - 17:36

Try this one.

Attached Files


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Building openpl2.1 from DM8000 on x64 ubuntu #60 Ford

  • Member
  • 10 posts

0
Neutral

Posted 16 January 2014 - 17:49

I will thenks


North@Polar


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users