You are not logged in.

#1 2013-04-14 21:38:48

Agravain
Member
Registered: 2012-02-20
Posts: 13

Unable to compile wine-mono

Hi everybody,

I tried to install the AUR package wine-mono using Yaourt and, besides some warnings, I get 1 error that makes makepkg unable to build the package.

This is the end of the log taken from the terminal.

Build FAILED.

Warnings:

/tmp/yaourt-tmp-agravain/aur-wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj (default targets) ->
/tmp/yaourt-tmp-agravain/aur-wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->

    DisplayDevice.cs(71): warning CS1030: #warning: `"Consolidate current resolution with bounds? Can they fall out of sync right now?"'
    Platform/Windows/WinGLNative.cs(562): warning CS1030: #warning: `"This seems to resize one of the 'large' icons, rather than using a small icon directly (multi-icon files). Investigate!"'
    Platform/Windows/WinGLContext.cs(104): warning CS1030: #warning: `"This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method."'
    Platform/Windows/WinMMJoystick.cs(118): warning CS1030: #warning: `"Implement joystick name detection for WinMM."'
    Platform/X11/X11GLContext.cs(123): warning CS1030: #warning: `"This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method."'
    GameWindow.cs(1009,33): warning CS1591: Missing XML comment for publicly visible type or member `OpenTK.GameWindow.OnResize(System.EventArgs)'

Errors:

/tmp/yaourt-tmp-agravain/aur-wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj (default targets) ->
/tmp/yaourt-tmp-agravain/aur-wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->

    : error CS1569: Error generating XML documentation file `OpenTK.xml' (`Graphics/OpenGL/GL.cs(121270,18): OpenTK.Graphics.OpenGL.GL.Mesa.WindowPos2(int, int)')

     6 Warning(s)
     1 Error(s)

Time Elapsed 00:00:03.5084440
==> ERROR:Makepkg no ha pogut compilar wine-mono. [Makepkg was unable to compile wine-mono]

Can I fix it?

Thanks for your attention.

David

Offline

#2 2013-05-13 08:25:48

A9
Member
Registered: 2013-05-13
Posts: 2

Re: Unable to compile wine-mono

I'm having this same issue, except with Packer and a slightly different error message.

