Package: src:arduino-builder
Version: 1.3.25-2
Severity: serious
Tags: ftbfs patch

Dear maintainer:

During a rebuild of all packages in bullseye, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary-arch
dh binary-arch --buildsystem=golang --with=golang
   dh_update_autotools_config -a -O--buildsystem=golang
   dh_autoreconf -a -O--buildsystem=golang
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure
rm -rf obj-*/src/arduino.cc
cp -r -t obj-*/src/ src/*
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -a -O--buildsystem=golang
        cd obj-x86_64-linux-gnu && go install -trimpath -v -p 2 
arduino.cc/arduino-builder
internal/unsafeheader
arduino.cc/builder/constants
internal/cpu
runtime/internal/atomic
runtime/internal/sys
internal/bytealg
runtime/internal/math
math/bits
math
runtime
unicode/utf8
internal/race
sync/atomic
unicode
internal/testlog
encoding
unicode/utf16
internal/reflectlite
sync
errors
sort
strconv
io
internal/oserror
syscall
reflect
internal/syscall/unix
time
internal/fmtsort
internal/syscall/execenv
bytes
internal/poll
strings
os
bufio
regexp/syntax
fmt
regexp
github.com/go-errors/errors
net/url
path/filepath
arduino.cc/builder/i18n
io/ioutil
hash
arduino.cc/builder/gohasissues
arduino.cc/properties
crypto
encoding/binary
arduino.cc/builder/types
encoding/hex
context
crypto/md5
os/exec
arduino.cc/builder/ctags
arduino.cc/timeutils
encoding/base64
arduino.cc/builder/utils
encoding/json
arduino.cc/builder/builder_utils
arduino.cc/builder/phases
flag
arduino.cc/builder
arduino.cc/arduino-builder
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Remove tests which download stuff:
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/add_build_board_property_if_missing_test.go'
removed 'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/builder_test.go'
removed 'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/ctags_runner_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/hardware_loader_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/includes_to_include_folders_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/libraries_loader_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/load_vid_pid_specific_properties_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/merge_sketch_with_bootloader_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/prototypes_adder_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/setup_build_properties_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/target_board_resolver_test.go'
removed 'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/tools_loader_test.go'
removed 
'obj-x86_64-linux-gnu/src/arduino.cc/builder/test/try_build_of_problematic_sketch_test.go'
# Execute the rest of the tests
cd obj-* &&\
export GOPATH=$(pwd) &&\
go test -v -timeout 30m arduino.cc/...
warning: ignoring symlink 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/arduino.cc/builder/test/user_hardware/my_symlinked_avr_platform
?       arduino.cc/arduino-builder      [no test files]
=== RUN   TestFindBestLibraryWithHeader
--- PASS: TestFindBestLibraryWithHeader (0.00s)
PASS
ok      arduino.cc/builder      0.005s
?       arduino.cc/builder/builder_utils        [no test files]
?       arduino.cc/builder/constants    [no test files]
=== RUN   TestCTagsParserShouldListPrototypes
--- PASS: TestCTagsParserShouldListPrototypes (0.00s)
=== RUN   TestCTagsParserShouldListTemplates
--- PASS: TestCTagsParserShouldListTemplates (0.00s)
=== RUN   TestCTagsParserShouldListTemplates2
--- PASS: TestCTagsParserShouldListTemplates2 (0.00s)
=== RUN   TestCTagsParserShouldDealWithClasses
--- PASS: TestCTagsParserShouldDealWithClasses (0.00s)
=== RUN   TestCTagsParserShouldDealWithStructs
--- PASS: TestCTagsParserShouldDealWithStructs (0.00s)
=== RUN   TestCTagsParserShouldDealWithMacros
--- PASS: TestCTagsParserShouldDealWithMacros (0.00s)
=== RUN   TestCTagsParserShouldDealFunctionWithDifferentSignatures
--- PASS: TestCTagsParserShouldDealFunctionWithDifferentSignatures (0.00s)
=== RUN   TestCTagsParserClassMembersAreFilteredOut
--- PASS: TestCTagsParserClassMembersAreFilteredOut (0.00s)
=== RUN   TestCTagsParserStructWithFunctions
--- PASS: TestCTagsParserStructWithFunctions (0.00s)
=== RUN   TestCTagsParserDefaultArguments
--- PASS: TestCTagsParserDefaultArguments (0.00s)
=== RUN   TestCTagsParserNamespace
--- PASS: TestCTagsParserNamespace (0.00s)
=== RUN   TestCTagsParserStatic
--- PASS: TestCTagsParserStatic (0.00s)
=== RUN   TestCTagsParserFunctionPointer
--- PASS: TestCTagsParserFunctionPointer (0.00s)
=== RUN   TestCTagsParserFunctionPointers
--- PASS: TestCTagsParserFunctionPointers (0.00s)
=== RUN   TestCTagsToPrototypesShouldListPrototypes
--- PASS: TestCTagsToPrototypesShouldListPrototypes (0.00s)
=== RUN   TestCTagsToPrototypesShouldListTemplates
--- PASS: TestCTagsToPrototypesShouldListTemplates (0.00s)
=== RUN   TestCTagsToPrototypesShouldListTemplates2
--- PASS: TestCTagsToPrototypesShouldListTemplates2 (0.00s)
=== RUN   TestCTagsToPrototypesShouldDealWithClasses
--- PASS: TestCTagsToPrototypesShouldDealWithClasses (0.00s)
=== RUN   TestCTagsToPrototypesShouldDealWithStructs
--- PASS: TestCTagsToPrototypesShouldDealWithStructs (0.00s)
=== RUN   TestCTagsToPrototypesShouldDealWithMacros
--- PASS: TestCTagsToPrototypesShouldDealWithMacros (0.00s)
=== RUN   TestCTagsToPrototypesShouldDealFunctionWithDifferentSignatures
--- PASS: TestCTagsToPrototypesShouldDealFunctionWithDifferentSignatures (0.00s)
=== RUN   TestCTagsToPrototypesClassMembersAreFilteredOut
--- PASS: TestCTagsToPrototypesClassMembersAreFilteredOut (0.00s)
=== RUN   TestCTagsToPrototypesStructWithFunctions
--- PASS: TestCTagsToPrototypesStructWithFunctions (0.00s)
=== RUN   TestCTagsToPrototypesDefaultArguments
--- PASS: TestCTagsToPrototypesDefaultArguments (0.00s)
=== RUN   TestCTagsToPrototypesNamespace
--- PASS: TestCTagsToPrototypesNamespace (0.00s)
=== RUN   TestCTagsToPrototypesStatic
--- PASS: TestCTagsToPrototypesStatic (0.00s)
=== RUN   TestCTagsToPrototypesFunctionPointer
--- PASS: TestCTagsToPrototypesFunctionPointer (0.00s)
=== RUN   TestCTagsToPrototypesFunctionPointers
--- PASS: TestCTagsToPrototypesFunctionPointers (0.00s)
=== RUN   TestCTagsRunnerSketchWithClassFunction
--- PASS: TestCTagsRunnerSketchWithClassFunction (0.00s)
PASS
ok      arduino.cc/builder/ctags        0.010s
?       arduino.cc/builder/gohasissues  [no test files]
?       arduino.cc/builder/i18n [no test files]
=== RUN   TestSizerWithAVRData
--- PASS: TestSizerWithAVRData (0.00s)
=== RUN   TestSizerWithSAMDData
--- PASS: TestSizerWithSAMDData (0.00s)
=== RUN   TestSizerEmptyRegexpReturnsMinusOne
--- PASS: TestSizerEmptyRegexpReturnsMinusOne (0.00s)
=== RUN   TestSizerWithInvalidRegexp
--- PASS: TestSizerWithInvalidRegexp (0.00s)
PASS
ok      arduino.cc/builder/phases       0.005s
=== RUN   TestAddAdditionalEntriesToContextNoBuildPath
--- PASS: TestAddAdditionalEntriesToContextNoBuildPath (0.00s)
=== RUN   TestAddAdditionalEntriesToContextWithBuildPath
--- PASS: TestAddAdditionalEntriesToContextWithBuildPath (0.00s)
=== RUN   TestCopyOtherFiles
--- PASS: TestCopyOtherFiles (0.00s)
=== RUN   TestCopyOtherFilesOnlyIfChanged
--- PASS: TestCopyOtherFilesOnlyIfChanged (2.00s)
=== RUN   TestObjFileIsUpToDateObjMissing
--- PASS: TestObjFileIsUpToDateObjMissing (0.00s)
=== RUN   TestObjFileIsUpToDateDepMissing
--- PASS: TestObjFileIsUpToDateDepMissing (0.00s)
=== RUN   TestObjFileIsUpToDateObjOlder
--- PASS: TestObjFileIsUpToDateObjOlder (1.00s)
=== RUN   TestObjFileIsUpToDateObjNewer
--- PASS: TestObjFileIsUpToDateObjNewer (1.00s)
=== RUN   TestObjFileIsUpToDateDepIsNewer
--- PASS: TestObjFileIsUpToDateDepIsNewer (2.00s)
=== RUN   TestObjFileIsUpToDateDepIsOlder
--- PASS: TestObjFileIsUpToDateDepIsOlder (1.00s)
=== RUN   TestObjFileIsUpToDateDepIsWrong
--- PASS: TestObjFileIsUpToDateDepIsWrong (2.00s)
=== RUN   TestCreateBuildOptionsMap
--- PASS: TestCreateBuildOptionsMap (0.00s)
=== RUN   TestFailIfBuildPathEqualsSketchPath
--- PASS: TestFailIfBuildPathEqualsSketchPath (0.00s)
=== RUN   TestFailIfBuildPathEqualsSketchPathSketchPathDiffers
--- PASS: TestFailIfBuildPathEqualsSketchPathSketchPathDiffers (0.00s)
=== RUN   TestGenerateBuildPathIfMissing
--- PASS: TestGenerateBuildPathIfMissing (0.00s)
=== RUN   TestGenerateBuildPathIfEmpty
--- PASS: TestGenerateBuildPathIfEmpty (0.00s)
=== RUN   TestDontGenerateBuildPathIfPresent
--- PASS: TestDontGenerateBuildPathIfPresent (0.00s)
=== RUN   TestGenerateBuildPathAndEnsureItExists
--- PASS: TestGenerateBuildPathAndEnsureItExists (0.00s)
=== RUN   TestI18NSyntax
--- PASS: TestI18NSyntax (0.00s)
=== RUN   TestI18NInheritance
good morning vietnam!
===info ||| good {0} {1} ||| [morning vietnam%21]
--- PASS: TestI18NInheritance (0.00s)
=== RUN   TestIncludesFinderWithRegExp
--- PASS: TestIncludesFinderWithRegExp (0.00s)
=== RUN   TestIncludesFinderWithRegExpEmptyOutput
--- PASS: TestIncludesFinderWithRegExpEmptyOutput (0.00s)
=== RUN   TestIncludesFinderWithRegExpPaddedIncludes
--- PASS: TestIncludesFinderWithRegExpPaddedIncludes (0.00s)
=== RUN   TestIncludesFinderWithRegExpPaddedIncludes2
--- PASS: TestIncludesFinderWithRegExpPaddedIncludes2 (0.00s)
=== RUN   TestIncludesFinderWithRegExpPaddedIncludes3
--- PASS: TestIncludesFinderWithRegExpPaddedIncludes3 (0.00s)
=== RUN   TestIncludesFinderWithRegExpPaddedIncludes4
--- PASS: TestIncludesFinderWithRegExpPaddedIncludes4 (0.00s)
=== RUN   TestLoadPreviousBuildOptionsMap
--- PASS: TestLoadPreviousBuildOptionsMap (0.00s)
=== RUN   TestLoadPreviousBuildOptionsMapMissingFile
--- PASS: TestLoadPreviousBuildOptionsMapMissingFile (0.00s)
=== RUN   TestLoadPlatformKeysRewrite
--- PASS: TestLoadPlatformKeysRewrite (0.00s)
=== RUN   TestReadFileAndStoreInContext
--- PASS: TestReadFileAndStoreInContext (0.00s)
=== RUN   TestRecipeRunner
--- PASS: TestRecipeRunner (0.00s)
=== RUN   TestRecipesComposition
--- PASS: TestRecipesComposition (0.00s)
=== RUN   TestRewriteHardwareKeys
--- PASS: TestRewriteHardwareKeys (0.00s)
=== RUN   TestRewriteHardwareKeysWithRewritingDisabled
--- PASS: TestRewriteHardwareKeysWithRewritingDisabled (0.00s)
=== RUN   TestLoadSketchWithFolder
--- PASS: TestLoadSketchWithFolder (0.00s)
=== RUN   TestLoadSketchNonExistentPath
--- PASS: TestLoadSketchNonExistentPath (0.00s)
=== RUN   TestLoadSketch
--- PASS: TestLoadSketch (0.00s)
=== RUN   TestFailToLoadSketchFromFolder
--- PASS: TestFailToLoadSketchFromFolder (0.00s)
=== RUN   TestLoadSketchFromFolder
--- PASS: TestLoadSketchFromFolder (0.00s)
=== RUN   TestLoadSketchWithBackup
--- PASS: TestLoadSketchWithBackup (0.00s)
=== RUN   TestLoadSketchWithMacOSXGarbage
--- PASS: TestLoadSketchWithMacOSXGarbage (0.00s)
=== RUN   TestMergeSketch
--- PASS: TestMergeSketch (0.00s)
=== RUN   TestStoreBuildOptionsMap
--- PASS: TestStoreBuildOptionsMap (0.00s)
=== RUN   TestUniqueStringQueue
--- PASS: TestUniqueStringQueue (0.00s)
=== RUN   TestStrConvUnquote
--- PASS: TestStrConvUnquote (0.00s)
=== RUN   TestUnusedCompiledLibrariesRemover
--- PASS: TestUnusedCompiledLibrariesRemover (0.00s)
=== RUN   TestUnusedCompiledLibrariesRemoverLibDoesNotExist
--- PASS: TestUnusedCompiledLibrariesRemoverLibDoesNotExist (0.00s)
=== RUN   TestUnusedCompiledLibrariesRemoverNoUsedLibraries
--- PASS: TestUnusedCompiledLibrariesRemoverNoUsedLibraries (0.00s)
=== RUN   TestCommandLineParser
--- PASS: TestCommandLineParser (0.00s)
=== RUN   TestCommandLineParserError
--- PASS: TestCommandLineParserError (0.00s)
=== RUN   TestMapTrimSpace
--- PASS: TestMapTrimSpace (0.00s)
=== RUN   TestQuoteCppString
--- PASS: TestQuoteCppString (0.00s)
=== RUN   TestParseCppString
--- PASS: TestParseCppString (0.00s)
=== RUN   TestWipeoutBuildPathIfBuildOptionsChanged
Build options changed, rebuilding all
--- PASS: TestWipeoutBuildPathIfBuildOptionsChanged (0.00s)
=== RUN   TestWipeoutBuildPathIfBuildOptionsChangedNoPreviousBuildOptions
--- PASS: TestWipeoutBuildPathIfBuildOptionsChangedNoPreviousBuildOptions 
(0.00s)
PASS
ok      arduino.cc/builder/test 9.030s
?       arduino.cc/builder/types        [no test files]
?       arduino.cc/builder/utils        [no test files]
=== RUN   TestPropertiesBoardsTxt
--- PASS: TestPropertiesBoardsTxt (0.00s)
=== RUN   TestPropertiesTestTxt
--- PASS: TestPropertiesTestTxt (0.00s)
=== RUN   TestExpandPropsInString
--- PASS: TestExpandPropsInString (0.00s)
=== RUN   TestExpandPropsInString2
--- PASS: TestExpandPropsInString2 (0.00s)
=== RUN   TestDeleteUnexpandedPropsFromString
--- PASS: TestDeleteUnexpandedPropsFromString (0.00s)
=== RUN   TestDeleteUnexpandedPropsFromString2
--- PASS: TestDeleteUnexpandedPropsFromString2 (0.00s)
=== RUN   TestPropertiesRedBeearLabBoardsTxt
--- PASS: TestPropertiesRedBeearLabBoardsTxt (0.00s)
=== RUN   TestPropertiesBroken
--- PASS: TestPropertiesBroken (0.00s)
PASS
ok      arduino.cc/properties   0.006s
=== RUN   TestTime
    time_test.go:41:
                Error Trace:    time_test.go:41
                Error:          Received unexpected error:
                                unknown time zone CET
                Test:           TestTime
--- FAIL: TestTime (0.00s)
FAIL
FAIL    arduino.cc/timeutils    0.005s
FAIL
make[1]: *** [debian/rules:37: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:25: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant 
part)

Note: I'm using the "patch" tag because there is an obvious fix
(indicated in the subject).

About the archive rebuild: The build was made using virtual machines
from Hetzner, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages (plus
debhelper).

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to