Commit graph

573 commits

Author SHA1 Message Date
Joey Hess
86ef14ecf0 try different path to msysgit 2015-04-14 14:19:27 -04:00
Joey Hess
b909b3ccbb remove one-off clean 2015-04-06 14:11:43 -04:00
Joey Hess
4ca5370980 force rebuild 2015-04-06 14:07:02 -04:00
Joey Hess
00b07d7155 Better fix for standalone tarball git-annex sync linker shim bug, that works for "git annex sync" as well as "git-annex sync". 2015-03-27 16:06:50 -04:00
Joey Hess
5be536e523 Fix bug introduced in the last release that broke git-annex sync when git-annex was installed from the standalone tarball.
This was introduced by commit 450ee53ab6

However, the same problem could affect other calls to programPath,
specifically some on the assistant. So, I fixed it at a deeper level.
2015-03-27 12:55:18 -04:00
Joey Hess
8fa2b0e8b8 run cabal update before trying to install build deps 2015-03-19 15:55:21 -04:00
Joey Hess
ea8bba4211 correct out of date comment 2015-03-19 15:52:32 -04:00
Joey Hess
76cde095fe Linux standalone: Set LOCPATH=/dev/null to work around https://ghc.haskell.org/trac/ghc/ticket/7695
This prevents localization from working, but git-annex is not localized anyway.
2015-02-25 16:31:01 -04:00
Joey Hess
802e210275 more headers 2015-02-22 17:26:16 -04:00
Joey Hess
59a1430fb2 add a few exports used by generated code 2015-02-22 17:25:57 -04:00
Joey Hess
66804e14c1 get fromPersistValue imported 2015-02-22 15:55:00 -04:00
Joey Hess
eb158aa26c fix import name 2015-02-22 15:49:34 -04:00
Joey Hess
a419a56c45 EvilSplicer hacks for persistent 2015-02-22 15:43:59 -04:00
Joey Hess
52cba8242b update headers to work with spliced TH from persistent 2015-02-22 15:28:09 -04:00
Joey Hess
961f812e35 export Database.Persist.TH 2015-02-22 15:22:24 -04:00
Joey Hess
88fbb13ee3 Linux standalone: Improved process names of linker shimmed programs. 2015-02-16 19:36:26 -04:00
Joey Hess
576acece27 Merge branch 'master' of ssh://git-annex.branchable.com into relativepaths 2015-01-07 17:26:05 -04:00
Joey Hess
bfa6d17e00 remove debug prints; even going to stderr that breaks gnupg's configure script 2015-01-07 16:00:31 -04:00
Joey Hess
51684dc600 typo 2015-01-07 15:50:10 -04:00
Joey Hess
51dd68a28c smarter wrapper; detect -r link option
/home/builder/.ghc/android-14/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: fatal error: -pie and -r are incompatible
2015-01-07 15:48:11 -04:00
Joey Hess
a3ec1d9c12 minor typo 2015-01-07 15:37:22 -04:00
Joey Hess
605600afdb add $@ to wrapper 2015-01-07 15:36:19 -04:00
Joey Hess
508692f110 more PATH typos 2015-01-07 15:35:08 -04:00
Joey Hess
9b5ef546b9 fix path 2015-01-07 15:33:12 -04:00
Joey Hess
c5775455e7 fix -fPIE option 2015-01-07 15:30:50 -04:00
Joey Hess
fc6506b041 subshells for cd && 2015-01-07 15:11:10 -04:00
Joey Hess
0ca73b51b6 typos 2015-01-07 15:08:52 -04:00
Joey Hess
997c4575e0 fix BIGNUM related openssh build breakage 2015-01-07 14:49:04 -04:00
Joey Hess
edf48524da typo 2015-01-07 14:22:02 -04:00
Joey Hess
7ea4cd1688 fix dir name 2015-01-07 14:20:26 -04:00
Joey Hess
f6fa2e6296 typo 2015-01-07 14:17:36 -04:00
Joey Hess
06d1ccd2c7 android binary compatability is so bad we have to build all utilities twice 2015-01-07 14:14:37 -04:00
Joey Hess
550f269828 now I know why the test suite failed on the autobuilder.. MAX_PATH 2015-01-06 14:52:43 -04:00
Joey Hess
bbd5812ab0 iupdate licenses file, removing ASPL
The git-annex dmg used to include some OSX system libraries, but it doesn't
anymore.
2015-01-05 15:47:02 -04:00
Joey Hess
342f97159c fix cd issue 2015-01-05 12:57:54 -04:00
Joey Hess
5c77cef271 Android: Provide a version built with -fPIE -pie to support Android 5.0. 2015-01-05 12:29:20 -04:00
Joey Hess
ae72e4a62a fail windows build if test suite doesn't pass 2014-12-30 17:16:57 -04:00
Joey Hess
ed21043ab7 typo 2014-12-30 15:33:42 -04:00
Joey Hess
8428e36661 try running test in a different directory
I have a theory that something is deleting the .t directory
or it doesn't get made in the location tried.

