From 2eb1164f9478c830923be45564a5fdcf9753779d Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 1 Nov 2015 19:15:27 +0000 Subject: [PATCH] AppVeyor: fix fork() on 32 bit cygwin in shell module. [2015-10-31 22:44:22.609963] (user/test) CLI -> ZNC [PRIVMSG *shell :echo blahblah] 0 [main] znc 2624 child_info_fork::abort: address space needed by 'simple_away.so' (0x380000) is already occupied [2015-10-31 22:44:22.618538] (user/test) ZNC -> CLI [:*shell!shell@/home/appveyor PRIVMSG nick :Failed to execute: Resource temporarily unavailable] --- .appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index ce3e46ba..7ed4e17c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -29,6 +29,9 @@ build_script: - c:\cygwin-root\bin\sh -lc "cd $APPVEYOR_BUILD_FOLDER/build; make VERBOSE=1 -j2 < /dev/null" - c:\cygwin-root\bin\sh -lc "cd $APPVEYOR_BUILD_FOLDER/build; make install < /dev/null" - c:\cygwin-root\bin\sh -lc "znc --version" + # fix fork() + - c:\cygwin-root\bin\sh -lc "find /usr/local/lib/znc -iname '*.dll' -o -iname '*.so' | tee /tmp/files-to-rebase" + - c:\cygwin-root\bin\sh -lc "rebaseall -v -T /tmp/files-to-rebase" test_script: - c:\cygwin-root\bin\sh -lc "cd $APPVEYOR_BUILD_FOLDER/build; make VERBOSE=1 test < /dev/null" - c:\cygwin-root\bin\sh -lc "cd $APPVEYOR_BUILD_FOLDER/build; make VERBOSE=1 test2 < /dev/null"