2009/5/21 David Nielsen <gnomeuser(a)gmail.com>
2009/5/21 David Nielsen <gnomeuser(a)gmail.com>
>
> We are so close to something that builds I can smell it. Thanks for doing this
Stephen.
>
>
and yet so far, I did the changes locally, btw. the -n thing extends to
%files
You do not honor --libdir and thus all the files end up in /usr/lib for
x86_64 where it needs to be in /usr/lib
Please consider the attached completely untested patch.
- David
And mono-uia fails with parallel make:
gmcs -lib:/usr/lib64/mono/2.0 -lib:../bin -lib:/usr/lib64/mono/accessibility
-noconfig -codepage:utf8 -warn:4 -warnaserror -optimize+ -debug
"-define:DEBUG" -d:NET_2_0 -out:../bin/UIAutomationProvider.dll
-target:library './AssemblyInfo.cs' './../build/common/*.cs'
'./System.Windows.Automation.Provider/AutomationInteropProvider.cs'
'./System.Windows.Automation.Provider/ICaretProvider.cs'
'./System.Windows.Automation.Provider/IClipboardProvider.cs'
'./System.Windows.Automation.Provider/IDockProvider.cs'
'./System.Windows.Automation.Provider/IEditableRangeProvider.cs'
'./System.Windows.Automation.Provider/IEmbeddedImageProvider.cs'
'./System.Windows.Automation.Provider/IExpandCollapseProvider.cs'
'./System.Windows.Automation.Provider/IGridItemProvider.cs'
'./System.Windows.Automation.Provider/IGridProvider.cs'
'./System.Windows.Automation.Provider/IInsertDeleteTextProvider.cs'
'./System.Windows.Automation.Provider/IInvokeProvider.cs'
'./System.Windows.Automation.Provider/IMultipleViewProvider.cs'
'./System.Windows.Automation.Provider/IRangeValueProvider.cs'
'./System.Windows.Automation.Provider/IRawElementProviderAdviseEvents.cs'
'./System.Windows.Automation.Provider/IRawElementProviderFragment.cs'
'./System.Windows.Automation.Provider/IRawElementProviderFragmentRoot.cs'
'./System.Windows.Automation.Provider/IRawElementProviderHwndOverride.cs'
'./System.Windows.Automation.Provider/IRawElementProviderSimple.cs'
'./System.Windows.Automation.Provider/IScrollItemProvider.cs'
'./System.Windows.Automation.Provider/IScrollProvider.cs'
'./System.Windows.Automation.Provider/ISelectionItemProvider.cs'
'./System.Windows.Automation.Provider/ISelectionProvider.cs'
'./System.Windows.Automation.Provider/ITableItemProvider.cs'
'./System.Windows.Automation.Provider/ITableProvider.cs'
'./System.Windows.Automation.Provider/ITextProvider.cs'
'./System.Windows.Automation.Provider/ITextRangeProvider.cs'
'./System.Windows.Automation.Provider/IToggleProvider.cs'
'./System.Windows.Automation.Provider/ITransformProvider.cs'
'./System.Windows.Automation.Provider/IValueProvider.cs'
'./System.Windows.Automation.Provider/IWindowProvider.cs'
'./System.Windows.Automation.Provider/NavigateDirection.cs'
'./System.Windows.Automation.Provider/ProviderOptions.cs'
-r:WindowsBase -r:System -r:UIAutomationBridge
-r:UIAutomationTypes
sn -q -R ../bin/UIAutomationProvider.dll ../mono.snk
sn -q -R ../bin/UIAutomationProvider.dll ../mono.snk
ERROR: Unknown error during processing: System.IO.IOException: Sharing
violation on path
/home/david/rpmbuild/BUILD/mono-uia-1.0/bin/UIAutomationProvider.dll
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous,
FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenWrite (System.String path) [0x00000]
at Mono.Security.StrongName.Sign (System.String fileName) [0x00000]
at Mono.Tools.SN.ReSign (System.String assemblyName,
System.Security.Cryptography.RSA key) [0x00000]
at Mono.Tools.SN.Process (System.String[] args) [0x00000]
at Mono.Tools.SN.Main (System.String[] args) [0x00000]
make[1]: *** [../bin/UIAutomationProvider.dll.mdb] Fejl 1
make[1]: *** Venter på uafsluttede job....
Assembly ../bin/UIAutomationProvider.dll signed.
make[1]: Forlader katalog
'/home/david/rpmbuild/BUILD/mono-uia-1.0/UIAutomationProvider'
make: *** [all-recursive] Fejl 1
fejl: Fejl-afslutningsstatus fra /var/tmp/rpm-tmp.skGLqH (%build)
Aside that with the changes made locally and the patch applied everything
now builds and things seem to be in a good mood.
Some rpmlint output to worry slightly about:
mono-uia.src: E: description-line-too-long User Interface Automation (UIA)
is a new accessibility standard for use with Mono
mono-uia.src: W: non-standard-group System/Libraries
mono-uia-mono-uia-devel.x86_64: W: summary-not-capitalized mono-uia devel
package
Nothing major, so I think with those changes we are in good shape for the
Fedora guidelines.
- David