Opened 18 years ago

Closed 18 years ago

#8977 closed defect (fixed)

nant fails to build

Reported by: ptman (Paul Tötterman) Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.2
Keywords: Cc: markd@…
Port:

Description

Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08" && make all prefix=/opt/local" returned error 2 Command output: [copy] Copying 34 files to '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08/build/mono-2.0.unix/nant-0.85-debug/bin/lib'.

[nant] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08/src/NAnt.Core/NAnt.Core.build build

Buildfile: file:///opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08/src/NAnt.Core/NAnt.Core.build Target framework: Mono 2.0 Profile Target(s) specified: build

build:

[csc] Compiling 154 files to '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08/build/mono-2.0.unix/nant-0.85-debug/bin/NAnt.Core.dll'.

[resgen] Read in 199 resources from '/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08/src/NAnt.Core/Resources/Strings.resx' [resgen] Writing resource file... Done.

[csc] /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08/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)

/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_nant/work/nant-0.85-nightly-2006-04-08/src/NAnt.Core/NAnt.Core.build(11,10): External Program Failed: /opt/local/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe (return code was 1)

Total time: 34.5 seconds.

BUILD FAILED

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

Total time: 50.9 seconds.

make: * [build-nant] Error 1

Error: /opt/local/bin/port: Status 1 encountered during processing.

this is serious, because much .NET-based software that would otherwise work on mono cant get built because the build-infrastructure relies on nant

Change History (1)

comment:1 Changed 18 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Nant update has been committed that fixes the build error. Make sure you use the latest mono, also updated just days ago.

Note: See TracTickets for help on using tickets.