Kodi Community Forum
Build fails on OS X 10.6.8 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: Build fails on OS X 10.6.8 (/showthread.php?tid=175559)

Pages: 1 2 3


Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-12

I'm having issues build xbmc.app on OS X snow leopard with xcode 3.2.6. I've tried everything I know, but trashing the xbmc source and downloading new.

here is a screenshot of xcode. I'm not sure where the log that would help would be. I know not very descriptive, but if anybody has a tip.

Things I've tried.
reinstalling xcode, by dleting the Developer folder and installing new. maybe I should uninstall somehow.
deleting all the xbmc_depends folder.
git clean
make clean in xbmc folder and tools/depends folder
of course clean inside xcode.

if no ideas I'll try deleting the source folder and redownloading.


Image

Uploaded with ImageShack.us


RE: - Nuka1195 - 2013-10-12

New source didn't fix the issue.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-13

http://pastebin.com/4FNRvJ6X

there is the transcript file, not sure if its of any help.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-13

Quote:ld: duplicate symbol _memmem in /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libgnutls.a(memmem.o) and /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libmicrohttpd.a(memmem.o)
collect2: ld returned 1 exit status
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

seems to be the key to the link failure. i've searched the wiki and here. i don't see any steps in the readme that i missed?

are the developers building on 10.6.8 still? iTunes was interferring with installing xcode again. i had to stop iTunes helper. then i had to reinstall itunes 11.1.1.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-15

resetting source back to june 15 (the last time i successfully built xbmc) works.

so something has changed somewhere. I am on a case sensitive file system if that could possibly be it.


RE: Build fails on OS X 10.6.8 - amet - 2013-10-15

the usual .bootstrap and ./configure is done for depends?

jenkins builds using xcode3.* so we know what it works.


RE: Build fails on OS X 10.6.8 - davilla - 2013-10-15

fixed in https://github.com/xbmc/xbmc/commit/a8ec2a0a59a1139eaac8fe4cc0724a1edcc34fce


RE: Build fails on OS X 10.6.8 - Memphiz - 2013-10-15

davilla why did this work on jenkins then? Because it uses 10.8sdk and doesn't run 10.6.8? Well i develop on 10.6.8 using xcode 3.2.6 and didn't seet that linker error tbh.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-15

Hi and thank you, unfortunately I still get the error. I do see your change in source.


Quote:ld: duplicate symbol _memmem in /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libgnutls.a(memmem.o) and /Users/Shared/xbmc-depends/macosx10.6_x86_64-target/lib/libmicrohttpd.a(memmem.o)
collect2: ld returned 1 exit status
Command /Developer/usr/bin/llvm-g++-4.2 failed with exit code 1

I deleted the shared folder and did git clean. I followed the help file from the start.

I'm trying a make clean under tools/depends now.


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-15

Looking at the change log. It looks like the line that calls strip_memmem is commented out. I'll try uncommon ting it.


RE: Build fails on OS X 10.6.8 - Memphiz - 2013-10-16

#(STRIP_MEMMEM) has to be $(STRIP_MEMMEM) i guess.


RE: Build fails on OS X 10.6.8 - Memphiz - 2013-10-16

btw i am still building and linking fine with xcode 3.2.6 under 10.6.8 - i really wonder what is the problem.

@nuka which target are you building with which settings?


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-16

Release / XBMC.app / XBMC / x86_64

It does work now with the uncommenting of STRIP_MEMMEM.

I'm on a case sensitive file system, I don't know what other specs would be helpful to you. When I reinstalled xcode 3.2.6. I got a message that i needed to close iTunes, which was iTunes helper. Then the installation of xcode 3.2.6 worked, but corrupted? the iTunes installation so I had to reinstall iTunes 11.1.1. I don't know why that would interfere for building for XBMC, but maybe iTunes 11.1.1 does something?


RE: Build fails on OS X 10.6.8 - Memphiz - 2013-10-16

Mhhh didn't try this configuration for a long time (i never build the .app - only the bin and then run it in the debugger...)


RE: Build fails on OS X 10.6.8 - Nuka1195 - 2013-10-28

Now make fails for me.


Quote:ln: x86_64-apple-darwin10.8.0-pkg-config: File exists
make[6]: *** [install-exec-hook] Error 1
make[5]: *** [install-exec-am] Error 2
make[4]: *** [install-am] Error 2
make[3]: *** [install-recursive] Error 1
make[2]: *** [.installed-x86_64-darwin10.8.0-native] Error 2
make[1]: *** [pkg-config-native] Error 2
make: *** [native/.installed-x86_64-darwin10.8.0-native] Error 2

I thought i read somewhere macports can interfere? I think i installed that awhile ago to build for android? anyways i do have that folder, but i've also reinstalled xcode so i don't know what my issues are.