Project "/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj" (default target(s)):
	Target PrepareForBuild:
		Configuration: Xna4 Platform: AnyCPU
		Created directory "obj/Xna4/"
	Target GenerateResources:
		Tool /tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/bin/resgen2 execution started with arguments: /useSourcePath /compile "Properties/Resources.resx,obj/Xna4/OpenTK.Properties.Resources.resources" 
	Target GenerateSatelliteAssemblies:
	No input files were specified for target GenerateSatelliteAssemblies, skipping.
	Target CoreCompile:
		Tool /tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/bin/dmcs execution started with arguments: /noconfig /delaysign- /debug- /keyfile:../../OpenTK.snk /optimize+ /out:"obj/Xna4/Wine.OpenTK, Version=4.0.0.0.dll" /resource:obj/Xna4/OpenTK.Properties.Resources.resources DisplayDevice.cs WindowBorder.cs ContextHandle.cs WindowState.cs IGameWindow.cs GameWindowFlags.cs KeyPressEventArgs.cs AutoGeneratedAttribute.cs NativeWindow.cs DisplayResolution.cs BindingsBase.cs Toolkit.cs FrameEventArgs.cs BlittableValueType.cs GameWindow.cs Minimal.cs Configuration.cs Exceptions.cs INativeWindow.cs Properties/AssemblyInfo.cs Platform/IDisplayDeviceDriver.cs Platform/IWindowInfo.cs Platform/EmbeddedGraphicsContext.cs Platform/PlatformException.cs Platform/IPlatformFactory.cs Platform/Factory.cs Platform/Utilities.cs Platform/INativeGLWindow.cs Platform/DesktopGraphicsContext.cs Platform/Dummy/DummyWindowInfo.cs Platform/Dummy/DummyGLContext.cs Platform/Egl/EglX11PlatformFactory.cs Platform/Egl/EglWinPlatformFactory.cs Platform/Egl/EglGraphicsMode.cs Platform/Egl/EglWindowInfo.cs Platform/Egl/Egl.cs Platform/Egl/EglContext.cs Platform/Egl/EglMacPlatformFactory.cs Platform/MacOS/EventInfo.cs Platform/MacOS/MacOSGraphicsMode.cs Platform/MacOS/MacOSFactory.cs Platform/MacOS/MacOSException.cs Platform/MacOS/MacOSKeyMap.cs Platform/MacOS/CarbonGLNative.cs Platform/MacOS/Application.cs Platform/MacOS/AglContext.cs Platform/MacOS/QuartzDisplayDeviceDriver.cs Platform/MacOS/CarbonInput.cs Platform/MacOS/CarbonWindowInfo.cs Platform/MacOS/CarbonBindings/CarbonAPI.cs Platform/MacOS/CarbonBindings/SpeechChannel.cs Platform/MacOS/CarbonBindings/QuartzDisplayServicesAPI.cs Platform/MacOS/CarbonBindings/MacOSKeys.cs Platform/MacOS/CarbonBindings/Agl.cs Platform/MacOS/CarbonBindings/CoreFoundation.cs Platform/Windows/WinRawKeyboard.cs Platform/Windows/WinFactory.cs Platform/Windows/WinRawInput.cs Platform/Windows/WinRawMouse.cs Platform/Windows/WinDisplayDevice.cs Platform/Windows/API.cs Platform/Windows/WinKeyMap.cs Platform/Windows/WMInput.cs Platform/Windows/WinGLNative.cs Platform/Windows/WinWindowInfo.cs Platform/Windows/WinGLContext.cs Platform/Windows/WinMMJoystick.cs Platform/Windows/WglHelper.cs Platform/Windows/WinGraphicsMode.cs Platform/Windows/Bindings/Wgl.cs Platform/Windows/Bindings/WglDelegates.cs Platform/Windows/Bindings/WglCore.cs Platform/Windows/Bindings/WglEnums.cs Platform/X11/X11WindowInfo.cs Platform/X11/X11Joystick.cs Platform/X11/Functions.cs Platform/X11/GlxHelper.cs Platform/X11/API.cs Platform/X11/X11DisplayDevice.cs Platform/X11/X11GraphicsMode.cs Platform/X11/X11GLNative.cs Platform/X11/X11KeyMap.cs Platform/X11/X11GLContext.cs Platform/X11/Structs.cs Platform/X11/X11Input.cs Platform/X11/X11Factory.cs Platform/X11/Bindings/Glx.cs Graphics/IGraphicsMode.cs Graphics/GraphicsExceptions.cs Graphics/GraphicsErrorException.cs Graphics/Color4.cs Graphics/GraphicsContextVersion.cs Graphics/IGraphicsContext.cs Graphics/GraphicsMode.cs Graphics/GraphicsModeException.cs Graphics/GraphicsContextFlags.cs Graphics/GraphicsContextMissingException.cs Graphics/GraphicsContext.cs Graphics/GraphicsContextException.cs Graphics/GraphicsContextBase.cs Graphics/GraphicsBindingsBase.cs Graphics/ColorFormat.cs Graphics/OpenGL/GLDelegates.cs Graphics/OpenGL/GLHelper.cs Graphics/OpenGL/GLEnums.cs Graphics/OpenGL/GLCore.cs Graphics/OpenGL/GL.cs Graphics/OpenGL/ErrorHelper.cs Graphics/ES10/ES.cs Graphics/ES10/Enums.cs Graphics/ES10/ErrorHelper.cs Graphics/ES10/Helper.cs Graphics/ES10/Delegates.cs Graphics/ES10/Core.cs Graphics/ES11/ES.cs Graphics/ES11/Enums.cs Graphics/ES11/ErrorHelper.cs Graphics/ES11/Helper.cs Graphics/ES11/Delegates.cs Graphics/ES11/Core.cs Graphics/ES20/ES.cs Graphics/ES20/Enums.cs Graphics/ES20/ErrorHelper.cs Graphics/ES20/Helper.cs Graphics/ES20/Delegates.cs Graphics/ES20/Core.cs Input/Keyboard.cs Input/GamePad.cs Input/MouseDevice.cs Input/Key.cs Input/IJoystickDriver.cs Input/IMouseDriver.cs Input/IInputDriver.cs Input/KeyboardDevice.cs Input/KeyboardState.cs Input/MouseButton.cs Input/JoystickDevice.cs Input/IKeyboardDriver.cs Input/KeyboardKeyEventArgs.cs Input/Mouse.cs Input/MouseState.cs Input/InputDriver.cs Input/GamePadState.cs Input/IInputDevice.cs Math/Quaternion.cs Math/Matrix3d.cs Math/Vector4.cs Math/BezierCurve.cs Math/Vector3.cs Math/Functions.cs Math/Matrix4d.cs Math/Vector2d.cs Math/Vector2h.cs Math/Vector3h.cs Math/Point.cs Math/Box2.cs Math/Matrix4.cs Math/Half.cs Math/Vector4d.cs Math/Rectangle.cs Math/Vector2.cs Math/BezierCurveQuadric.cs Math/MathHelper.cs Math/Quaterniond.cs Math/Vector4h.cs Math/Size.cs Math/Vector3d.cs Math/BezierCurveCubic.cs Compute/Memory.cs Compute/Device.cs Compute/Platform.cs Compute/Sampler.cs Compute/Kernel.cs Compute/Profiler.cs Compute/Program.cs Compute/Enums.cs Compute/CommandQueue.cs Compute/CLHelper.cs Compute/Event.cs Compute/Structs.cs Compute/Configuration.cs Compute/ComputeContext.cs Compute/CL10/Enums.cs Compute/CL10/ErrorHelper.cs Compute/CL10/Delegates.cs Compute/CL10/Core.cs Compute/CL10/CLHelper.cs Compute/CL10/CL.cs Compute/CL10/ImageFormat.cs Audio/AudioDeviceException.cs Audio/AudioContextException.cs Audio/AudioValueException.cs Audio/AudioException.cs Audio/AudioDeviceEnumerator.cs Audio/AudioDeviceErrorChecker.cs Audio/AudioContext.cs Audio/AudioCapture.cs Audio/OpenAL/Alc/AlcEnums.cs Audio/OpenAL/Alc/Alc.cs Audio/OpenAL/AL/EffectsExtensionPresets.cs Audio/OpenAL/AL/EffectsExtensionEnums.cs Audio/OpenAL/AL/XRamExtension.cs Audio/OpenAL/AL/EffectsExtension.cs Audio/OpenAL/AL/AL.cs Audio/OpenAL/AL/ALEnums.cs Properties/Resources.Designer.cs /target:library /unsafe+ /define:"TRACE;XNA4" /doc:OpenTK.xml /reference:/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/System.dll /reference:/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/System.Data.dll /reference:/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/System.Drawing.dll /reference:/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/System.Windows.Forms.dll /reference:/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/System.Xml.dll /reference:/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/System.Core.dll /warn:4
