Jump to content


Photo

librtmp.bb failed error


  • Please log in to reply
9 replies to this topic

#1 dimfil

  • Member
  • 27 posts

+5
Neutral

Posted 24 February 2012 - 18:30

Hello everybody.

My last successful compile for my Vu+ Uno was about a month (maybe a little more) ago. I had no errors compiling and used that image ever since.
Yesterday, I started a new compile without changing anything. I ended with an error of librtmp.bb failed.

I deleted build-vuuno folder and started over. The same error...
I deleted everything (except the sources folder) and started again. The same error...

I am completely sure that I did not change anything. I use a virtual machine on my mac to compile and this virtual machine is not used for anything else.

According to "Murphy's Law" it has to be something easy that I have missed :unsure:
Do you have any ideas?

Re: librtmp.bb failed error #2 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 24 February 2012 - 19:43

well. if you tell what exactly error you get, (maybe) it would be a little bit easier to help you? ;)
(and I've just successfully finished a vuduo build here, so everything seems to be ok /?/...)
True sarcasm doesn't need green font...

Re: librtmp.bb failed error #3 dimfil

  • Member
  • 27 posts

+5
Neutral

Posted 24 February 2012 - 20:20

Yes, you are right...
I was too impatient ...

Here is a console output. It contains a lot of errors that I am not aware of how they could have been caused...
As I said, I did not change anything...
I give you the console output instead of the error log, as I see that all of the errors appear here within the compile procedure...

dimfil@macbookpro:~/openpli$ make -f Makefile-2.1 image
cd /home/dimfil/openpli/openembedded && git pull origin master && git submodule update
remote: Counting objects: 23, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 14 (delta 12), reused 0 (delta 0)
Unpacking objects: 100% (14/14), done.
From git://openpli.git.sourceforge.net/gitroot/openpli/openembedded
* branch master -> FETCH_HEAD
Updating e5e3711..f940439
Fast-forward
conf/machine/etxx00.inc | 1 +
recipes/linux/linux-etxx00_3.2.2.bb | 2 +-
recipes/openpli/dvb-usb-drivers-meta.bb | 1 +
.../enigma2-plugin-drivers-dvb-usb-pctv452e.bb | 12 ++++++++++++
4 files changed, 15 insertions(+), 1 deletions(-)
create mode 100644 recipes/openpli/enigma2-plugin-drivers-dvb-usb-pctv452e.bb
cd /home/dimfil/openpli/build-vuuno; . ./env.source; bitbake openpli-enigma2-image
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 7400 entries from dependency cache.
Parsing recipes: 100% |#########################################| Time: 00:05:49
Parsing of 7627 .bb files complete (6770 cached, 857 parsed). 8275 targets, 357 skipped, 2 masked, 0 errors.
WARNING: No bb files matched BBFILE_PATTERN_overlay '/home/dimfil/openpli/local'

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "master"
METADATA_REVISION = "f940439"
TARGET_ARCH = "mipsel"
TARGET_OS = "linux"
MACHINE = "vuuno"
DISTRO = "openpli"
DISTRO_VERSION = "2.1"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing RunQueue Tasks
NOTE: Running task 419 of 3571 (ID: 1280, /home/dimfil/openpli/openembedded/recipes/libtool/libtool-cross_2.4.bb, do_compile)
NOTE: Running task 530 of 3571 (ID: 2154, /home/dimfil/openpli/openembedded/recipes/openssl/openssl_0.9.8m.bb, do_compile)
NOTE: package libtool-cross-2.4-r28.2: task do_compile: Started
NOTE: Running task 546 of 3571 (ID: 3288, /home/dimfil/openpli/openembedded/recipes/matroska/libebml_1.0.0.bb, do_install)
NOTE: Running task 808 of 3571 (ID: 1515, /home/dimfil/openpli/openembedded/recipes/projectx/projectx-0.90.4.00.b32.bb, do_package_write)
NOTE: package openssl-0.9.8m-r14.1: task do_compile: Started
NOTE: package libebml-1.0.0-r0: task do_install: Started
NOTE: Running task 935 of 3571 (ID: 2425, /home/dimfil/openpli/openembedded/recipes/rtmp/librtmp.bb, do_compile)
NOTE: package projectx-0.90.4.00.b32-r0: task do_package_write: Started
NOTE: package projectx-0.90.4.00.b32-r0: task do_package_write: Succeeded
NOTE: Running task 936 of 3571 (ID: 1516, /home/dimfil/openpli/openembedded/recipes/projectx/projectx-0.90.4.00.b32.bb, do_package_stage)
NOTE: Running task 981 of 3571 (ID: 918, /home/dimfil/openpli/openembedded/recipes/openpli/enigma2-plugin-skins-magic.bb, do_configure)
NOTE: Running task 986 of 3571 (ID: 903, /home/dimfil/openpli/openembedded/recipes/openpli/enigma2-plugin-skins-pli-hd.bb, do_configure)
NOTE: package projectx-0.90.4.00.b32-r0: task do_package_stage: Started
NOTE: package librtmp-2.4+git0+4e06e218e230a86608637b613499984703a342cf-r1: task do_compile: Started
NOTE: Running task 1039 of 3571 (ID: 1444, /home/dimfil/openpli/openembedded/recipes/dvd+rw-tools/dvd+rw-tools_7.1.bb, do_configure)
NOTE: package enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2: task do_configure: Started
NOTE: package enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2: task do_configure: Succeeded
NOTE: package enigma2-plugin-skins-pli-hd-0.1+git0+92af0d7f72e73011204a7f9eed3cd4c8ed6744c3-r0: task do_configure: Started
NOTE: Running task 1040 of 3571 (ID: 919, /home/dimfil/openpli/openembedded/recipes/openpli/enigma2-plugin-skins-magic.bb, do_compile)
NOTE: package enigma2-plugin-skins-pli-hd-0.1+git0+92af0d7f72e73011204a7f9eed3cd4c8ed6744c3-r0: task do_configure: Succeeded
NOTE: Running task 1041 of 3571 (ID: 904, /home/dimfil/openpli/openembedded/recipes/openpli/enigma2-plugin-skins-pli-hd.bb, do_compile)
NOTE: package dvd+rw-tools-7.1-r3: task do_configure: Started
ERROR: Logfile of failure stored in: /home/dimfil/openpli/build-vuuno/tmp/work/mipsel-oe-linux/librtmp-2.4+git0+4e06e218e230a86608637b613499984703a342cf-r1/temp/log.do_compile.2858
Log data follows:
| + do_compile
| + oe_runmake CROSS_COMPILE=mipsel-oe-linux- 'CFLAGS= -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fPIC' 'LDFLAGS=-Wl,-O1 '
| + oenote make -e MAKEFLAGS= CROSS_COMPILE=mipsel-oe-linux- 'CFLAGS= -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fPIC' 'LDFLAGS=-Wl,-O1 '
| + echo NOTE: 'make -e MAKEFLAGS= CROSS_COMPILE=mipsel-oe-linux- CFLAGS= -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fPIC LDFLAGS=-Wl,-O1 '
| NOTE: make -e MAKEFLAGS= CROSS_COMPILE=mipsel-oe-linux- CFLAGS= -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fPIC LDFLAGS=-Wl,-O1
| + make -e MAKEFLAGS= CROSS_COMPILE=mipsel-oe-linux- 'CFLAGS= -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fPIC' 'LDFLAGS=-Wl,-O1 '
| mipsel-oe-linux-gcc -march=mips32 --sysroot=/home/dimfil/openpli/build-vuuno/tmp/sysroots/mipsel-oe-linux -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fPIC -c -o rtmp.o rtmp.c
| rtmp.c:40:25: error: openssl/ssl.h: No such file or directory
| rtmp.c:41:25: error: openssl/rc4.h: No such file or directory
| rtmp.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
| In file included from rtmp.c:127:
| handshake.h:63:25: error: openssl/sha.h: No such file or directory
| handshake.h:64:26: error: openssl/hmac.h: No such file or directory
| handshake.h:67:2: error: #error Your OpenSSL is too old, need 0.9.8 or newer with SHA256
| In file included from rtmp.c:127:
| handshake.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
| In file included from handshake.h:83,
| from rtmp.c:127:
| dh.h:124:24: error: openssl/bn.h: No such file or directory
| dh.h:125:24: error: openssl/dh.h: No such file or directory
| In file included from handshake.h:83,
| from rtmp.c:127:
| dh.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
| In file included from handshake.h:83,
| from rtmp.c:127:
| dh.h:154: error: expected ')' before 'y'
| dh.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
| dh.h:237: error: expected ')' before '*' token
| dh.h:271: error: expected ')' before '*' token
| dh.h:307: error: expected ')' before '*' token
| In file included from rtmp.c:127:
| handshake.h:113: error: expected declaration specifiers or '...' before 'RC4_handle'
| handshake.h:113: error: expected declaration specifiers or '...' before 'RC4_handle'
| handshake.h: In function 'InitRC4Encryption':
| handshake.h:115: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
| handshake.h:115: error: (Each undeclared identifier is reported only once
| handshake.h:115: error: for each function it appears in.)
| handshake.h:117: error: 'HMAC_CTX' undeclared (first use in this function)
| handshake.h:117: error: expected ';' before 'ctx'
| handshake.h:119: error: 'rc4keyIn' undeclared (first use in this function)
| handshake.h:119: error: 'RC4_KEY' undeclared (first use in this function)
| handshake.h:120: error: 'rc4keyOut' undeclared (first use in this function)
| handshake.h:122: error: 'ctx' undeclared (first use in this function)
| handshake.h: In function 'HMACsha256':
| handshake.h:266: error: 'HMAC_CTX' undeclared (first use in this function)
| handshake.h:266: error: expected ';' before 'ctx'
| handshake.h:268: error: 'ctx' undeclared (first use in this function)
| handshake.h: In function 'CalculateDigest':
| handshake.h:279: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
| handshake.h: In function 'VerifyDigest':
| handshake.h:294: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
| handshake.h: In function 'HandShake':
| handshake.h:700: error: 'RC4_handle' undeclared (first use in this function)
| handshake.h:700: error: expected ';' before 'keyIn'
| handshake.h:701: error: expected ';' before 'keyOut'
| handshake.h:769: warning: assignment makes pointer from integer without a cast
| handshake.h:803: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
| In file included from rtmp.c:127:
| handshake.h:904: error: 'keyIn' undeclared (first use in this function)
| handshake.h:904: error: 'keyOut' undeclared (first use in this function)
| handshake.h:904: error: too many arguments to function 'InitRC4Encryption'
| handshake.h: In function 'SHandShake':
| handshake.h:1074: error: 'RC4_handle' undeclared (first use in this function)
| handshake.h:1074: error: expected ';' before 'keyIn'
| handshake.h:1075: error: expected ';' before 'keyOut'
| handshake.h:1157: warning: assignment makes pointer from integer without a cast
| handshake.h:1192: error: 'SHA256_DIGEST_LENGTH' undeclared (first use in this function)
| handshake.h:1274: error: 'keyIn' undeclared (first use in this function)
| handshake.h:1274: error: 'keyOut' undeclared (first use in this function)
| handshake.h:1274: error: too many arguments to function 'InitRC4Encryption'
| rtmp.c: In function 'RTMP_TLS_Init':
| rtmp.c:223: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
| rtmp.c:224: error: 'SSL_OP_ALL' undeclared (first use in this function)
| rtmp.c: In function 'RTMP_Init':
| rtmp.c:246: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
| rtmp.c: In function 'RTMP_Connect1':
| rtmp.c:867: error: 'RTMP_TLS_ctx' undeclared (first use in this function)
| make: *** [rtmp.o] Error 1
| + die 'oe_runmake failed'
| + oefatal 'oe_runmake failed'
| + echo FATAL: 'oe_runmake failed'
| FATAL: oe_runmake failed
| + exit 1
NOTE: package librtmp-2.4+git0+4e06e218e230a86608637b613499984703a342cf-r1: task do_compile: Failed
ERROR: Function 'do_compile' failed (see /home/dimfil/openpli/build-vuuno/tmp/work/mipsel-oe-linux/librtmp-2.4+git0+4e06e218e230a86608637b613499984703a342cf-r1/temp/log.do_compile.2858 for further information)
ERROR: Task 2425 (/home/dimfil/openpli/openembedded/recipes/rtmp/librtmp.bb, do_compile) failed with exit code '1'
Waiting for 5 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
2: libebml-1.0.0-r0 do_install (pid 2797)
3: projectx-0.90.4.00.b32-r0 do_package_stage (pid 2868)
4: dvd+rw-tools-7.1-r3 do_configure (pid 2999)
Waiting for 6 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
2: libebml-1.0.0-r0 do_install (pid 2797)
3: enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2 do_compile (pid 3085)
4: projectx-0.90.4.00.b32-r0 do_package_stage (pid 2868)
5: dvd+rw-tools-7.1-r3 do_configure (pid 2999)
NOTE: package enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2: task do_compile: Started
Waiting for 7 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
2: libebml-1.0.0-r0 do_install (pid 2797)
3: enigma2-plugin-skins-pli-hd-0.1+git0+92af0d7f72e73011204a7f9eed3cd4c8ed6744c3-r0 do_compile (pid 3149)
4: enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2 do_compile (pid 3085)
5: projectx-0.90.4.00.b32-r0 do_package_stage (pid 2868)
6: dvd+rw-tools-7.1-r3 do_configure (pid 2999)
NOTE: package enigma2-plugin-skins-pli-hd-0.1+git0+92af0d7f72e73011204a7f9eed3cd4c8ed6744c3-r0: task do_compile: Started
Waiting for 6 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
2: libebml-1.0.0-r0 do_install (pid 2797)
3: enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2 do_compile (pid 3085)
4: projectx-0.90.4.00.b32-r0 do_package_stage (pid 2868)
5: dvd+rw-tools-7.1-r3 do_configure (pid 2999)
NOTE: package enigma2-plugin-skins-pli-hd-0.1+git0+92af0d7f72e73011204a7f9eed3cd4c8ed6744c3-r0: task do_compile: Succeeded
Waiting for 5 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
2: libebml-1.0.0-r0 do_install (pid 2797)
3: enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2 do_compile (pid 3085)
4: projectx-0.90.4.00.b32-r0 do_package_stage (pid 2868)
NOTE: package dvd+rw-tools-7.1-r3: task do_configure: Succeeded
Waiting for 4 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
2: libebml-1.0.0-r0 do_install (pid 2797)
3: projectx-0.90.4.00.b32-r0 do_package_stage (pid 2868)
NOTE: package enigma2-plugin-skins-magic-1.0+git0+dfd5929ee754c2a51a46c357cbbc617c8f9b3168-r2: task do_compile: Succeeded
Waiting for 3 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
2: projectx-0.90.4.00.b32-r0 do_package_stage (pid 2868)
NOTE: package libebml-1.0.0-r0: task do_install: Succeeded
Waiting for 2 active tasks to finish:
0: libtool-cross-2.4-r28.2 do_compile (pid 2793)
1: openssl-0.9.8m-r14.1 do_compile (pid 2794)
NOTE: package projectx-0.90.4.00.b32-r0: task do_package_stage: Succeeded
Waiting for 1 active tasks to finish:
0: openssl-0.9.8m-r14.1 do_compile (pid 2794)
NOTE: package libtool-cross-2.4-r28.2: task do_compile: Succeeded
NOTE: package openssl-0.9.8m-r14.1: task do_compile: Succeeded
ERROR: '/home/dimfil/openpli/openembedded/recipes/rtmp/librtmp.bb' failed
make: *** [image] Error 1
dimfil@macbookpro:~/openpli$



Re: librtmp.bb failed error #4 blzr

  • PLi® Core member
  • 2,270 posts

+118
Excellent

Posted 24 February 2012 - 20:40

here you got the cause:

error: #error Your OpenSSL is too old, need 0.9.8 or newer with SHA256


True sarcasm doesn't need green font...

Re: librtmp.bb failed error #5 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 24 February 2012 - 20:53

It seems more like a 'build race'; openssl is still compiling, and hasn't been installed yet.

Re: librtmp.bb failed error #6 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 24 February 2012 - 21:00

I will check dependencies and add them.

Re: librtmp.bb failed error #7 dimfil

  • Member
  • 27 posts

+5
Neutral

Posted 24 February 2012 - 21:04

here you got the cause:

error: #error Your OpenSSL is too old, need 0.9.8 or newer with SHA256


In my sources I have openssl-0.9.8m.tar.gz
It should be OK I think...

Re: librtmp.bb failed error #8 dimfil

  • Member
  • 27 posts

+5
Neutral

Posted 24 February 2012 - 21:06

It seems more like a 'build race'; openssl is still compiling, and hasn't been installed yet.


How could I solve this?

Re: librtmp.bb failed error #9 Sjaaky

  • Senior Member
  • 7,443 posts

+41
Good

Posted 24 February 2012 - 21:13

Just build again. pieterg solved the issue already.

Re: librtmp.bb failed error #10 dimfil

  • Member
  • 27 posts

+5
Neutral

Posted 25 February 2012 - 17:59

OK. I started over compiling and I got past that issue, but another one appeared, the same as another user here.
Strange that every problem appeared without any action from my side... Just compiling as usual...

Edited by dimfil, 25 February 2012 - 18:00.



3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users