Source: nant
Version: 0.92~rc1+dfsg-6
Severity: serious
Tags: stretch sid
User: [email protected]
Usertags: qa-ftbfs-20161001 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[2]: Entering directory '/<<BUILDDIR>>/nant-0.92~rc1+dfsg'
> mkdir -p bootstrap
> # Mono loads log4net before privatebinpath is set-up, so we need this in the 
> same directory
> # as NAnt.exe
> cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
> /usr/bin/mono-csc  -target:exe 
> -define:MONO,NET_1_0,NET_1_1,NET_2_0,NET_3_5,NET_4_0,NET_4_5,ONLY_4_5 
> -out:bootstrap/NAnt.exe -pkg:log4net \
>       -r:System.Configuration.dll -recurse:src/NAnt.Console/*.cs 
> src/CommonAssemblyInfo.cs
> src/NAnt.Console/ConsoleStub.cs(415,45): warning CS0618: 
> `System.AppDomain.AppendPrivatePath(string)' is obsolete: 
> `AppDomain.AppendPrivatePath has been deprecated. Please investigate the use 
> of AppDomainSetup.PrivateBinPath instead.'
> src/NAnt.Console/ConsoleStub.cs(423,49): warning CS0618: 
> `System.AppDomain.AppendPrivatePath(string)' is obsolete: 
> `AppDomain.AppendPrivatePath has been deprecated. Please investigate the use 
> of AppDomainSetup.PrivateBinPath instead.'
> Compilation succeeded - 2 warning(s)
> resgen  src/NAnt.Core/Resources/Strings.resx 
> bootstrap/NAnt.Core.Resources.Strings.resources
> Read in 198 resources from 
> '/<<BUILDDIR>>/nant-0.92~rc1+dfsg/src/NAnt.Core/Resources/Strings.resx'
> Writing resource file...  Done.
> /usr/bin/mono-csc  -target:library -warn:0 
> -define:MONO,NET_1_0,NET_1_1,NET_2_0,NET_3_5,NET_4_0,NET_4_5,ONLY_4_5 
> -out:bootstrap/NAnt.Core.dll -debug \
>       -resource:bootstrap/NAnt.Core.Resources.Strings.resources -pkg:log4net \
>       -r:System.Web.dll -recurse:src/NAnt.Core/*.cs src/CommonAssemblyInfo.cs
> resgen  src/NAnt.DotNet/Resources/Strings.resx 
> bootstrap/NAnt.DotNet.Resources.Strings.resources
> Read in 77 resources from 
> '/<<BUILDDIR>>/nant-0.92~rc1+dfsg/src/NAnt.DotNet/Resources/Strings.resx'
> Writing resource file...  Done.
> /usr/bin/mono-csc  -target:library -warn:0 
> -define:MONO,NET_1_0,NET_1_1,NET_2_0,NET_3_5,NET_4_0,NET_4_5,ONLY_4_5 
> -out:bootstrap/NAnt.DotNetTasks.dll \
>       -r:./bootstrap/NAnt.Core.dll \
>       -recurse:src/NAnt.DotNet/*.cs 
> -resource:bootstrap/NAnt.DotNet.Resources.Strings.resources \
>       src/CommonAssemblyInfo.cs
> /usr/bin/mono-csc  -target:library -warn:0 
> -define:MONO,NET_1_0,NET_1_1,NET_2_0,NET_3_5,NET_4_0,NET_4_5,ONLY_4_5 
> -out:bootstrap/NAnt.CompressionTasks.dll \
>       -r:./bootstrap/NAnt.Core.dll -r:ICSharpCode.SharpZipLib.dll \
>       -recurse:src/NAnt.Compression/*.cs src/CommonAssemblyInfo.cs
> /usr/bin/cli bootstrap/NAnt.exe  -t:mono-4.5 -f:NAnt.build build
> 
> Unhandled Exception:
> System.TypeInitializationException: The type initializer for 
> 'NAnt.Console.ConsoleStub' threw an exception. ---> 
> System.TypeInitializationException: The type initializer for 
> 'log4net.Core.LoggerManager' threw an exception. ---> 
> System.TypeInitializationException: The type initializer for 
> 'log4net.Util.SystemInfo' threw an exception. ---> 
> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
> File name: '/etc/localtime'
>   at System.IO.FileStream..ctor (System.String path, FileMode mode, 
> FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, 
> FileOptions options) <0x7f8463d5d2c0 + 0x005ed> in <filename unknown>:0 
>   at System.IO.FileStream..ctor (System.String path, FileMode mode, 
> FileAccess access, FileShare share) <0x7f8463d5cf30 + 0x0004b> in <filename 
> unknown>:0 
>   at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor 
> (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
>   at System.IO.File.OpenRead (System.String path) <0x7f8463d5aa50 + 0x00034> 
> in <filename unknown>:0 
>   at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, 
> System.String filepath) <0x7f8463cbbfe0 + 0x00032> in <filename unknown>:0 
>   at System.TimeZoneInfo.CreateLocal () <0x7f8463cba850 + 0x00176> in 
> <filename unknown>:0 
>   at System.TimeZoneInfo.get_Local () <0x7f8463cba7c0 + 0x00025> in <filename 
> unknown>:0 
>   at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, 
> System.Boolean& isAmbiguousLocalDst) <0x7f8463cbbce0 + 0x00017> in <filename 
> unknown>:0 
>   at System.DateTime.get_Now () <0x7f8463b64260 + 0x00046> in <filename 
> unknown>:0 
>   at log4net.Util.SystemInfo..cctor () <0x41c1eb10 + 0x00042> in <filename 
> unknown>:0 
>   --- End of inner exception stack trace ---
>   at log4net.Core.LoggerManager.GetVersionInfo () <0x41c1e660 + 0x0010c> in 
> <filename unknown>:0 
>   at log4net.Core.LoggerManager..cctor () <0x41c1dda0 + 0x0009e> in <filename 
> unknown>:0 
>   --- End of inner exception stack trace ---
>   at log4net.LogManager.GetLogger (System.Reflection.Assembly 
> repositoryAssembly, System.String name) <0x41c1dc50 + 0x00019> in <filename 
> unknown>:0 
>   at log4net.LogManager.GetLogger (System.Type type) <0x41c1d5e0 + 0x0003d> 
> in <filename unknown>:0 
>   at NAnt.Console.ConsoleStub..cctor () <0x41c1d280 + 0x00030> in <filename 
> unknown>:0 
>   --- End of inner exception stack trace ---
> [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The 
> type initializer for 'NAnt.Console.ConsoleStub' threw an exception. ---> 
> System.TypeInitializationException: The type initializer for 
> 'log4net.Core.LoggerManager' threw an exception. ---> 
> System.TypeInitializationException: The type initializer for 
> 'log4net.Util.SystemInfo' threw an exception. ---> 
> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
> File name: '/etc/localtime'
>   at System.IO.FileStream..ctor (System.String path, FileMode mode, 
> FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, 
> FileOptions options) <0x7f8463d5d2c0 + 0x005ed> in <filename unknown>:0 
>   at System.IO.FileStream..ctor (System.String path, FileMode mode, 
> FileAccess access, FileShare share) <0x7f8463d5cf30 + 0x0004b> in <filename 
> unknown>:0 
>   at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor 
> (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
>   at System.IO.File.OpenRead (System.String path) <0x7f8463d5aa50 + 0x00034> 
> in <filename unknown>:0 
>   at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, 
> System.String filepath) <0x7f8463cbbfe0 + 0x00032> in <filename unknown>:0 
>   at System.TimeZoneInfo.CreateLocal () <0x7f8463cba850 + 0x00176> in 
> <filename unknown>:0 
>   at System.TimeZoneInfo.get_Local () <0x7f8463cba7c0 + 0x00025> in <filename 
> unknown>:0 
>   at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, 
> System.Boolean& isAmbiguousLocalDst) <0x7f8463cbbce0 + 0x00017> in <filename 
> unknown>:0 
>   at System.DateTime.get_Now () <0x7f8463b64260 + 0x00046> in <filename 
> unknown>:0 
>   at log4net.Util.SystemInfo..cctor () <0x41c1eb10 + 0x00042> in <filename 
> unknown>:0 
>   --- End of inner exception stack trace ---
>   at log4net.Core.LoggerManager.GetVersionInfo () <0x41c1e660 + 0x0010c> in 
> <filename unknown>:0 
>   at log4net.Core.LoggerManager..cctor () <0x41c1dda0 + 0x0009e> in <filename 
> unknown>:0 
>   --- End of inner exception stack trace ---
>   at log4net.LogManager.GetLogger (System.Reflection.Assembly 
> repositoryAssembly, System.String name) <0x41c1dc50 + 0x00019> in <filename 
> unknown>:0 
>   at log4net.LogManager.GetLogger (System.Type type) <0x41c1d5e0 + 0x0003d> 
> in <filename unknown>:0 
>   at NAnt.Console.ConsoleStub..cctor () <0x41c1d280 + 0x00030> in <filename 
> unknown>:0 
>   --- End of inner exception stack trace ---
> Makefile:81: recipe for target 'build-nant' failed
> make[2]: *** [build-nant] Error 1

If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185

If the failure looks LSB-related:
similarly to tzdata, lsb-base is not installed in the build chroot.

The full build log is available from:
   http://aws-logs.debian.net/2016/10/01/nant_0.92~rc1+dfsg-6_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to