The last test showed:

  add:  ("recordedInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"start")
("recordedInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"end")
("writeInodeCache",Key {keyName = "e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77", keyBackendName = "SHA256E", keySize = Just 20, keyMtime = Nothing, keyChunkSize = Nothing, keyChunkNum = Nothing},"start")
git-annex: c:\jenkins\workspace\msysgit-git-annex-assistant-test\git-annex\.t\repo\.git\annex\objects\6cd\e82\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77\SHA256E-s20--e394a389d787383843decc5d3d99b6d184ffa5fddeec23b911f9ee7fc8b9ea77.cache: openFile: does not exist (No such file or directory)
FAIL
    add failed

So writeInodeCache is what's failing, and it seems to fail to write the file
despite having made the parent directory.
2014-12-30 15:26:34 -04:00
Joey Hess
c0a10d5907 add missing patches 2014-12-04 13:50:41 -04:00
Joey Hess
33d6057ca3 cabal unpack --pristine
Without --pristine, cabal will update the package's cabal file if a newer
one is available in hackage. But that can break applying patches.
Especially since the new version from hackage can apparently have dos line
endings, while the version from the tarball doesn't.
2014-12-04 01:02:36 -04:00
Joey Hess
9dbd2ff6c2 convert no-th linux build to use cabal.config with pinned versions for reproducability of builds 2014-12-03 21:25:46 -04:00
Joey Hess
068b99f09f cabal install with -j1 to work around ghc qemu threading bug 2014-12-03 21:11:22 -04:00
Joey Hess
c1c096c7a5 update for debian jessie, which has libgnutls28-dev, not libgnutls-dev 2014-12-03 19:21:29 -04:00
Joey Hess
4a51016cfc update licenses file for nsis and NullSoft licences used by windows installer 2014-12-03 14:54:52 -04:00
Joey Hess
fc073b05b0 clarify where host libs come from 2014-12-03 14:51:29 -04:00
Joey Hess
c994d73fcf force recompilation of the nullsoft installer; it does not seem to be noticing changes somehow 2014-12-03 14:00:22 -04:00
Joey Hess
e3672dbe17 update license file, adding licenses of all haskell library dependencies
This only includes dependencies from the git-annex.cabal file,
not dependencies of dependencies etc. I need some kind of automated system to
make sure I get all of those. TTBOMK, all of them are free software,
generally released under a BSD license.
2014-12-01 17:07:11 -04:00
Joey Hess
79b33297d9 avoid false build failure in android log 2014-11-05 11:40:36 -04:00
Joey Hess
11dea710cd deal with android SDK change
No longer has android-18 target, now it's android-19.
2014-10-20 13:16:59 -04:00
Joey Hess
2a68655d65 pin git to known working version 2014-10-16 12:56:15 -04:00
Joey Hess
d89da41855 update git patch to current git 2014-10-16 12:30:52 -04:00
Joey Hess
05efd0c1d7 jessie has a new enough automake, so it doesn't need to be cloned here 2014-10-16 12:15:38 -04:00
Joey Hess
076e9c55ba finished convering android build to pinned packages
Package versions match Debian jessie, except for a few differences
needed due to the different version of ghc pulling in a few buildin
packages with other versions.

Most of the patches were cherry-picked from past commits, since these are
older versions.
2014-10-16 00:31:59 -04:00
Joey Hess
4f62c5358c android rebuild WIP 2014-10-15 14:37:21 -04:00
Joey Hess
6b08fdc818 fix build failure with empty parameter 2014-10-15 11:19:14 -04:00
Joey Hess
3332c4289b no more need for .cabal/bin in PATH 2014-10-15 01:17:17 -04:00
Joey Hess
797301b285 switching android builder to debian jessie 2014-10-14 19:21:26 -04:00
Joey Hess
352e53cc57 avoid pinning some core libs
These vary depending on ghc version, so need to be different
in the native and android ghc cabals.
2014-10-14 17:27:47 -04:00
Joey Hess
580b41850f avoid pinning more ghc builtins 2014-10-14 17:11:28 -04:00
Joey Hess
dadb152988 fix path 2014-10-14 17:04:39 -04:00
Joey Hess
a6d73bb8fe don't pin base 2014-10-14 17:04:33 -04:00
Joey Hess
395371ea37 make cabal.config be available whenever cabal install is run
Ensures the constraints are consistently applied.
2014-10-14 16:02:02 -04:00
Joey Hess
cf005058e4 use cabal.config when installing native 2014-10-14 15:34:06 -04:00
Joey Hess
7a78d111fc use pinned package versions from cabal.config 2014-10-14 15:25:02 -04:00
Joey Hess
9fd3e657e3 actual bounds from android autobuilder 2014-10-14 15:08:15 -04:00
Joey Hess
bd8ecd48b1 de-qualify import
still building with old yesod on android and armel
2014-10-14 14:45:15 -04:00
Joey Hess
ccc45dae92 typo 2014-10-14 12:20:37 -04:00
Joey Hess
a8b2568531 package-qualified import needed by new yesod 2014-10-14 01:25:37 -04:00
Joey Hess
375158f6b5 refresh android and no-th haskell patches to latest package versions from cabal
Added a cabal.config file; the result of running cabal freeze.
It's not used yet (needs a newer cabal than is in debian stable),
but the plan is that once the autbuilders are swiched to jessie,
this can be used to make cabal install the same versions of packages
that this patch got building, and so avoid breaking every time eg, yesod is
upgraded.

This commit was sponsored by Daniel Atlas.
2014-10-14 00:19:07 -04:00
Joey Hess
5cd59f896d update for yesod-form-1.4.0.2 2014-10-13 17:09:12 -04:00
Joey Hess
a1186238dc manual fixups of spices etc 2014-10-13 17:08:29 -04:00
Joey Hess
f025e825f6 build bootstrap3 module 2014-10-13 15:49:59 -04:00
Joey Hess
8362723571 update for yesod-form-1.3.15.4 2014-09-12 22:35:36 -04:00
Joey Hess
748e21c69e fix params 2014-09-12 21:01:40 -04:00
Joey Hess
3eab72d13c refresh patch
Odd, it should have been against 0.0.6 before, but fails to apply now
2014-09-12 20:53:54 -04:00
Joey Hess
47164fb844 remove one shift too many 2014-09-12 15:36:56 -04:00
Joey Hess
1f9ff049a7 armel autobuilder now working again! 2014-08-15 10:58:04 -04:00
Joey Hess
aac85af12e typo 2014-08-14 16:57:53 -04:00
Joey Hess
cdc4ce2eed run only 1 install job at a time
In qemu-system-arm, more jobs seems to cause frequent qemu-related crashes.
2014-08-13 21:14:44 -04:00
Joey Hess
5270dfc823 git-am chooked on this because it has trailing whitespace. srsly? 2014-08-13 14:41:19 -04:00
Joey Hess
06a026d5b9 disable HAVE_CLOCK_GETTIME to avoid needing to port librt to android 2014-08-13 14:32:58 -04:00
Joey Hess
f6b6f14c9c update git patch 2014-08-13 13:51:32 -04:00
Joey Hess
90fdd28fd8 try to fix PATH so test suite will work 2014-08-13 13:29:27 -04:00
Joey Hess
6fe0f300a6 clean up 2014-08-13 13:21:22 -04:00
Joey Hess
7ab5c346ff typo 2014-08-13 13:03:46 -04:00
Joey Hess
75b69dca58 work aroud ongong transformers-compat cabal issue 2014-08-13 13:02:35 -04:00
Joey Hess
77d55672a9 remove old ghc libs 2014-08-13 12:48:20 -04:00
Yury V. Zaytsev
e93f3b99e2 Update build.sh
Haskell Platform now lives in C:/haskell and is on %PATH% by default, msysgit/bin (and msysgit/mingw/bin) directory is also on %PATH% (last)
2014-08-13 11:56:47 +02:00
Joey Hess
6bfc3cf3be re-evil-splicved new version of DAV 2014-08-10 20:01:54 -04:00
Joey Hess
800f8f1028 giving up on windows autobuilder until its HP can be upgraded 2014-08-10 19:56:55 -04:00
Joey Hess
29aa5e82dc trying to work around a dep problem on windows 2014-08-10 19:26:03 -04:00
Joey Hess
f709c786d9 stop nuking cabal 2014-08-10 16:23:25 -04:00
Joey Hess
d8240ca1c1 nuke cabal on windows, so it will build new DAV 2014-08-10 16:06:20 -04:00
Joey Hess
c17bac346f provide utf-8 locale to avoid silly build failure 2014-07-14 21:18:24 -04:00
Joey Hess
6bff8291f1 Merge orca:/tmp/build 2014-07-14 17:57:50 -04:00
Joey Hess
4aa9265042 refresh haskell patches 2014-07-14 17:58:13 -04:00
Joey Hess
f268c2c8ee remove bloomfilter patch no longer needed 2014-07-14 16:55:48 -04:00
Joey Hess
5d2759aa82
fix logic 2014-07-04 13:58:09 -04:00
Joey Hess
08a737c3df
deal with android SDK change
No longer has android-17 target, now it's android-18.
2014-07-04 01:12:13 -04:00
Joey Hess
995cb05408 update android haskell patches 2014-07-04 00:47:49 +01:00
Joey Hess
ecddaffd3e Android: patch git to avoid fchmod, which fails on /sdcard. 2014-07-03 16:02:42 -04:00
Joey Hess
08f1f7a697 generate build-version file on windows autobuilder 2014-06-18 15:21:03 -04:00
Joey Hess
4dd6938850 make EvilSplicer re-box file-embed's ByteStrings
The armel autobuilder started failing:

Assistant/WebApp/Types.hs:128:14:
    primitive string literal must contain only characters <= '\xFF'

This fixes that.
2014-06-13 02:18:31 -04:00
Joey Hess
2d142b4368 Merge orca:tmp/f/build 2014-06-10 22:36:12 -04:00
Joey Hess
2b8dbfe7ab refreshed haskell patches 2014-06-11 03:35:19 +01:00
Joey Hess
d4e71929ba figured out this patch 2014-06-10 16:33:47 -04:00
Joey Hess
d86b8368db skein patch seems to be needed for arm as well as android
I don't understand why this patch is needed.
2014-06-10 14:13:50 -04:00
Joey Hess
0fcc805bc9 vector patch also needed for arm 2014-06-10 12:42:09 -04:00
Joey Hess
2a9f78b6c8
comment back out library removal line 2014-05-29 14:13:41 -04:00
Joey Hess
68a56a691f forcing windows autobuilder to rebootstrap cabal libs 2014-05-29 13:45:30 -04:00
Joey Hess
ba1e14d502
fix gnutls to link, again
I don't know why, but I keep finding that the way I hacked this to work
before doesn't work and a new way is needed. Perhaps changes to cabal made
my old hacks break?
2014-05-26 17:56:41 -04:00
Joey Hess
69f793a2b2
update path to gnutls etc libs 2014-05-26 15:51:21 -04:00
Joey Hess
6dbff11251
another include needed by TH 2014-05-26 15:24:31 -04:00
Joey Hess
7145d25972
work around another dep problem 2014-05-26 13:53:53 -04:00
Joey Hess
70fd42521f
remove patch that turns out to be unnecessary 2014-05-26 13:14:50 -04:00
Joey Hess
8886ccb102 export PATH to alex and happy 2014-05-26 13:13:33 -04:00
Joey Hess
6c1ed6ed4b add imports needed for android with current ghc and libs 2014-05-25 23:00:42 -04:00
Joey Hess
fb3b1fac54 Merge orca:/tmp/build 2014-05-25 22:51:57 -04:00
androidbuilder
0f5b40a106 update remaining android patches 2014-05-26 02:47:15 +00:00
Joey Hess
ddd1a888a7 more work around for cabal dependency mess 2014-05-25 22:20:11 -04:00
Joey Hess
ddb1f25209 network-protocol-xmpp patch no longer needed 2014-05-25 21:59:13 -04:00
Joey Hess
1f05bcea98 libxml-sax patch no longer needed 2014-05-25 21:57:53 -04:00
Joey Hess
8abaafaf6d set unicode locale when building
some packages, particularly unix-compat, fail to install in a C
locale. wow
2014-05-25 21:44:28 -04:00
Joey Hess
6052486dc3 work around recent cabal dependency mess 2014-05-25 21:25:04 -04:00
Joey Hess
89f6f3347d Merge commit '5e9e9d3cc7f54d7aaa835ef7842a9d7a444c3fda' 2014-05-25 12:02:48 -04:00
Sören Brunk
5e9e9d3cc7 update android haskell patches 2014-05-25 10:04:37 +02:00
Joey Hess
1ce222efe9
fix abiversion lookup to work when propellor is running this script 2014-05-25 01:37:22 -04:00
Joey Hess
5ad87aae41
turn on -x debugging in these scripts 2014-05-24 14:44:20 -04:00
Joey Hess
44a3e76115 android: Run busybox install with -s, since some versions of Android prohibit making hard links. 2014-05-23 16:18:55 -04:00
Joey Hess
cb906524a6 update patch to export one more module used by TH 2014-05-22 16:31:40 -04:00
Joey Hess
f70b2a53e8 fix QuickCheck install w/o TH 2014-05-22 15:23:50 -04:00
Joey Hess
e1a17fee88 updating haskell patches, part 2 2014-05-21 12:50:08 -04:00
Your Name
5dfc43915a update haskell patches (incomplete) 2014-05-20 22:12:29 +00:00
Joey Hess
5903d20d5e Support symlinking git-annex and git-annex-shell from the Linux standalone bundle into PATH.
Unless busybox doesn't support readlink -f, then it just uses readlink and
symlinking won't work. Also, OSX has no readlink -f so not done there.

Thanks, jlebar.
2014-05-16 16:22:56 -04:00
Joey Hess
2aed2d8510 Merge branch 'master' into bootstrap3
Conflicts:
	debian/changelog
2014-05-02 15:32:49 -03:00
Joey Hess
2920554787 updated license for bootstrap 3 2014-04-29 15:03:18 -04:00
Joey Hess
ca496b6a97 Standalone builds now check gpg signatures before upgrading. 2014-04-23 13:30:30 -04:00
Joey Hess
4887f8f860 this keyring contains keys that git-annex should trust to sign upgrades
Currently, that is the git-annex distribution signing key, 89C809CB

I have also included my personal gpg key, 2512E3C7. This is in case
something goes wrong with the other key (perhaps it gets lost), we'll
hopefully avoid locking everything out of upgradng.
2014-04-23 12:49:09 -04:00
Joey Hess
eba3a28a28 webapp: Support using git-annex on a remote server, which was installed from the standalone tarball or OSX app, and so does not have git-annex in PATH (and may also not have git or rsync in PATH).
* webapp: Support using git-annex on a remote server, which was installed
  from the standalone tarball or OSX app, and so does not have
  git-annex in PATH (and may also not have git or rsync in PATH).
* standalone tarball, OSX app: Install a ~/.ssh/git-annex-wrapper, which
  can be used to run git-annex, git, rsync, etc.
2014-04-20 18:39:10 -04:00
Joey Hess
4e601cf124 more idempotency fixes 2014-04-05 13:29:17 -04:00
Joey Hess
0d965885b7
idempotency fixes 2014-04-04 19:07:53 -04:00
Joey Hess
15dc2e950b renaming build user for consistency 2014-04-04 19:00:28 -04:00
Joey Hess
2b75beaf4f got tasty-rerun working on android 2014-03-12 12:25:32 -04:00
Joey Hess
9fef973293 patch out another file perm check that does not make sense on android 2014-03-10 16:50:56 -04:00
Joey Hess
6f9f9739eb
actually use patches from linux/haskell-patches 2014-03-10 13:53:01 -04:00
Joey Hess
f7cd43cfd0 really add patch.. 2014-03-10 13:31:23 -04:00
Joey Hess
35aa055039 add a patch to disable accept4, for compatability with older systems 2014-03-10 13:29:24 -04:00
Joey Hess
efafaec3c2 update 2014-03-07 02:23:56 -04:00
Joey Hess
6c3542a1cb Merge remote-tracking branch 'orca/master' 2014-03-07 02:23:51 -04:00