This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Build Script failure

Tags: None
(comma "," separated)
waynevid
Registered Member
Posts
118
Karma
0

Build Script failure

Mon May 27, 2013 11:24 pm
I haven't been able to install Kdenlive with the Build Script today. I did so sucessfully last week on another computer with the same distribution (Mageia3). I get the following error:


LOG: About to run command: git --no-pager pull http://git.chromium.org/webm/libvpx.git master
From http://git.chromium.org/webm/libvpx
* branch master -> FETCH_HEAD
Already up-to-date.
LOG: About to run command: git checkout
Your branch is ahead of 'origin/master' by 4213 commits.
(use "git push" to publish your local commits)
LOG: Done getting or updating source for libvpx
LOG: Number of steps completed : 9
LOG: About to run command: popd
~/kdenlive/src
LOG: Getting or updating source for x264 - this could take some time
LOG: About to run command: pushd .
~/kdenlive/src ~/kdenlive/src
LOG: About to run command: cd x264
LOG: Pulling git sources for x264
LOG: About to run command: git reset --hard
HEAD is now at a3ac64b OpenCL support improvement/refactoring
LOG: About to run command: git checkout master
Already on 'master'
Your branch is ahead of 'origin/master' by 89 commits.
(use "git push" to publish your local commits)
LOG: About to run command: git --no-pager pull git://git.videolan.org/x264.git master
From git://git.videolan.org/x264
* branch master -> FETCH_HEAD
Already up-to-date.

LOG: About to run command: git checkout d967c09cd93a230e03ec1e0f0f696975d15a01c0
fatal: reference is not a tree: d967c09cd93a230e03ec1e0f0f696975d15a01c0
ERROR: Unable to git checkout d967c09cd93a230e03ec1e0f0f696975d15a01c0
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to git checkout d967c09cd93a230e03ec1e0f0f696975d15a01c0

I checked my dependencies and they all seem to be installed properly; same ones that I installed on the other computer. Does this error have something to do with the refactoring that's going on now? I noticed that word "refactoring" in the following line: HEAD is now at a3ac64b OpenCL support improvement/refactoring.

Thanks,
waynevid
Mageia3


markoc
Registered Member
Posts
342
Karma
1

Re: Build Script failure

Sat Jun 14, 2014 7:32 pm
I ran an old version of the build script today (I patched in the new git urls some time ago), and got a similar failure, a zillion git merge conflicts - although I did not touch the sources. I guess this is because of the refactoring and reverting, etc.

The solution was to go into the src directory and delete the mlt, kdenlive and x264 directories (you can also rename them, if you don't want to delete)
Then it compiles OK, but it seems not to be the latest version of Kdenlive, and it crashes on some openGL problem when starting.

So, I downloaded the latest version of the script:
https://github.com/mltframework/mlt-scr ... ster/build

no luck with this one, either. It fails on compiling libepoxy:

LOG: Building libepoxy - this could take some time
LOG: About to run command: make -j3
make all-recursive
make[1]: Entering directory `/home/mc/kdenlive/src/libepoxy'
Making all in include/epoxy
make[2]: Entering directory `/home/mc/kdenlive/src/libepoxy/include/epoxy'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/mc/kdenlive/src/libepoxy/include/epoxy'
Making all in src
make[2]: Entering directory `/home/mc/kdenlive/src/libepoxy/src'
/usr/bin/mkdir -p ../include/epoxy
GEN glx_generated_dispatch.c
GEN gl_generated_dispatch.c
GEN egl_generated_dispatch.c
Traceback (most recent call last):
File "./gen_dispatch.py", line 27, in <module>
import xml.etree.ElementTree as ET
ImportError: No module named xml.etree.ElementTree
Traceback (most recent call last):
File "./gen_dispatch.py", line 27, in <module>
import xml.etree.ElementTree as ET
ImportError: No module named xml.etree.ElementTree
Traceback (most recent call last):
File "./gen_dispatch.py", line 27, in <module>
import xml.etree.ElementTree as ET
ImportError: No module named xml.etree.ElementTree
make[2]: *** [egl_generated_dispatch.c] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [glx_generated_dispatch.c] Error 1
make[2]: *** [gl_generated_dispatch.c] Error 1
make[2]: Leaving directory `/home/mc/kdenlive/src/libepoxy/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mc/kdenlive/src/libepoxy'
make: *** [all] Error 2
ERROR: Unable to build libepoxy
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build libepoxy


I have downloaded ElemntTree from http://svn.python.org/view/python/trunk/Lib/xml/etree/ and put it into /usr/lib64/python3.2 where the rest of .py stuff is on my openSuse, but it did not help.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Build Script failure

Fri Jun 20, 2014 9:06 pm
Try installing python-lxml, as it has a etree component as well.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
markoc
Registered Member
Posts
342
Karma
1

Re: Build Script failure

Sat Jun 21, 2014 8:49 am
python-lxml was already installed, but I did a re-install of it (the same version), and now the compilation goes through.
Thanks!!
------------------------------------------------

In fact, I haven't solved it, just used an old script that compiles (an old version) OK.

With the new script I still have the same failure. I have tried

sudo zypper install python-pip
and then
sudo pip install elementtree
which finished without errors, but the script still fails with:

File "./gen_dispatch.py", line 27, in <module>
import xml.etree.ElementTree as ET
ImportError: No module named xml.etree.ElementTree

--------------------------

re-installed everything that even smells of snakes, still no success....
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Build Script failure

Sun Jun 22, 2014 2:37 am
Do you know if libepoxy is running against Python 2.x or 3.x? It is possible you are install lxml for 3.x instead of for 2.x (or vice versa).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
markoc
Registered Member
Posts
342
Karma
1

Re: Build Script failure

Sun Jun 22, 2014 7:53 pm
Could be that, will see about it someday....

I just gave up and disabled movit in the script (line42).
Kdenlive compiled OK then, but still did not run, complaining about some missing openGL stuff. I thought it was only movit that used opengl?
I did have the Nvidia drivers installed, and openGL was there and other programs worked, I could also comiplie openCL code, etc. It was just Kdenlive that wouldn't run.

Anyway, I tried to install some other Nvidia drivers, but screwed up the whole system...

I have installed the OS from scratch, so now I have a "bare bones" system, will take some time before I get all the libs and stuff installed again.
Phew!
LINUX IS FOR MASOCHISTS... or maybe I am just to old to learn new tricks...


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]