Which branch is stable?
#1
Which is the most stable branch to build using git? I've used
Code:
git checkout 10.1-Dharma

But this leads to:

Code:
make[1]: Entering directory `/home/petter/xbmc.git/xbmc/utils'
gcc -MD -c -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -O2 -D_LINUX -D_FILE_DEFINED -D__STDC_CONSTANT_MACROS -DBIN_INSTALL_PATH="\"/usr/local/lib/xbmc\"" -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -D'GIT_REV="e9e9099"' -DHAVE_CONFIG_H  -I. -I.. -I../../ -I../linux -I../cores -I../../guilib -I../posix -I../../lib/jsoncpp/jsoncpp/include -D_GNU_SOURCE=1 -D_REENTRANT -I/home/petter/xbmc.git -I/usr/include/ -I/usr/include/SDL -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/include/libpng14 -I/usr/include/lzo -I/usr/include/mysql -I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include fstrcmp.c -o fstrcmp.o
gcc: fstrcmp.c: No such file or directory
gcc: no input files

So is this the suggested branch to build?

The problem seem to be related to the file extension:

Code:
$ find . -name fstrcmp.*
./xbmc/utils/fstrcmp.h
./xbmc/utils/fstrcmp.P
./xbmc/utils/fstrcmp.cpp

Or is there a pre-processor I have to run to generate the file?
Reply
#2
stable branch is Dharma, stable tag is 10.1-Dharma

i just tried myself, and got the same crap. but it's not a bug, you just have to make sure you distclean. there are leftover .P's from master, where fstrcmp.cpp was renamed fstrcmp.c. after that you will be fine.
Reply
#3
Thank you. Now I managed to compile it, however I only get the "Unable to find path to XBMC data files!" when I try to run it. It did worked last time I built it from git even though it was somewhat unstable.
Reply
#4
Is there a reason why there is no

Code:
lib/libid3tag/libid3tag/configure.ac

in 10.1-Dharma?
Reply
#5
huh? it sits right where it's supposed to sit, in xbmc/lib/libid3tag

master is heavily restructured.
Reply
#6
spiff Wrote:huh? it sits right where it's supposed to sit, in xbmc/lib/libid3tag

master is heavily restructured.

Code:
: xbmc.git; git checkout master
Previous HEAD position was e9e9099... updated: spanish translation. thanks to poxitron, closes #11164 (cherry picked from commit a4c6d047c754b32da1c66884edb2b1c9f4d4962f)
Switched to branch 'master'
: xbmc.git; ls -1 lib/libid3tag/libid3tag/configure.ac
lib/libid3tag/libid3tag/configure.ac
: xbmc.git; git checkout tags/10.1-Dharma
Checking out files: 100% (24287/24287), done.
Note: checking out 'tags/10.1-Dharma'.
...
HEAD is now at e9e9099... updated: spanish translation. thanks to poxitron, closes #11164 (cherry picked from commit a4c6d047c754b32da1c66884edb2b1c9f4d4962f)
: xbmc.git; ls -1 lib/libid3tag/libid3tag/configure.ac
ls: cannot access lib/libid3tag/libid3tag/configure.ac: No such file or directory
Reply
#7
Have you actually read what spiff wrote? He said that all the Dharma branches/tags have a different directory structure than master and mentioned that your configure.ac will be in "xbmc/lib/libid3tag/libid3tag/" so there's no use in looking at "lib/libid3tag/libid3tag/".
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#8
I did, but obviously not well enough. I'm not that familiar with the xbmc source tree. I got it compiled now using:

Code:
autoreconf -vif xbmc/lib/libid3tag/libid3tag
./configure --prefix=/usr/local
make -j2
make -C lib/addons/script.module.pil
make -C lib/addons/script.module.pysqlite

su -
cd ~xbmc/xbmc.git
make install

However if I run it I still get:

Code:
$ type xbmc
xbmc is hashed (/usr/local/bin/xbmc)
$ xbmc
Unable to find path to XBMC data files!
CRITSEC[0x117d940]: Trying to enter destroyed section.
CRITSEC[0x117d940]: Trying to leave destroyed section.[CODE][/CODE]
Reply
#9
I got around the above problem using:

Code:
XBMC_HOME=/usr/local/share/xbmc /usr/local/bin/xbmc


Unfortunately it crashes whenever I watch an ISO file. This leads me back to my original question. Is this what's considered the last stable version?

Code:
$ git rev-parse tags/10.1-Dharma
9f3aec3fae2bc7d1e3d7ef26a7afb9311ceb9199
$ git rev-parse HEAD
e9e909922ed87c4f0bc9dd6e7464608e2ca5fd97
Reply
#10
Is there a new stable version? I've been using the above and it seem to crash whenever I use it. Even playing audio (FLAC) causes it to crash after some random time.

Most of the log files look more and less like this:

Code:
...
############### STACK TRACE #################
############# END STACK TRACE ###############
...
21:49:02 T:2847234928 M:1926393856    INFO: AudioDecoder: File is queued
21:49:13 T:2823068528 M:1916968960   DEBUG: Thread Jobworker 2823068528 terminating (autodelete)
21:49:14 T:2831461232 M:1916977152   DEBUG: Thread Jobworker 2831461232 terminating (autodelete)


############### END LOG FILE ################

############ END XBMC CRASH LOG #############

Any clues on how to build a stable version?
Reply
#11
Nobody knows which version is the latest stable?

Also how does the Git number displayed when XBMC starts relate to the SHA-1? Is it some decimal version of the first N digits?

Code:
17:02:02 T:3028285168 M:2026901504  NOTICE: Starting XBMC, Platform: Linux (Gentoo Base System release 2.0.2, 2.6.37-gentoo-r4 i686). Built on Mar 30 2011 (Git:20110328-8696993)

8696993 is 84B4A1 in hex which does not match my SHA-1 e9e909?
Reply
#12
latest stable is, STILL, the 10.1-Dharma tag.

however, there was a woopsie and a hotfix for the linux build, that's 8696993(d0db6f1184ebfaba07b259bfa7c745aa)
Reply
#13
Thanks spiff.
Reply

Logout Mark Read Team Forum Stats Members Help
Which branch is stable?0