PDA

View Full Version : Windows SVN Errors when compiling last 5 days.


djdafreund
2008-07-24, 19:00
Here's a pastbin log of what i could grab. It doesn't write a log file for some reason with the whole log.html file. Hopefully this is helpfull though.
http://pastebin.com/d361d9afa

It has been doing this for the past 5-6 days now, and haven't seen anything for compile fixes in the SVN for the win version, so i am assuming it's something on my end. Weird thing is it was working fine before, with the normal win compile fixes here and there as normal. I even deleted the whole directory and re-grabbed and tried compiling again. Thanks for any help.

WiSo
2008-07-24, 20:13
Can't reproduce. Works for me with current svn.
Unfortunately I have no idea what this could be.

Can you find the xbmc.exe file inside the release folder? If yes only something with the build.bat doesn't work. Maybe it can't access xcopy. Try calling xcopy from the command line.

Hitcher
2008-07-24, 21:29
That's the same error I've been getting as well. It worked the first time I used it about a week ago but since then I get the same error.
I just assumed I was doing something wrong because it's my first time compiling/building my own.

kraqh3d
2008-07-24, 23:05
From that log, it should've compiled the exe. There are no errors, only warnings. See if you have XBMC.exe in "d:\Xbmc\PC Version\project\Vs2003\Release (SDL)". If so, the batch file may just be looking in the wrong place.

marlboroman1
2008-07-25, 00:45
the buildsetupbat works for me I just compiled at rev14420 probly been fix already :grin:

jmarshall
2008-07-25, 01:41
Note: If you use 2k3 it's probably dumping the executeable in the SVN root.

That way you (or more to the point I) can run it from SVN without mucking around :)

Cheers,
Jonathan

djdafreund
2008-07-25, 08:48
Well, further testing done. I do see the xbmc.exe file is getting copied over to the main SVN root directory where i build. Maybe this is a new change as in the past 6-7 months i have been building releases, it hasn't ever done that before.

I tried changing the directory from "XBMC\PC Version" to the main directory "d:\PC Version", and even changed and added a "_" to the name "PC_Version", in case, even though i know that problem was fixed a month or so ago, "Fixed spaces in directory name", but just in case i am trying anything. Build after build it's still giving me the error.

Here is a pastbin of the batch file (which of course is grabbed from the SVN itself.), but not sure why it is giving me an error(and other mentioned person having the same problem), but not a lot of others? I am running x64 Pro, which uses directories "\Program Files (x86)" instead of "\Program Files" which shouldn't matter since i haven't changed any configs or setups for a while now, yet all of the sudden have this problem now.
The only weird thing that has happened since this started happening, is when refreshing the SVN, it randomly would give a message "Disconnected by host server." in red, then stopped. Also speed was really slow also when it DID grab new files. So i just deleted the directory, made a new directory, and redid an SVN sync clean and from scratch. Then it started working just fine again, but building is now having problems. I did double check the config's of the xbmc_lib links, and those are still there and correct.
Anything else i can try next? I am using x64 pro, and also using VB2003, but DO use VB2008 here and there also. But seems the build file is setup to use the VB2003 method. Maybe that needs to be changed, since VB2008 can be grabbed for free from microsoft. I dunno. :(

http://pastebin.com/d2f52aec2

And also i verified that xcopy is working fine in cmd line.

jmarshall
2008-07-25, 09:20
As I said in my post: The exe is NOT being placed in the Release (SDL) folder anymore.

This line in the bat:

set EXE= "project\VS2003\Release (SDL)\XBMC.exe"

Is where it's looking for it. It can probably just be:

set EXE= "XBMC.exe"

Cheers,
Jonathan

WiSo
2008-07-25, 10:10
The build.bat hasn't changed for quite some time and yesterday I build XBMC with it and got the BUILD_WIN32 directory with all the stuff needed.

There's also a batch file for vs 2008 in project/Win32BuildSetup/buildsetup.bat.
It'll try to build the installer afterwards but even if it fails you have the build_win32 directory with all needed files.

Update:
Wrong folder

djdafreund
2008-07-25, 11:01
Aren't you meaning there's a Buildsetup.bat file inside the Win32BuildSetup directory? There is no file inside the VS2008Express directory. There's 5 files inside that directory (and .svn directory of course.)

https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC is still the current SVN directory for the SDL builds right? According to the XBMC WIKI at least.

BTW- I just changed the tip mentioned from set EXE= "project\VS2003\Release (SDL)\XBMC.exe" to set EXE=XBMC.exe, and tried it again, but it still gives an error. Highly baffled here.

WiSo
2008-07-25, 11:03
Yes and yes. :nod:

chadoe
2008-07-25, 22:53
updated the vs2003 build.bat file in svn.

djdafreund
2008-07-26, 02:28
Big thanks for that fix. :)

Uh-oh, error now this time. "Cannot open source file: '\XBMC Stuff\Pc\xbmc\utils\md5.c': No such file or directory", and noticed it's really not in that directory. Why should this happen when it's getting that info directly from the SVN? I don't even have any control over that one. But also if i'm not the only one getting that message.

