XBMC 64 bit, patching - Hunk #1 FAILED (Suse 11.1)
#1
Hi folks. I jut realized how cool this application is!

I am trying to install it from source because the bug with the webserver seems to be fixed in the SVN version.

All the dependencies are fine. Checked it many times. I need to patch the make files, because:
Quote:x86_64 users need to export CFLAGS and apply a patch because a non standard libdir on ubuntu (the only one supported)

At the begining it is running fine
Code:
patching file xbmc/FileSystem/Makefile
patching file xbmc/linux/Makefile.in
patching file xbmc/Makefile

Then I receive here the following EM:

Code:
patching file xbmc/utils/Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file xbmc/utils/Makefile.rej


The Makefile.rej

Code:
***************
*** 1,4 ****
- INCLUDES=-I. -I.. -I../linux -I../../guilib
  
  SRCS=AlarmClock.cpp \
       Archive.cpp \
--- 1,4 ----
+ INCLUDES=-I. -I.. -I../linux -I../../guilib -I/usr/lib64/dbus-1.0/include -I/usr/lib64/glib-2.0/include
  
  SRCS=AlarmClock.cpp \
       Archive.cpp \


And if I try to make it, this is the output:
http://pastebin.com/m6bec1b7d

Any suggestions? I've checked the some forums, could not find anything similar.
Reply
#2
You can find the patch here:
http://pastebin.com/f22b29f07

Makefile (xbmc/utils/Makefile) seems to be unchanged after the unsuccessful patching:
Code:
INCLUDES=-I. -I.. -I../../ -I../linux -I../../guilib

SRCS=AlarmClock.cpp \
     Archive.cpp \
     CharsetConverter.cpp \
     CriticalSection.cpp \
     DelayController.cpp \
     Event.cpp \
     fstrcmp.cpp \
     GUIInfoManager.cpp \
     HTMLTable.cpp \
     HTMLUtil.cpp \
     HttpHeader.cpp \
     IMDB.cpp \
     InfoLoader.cpp \
     log.cpp \
     MusicAlbumInfo.cpp \
     MusicInfoScraper.cpp \
     RegExp.cpp \
     RssReader.cpp \
     ScraperParser.cpp \
     SingleLock.cpp \
     Splash.cpp \
     Stopwatch.cpp \
     SystemInfo.cpp \
     TuxBoxUtil.cpp \
     UdpClient.cpp \
     Weather.cpp \
     Thread.cpp \
     SharedSection.cpp \
     Win32Exception.cpp \
     CPUInfo.cpp \
     PCMAmplifier.cpp \
     LabelFormatter.cpp \
     Network.cpp \
     BitstreamStats.cpp \
     PerformanceStats.cpp \
     PerformanceSample.cpp \
     LCDFactory.cpp \
     LCD.cpp \
     EventServer.cpp \
     EventPacket.cpp \
     EventClient.cpp \
     Socket.cpp \
     Fanart.cpp \
     ScraperUrl.cpp \
     MusicArtistInfo.cpp \
     RssFeed.cpp \
     Mutex.cpp \
     md5.cpp \
     ArabicShaping.cpp \
     AsyncFileCopy.cpp \
     DbusServer.cpp \
     Atomics.cpp \
     LockFree.cpp \
     StreamDetails.cpp

LIB=utils.a

include ../../Makefile.include
-include $(patsubst %.cpp,%.P,$(patsubst %.c,%.P,$(SRCS)))
Reply
#3
I'd contact the author of the howto regarding updating the patch.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC 64 bit, patching - Hunk #1 FAILED (Suse 11.1)0