Project "/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj" (default target(s)):
	Target PrepareForBuild:
		Configuration: Xna4 Platform: AnyCPU
		Created directory "obj/Xna4/"
DisplayDevice.cs(71): warning CS1030: #warning: `"Consolidate current resolution with bounds? Can they fall out of sync right now?"'
Platform/Windows/WinGLNative.cs(562): warning CS1030: #warning: `"This seems to resize one of the 'large' icons, rather than using a small icon directly (multi-icon files). Investigate!"'
Platform/Windows/WinGLContext.cs(104): warning CS1030: #warning: `"This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method."'
Platform/Windows/WinMMJoystick.cs(118): warning CS1030: #warning: `"Implement joystick name detection for WinMM."'
Platform/X11/X11GLContext.cs(123): warning CS1030: #warning: `"This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method."'
GameWindow.cs(1009,33): warning CS1591: Missing XML comment for publicly visible type or member `OpenTK.GameWindow.OnResize(System.EventArgs)'
: error CS1569: Error generating XML documentation file `OpenTK.xml' (`Graphics/OpenGL/GL.cs(91327,18): OpenTK.Graphics.OpenGL.GL.Ext.GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget, OpenTK.Graphics.OpenGL.GetColorTableParameterPName, int[])')
		Unhandled Exception:
		System.IO.IOException: Disk full. Path /tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.xml
		  at System.IO.FileStream.FlushBuffer (System.IO.Stream st) [0x00000] in <filename unknown>:0 
		  at System.IO.FileStream.FlushBuffer () [0x00000] in <filename unknown>:0 
		  at System.IO.FileStream.WriteInternal (System.Byte[] src, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
		  at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.FlushBytes () [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.Decode () [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.LowLevelWrite (System.String s) [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.Write (System.String value) [0x00000] in <filename unknown>:0 
		  at System.Xml.XmlTextWriter.WriteEndElementCore (Boolean full) [0x00000] in <filename unknown>:0 
		  at System.Xml.XmlTextWriter.WriteEndElement () [0x00000] in <filename unknown>:0 
		  at System.Xml.XmlTextWriter.Close () [0x00000] in <filename unknown>:0 
		  at Mono.CSharp.DocumentationBuilder.OutputDocComment (System.String asmfilename, System.String xmlFileName) [0x00000] in <filename unknown>:0 
		  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 
		  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 
		[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: Disk full. Path /tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.xml
		  at System.IO.FileStream.FlushBuffer (System.IO.Stream st) [0x00000] in <filename unknown>:0 
		  at System.IO.FileStream.FlushBuffer () [0x00000] in <filename unknown>:0 
		  at System.IO.FileStream.WriteInternal (System.Byte[] src, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
		  at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.FlushBytes () [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.Decode () [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.LowLevelWrite (System.String s) [0x00000] in <filename unknown>:0 
		  at System.IO.StreamWriter.Write (System.String value) [0x00000] in <filename unknown>:0 
		  at System.Xml.XmlTextWriter.WriteEndElementCore (Boolean full) [0x00000] in <filename unknown>:0 
		  at System.Xml.XmlTextWriter.WriteEndElement () [0x00000] in <filename unknown>:0 
		  at System.Xml.XmlTextWriter.Close () [0x00000] in <filename unknown>:0 
		  at Mono.CSharp.DocumentationBuilder.OutputDocComment (System.String asmfilename, System.String xmlFileName) [0x00000] in <filename unknown>:0 
		  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 
		  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0 
	Task "Csc" execution -- FAILED
	Done building target "CoreCompile" in project "/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj".-- FAILED
Done building project "/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj".-- FAILED

Build FAILED.

Warnings:

/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj (default targets) ->
/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->

	DisplayDevice.cs(71): warning CS1030: #warning: `"Consolidate current resolution with bounds? Can they fall out of sync right now?"'
	Platform/Windows/WinGLNative.cs(562): warning CS1030: #warning: `"This seems to resize one of the 'large' icons, rather than using a small icon directly (multi-icon files). Investigate!"'
	Platform/Windows/WinGLContext.cs(104): warning CS1030: #warning: `"This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method."'
	Platform/Windows/WinMMJoystick.cs(118): warning CS1030: #warning: `"Implement joystick name detection for WinMM."'
	Platform/X11/X11GLContext.cs(123): warning CS1030: #warning: `"This is not entirely correct: Embedded is not a valid flag! We need to add a GetARBContextFlags(GraphicsContextFlags) method."'
	GameWindow.cs(1009,33): warning CS1591: Missing XML comment for publicly visible type or member `OpenTK.GameWindow.OnResize(System.EventArgs)'

Errors:

/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.csproj (default targets) ->
/tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/build-cross-cli-install/lib/mono/4.0/Microsoft.CSharp.targets (CoreCompile target) ->

	: error CS1569: Error generating XML documentation file `OpenTK.xml' (`Graphics/OpenGL/GL.cs(91327,18): OpenTK.Graphics.OpenGL.GL.Ext.GetColorTableParameter(OpenTK.Graphics.OpenGL.ColorTableTarget, OpenTK.Graphics.OpenGL.GetColorTableParameterPName, int[])')

	 6 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:04.2656880
The build failed.

My initial problem with building wine-mono was that my /tmp folder was too small, so after searching the forum I came across a post about adding tmpfs in fstab which cleared up that issue, but the build is still failing, just in a different way now. I tried googling the error message in hopes of finding a solution, but this thread was the only result (and the error message isn't even identical, it's just very similar).

A question for the OP of this thread, since you only posted the final part of the error message: did you also get some "disk full" notifications like I did on the lines

		System.IO.IOException: Disk full. Path /tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.xml

and

		[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: Disk full. Path /tmp/packerbuild-0/wine-mono/wine-mono/src/wine-mono-0.0.8/opentk/Source/OpenTK/OpenTK.xml

?

I'm not sure what to make of those errors, partly because I'm new to Linux, but also because (as I mentioned) I had the problem of too little disk space before and got a completely different error message as a result, so it seems strange to me that disk space would again be the issue.

Would much appreciate it if someone could help me clear this up.

Offline

#3 2013-05-13 08:32:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Unable to compile wine-mono

It still says that you're building in /tmp ...
Read the comments and don't build in /tmp if you don't have enough RAM https://aur.archlinux.org/packages/wine-mono/

Offline

#4 2013-05-13 10:09:23

A9
Member
Registered: 2013-05-13
Posts: 2

Re: Unable to compile wine-mono

karol wrote:

It still says that you're building in /tmp ...
Read the comments and don't build in /tmp if you don't have enough RAM https://aur.archlinux.org/packages/wine-mono/

Agh, I'm mad at myself now. I had actually already tried changing the BUILDDIR value in makepkg.conf earlier, but it still kept crying at me that there was no disk space and wouldn't even let me start building the package. It didn't occur to me that I needed to restart the system, so I just assumed it didn't work and changed the value back to the default to avoid any issues that might've arisen in the future as a result of changing it.

Sorry for wasting your time, and thank you for your help. To anyone else who stumbles across this in future (and to OP, if you're still having this issue): just open up /etc/makepkg.conf in an editor, find the "BUILDDIR=" line (don't forget to uncomment it) and then change the value from "/tmp/makepkg" to something like "~/.comp/makepkg" (you can call the folder whatever you like, but obviously you'll have to remember to create that folder since it won't exist). Once you've done that, restart your system and everything should work as intended.

Last edited by A9 (2013-05-13 10:18:44)

Offline

Board footer

Powered by FluxBB