Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1296095

Summary: gdata-sharp FTBFS on Rawhide because of changes to nunit
Product: [Fedora] Fedora Reporter: Timotheus Pokorra <pokorra.mailinglists>
Component: gdata-sharpAssignee: Michel Alexandre Salim <michel>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: michel, moez.roy, releng
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-14 09:20:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1305208, 1220138    
Attachments:
Description Flags
now it finds nunit.framework.dll none

Description Timotheus Pokorra 2016-01-06 10:22:35 UTC
Created attachment 1112060 [details]
now it finds nunit.framework.dll

I noticed that gdata-sharp fails to build from source on Rawhide.

I am attaching a patch that fixes the problem.

for the full logs see http://koji.fedoraproject.org/koji/taskinfo?taskID=12433698

the tail of that log:
mcs -out:gbase_queryexample.exe -r:Google.GData.Calendar.dll -r:Google.GData.Client.dll -r:Google.GData.CodeSearch.dll -r:Google.GData.Extensions.dll -r:Google.GData.GoogleBase.dll -r:Google.GData.Spreadsheets.dll -r:Google.GData.Apps.dll -r:Google.GData.Photos.dll -r:Google.GData.Documents.dll -r:Google.GData.AccessControl.dll -r:Google.GData.Contacts.dll -r:Google.GData.YouTube.dll -r:Google.GData.Health.dll -r:Google.GData.Blogger.dll -r:System.dll -r:System.Xml.dll -r:System.Web.dll -r:System.Configuration.dll samples/gbase/example.cs samples/gbase/queryexample.cs
mcs -out:gbase_customertool.exe -r:Google.GData.Calendar.dll -r:Google.GData.Client.dll -r:Google.GData.CodeSearch.dll -r:Google.GData.Extensions.dll -r:Google.GData.GoogleBase.dll -r:Google.GData.Spreadsheets.dll -r:Google.GData.Apps.dll -r:Google.GData.Photos.dll -r:Google.GData.Documents.dll -r:Google.GData.AccessControl.dll -r:Google.GData.Contacts.dll -r:Google.GData.YouTube.dll -r:Google.GData.Health.dll -r:Google.GData.Blogger.dll -r:System.dll -r:System.Xml.dll -r:System.Web.dll -r:System.Configuration.dll samples/gbase/example.cs samples/gbase/customertool.cs samples/gbase/commands.cs
mcs -out:execrequest.exe -r:Google.GData.Calendar.dll -r:Google.GData.Client.dll -r:Google.GData.CodeSearch.dll -r:Google.GData.Extensions.dll -r:Google.GData.GoogleBase.dll -r:Google.GData.Spreadsheets.dll -r:Google.GData.Apps.dll -r:Google.GData.Photos.dll -r:Google.GData.Documents.dll -r:Google.GData.AccessControl.dll -r:Google.GData.Contacts.dll -r:Google.GData.YouTube.dll -r:Google.GData.Health.dll -r:Google.GData.Blogger.dll -r:System.dll -r:System.Xml.dll -r:System.Web.dll -r:System.Configuration.dll samples/execrequest/main.cs samples/execrequest/AssemblyInfo.cs
error CS0006: Metadata file `nunit.framework.dll' could not be found
Compilation failed: 1 error(s), 0 warnings
Makefile:131: recipe for target 'tests' failed
make: *** [tests] Error 1
make: *** Waiting for unfinished jobs....
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.x94niV (%build)
    Bad exit status from /var/tmp/rpm-tmp.x94niV (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps  /builddir/build/SPECS/gdata-sharp.spec 
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps  /builddir/build/SPECS/gdata-sharp.spec 
LEAVE do --> EXCEPTION RAISED

Comment 1 Jan Kurik 2016-02-24 14:14:13 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 2 Timotheus Pokorra 2016-10-13 18:59:06 UTC
*** Bug 1307522 has been marked as a duplicate of this bug. ***

Comment 3 Timotheus Pokorra 2016-10-13 19:05:40 UTC
my patch might not work anymore, now that NUnit 3 is in rawhide. Perhaps the package now needs to depend on nunit2. I would be happy to get commit privileges and to fix it.

Comment 4 Timotheus Pokorra 2016-10-14 09:20:08 UTC
Peter Robinson has applied the fixes to the package, in the work for Mono in aarch64 for Fedora 26. So this is fixed now.