[pkg-go] Bug#835398: golang-codegangsta-cli: FTBFS: FAIL: TestDurationFlagHelpOutput (0.00s)

Chris Lamb lamby at debian.org
Thu Aug 25 10:24:43 UTC 2016


Source: golang-codegangsta-cli
Version: 0.0~git20151221-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

golang-codegangsta-cli fails to build from source in unstable/amd64:

  [..]

    bzr ca-certificates mercurial subversion
  Recommended packages:
    pkg-config
  The following NEW packages will be installed:
    dh-golang golang-1.7-go golang-1.7-src golang-go golang-src
  0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 26.3 MB of archives.
  After this operation, 143 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 dh-golang all 1.19 [9548 B]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 golang-1.7-src amd64 1.7-3 [7643 kB]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 golang-1.7-go amd64 1.7-3 [18.6 MB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 golang-src amd64 2:1.7~1 [3186 B]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 golang-go amd64 2:1.7~1 [22.3 kB]
  Fetched 26.3 MB in 5s (4778 kB/s)
  Selecting previously unselected package dh-golang.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23248 files and directories currently installed.)
  Preparing to unpack .../0-dh-golang_1.19_all.deb ...
  Unpacking dh-golang (1.19) ...
  Selecting previously unselected package golang-1.7-src.
  Preparing to unpack .../1-golang-1.7-src_1.7-3_amd64.deb ...
  Unpacking golang-1.7-src (1.7-3) ...
  Selecting previously unselected package golang-1.7-go.
  Preparing to unpack .../2-golang-1.7-go_1.7-3_amd64.deb ...
  Unpacking golang-1.7-go (1.7-3) ...
  Selecting previously unselected package golang-src.
  Preparing to unpack .../3-golang-src_2%3a1.7~1_amd64.deb ...
  Unpacking golang-src (2:1.7~1) ...
  Selecting previously unselected package golang-go.
  Preparing to unpack .../4-golang-go_2%3a1.7~1_amd64.deb ...
  Unpacking golang-go (2:1.7~1) ...
  Setting up dh-golang (1.19) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up golang-1.7-src (1.7-3) ...
  Setting up golang-src (2:1.7~1) ...
  Setting up golang-1.7-go (1.7-3) ...
  Setting up golang-go (2:1.7~1) ...
  Setting up golang-codegangsta-cli-build-deps (0.0~git20151221-1) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=95bba4897261
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160825112008.qQADM95yuy.db.golang-codegangsta-cli/golang-codegangsta-cli-0.0~git20151221
  OLDPWD=/home/lamby/temp/cdt.20160825112008.qQADM95yuy.db.golang-codegangsta-cli
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building golang-codegangsta-cli 0.0~git20151221-1 on amd64                       **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package golang-codegangsta-cli
  dpkg-buildpackage: info: source version 0.0~git20151221-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Dmitry Smirnov <onlyjob at debian.org>
   dpkg-source --before-build golang-codegangsta-cli-0.0~git20151221
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_auto_clean -O--buildsystem=golang
     dh_clean -O--buildsystem=golang
   debian/rules build
  dh build --buildsystem=golang --with=golang
     dh_testdir -O--buildsystem=golang
     dh_update_autotools_config -O--buildsystem=golang
     dh_auto_configure -O--buildsystem=golang
     dh_auto_build -O--buildsystem=golang
  	go install -v -p 1 github.com/codegangsta/cli
  github.com/codegangsta/cli
     dh_auto_test -O--buildsystem=golang
  	go test -v -p 1 github.com/codegangsta/cli
  === RUN   TestApp_Run
  --- PASS: TestApp_Run (0.00s)
  === RUN   TestApp_Command
  --- PASS: TestApp_Command (0.00s)
  === RUN   TestApp_CommandWithArgBeforeFlags
  --- PASS: TestApp_CommandWithArgBeforeFlags (0.00s)
  === RUN   TestApp_RunAsSubcommandParseFlags
  --- PASS: TestApp_RunAsSubcommandParseFlags (0.00s)
  === RUN   TestApp_CommandWithFlagBeforeTerminator
  --- PASS: TestApp_CommandWithFlagBeforeTerminator (0.00s)
  === RUN   TestApp_CommandWithNoFlagBeforeTerminator
  --- PASS: TestApp_CommandWithNoFlagBeforeTerminator (0.00s)
  === RUN   TestApp_Float64Flag
  --- PASS: TestApp_Float64Flag (0.00s)
  === RUN   TestApp_ParseSliceFlags
  --- PASS: TestApp_ParseSliceFlags (0.00s)
  === RUN   TestApp_ParseSliceFlagsWithMissingValue
  --- PASS: TestApp_ParseSliceFlagsWithMissingValue (0.00s)
  === RUN   TestApp_DefaultStdout
  --- PASS: TestApp_DefaultStdout (0.00s)
  === RUN   TestApp_SetStdout
  --- PASS: TestApp_SetStdout (0.00s)
  === RUN   TestApp_BeforeFunc
  --- PASS: TestApp_BeforeFunc (0.00s)
  === RUN   TestApp_AfterFunc
  --- PASS: TestApp_AfterFunc (0.00s)
  === RUN   TestAppNoHelpFlag
  --- PASS: TestAppNoHelpFlag (0.00s)
  === RUN   TestAppHelpPrinter
  --- PASS: TestAppHelpPrinter (0.00s)
  === RUN   TestAppVersionPrinter
  --- PASS: TestAppVersionPrinter (0.00s)
  === RUN   TestAppCommandNotFound
  --- PASS: TestAppCommandNotFound (0.00s)
  === RUN   TestGlobalFlag
  --- PASS: TestGlobalFlag (0.00s)
  === RUN   TestGlobalFlagsInSubcommands
  --- PASS: TestGlobalFlagsInSubcommands (0.00s)
  === RUN   TestApp_Run_CommandWithSubcommandHasHelpTopic
  --- PASS: TestApp_Run_CommandWithSubcommandHasHelpTopic (0.00s)
  	app_test.go:692: ==> checking with flags [command foo --help]
  	app_test.go:720: output: "NAME:\n   cli.test foo - descriptive wall of text about how it does foo things\n\nUSAGE:\n   cli.test foo command [command options] [arguments...]\n\nCOMMANDS:\n   bar\t\tdoes bar things\n   baz\t\tdoes baz things\n   help, h\tShows a list of commands or help for one command\n   \nOPTIONS:\n   --help, -h\tshow help\n   \n"
  	app_test.go:692: ==> checking with flags [command foo -h]
  	app_test.go:720: output: "NAME:\n   cli.test foo - descriptive wall of text about how it does foo things\n\nUSAGE:\n   cli.test foo command [command options] [arguments...]\n\nCOMMANDS:\n   bar\t\tdoes bar things\n   baz\t\tdoes baz things\n   help, h\tShows a list of commands or help for one command\n   \nOPTIONS:\n   --help, -h\tshow help\n   \n"
  	app_test.go:692: ==> checking with flags [command foo help]
  	app_test.go:720: output: "NAME:\n   cli.test foo - descriptive wall of text about how it does foo things\n\nUSAGE:\n   cli.test foo [global options] command [command options] [arguments...]\n   \nVERSION:\n   0.0.0\n   \nCOMMANDS:\n   bar\t\tdoes bar things\n   baz\t\tdoes baz things\n   help, h\tShows a list of commands or help for one command\n   \nGLOBAL OPTIONS:\n   --help, -h\tshow help\n   \n"
  === RUN   TestApp_Run_SubcommandFullPath
  --- PASS: TestApp_Run_SubcommandFullPath (0.00s)
  === RUN   TestApp_Run_SubcommandHelpName
  --- PASS: TestApp_Run_SubcommandHelpName (0.00s)
  === RUN   TestApp_Run_CommandHelpName
  --- PASS: TestApp_Run_CommandHelpName (0.00s)
  === RUN   TestApp_Run_CommandSubcommandHelpName
  --- PASS: TestApp_Run_CommandSubcommandHelpName (0.00s)
  === RUN   TestApp_Run_Help
  --- PASS: TestApp_Run_Help (0.00s)
  	app_test.go:867: ==> checking with arguments [boom --help]
  	app_test.go:883: output: "NAME:\n   boom - make an explosive entrance\n\nUSAGE:\n   cli.test [global options] command [command options] [arguments...]\n   \nVERSION:\n   0.0.0\n   \nCOMMANDS:\n   help, h\tShows a list of commands or help for one command\n   \nGLOBAL OPTIONS:\n   --help, -h\t\tshow help\n   --version, -v\tprint the version\n   \n"
  	app_test.go:867: ==> checking with arguments [boom -h]
  	app_test.go:883: output: "NAME:\n   boom - make an explosive entrance\n\nUSAGE:\n   cli.test [global options] command [command options] [arguments...]\n   \nVERSION:\n   0.0.0\n   \nCOMMANDS:\n   help, h\tShows a list of commands or help for one command\n   \nGLOBAL OPTIONS:\n   --help, -h\t\tshow help\n   --version, -v\tprint the version\n   \n"
  	app_test.go:867: ==> checking with arguments [boom help]
  	app_test.go:883: output: "NAME:\n   boom - make an explosive entrance\n\nUSAGE:\n   cli.test [global options] command [command options] [arguments...]\n   \nVERSION:\n   0.0.0\n   \nCOMMANDS:\n   help, h\tShows a list of commands or help for one command\n   \nGLOBAL OPTIONS:\n   --help, -h\t\tshow help\n   --version, -v\tprint the version\n   \n"
  === RUN   TestApp_Run_Version
  --- PASS: TestApp_Run_Version (0.00s)
  	app_test.go:897: ==> checking with arguments [boom --version]
  	app_test.go:914: output: "boom version 0.1.0\n"
  	app_test.go:897: ==> checking with arguments [boom -v]
  	app_test.go:914: output: "boom version 0.1.0\n"
  === RUN   TestApp_Run_DoesNotOverwriteErrorFromBefore
  --- PASS: TestApp_Run_DoesNotOverwriteErrorFromBefore (0.00s)
  === RUN   TestApp_Run_SubcommandDoesNotOverwriteErrorFromBefore
  --- PASS: TestApp_Run_SubcommandDoesNotOverwriteErrorFromBefore (0.00s)
  === RUN   TestCommandFlagParsing
  --- PASS: TestCommandFlagParsing (0.00s)
  === RUN   TestNewContext
  --- PASS: TestNewContext (0.00s)
  === RUN   TestContext_Int
  --- PASS: TestContext_Int (0.00s)
  === RUN   TestContext_Duration
  --- PASS: TestContext_Duration (0.00s)
  === RUN   TestContext_String
  --- PASS: TestContext_String (0.00s)
  === RUN   TestContext_Bool
  --- PASS: TestContext_Bool (0.00s)
  === RUN   TestContext_BoolT
  --- PASS: TestContext_BoolT (0.00s)
  === RUN   TestContext_Args
  --- PASS: TestContext_Args (0.00s)
  === RUN   TestContext_IsSet
  --- PASS: TestContext_IsSet (0.00s)
  === RUN   TestContext_GlobalIsSet
  --- PASS: TestContext_GlobalIsSet (0.00s)
  === RUN   TestContext_NumFlags
  --- PASS: TestContext_NumFlags (0.00s)
  === RUN   TestBoolFlagHelpOutput
  --- PASS: TestBoolFlagHelpOutput (0.00s)
  === RUN   TestStringFlagHelpOutput
  --- PASS: TestStringFlagHelpOutput (0.00s)
  === RUN   TestStringFlagWithEnvVarHelpOutput
  --- PASS: TestStringFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestStringSliceFlagHelpOutput
  --- PASS: TestStringSliceFlagHelpOutput (0.00s)
  === RUN   TestStringSliceFlagWithEnvVarHelpOutput
  --- PASS: TestStringSliceFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestIntFlagHelpOutput
  --- PASS: TestIntFlagHelpOutput (0.00s)
  === RUN   TestIntFlagWithEnvVarHelpOutput
  --- PASS: TestIntFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestDurationFlagHelpOutput
  --- FAIL: TestDurationFlagHelpOutput (0.00s)
  	flag_test.go:167: --help "0s"	 does not match --help "0"	
  	flag_test.go:167: -h "0s"	 does not match -h "0"	
  === RUN   TestDurationFlagWithEnvVarHelpOutput
  --- PASS: TestDurationFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestIntSliceFlagHelpOutput
  --- PASS: TestIntSliceFlagHelpOutput (0.00s)
  === RUN   TestIntSliceFlagWithEnvVarHelpOutput
  --- PASS: TestIntSliceFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestFloat64FlagHelpOutput
  --- PASS: TestFloat64FlagHelpOutput (0.00s)
  === RUN   TestFloat64FlagWithEnvVarHelpOutput
  --- PASS: TestFloat64FlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestGenericFlagHelpOutput
  --- PASS: TestGenericFlagHelpOutput (0.00s)
  === RUN   TestGenericFlagWithEnvVarHelpOutput
  --- PASS: TestGenericFlagWithEnvVarHelpOutput (0.00s)
  === RUN   TestParseMultiString
  --- PASS: TestParseMultiString (0.00s)
  === RUN   TestParseDestinationString
  --- PASS: TestParseDestinationString (0.00s)
  === RUN   TestParseMultiStringFromEnv
  --- PASS: TestParseMultiStringFromEnv (0.00s)
  === RUN   TestParseMultiStringFromEnvCascade
  --- PASS: TestParseMultiStringFromEnvCascade (0.00s)
  === RUN   TestParseMultiStringSlice
  --- PASS: TestParseMultiStringSlice (0.00s)
  === RUN   TestParseMultiStringSliceFromEnv
  --- PASS: TestParseMultiStringSliceFromEnv (0.00s)
  === RUN   TestParseMultiStringSliceFromEnvCascade
  --- PASS: TestParseMultiStringSliceFromEnvCascade (0.00s)
  === RUN   TestParseMultiInt
  --- PASS: TestParseMultiInt (0.00s)
  === RUN   TestParseDestinationInt
  --- PASS: TestParseDestinationInt (0.00s)
  === RUN   TestParseMultiIntFromEnv
  --- PASS: TestParseMultiIntFromEnv (0.00s)
  === RUN   TestParseMultiIntFromEnvCascade
  --- PASS: TestParseMultiIntFromEnvCascade (0.00s)
  === RUN   TestParseMultiIntSlice
  --- PASS: TestParseMultiIntSlice (0.00s)
  === RUN   TestParseMultiIntSliceFromEnv
  --- PASS: TestParseMultiIntSliceFromEnv (0.00s)
  === RUN   TestParseMultiIntSliceFromEnvCascade
  --- PASS: TestParseMultiIntSliceFromEnvCascade (0.00s)
  === RUN   TestParseMultiFloat64
  --- PASS: TestParseMultiFloat64 (0.00s)
  === RUN   TestParseDestinationFloat64
  --- PASS: TestParseDestinationFloat64 (0.00s)
  === RUN   TestParseMultiFloat64FromEnv
  --- PASS: TestParseMultiFloat64FromEnv (0.00s)
  === RUN   TestParseMultiFloat64FromEnvCascade
  --- PASS: TestParseMultiFloat64FromEnvCascade (0.00s)
  === RUN   TestParseMultiBool
  --- PASS: TestParseMultiBool (0.00s)
  === RUN   TestParseDestinationBool
  --- PASS: TestParseDestinationBool (0.00s)
  === RUN   TestParseMultiBoolFromEnv
  --- PASS: TestParseMultiBoolFromEnv (0.00s)
  === RUN   TestParseMultiBoolFromEnvCascade
  --- PASS: TestParseMultiBoolFromEnvCascade (0.00s)
  === RUN   TestParseMultiBoolT
  --- PASS: TestParseMultiBoolT (0.00s)
  === RUN   TestParseDestinationBoolT
  --- PASS: TestParseDestinationBoolT (0.00s)
  === RUN   TestParseMultiBoolTFromEnv
  --- PASS: TestParseMultiBoolTFromEnv (0.00s)
  === RUN   TestParseMultiBoolTFromEnvCascade
  --- PASS: TestParseMultiBoolTFromEnvCascade (0.00s)
  === RUN   TestParseGeneric
  --- PASS: TestParseGeneric (0.00s)
  === RUN   TestParseGenericFromEnv
  --- PASS: TestParseGenericFromEnv (0.00s)
  === RUN   TestParseGenericFromEnvCascade
  --- PASS: TestParseGenericFromEnvCascade (0.00s)
  === RUN   Test_ShowAppHelp_NoAuthor
  --- PASS: Test_ShowAppHelp_NoAuthor (0.00s)
  === RUN   Test_ShowAppHelp_NoVersion
  --- PASS: Test_ShowAppHelp_NoVersion (0.00s)
  === RUN   Test_Help_Custom_Flags
  --- PASS: Test_Help_Custom_Flags (0.00s)
  === RUN   Test_Version_Custom_Flags
  --- PASS: Test_Version_Custom_Flags (0.00s)
  === RUN   ExampleApp_Run
  --- PASS: ExampleApp_Run (0.00s)
  === RUN   ExampleApp_Run_subcommand
  --- PASS: ExampleApp_Run_subcommand (0.00s)
  === RUN   ExampleApp_Run_help
  --- PASS: ExampleApp_Run_help (0.00s)
  === RUN   ExampleApp_Run_bashComplete
  --- PASS: ExampleApp_Run_bashComplete (0.00s)
  FAIL
  exit status 1
  FAIL	github.com/codegangsta/cli	0.016s
  dh_auto_test: go test -v -p 1 github.com/codegangsta/cli returned exit code 1
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: golang-codegangsta-cli.0.0~git20151221-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3397 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20160825/fd66676e/attachment-0001.obj>


More information about the Pkg-go-maintainers mailing list