Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 134243

Summary: [EBUILD] dev-dotnet/nant-0.85_rc3-r2.ebuild
Product: Gentoo Linux Reporter: Nuno Araujo <nuno.araujo>
Component: New packagesAssignee: dotnet project <dotnet>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://nant.sourceforge.net/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-dotnet/nant-0.85_rc3-r2.ebuild

Description Nuno Araujo 2006-05-24 10:43:14 UTC
When trying to install nant-0.85_rc3-r1 I had the following error:

            build:

                  [csc] Compiling 154 files to '/var/tmp/portage/nant-0.85_rc3-r1/work/nant-0.85-nightly-2005-12-13/build/mono-2.0.unix/nant-0.85-debug/bin/NAnt.Core.dll'.
                           [resgen] Read in 199 resources from '/var/tmp/portage/nant-0.85_rc3-r1/work/nant-0.85-nightly-2005-12-13/src/NAnt.Core/Resources/Strings.resx'
                           [resgen] Writing resource file...  Done.
                  [csc] /var/tmp/portage/nant-0.85_rc3-r1/work/nant-0.85-nightly-2005-12-13/src/NAnt.Core/Tasks/StyleTask.cs(273,33): error CS1717: Assignment made to same variable; did you mean to assign something else?
                  [csc] Compilation failed: 1 error(s), 0 warnings

            BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

            /var/tmp/portage/nant-0.85_rc3-r1/work/nant-0.85-nightly-2005-12-13/src/NAnt.Core/NAnt.Core.build(11,10):
            External Program Failed: /usr/lib64/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1)

            Total time: 1.8 seconds.


BUILD FAILED

Nested build failed.  Refer to build log for exact reason.

Total time: 5.5 seconds.

make: *** [build-nant] Erreur 1

!!! ERROR: dev-dotnet/nant-0.85_rc3-r1 failed.
!!! Function src_compile, Line 40, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I then checked the nant website, and saw that they had released a new nightly build the 2006-04-30.

I modified the nant-0.85_rc3-r1 build so that it uses that ebuild, and nant now compiles and installs cleanly in my system.

Attached you will find the ebuild for it.

The only thing to modify is the SRC_URI. I had to change the mirror://gentoo to the real source file.
Comment 1 Nuno Araujo 2006-05-24 10:44:36 UTC
Created attachment 87422 [details]
dev-dotnet/nant-0.85_rc3-r2.ebuild

ebuild using the 2006-04-30 nightly sources of nant
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-24 10:46:51 UTC
bug-wranglers@gentoo.org
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2006-09-16 11:35:04 UTC
I've actually fixed this with a patch added to the -r1 in portage. I'll be bumping to the new _rc4 soon hopefully as well. Marking this FIXED.