logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-536) Can't build for NETCF-2.0
Date Wed, 30 Nov 2016 05:22:58 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15707588#comment-15707588
] 

Stefan Bodewig commented on LOG4NET-536:
----------------------------------------

AFAIU there is no system wide Mutex in NETCF. so LOG4NET-486 seems to have broken NETCF since
1.2.14.

For now I've hidden the mutex code in trunk, could you please try again so we can get to the
next compilation error?

I won't close this issue for now as we are likely to touch the same code again when tackling
LOG4NET-487 - we'll probably ask you to verify trunk builds again.

> Can't build for NETCF-2.0
> -------------------------
>
>                 Key: LOG4NET-536
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-536
>             Project: Log4net
>          Issue Type: Bug
>          Components: Builds
>    Affects Versions: 1.2.15
>         Environment: win7 x64
>            Reporter: luzht
>            Priority: Blocker
>              Labels: build-failure
>             Fix For: 2.0.6
>
>
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Licensed to the Apache Software Foundation (ASF) under one

> E:\lib\log4net-1.2.15>rem or more contributor license agreements.  See the NOTICE
file 
> E:\lib\log4net-1.2.15>rem distributed with this work for additional information 
> E:\lib\log4net-1.2.15>rem regarding copyright ownership.  The ASF licenses this file

> E:\lib\log4net-1.2.15>rem to you under the Apache License, Version 2.0 (the 
> E:\lib\log4net-1.2.15>rem "License"); you may not use this file except in compliance

> E:\lib\log4net-1.2.15>rem with the License.  You may obtain a copy of the License
at 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem   http://www.apache.org/licenses/LICENSE-2.0 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem Unless required by applicable law or agreed to in writing,

> E:\lib\log4net-1.2.15>rem software distributed under the License is distributed on
an 
> E:\lib\log4net-1.2.15>rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 
> E:\lib\log4net-1.2.15>rem KIND, either express or implied.  See the License for the

> E:\lib\log4net-1.2.15>rem specific language governing permissions and limitations

> E:\lib\log4net-1.2.15>rem under the License. 
> E:\lib\log4net-1.2.15>rem
> E:\lib\log4net-1.2.15>rem
> LOG4NET_DIR is E:\lib\log4net-1.2.15
> NANTEXE_PATH is E:\tools\nant-0.92\bin\nant.exe
> BUILD_FILE is E:\lib\log4net-1.2.15\log4net.build
> NAnt 0.92 (Build 0.92.4543.0; release; 2012-06-09)
> Copyright (C) 2001-2012 Gerry Shaw
> http://nant.sourceforge.net
> Buildfile: file:///E:/lib/log4net-1.2.15/log4net.build
> Target framework: Microsoft .NET Framework 4.0
> Target(s) specified: compile-all 
> check-current-build-config:
> set-build-configuration:
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> check-current-build-config:
> set-framework-configuration:
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-net-4.0-runtime-configuration:
> generate-assembly-description:
>    [delete] Deleting file E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs.
>   [asminfo] Generated file 'E:\lib\log4net-1.2.15\src\GeneratedAssemblyInfo.cs'.
> compile-all:
>      [echo] Compiling all build configurations for all runtime configurations.
> set-debug-build-configuration:
> check-current-build-config:
> set-build-configuration-flags:
> compile-build:
>      [echo] Compiling all framework versions for the debug build configuration.
> check-bin-dir:
> check-doc-dir:
> check-sdkdoc-dir:
> check-sdkdoc-debug:
> check-current-build-config:
> check-build-debug:
> check-build-defines:
> set-netcf-2.0-runtime-configuration:
>  [property] Target framework changed to "Microsoft .NET Compact Framework 2.0".
> check-log4net-basedir:
> check-current-bin-dir:
> clean-current-bin-dir:
>      [echo] Cleaning the bin/netcf/2.0/debug binaries directory.
>    [delete] Deleting directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
>     [mkdir] Creating directory 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug'.
> compile-netcf-2.0:
>       [csc] Compiling 225 files to 'E:\lib\log4net-1.2.15\bin\netcf\2.0\debug\log4net.dll'.
>       [csc] e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(36,20): error
CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether a using
directive or an assembly reference is missing?)
>       [csc] e:\lib\log4net-1.2.15\src\Util\LogicalThreadContextStacks.cs(48,39): error
CS0246: Can't find class or namespace“LogicalThreadContextProperties”(Whether a using
directive or an assembly reference is missing?)
> BUILD FAILED
> E:\lib\log4net-1.2.15\log4net.build(454,6):
> External Program Failed: C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe (return
code was 1)
> Total time: 1.2 seconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message