DirectoryNodeRoot.cpp
Compiling...
DirectoryNodeOverview.cpp
Compiling...
DirectoryNodeGenre.cpp
Compiling...
DirectoryNode.cpp
Compiling...
DirectoryNodeYear.cpp
Compiling...
md5.c
c1 : fatal error C1083: Cannot open source file: '\XBMC Stuff\Pc\xbmc\utils\md5.
c': No such file or directory
inet_pton.c
inet_ntop.c
inet_aton.c
getnameinfo.c
\XBMC Stuff\PC\xbmc\cores\DllLoader\exports\emu_socket\g etnameinfo.c(212) : warn
ing C4133: '=' : incompatible types - from 'hostent *' to 'mphostent *'
getaddrinfo.c
cc_decoder.c
Build log was saved at "file://d:\XBMC Stuff\Pc\project\Vs2003\Release (SDL)\Bui
ldLog.htm"
XBMC_PC - 1 error(s), 8 warning(s)
---------------------- Done ----------------------
Build: 3 succeeded, 1 failed, 0 skipped

------------------------------------------------------------
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR ERROR
!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-!-
ERROR: "XBMC.EXE failed to build! See .\project\VS2003\Release (SDL)\BuildLog.h
tm for details."
------------------------------------------------------------
View the build log in your HTML browser? [y/n]

jmarshall
2008-07-26, 03:08
It's just fixed in SVN.

Remember: We're developing 4 platforms at once - it's GOING to break. If it's broken, try again in a couple of hours and it'll likely be remedied.

djdafreund
2008-07-26, 03:13
Hey, it's no problem at all, i'm just mentioning it to help be informative, since it's not easy to dev'p for 4 platforms. You guys are, as always, amazing with this stuff.

jmarshall
2008-07-26, 03:21
Yep - we appreciate the support - just pointing out that usually we find that it's broken way before user's do ;). Certainly feel free to report it nonetheless.

Cheers
Jonathan

djdafreund
2008-07-26, 03:40
No problem. I can wait til then, i just updated, but still getting an error. I'll try later again though. Thanks again for such dedication and hard work of the team. I laugh when i remember looking back and being happy to 1st load a homebrew dash and game off hardrive, versus where XBMC is currently at. Haven't used my xbox as anything but a media system for years now.

jmarshall
2008-07-26, 03:44
It's building fine here - my commits are the latest two, and I very rarely commit if it doesn't build, so you should be getting an XBMC.exe fine. Perhaps there's problems with the rest of the build script still?

Cheers,
Jonathan

djdafreund
2008-07-26, 04:08
Weird then. I renamed my directories to the following-
d:\XBMC
d:\XBMC\PC
d:\XBMC\XBox

for the 2 different formats i compile with. Which should be fine. I used to use d:\xbmc stuff, and d:\xbmc stuff\pc version, and d:\xbox stuff\xbox, but wanted to clean up things a little more. I'm willing to try some stuff if you got any idea's?
This is the most recent error i'm getting-(i'm not seeing any md5.c file inside that directory it mentions.)

WIN32Util.cpp
NetworkWin32.cpp
Compiling...
md5.c
c1 : fatal error C1083: Cannot open source file: '\Xbmc\Pc\xbmc\lib\libscrobbler
\md5.c': No such file or directory
inet_pton.c
inet_ntop.c
inet_aton.c
getnameinfo.c
\XBMC\PC\xbmc\cores\DllLoader\exports\emu_socket\g etnameinfo.c(212) : warning C4
133: '=' : incompatible types - from 'hostent *' to 'mphostent *'
getaddrinfo.c
cc_decoder.c
Build log was saved at "file://d:\Xbmc\Pc\project\Vs2003\Release (SDL)\BuildLog.
htm"
XBMC_PC - 1 error(s), 8 warning(s)
---------------------- Done ----------------------
Build: 3 succeeded, 1 failed, 0 skipped


Complete pastbin more more complete log.
http://pastebin.com/f4aff9708

jmarshall
2008-07-26, 04:45
Ah - I'd already built and it didn't pick up the fact that any of those files needed changing.

Should be good to go with rev 14452.

Cheers,
Jonathan

djdafreund
2008-07-26, 05:05
THat did the trick. Thanks again jmarshall :) Back in action now.

kricker
2008-07-26, 06:09
I compiled yesterday with VC 2008, but today I am getting errors. I tried to read thru the posts here and understand them, but I didn't see anything that looked like what is hosing me now. I DID just change the added libs and directories as written in the win32 compile wiki (which must've just been updated). Here is my build log (http://webpages.charter.net/kricker/downloads/BuildLog.htm).

jmarshall
2008-07-26, 06:21
Please try rev 14457.

Cheers,
Jonathan

kricker
2008-07-26, 07:48
Brilliant! Built fine now. Good to know I didn't screw it up myself somehow.

WinterMuteAu
2008-08-01, 07:34
Am also having compile problems with rev 14651

d:\xbmc code\xbmc\cores\dllloader\exports\emu_msvcrt.h(118 ) : see declaration of 'stat64'
..\..\xbmc\cores\DllLoader\exports\emu_msvcrt.cpp( 1461) : error C2227: left of '->st_gid' must point to class/struct/union/generic type
..\..\xbmc\cores\DllLoader\exports\emu_msvcrt.cpp( 1462) : error C2027: use of undefined type 'stat64'
d:\xbmc code\xbmc\cores\dllloader\exports\emu_msvcrt.h(118 ) : see declaration of 'stat64'

I'll try and update the svn tomorrow and try then, but any ideas would be appreciated, incase its something I'm doing.

WinterMuteAu
2008-08-01, 07:45
err, sorry rev 14619

WiSo
2008-08-01, 10:08
see here: http://xbmc.org/forum/showpost.php?p=205238&postcount=2

WinterMuteAu
2008-08-01, 12:26
oh, excelent then, thanks heaps WiSo. Appreciate all the effort you & jmarshall are putting in!

WiSo
2008-08-01, 12:35
You're welcome and you can pay back by submitting patches :grin: