Skip to contentSkip to conversation

gst-rtsp not building

DISCUSSION Wayne Tams 3 participants 9 messages Jan 17, 2013

lore
Share & tools
lore

Wayne Tams

author
#0 lore raw

Hi, hopefully I am sending this to the right list?

I am in the middle of moving a build system based on a snapshot of an old version of OE classic to Yocto. I have noticed that some recipes that I am needing are missing or I just have not come by them yet.

One such recipe is gst-rtsp_0.10.8.bb, I have written a new recipe for gst-rtsp based on version from OE classic, which I was having some problems with then I found a version here http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/meta/recipes-multimedia/gstreamer?h=ross/rtsp which was not that dissimilar and helped progress the build. Now the gst-rtsp_0.10.8.bb build, based on that commit in poky-contrib, gives the following error which I am unsure on how to fix.

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_install (see /home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/temp/log.do_install.4459 for further information)
ERROR: Logfile of failure stored in: /home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/temp/log.do_install.4459 Log data follows:

| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_install
| NOTE: make -j 7 DESTDIR=/home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/image install
| make: *** No rule to make target `install'.  Stop.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_install (see /home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/temp/log.do_install.4459 for further information)

ERROR: Task 2 (/home/wayne/source/y/yoctoProject/meta-simpleaudio/recipes-multimedia/gstreamer/gst-rtsp_0.10.8.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1354 tasks of which 1348 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Could anyone suggest what could be causing this error and what I could do to fix it.

All the best

Wayne

Signature · 1 line
Please note that the contents of this email and any attachments are privileged and/or confidential. If delivery to the intended recipient is not possible for any reason, please email us to that effect and delete this email from your system.
#1 lore raw
Quoted 6 lines · Wayne Tams

DESTDIR=/home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/image install
| make: *** No rule to make target `install'. Stop.

Could anyone suggest what could be causing this error and what I could do to fix it.

To be honest that's probably why that recipe is in a branch (my branch) and not in meta-oe...

Do the do_configure and do_build logs actually look like they worked? Sometimes "install" will fail because configure failed without an error, so build does nothing, and then install actually errors out.

Ross

author
#2 lore raw
Quoted 7 lines · Ross
Quoted 6 lines · Wayne Tams

DESTDIR=/home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/image install
| make: *** No rule to make target `install'. Stop.

Could anyone suggest what could be causing this error and what I could do to fix it.

Quoted 8 lines

To be honest that's probably why that recipe is in a branch (my branch) and not in meta-oe...

Do the do_configure and do_build logs actually look like they worked? Sometimes "install" will fail because configure failed without an error, so build does nothing, and then install actually errors out.

Ross

I did have a recipe but it just wasn't quite right, your branch helped me there.

You know what the configure was failing, fixed that. Which leads me on to,

ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was '/home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/gst-rtsp'
ERROR: Function failed: do_qa_configure

perhaps linked to gst-common.inc no longer being available?

Wayne

author
#3 lore raw
In reply to Burton, Ross
Quoted 7 lines · Ross
Quoted 6 lines · Wayne Tams

DESTDIR=/home/wayne/source/y/yoctoProject/raspberryPiBuild/tmp/work/armv6-vfp-poky-linux-gnueabi/gst-rtsp/0.10.8-r0/image install
| make: *** No rule to make target `install'. Stop.

Could anyone suggest what could be causing this error and what I could do to fix it.

Quoted 8 lines

To be honest that's probably why that recipe is in a branch (my branch) and not in meta-oe...

Do the do_configure and do_build logs actually look like they worked? Sometimes "install" will fail because configure failed without an error, so build does nothing, and then install actually errors out.

Ross

Some extra debug information here from insane.bbclass.

NOTE: Checking autotools environment for common misconfiguration
cc1: warning: include location "/usr/include/python2.6" is unsafe for cross-compilation [-Wpoison-system-directories]
ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

#4 lore raw
Quoted 8 lines · Wayne Tams

Some extra debug information here from insane.bbclass.

NOTE: Checking autotools environment for common misconfiguration
cc1: warning: include location "/usr/include/python2.6" is unsafe for cross-compilation [-Wpoison-system-directories]

ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

Oh, if it's doing python stuff, try adding inherit pythonnative.

Ross

author
#5 lore raw
Quoted 7 lines · Ross
Quoted 6 lines · Wayne Tams

Some extra debug information here from insane.bbclass.

NOTE: Checking autotools environment for common misconfiguration
cc1: warning: include location "/usr/include/python2.6" is unsafe for cross-compilation [-Wpoison-system-directories]

Quoted 5 lines
Quoted 2 lines

ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.

Oh, if it's doing python stuff, try adding inherit pythonnative.

Ross

That looks like that has solved that issue, build completed with a QA warning but I will look into this and see what is up.

WARNING: QA Issue: gst-rtsp: Files/directories were installed but not shipped
/usr/share
/usr/share/vala
/usr/share/vala/vapi /usr/share/vala/vapi/gst-rtsp-server-0.10.vapi /usr/share/vala/vapi/gst-rtsp-server-0.10.deps

Thanks for the assistance.

Wayne

#6 lore raw

Hi Wayne,

Quoted 10 lines · Wayne Tams

That looks like that has solved that issue, build completed with a QA warning but I will look into this and see what is up.

WARNING: QA Issue: gst-rtsp: Files/directories were installed but not shipped
/usr/share
/usr/share/vala
/usr/share/vala/vapi /usr/share/vala/vapi/gst-rtsp-server-0.10.vapi /usr/share/vala/vapi/gst-rtsp-server-0.10.deps

Excellent! Those files can be added to the -dev package.

Can you submit your fixed recipe to meta-multimedia (in meta-oe), or mail it to me and I can do that for you?

Cheers,
Ross

author
#7 lore raw
Quoted 13 lines · Ross

Hi Wayne,

Quoted 10 lines · Wayne Tams

That looks like that has solved that issue, build completed with a QA warning but I will look into this and see what is up.

WARNING: QA Issue: gst-rtsp: Files/directories were installed but not shipped
/usr/share
/usr/share/vala
/usr/share/vala/vapi /usr/share/vala/vapi/gst-rtsp-server-0.10.vapi /usr/share/vala/vapi/gst-rtsp-server-0.10.deps

Quoted 7 lines

Excellent! Those files can be added to the -dev package.

Can you submit your fixed recipe to meta-multimedia (in meta-oe), or mail it to me and I can do that for you?

Cheers,
Ross

Ok no problem, I just got to tidy some things up first as gst-rtsp_0.10.8 needs patched to support latest autotools. INCLUDES changes to AM_CPPFLAGS.

Wayne

#8 lore raw
In reply to Burton, Ross
Quoted 2 lines · Ross

Can you submit your fixed recipe to meta-multimedia (in meta-oe), or mail it to me and I can do that for you?

Ross, feel free to push it into Guacamayo in the meantime if it needs a public home ...

Tomas

Signature · 1 line
http://sleepfive.com