| Summary: | restsharp: FTBFS in rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Raphael Groner <projects.rg> |
| Component: | restsharp | Assignee: | Raphael Groner <projects.rg> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | chkr, claudiorodrigo, itamar, lxtnow, paul, pokorra.mailinglists, projects.rg |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | https://github.com/restsharp/RestSharp/issues/823 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-08 13:58:51 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1159091 | ||
|
Description
Raphael Groner
2016-03-06 10:40:45 UTC
Comparing with previous builds of RestSharp, this error used to be a warning: CSC: warning CS2029: Invalid conditional define symbol `' CSC: warning CS2029: Invalid conditional define symbol `' CSC: warning CS1691: `1658' is not a valid warning number So I guess, with Mono 4.3.2 this has now become an error. I find/grepped for 1658, and found it was in some csproj files in a NoWarn tag. So that invalid warning number can be removed there. This works for me locally, when I add these lines to the %prep section in restsharp.spec: sed -i 's#,1658</NoWarn>#</NoWarn>#g' RestSharp.Net45/RestSharp.Net45.Signed.csproj sed -i 's#,1658</NoWarn>#</NoWarn>#g' RestSharp.Net45/RestSharp.Net45.Signed.csproj sed -i 's#,1658</NoWarn>#</NoWarn>#g' RestSharp/RestSharp.Net35.csproj Thanks for the workaround. Reported to upstream. |