Package: git-annex Version: 6.20161210-1 The autobuilder for s390x failed to build git-annex, see <URL: https://buildd.debian.org/status/fetch.php?pkg=git-annex&arch=s390x&ver=6.20161210-1&stamp=1481412454 >. I could reproduce it on the porterbox, and the git-annex binary seem to be completely broken. Even running it without any argument in valgrind segfaults:
$ valgrind ./git-annex ==11450== Memcheck, a memory error detector ==11450== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==11450== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info ==11450== Command: ./git-annex ==11450== ==11450== Warning: set address range perms: large range [0x200000000, 0x600100000) (noaccess) Missing: COMMAND Usage: git-annex COMMAND git-annex - manage files with git, without checking their contents in Commonly used commands: add PATH ... add files to annex addurl URL ... add urls to annex assistant automatically sync changes copy PATH ... copy content of files to/from another repository drop PATH ... remove content of files from repository edit PATH ... same as unlock get PATH ... make content of annexed files available help COMMAND display help import PATH ... move and add files from outside git working copy importfeed URL ... import files from podcast feeds lock PATH ... undo unlock command mirror PATH ... mirror content of files to/from another repository move PATH ... move content of files to/from another repository rmurl FILE URL ... record file is not available at url status PATH ... show the working tree status sync REMOTE ... synchronize local repository with remotes undo PATH ... undo last change to a file or directory unlock PATH ... unlock files for modification watch watch for changes and autocommit webapp launch webapp Repository setup commands: adjust enter adjusted branch dead REMOTE ... hide a lost repository or key describe REMOTE DESC change description of a repository direct switch repository to direct mode enable-tor uid enable tor hidden service enableremote NAME K=V ... enables git-annex to use a remote group REMOTE DESC add a repository to a group groupwanted GROUP EXPR get or set groupwanted expression indirect switch repository to indirect mode init DESC initialize git-annex initremote NAME K=V ... creates a special (non-git) remote numcopies NUMBER configure desired number of copies p2p configure peer-2-peer links between repositories required REMOTE EXPR get or set required content expression schedule REMOTE EXPR get or set scheduled jobs semitrust REMOTE ... return repository to default trust level trust REMOTE ... trust a repository ungroup REMOTE DESC remove a repository from a group untrust REMOTE ... do not trust a repository vicfg edit git-annex's configuration wanted REMOTE EXPR get or set preferred content expression Repository maintenance commands: addunused NUM|RANGE ... add back unused files dropunused NUM|RANGE ... drop unused file content expire REMOTE:TIME ... expire inactive repositories fix PATH ... fix up links to annexed content forget prune git-annex branch history fsck PATH ... find and fix problems merge automatically merge changes from remotes remotedaemon persistent communication with remotes repair recover broken git repository unused look for unused file content upgrade upgrade repository layout Query commands: find PATH ... lists available files info ITEM ... shows information about the specified item or the repository as a whole list PATH ... show which remotes contain files log PATH ... shows location log map generate map of repositories version show version info whereis PATH ... lists repositories that have file content Metadata commands: metadata PATH ... sets or gets metadata of a file vadd FIELD=GLOB ... add subdirs to current view vcycle switch view to next layout vfilter FIELD=VALUE ... filter current view view FIELD=VALUE ... enter a view branch vpop NUMBER switch back to previous view Utility commands: migrate PATH ... switch data to different backend reinit UUID|DESC initialize repository, reusing old UUID reinject SRC DEST ... inject content of file back into annex unannex PATH ... undo accidential add command uninit PATH ... de-initialize git-annex and clean out repository Plumbing commands: calckey FILE ... calculates the key that would be used to refer to a file checkpresentkey KEY REMOTE check if key is present in remote contentlocation KEY ... looks up content for a key diffdriver -- cmd -- external git diff driver shim dropkey KEY ... drops annexed content for specified keys examinekey KEY ... prints information from a key findref REF lists files in a git ref fromkey KEY PATH ... adds a file using a specific key lookupkey FILE ... looks up key used for file matchexpression EXPR checks if a preferred content expression matches pre-commit PATH ... run by git pre-commit hook proxy -- git command safely bypass direct mode guard readpresentkey KEY UUID read records of where key is present registerurl KEY URL registers an url for a key rekey PATH KEY ... change keys used for files resolvemerge resolve merge conflicts setkey KEY PATH sets annexed content for a key setpresentkey KEY UUID [1|0] change records of where key is present smudge FILE git smudge filter transferkey KEY transfers a key from or to a remote transferkeys transfers keys xmppgit git to XMPP relay Testing commands: fuzztest generates fuzz test files test run built-in test suite testremote REMOTE test transfers to/from a remote ==11450== Jump to the invalid address stated on the next line ==11450== at 0xC01005203850E310: ??? ==11450== by 0xE327519: ??? (in /usr/lib/s390x-linux-gnu/libgnutls.so.30.13.0) ==11450== by 0xE318BC9: ??? (in /usr/lib/s390x-linux-gnu/libgnutls.so.30.13.0) ==11450== by 0xD8AFD21: _dl_fini (dl-fini.c:235) ==11450== by 0xE817743: __run_exit_handlers (exit.c:83) ==11450== by 0xE817795: exit (exit.c:105) ==11450== by 0xA596F4D: stg_exit (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA596F6F: shutdownHaskellAndExit (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA2DBC3D: ??? (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA5D1F2B: StgRun (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA5A0447: schedule (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA5A17FF: scheduleWaitThread (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== Address 0xc01005203850e310 is not stack'd, malloc'd or (recently) free'd ==11450== ==11450== ==11450== Process terminating with default action of signal 11 (SIGSEGV) ==11450== Bad permissions for mapped region at address 0xC01005203850E310 ==11450== at 0xC01005203850E310: ??? ==11450== by 0xE327519: ??? (in /usr/lib/s390x-linux-gnu/libgnutls.so.30.13.0) ==11450== by 0xE318BC9: ??? (in /usr/lib/s390x-linux-gnu/libgnutls.so.30.13.0) ==11450== by 0xD8AFD21: _dl_fini (dl-fini.c:235) ==11450== by 0xE817743: __run_exit_handlers (exit.c:83) ==11450== by 0xE817795: exit (exit.c:105) ==11450== by 0xA596F4D: stg_exit (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA596F6F: shutdownHaskellAndExit (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA2DBC3D: ??? (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA5D1F2B: StgRun (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA5A0447: schedule (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== by 0xA5A17FF: scheduleWaitThread (in /home/pere/git-annex-6.20161210/dist/build/git-annex/git-annex) ==11450== ==11450== HEAP SUMMARY: ==11450== in use at exit: 133,683 bytes in 23 blocks ==11450== total heap usage: 1,449 allocs, 1,426 frees, 1,062,272 bytes allocated ==11450== ==11450== LEAK SUMMARY: ==11450== definitely lost: 0 bytes in 0 blocks ==11450== indirectly lost: 0 bytes in 0 blocks ==11450== possibly lost: 320 bytes in 1 blocks ==11450== still reachable: 133,363 bytes in 22 blocks ==11450== suppressed: 0 bytes in 0 blocks ==11450== Rerun with --leak-check=full to see details of leaked memory ==11450== ==11450== For counts of detected and suppressed errors, rerun with: -v ==11450== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Segmentation fault % Is haskell or gnutls broken on s390x? -- Happy hacking Petter Reinholdtsen