#11663 closed defect (duplicate)
Bug: nant-0.85-rc4 fails to build under mono-1.2.3
Reported by: | frank.mcpherson@… | Owned by: | mww@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.4 |
Keywords: | Cc: | ||
Port: |
Description
I had a build failure with nant and did some googling. Apparently it's related to changes in csc with mono-1.2.3, which recently dropped on the ports tree. The nant-dev mailing list has a post describing the issue and offers the solution of removing the Obsolete keyword from the offending line in one of the source files.
While I was in there investigating this problem, I noted that nant-0.85 had been released so I updated the Portfile to bump the revision as well.
Attachments (4)
Change History (14)
comment:1 Changed 18 years ago by frank.mcpherson@…
Changed 18 years ago by frank.mcpherson@…
Attachment: | patch-NAnt_Core-Task_cs added |
---|
Remove Obsolete tag from Task.cs, causes build failure with csc-1.2.3
Changed 18 years ago by frank.mcpherson@…
Attachment: | patch-Portfile added |
---|
comment:2 Changed 18 years ago by frank.mcpherson@…
Finally figured it out. The diff output has to have CRLF since that's what the source has, but the file header that tells patch which file to apply has to have Unix line endings.
Changed 17 years ago by brennan@…
Attachment: | nant_fail.txt added |
---|
nant 0.85-rc4 still fails to build with current version of dports
comment:4 Changed 17 years ago by mww@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
The build process fails with "-d" (trace mode) cause it tries to write temp-files to /var/root/; I submitted it though.
comment:6 Changed 17 years ago by aronnax@…
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Nant is failing to build for me on Leopard and it looks like it is the same error as mentioned in this bug report. Can someone please commit the new portfile?
comment:7 Changed 17 years ago by aronnax@…
Never mind. I do have the right portfile, but I am seeing the same types of errors. I am attaching the output of my build.
comment:8 Changed 17 years ago by aronnax@…
Actually, this new problem is better described by #15137. Please re-close this ticket.
comment:9 Changed 16 years ago by nox@…
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
see #15137
The post I mentioned tells how to fix this; it's trivial, you just comment out or delete the Obsolete marker near line 400 of src/NAnt.Core/Task.cs. However, I'm unable to produce a diff that will work with patch. I think the problem is related the CRLF line endings in all the NAnt.Core files.
If someone could point me to instructions on how to successfully diff and patch files with CRLF line endings on Tiger, I'd be grateful.