Giter Site home page Giter Site logo

mumble-releng's People

Contributors

ahohnmyc avatar ankhers avatar coconitro avatar davidebeatrici avatar dofuuz avatar hacst avatar jj777 avatar kissaki avatar mkrautz avatar sregister avatar tbotv63 avatar zuko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mumble-releng's Issues

prep.cmd doesn't support Visual C++ Build Tools 2015 (suggested by BuildingWindows wiki page)

This page [1] under the "Software you will need" section says "Visual C++ Build Tools 2015 or Visual Studio Community 2015 Update 3: We need the MSVC 2015 compilation tools." But when you run the MumbleBuild - cmd shortcut and it executes prep.cmd, it checks %VSVER% and finds it is 14.0 and then finds that %XPCOMPAT% is set to 1 so it goes to VS2015XP and then tries to execute CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 1>NUL and discovers that directory doesn't exist,

The system cannot find the path specified.

c:\Program Files (x86)>dir /s vsvarsall.bat
 Volume in drive C is Windows
 Volume Serial Number is F87A-37E6
File Not Found

However, I do see the following in this directory,

c:\Program Files (x86)\Microsoft Visual C++ Build Tools>dir
 Volume in drive C is Windows
 Volume Serial Number is F87A-37E6

 Directory of c:\Program Files (x86)\Microsoft Visual C++ Build Tools

08/13/2017  07:31 PM    <DIR>          .
08/13/2017  07:31 PM    <DIR>          ..
06/20/2016  01:36 PM            33,006 vcbuildtools.bat
06/20/2016  01:36 PM               534 vcbuildtools_msbuild.bat
08/13/2017  07:31 PM             1,905 Visual C++ 2015 MSBuild Command Prompt.lnk
08/13/2017  07:31 PM             1,945 Visual C++ 2015 x64 arm cross Build Tools Command Prompt.lnk
08/13/2017  07:31 PM             1,931 Visual C++ 2015 x64 Native Build Tools Command Prompt.lnk
08/13/2017  07:31 PM             1,945 Visual C++ 2015 x64 x86  cross Build Tools Command Prompt.lnk
08/13/2017  07:31 PM             1,941 Visual C++ 2015 x86 arm cross Build Tools Command Prompt.lnk
08/13/2017  07:31 PM             1,927 Visual C++ 2015 x86 Native Build Tools Command Prompt.lnk
08/13/2017  07:31 PM             1,945 Visual C++ 2015 x86 x64 Cross Build Tools Command Prompt.lnk
               9 File(s)         47,079 bytes
               2 Dir(s)   3,749,003,264 bytes free

So maybe a simple check if vsvarsall.bat exists and if not then check for this vcbuildtools.bat?

[1] https://wiki.mumble.info/wiki/BuildingWindows

Windows 8.1 slave should use Jenkins service

Check whether the issue that prevented us from using the normal service installation on our Windows 8.1 build slave is gone. If so, set it up instead of having to launch the workaround version manually after every reboot.

cygwin-bootstrap failing to install package 'base-files'

Here's the output of running the setup.cmd,

2017/04/17 14:58:09 preparing target 'C:\MumbleBuild\win32-static-1.3.x-2017-04-14-c6f166d-858\cygwin'
2017/04/17 14:58:09 preparing distfiles 'C:\MumbleBuild\win32-static-1.3.x-2017-04-14-c6f166d-858\cygwin\distfiles'
2017/04/17 14:58:09 fetching setup.ini
2017/04/17 14:58:13 fetching setup.ini.sig
2017/04/17 14:58:13 verifying setup.ini.sig
2017/04/17 14:58:13 reading setup.ini
2017/04/17 14:58:13 installing package 'base-cygwin'
2017/04/17 14:58:14 installing package 'cygwin'
2017/04/17 14:58:17 installing package 'base-files'
0 [main] bash 12104 child_info_fork::abort: C:\MumbleBuild\win32-static-1.3.x-2017-04-14-c6f166d-858\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0xEC0000) != child(0xFD0000)
0 [main] bash 4252 child_info_fork::abort: C:\MumbleBuild\win32-static-1.3.x-2017-04-14-c6f166d-858\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0xEC0000) != child(0x1060000)
0 [main] bash 4224 child_info_fork::abort: C:\MumbleBuild\win32-static-1.3.x-2017-04-14-c6f166d-858\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0xEC0000) != child(0xEE0000)
0 [main] bash 14340 child_info_fork::abort: C:\MumbleBuild\win32-static-1.3.x-2017-04-14-c6f166d-858\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0xEC0000) != child(0xEE0000)
0 [main] bash 14788 child_info_fork::abort: C:\MumbleBuild\win32-static-1.3.x-2017-04-14-c6f166d-858\cygwin\bin\cygiconv-2.dll: Loaded to different address: parent(0xEC0000) != child(0xF80000)
2017/04/17 14:58:57 package install failed: exit status 254
Unable bootstrap cygwin

I'm running Windows 10 and have the following cygwin,
$ uname -a
CYGWIN_NT-10.0 DEMO1 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin

Do not build Ice tests or run them

The ice build folder is 12 GB after being built. The cpp tests folder is 8 GB. (For comparison: Qt is 7.3 GB)

We should either drop building the tests (for a huge saving in disk space and build time), or implement running the tests in the ice build file (to make use of the built tests).

Building buildenv fails on IceMX

I built current env d219ea1 noltg with build all.

ObjectFactoryF.cpp
C:\MumbleBuild\win64-static-no-ltcg-1.3.x-2017-03-26-d219ea1-825.build\ice-3.6.1\cpp\include\Ice/Metrics.h(1861): error C2248: 'IceMX::Metrics::__vbaseDtor': cannot access protected member declared in class 'IceMX::Metrics' (compiling source file Metrics.cpp)
C:\MumbleBuild\win64-static-no-ltcg-1.3.x-2017-03-26-d219ea1-825.build\ice-3.6.1\cpp\include\Ice/Metrics.h(1849): note: compiler has generated 'IceMX::Metrics::__vbaseDtor' here (compiling source file Metrics.cpp)
C:\MumbleBuild\win64-static-no-ltcg-1.3.x-2017-03-26-d219ea1-825.build\ice-3.6.1\cpp\include\Ice/Metrics.h(1795): note: see declaration of 'IceMX::Metrics' (compiling source file Metrics.cpp)

Mumble build window cygwin64 doesn't work

$ ./build-all.bash

  • echo 'The win64-static build environment is maintained '
    The win64-static build environment is maintained
  • echo 'in the same directory as the win32-static build '
    in the same directory as the win32-static build
  • echo environment.
    environment.
  • echo
  • echo 'I will automatically change to the win32-static directory '
    I will automatically change to the win32-static directory
  • echo 'and call the win32-static '''build-all.bash''' to initiate '
    and call the win32-static 'build-all.bash' to initiate
  • echo 'the win64-static build.'
    the win64-static build.
  • cd ../win32-static
  • ./build-all.bash
  • ./nasm-binary.build
    ++ git rev-parse --show-toplevel
  • RELENG_ROOT=C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng
  • '[' C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng '!=' 'C:\MumbleBuild\win64-static-1.3.x-2016-06-11-6ba4b84-650\mumble-releng' ']'
  • export MUMBLE_RELENG_ROOT=C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng
  • MUMBLE_RELENG_ROOT=C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng
  • MUMBLE_BUILD=C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng/mumble-build/mumble-build
  • echo 'Using mumble-build script at '''C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng/mumble-build/mumble-build''' instead.'
    Using mumble-build script at 'C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng/mumble-build/mumble-build' instead.
  • set +e
  • C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng/mumble-build/mumble-build ./nasm-binary.build
    ++ git rev-parse --show-toplevel
  • RELENG_ROOT=C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng
  • '[' C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng '!=' C:/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng ']'
  • '[' /cygdrive/c/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650 == '' ']'
  • '[' /cygdrive/c/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650.build == '' ']'
  • . ./nasm-binary.build
    ++ urls=("http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip" "http://www.nasm.us/pub/nasm/releasebuilds/2.11/win32/nasm-2.11-win32.zip")
    ++ digests=("sha1:d02cd111fc74daaf901a714d4d325fef5f769224" "sha256:abcad8089bdf03c10e0cd621415ae71cd8289d346000ee8b1e8aaf27f6d98de9")
  • '[' 12.0 '!=' '' ']'
    ++ echo 12.0
    ++ sed 's,.0,,'
  • VSMAJOR=12
  • [[ 12 -gt 11 ]]
  • [[ amd64 == \x\8\6 ]]
  • MUMBLE_BUILDENV_ROOT=/cygdrive/c/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650/mumble-releng/buildenv/1.3.x/win32-static
  • cd /cygdrive/c/MumbleBuild/win64-static-1.3.x-2016-06-11-6ba4b84-650.build
  • vet
  • '[' 2 -gt 0 ']'
    ++ __urlpath http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
    +++ basename http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
    +++ sed 's,.*#fn=,,'
    ++ realfn=nasm-2.11-win32.zip
    ++ '[' nasm-2.11-win32.zip == '' ']'
    ++ echo nasm-2.11-win32.zip
  • fn=nasm-2.11-win32.zip
  • for url in '"${urls[@]}"'
    ++ __urlpath http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
    +++ basename http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
    +++ sed 's,.*#fn=,,'
    ++ realfn=nasm-2.11-win32.zip
    ++ '[' nasm-2.11-win32.zip == '' ']'
    ++ echo nasm-2.11-win32.zip
  • urlfn=nasm-2.11-win32.zip
  • '[' nasm-2.11-win32.zip '!=' nasm-2.11-win32.zip ']'
  • for url in '"${urls[@]}"'
    ++ __urlpath http://www.nasm.us/pub/nasm/releasebuilds/2.11/win32/nasm-2.11-win32.zip
    +++ basename http://www.nasm.us/pub/nasm/releasebuilds/2.11/win32/nasm-2.11-win32.zip
    +++ sed 's,.*#fn=,,'
    ++ realfn=nasm-2.11-win32.zip
    ++ '[' nasm-2.11-win32.zip == '' ']'
    ++ echo nasm-2.11-win32.zip
  • urlfn=nasm-2.11-win32.zip
  • '[' nasm-2.11-win32.zip '!=' nasm-2.11-win32.zip ']'
  • fetch
  • '[' 2 -eq 0 ']'
    ++ __urlpath http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
    +++ basename http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
    +++ sed 's,.*#fn=,,'
    ++ realfn=nasm-2.11-win32.zip
    ++ '[' nasm-2.11-win32.zip == '' ']'
    ++ echo nasm-2.11-win32.zip
  • fn=nasm-2.11-win32.zip
  • '[' '!' -s nasm-2.11-win32.zip ']'
  • '[' -f nasm-2.11-win32.zip ']'
  • '[' '!' -f nasm-2.11-win32.zip ']'
  • set +e
  • for url in '"${urls[@]}"'
  • curl --connect-timeout 30 -f -L -o nasm-2.11-win32.zip http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 422k 100 422k 0 0 351k 0 0:00:01 0:00:01 --:--:-- 361k
  • '[' 0 -eq 0 ']'
  • break
  • set -e
  • '[' '!' -f nasm-2.11-win32.zip ']'
  • '[' '!' -s nasm-2.11-win32.zip ']'
  • verify
  • '[' 2 -eq 0 ']'
    ++ which sha1sum
  • '[' /usr/bin/sha1sum '!=' '' ']'
  • SHA1_CMD=sha1sum
    ++ which sha256sum
  • '[' /usr/bin/sha256sum '!=' '' ']'
  • SHA256_CMD=sha256sum
    ++ basename http://releng-distfiles.mumble.info/releng-distfiles/nasm-2.11-win32.zip
  • fn=nasm-2.11-win32.zip
  • for digest in '"${digests[@]}"'
  • '[' sha1: == sha1: ']'
    ++ sha1sum nasm-2.11-win32.zip
    ++ cut -b -40
  • '[' sha1:d02cd111fc74daaf901a714d4d325fef5f769224 '!=' sha1:d02cd111fc74daaf901a714d4d325fef5f769224 ']'
  • '[' sha1:d0 == sha256: ']'
  • for digest in '"${digests[@]}"'
  • '[' sha25 == sha1: ']'
  • '[' sha256: == sha256: ']'
    ++ sha256sum nasm-2.11-win32.zip
    ++ cut -b -64
  • '[' sha256:abcad8089bdf03c10e0cd621415ae71cd8289d346000ee8b1e8aaf27f6d98de9 '!=' sha256:abcad8089bdf03c10e0cd621415ae71cd8289d346000ee8b1e8aaf27f6d98de9 ']'
  • extract
  • unzip -q -o nasm-2.11-win32.zip
    3 [main] unzip (18096) C:\Program Files\Git\usr\bin\unzip.exe: *** fatal error - cygheap base mismatch detected - 0x18033E400/0x180330400.
    This problem is probably due to using incompatible versions of the cygwin DLL.
    Search for cygwin1.dll using the Windows Start->Find/Search facility
    and delete all but the most recent version. The most recent version should
    reside in x:\cygwin\bin, where 'x' is the drive on which you have
    installed the cygwin distribution. Rebooting is also suggested if you
    are unable to find another cygwin DLL.
  • exit 127

Error in qmake.

Hello.
I finally finished to build the dependencies using x64 env.
I'm using the MumbleBuild - Cmd
Also i have got a install of qt.(just for info)
but when i run qmake i get this error log:
C:\MumbleBuild\win32-static-1.3.x-2015-05-19-587ee03\mumble>qmake -recursive mai
n.pro CONFIG+="release static no-elevation no-g15 no-asio" CONFIG-=sse2
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/3rdparty/spe
ex-build/speex-build.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/3rdparty/cel
t-0.7.0-build/celt-0.7.0-build.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/3rdparty/cel
t-0.11.0-build/celt-0.11.0-build.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/3rdparty/opu
s-build/opus-build.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/3rdparty/min
hook-build/minhook-build.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/src/mumble/m
umble.pro
Project MESSAGE: This project is using private headers and will therefore be tie
d to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules m
ay crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have
been warned!
WARNING: Failure to find: qt_cs.qm
WARNING: Failure to find: qt_da.qm
WARNING: Failure to find: qt_de.qm
WARNING: Failure to find: qt_es.qm
WARNING: Failure to find: qt_fr.qm
WARNING: Failure to find: qt_he.qm
WARNING: Failure to find: qt_hu.qm
WARNING: Failure to find: qt_ja.qm
WARNING: Failure to find: qt_pl.qm
WARNING: Failure to find: qt_pt.qm
WARNING: Failure to find: qt_ru.qm
WARNING: Failure to find: qt_sv.qm
WARNING: Failure to find: qt_zh_CN.qm
WARNING: Failure to find: qt_zh_TW.qm
WARNING: Failure to find: qt_cs.qm
WARNING: Failure to find: qt_da.qm
WARNING: Failure to find: qt_de.qm
WARNING: Failure to find: qt_es.qm
WARNING: Failure to find: qt_fr.qm
WARNING: Failure to find: qt_he.qm
WARNING: Failure to find: qt_hu.qm
WARNING: Failure to find: qt_ja.qm
WARNING: Failure to find: qt_pl.qm
WARNING: Failure to find: qt_pt.qm
WARNING: Failure to find: qt_ru.qm
WARNING: Failure to find: qt_sv.qm
WARNING: Failure to find: qt_zh_CN.qm
WARNING: Failure to find: qt_zh_TW.qm
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_cs.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_cy.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_da.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_de.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_el.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_en.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_en_GB.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_eo.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_es.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_eu.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_fa_IR.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_fi.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_fr.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_gl.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_he.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_hu.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_it.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_ja.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_ko.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_lt.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_nl.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_no.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_pl.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_pt_BR.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_pt_PT.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_ru.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_sk.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_sv.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_th.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_tr.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_vi.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_zh_CN.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_zh_TW.qm'
RCC: Warning: No resources in 'mumble_translations.qrc'.
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_cs.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_da.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_de.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_es.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_fr.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_he.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_hu.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qttranslations/qt_it.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_ja.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qttranslations/qt_nl.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_pl.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_pt.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_ru.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_sv.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qttranslations/qt_tr.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_zh_CN.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_zh_TW.qm'
RCC: Warning: No resources in 'mumble_qt.qrc'.
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_cs.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_cy.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_da.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_de.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_el.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_en.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_en_GB.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_eo.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_es.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_eu.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_fa_IR.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_fi.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_fr.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_gl.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_he.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_hu.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_it.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_ja.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_ko.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_lt.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_nl.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_no.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_pl.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_pt_BR.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_pt_PT.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_ru.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_sk.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_sv.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_th.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_tr.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_vi.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_zh_CN.qm'
RCC: Error in 'mumble_translations.qrc': Cannot find file 'mumble_zh_TW.qm'
RCC: Warning: No resources in 'mumble_translations.qrc'.
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_cs.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_da.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_de.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_es.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_fr.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_he.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_hu.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qttranslations/qt_it.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_ja.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qttranslations/qt_nl.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_pl.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_pt.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_ru.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_sv.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qttranslations/qt_tr.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_zh_CN.qm'
RCC: Error in 'mumble_qt.qrc': Cannot find file 'qt_zh_TW.qm'
RCC: Warning: No resources in 'mumble_qt.qrc'.
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/src/mumble_e
xe/mumble_exe.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/plug
ins.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/lin
k/link.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/man
ual/manual.pro
Project MESSAGE: This project is using private headers and will therefore be tie
d to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules m
ay crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You have
been warned!
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/aoc
/aoc.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/arm
a2/arma2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bf1
942/bf1942.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bf2
/bf2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bf3
/bf3.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bf2
142/bf2142.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bfb
c2/bfbc2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bfh
eroes/bfheroes.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bla
cklight/blacklight.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bor
derlands/borderlands.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bor
derlands2/borderlands2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/bre
ach/breach.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/cod
2/cod2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/cod
4/cod4.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/cod
5/cod5.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/cod
mw2/codmw2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/cod
mw2so/codmw2so.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/cs/
cs.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/css
/css.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/dod
s/dods.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/dys
/dys.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/etq
w/etqw.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/tf2
/tf2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/gmo
d/gmod.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/gta
iv/gtaiv.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/gw/
gw.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/hl2
dm/hl2dm.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/ins
urgency/insurgency.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/jc2
/jc2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/l4d
/l4d.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/l4d
2/l4d2.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/lol
/lol.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/lot
ro/lotro.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/sr/
sr.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/sto
/sto.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/ut2
004/ut2004.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/ut3
/ut3.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/ut9
9/ut99.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/wol
fet/wolfet.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/plugins/wow
/wow.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/3rdparty/fx1
1-build-x86/fx11-build-x86.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/3rdparty/fx1
1-build-x64/fx11-build-x64.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/overlay/over
lay.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/overlay/over
lay_exe/overlay_exe.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/overlay_winx
64/overlay_winx64.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/overlay_winx
64/overlay_exe_winx64/overlay_exe_winx64.pro
Reading C:/MumbleBuild/win32-static-1.3.x-2015-05-19-587ee03/mumble/src/murmur/m
urmur.pro
Project WARNING: Plugin class name could not be determined for qcleanlooksstyle
plugin.
Project WARNING: Plugin class name could not be determined for qmotifstyle plugi
n.
Project WARNING: Plugin class name could not be determined for qplastiquestyle p
lugin.
Project WARNING: Plugin class name could not be determined for qcleanlooksstyle
plugin.
Project WARNING: Plugin class name could not be determined for qmotifstyle plugi
n.
Project WARNING: Plugin class name could not be determined for qplastiquestyle p
lugin.
Project WARNING: Plugin class name could not be determined for qcleanlooksstyle
plugin.
Project WARNING: Plugin class name could not be determined for qmotifstyle plugi
n.
Project WARNING: Plugin class name could not be determined for qplastiquestyle p
lugin.

Add MSVC version check to Windows buildenv

Something like this, maybe:

diff --git a/buildenv/1.3.x/win32-static/setup/prep.cmd b/buildenv/1.3.x/win32-static/setup/prep.cmd
index 7d5f6ed..6def575 100644
--- a/buildenv/1.3.x/win32-static/setup/prep.cmd
+++ b/buildenv/1.3.x/win32-static/setup/prep.cmd
@@ -227,3 +227,15 @@ SET PATH=%MUMBLE_JOM_PREFIX%\bin;%PATH%
 SET PATH=%MUMBLE_PROTOBUF_PREFIX%\bin;%PATH%
 if "%ARCH%" == "x86" SET PATH=%MUMBLE_ICE_PREFIX%\bin;%PATH%
 if "%ARCH%" == "amd64" SET PATH=%MUMBLE_ICE_PREFIX%\bin\x64;%PATH%
+
+:: Finally, check the compiler version
+echo "#if _MSC_FULL_VER < 190024216" > %TEMP%\mumble_buildenv_cl_check.c
+echo " #error" >> %TEMP%\mumble_buildenv_cl_check.c
+echo "#endif" >> %TEMP%\mumble_buildenv_cl_check.c
+if errorlevel 1 (
+       echo.
+       echo Mumble requires MSVC 2015 Update 3 or newer...
+       echo Unable to initialize build environment. Aborting...
+       echo.
+       exit /b 1
+)
\ No newline at end of file

Protobuf test issues on Windows

On my home machine, the protobuf tests have begun to fail. Only a single one fails: CommandLineInterfaceTest.OutputDirectoryIsFileError

The error I get is:

..\src\google\protobuf\compiler\command_line_interface_unittest.cc(349): error: Value of: expected_substring
Actual: "foo.proto/: Not a directory"
Expected: a substring of error_text_
Which is: "s6j4./proto2_cli_test_temp/foo.proto/foo.proto.MockCodeGenerator.test_generator: No such file or directory"

I've traced the problem down to my C: drive. The "problem" is that ProcMon tries to open the file (using fast I/O), however, on my C: drive, fast I/O is seemingly disallowed:

image

If I run the same thing on my X: drive, it succeeds:

image

because FASTIO_NETWORK_QUERY_OPEN returns NAME INVALID immediately.

I'm trying to figure out what the correct fix for this is (hopefully just a reboot of my machine?)

Qt 5's makefile generator breaks on dirs that have parentheses in them

+ qmake -recursive main.pro 'CONFIG+=release no-client ermine' 'DEFINES+=MUMBLE_VERSION=1.3.0~508~ga7d103f~snapshot SNAPSHOT_BUILD=1'
Reading /+MumbleBuilderHome/workspace/Murmur Linux x86 Ermine (CentOS 5.9)/src/murmur/murmur.pro
Project WARNING: CONFIG+=qdbus is deprecated. Use QT+=dbus instead.
Project WARNING: CONFIG+=qdbus is deprecated. Use QT+=dbus instead.
Project WARNING: CONFIG+=qdbus is deprecated. Use QT+=dbus instead.
+ make
cd src/murmur/ && ( test -e Makefile || /MumbleBuild/centos-ermine-1.3.x-2015-01-09-d4a1a4c/Qt5/bin/qmake /+MumbleBuilderHome/workspace/Murmur\ Linux\ x86\ Ermine\ (CentOS\ 5.9)/src/murmur/murmur.pro CONFIG+=release\ no-client\ ermine DEFINES+=MUMBLE_VERSION=1.3.0~508~ga7d103f~snapshot\ SNAPSHOT_BUILD=1 -o Makefile ) && make -f Makefile 
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd src/murmur/ && ( test -e Makefile || /MumbleBuild/centos-ermine-1.3.x-2015-01-09-d4a1a4c/Qt5/bin/qmake /+MumbleBuilderHome/workspace/Murmur\ Linux\ x86\ Ermine\ (CentOS\ 5.9)/src/murmur/murmur.pro CONFIG+=release\ no-client\ ermine DEFINES+=MUMBLE_VERSION=1.3.0~508~ga7d103f~snapshot\ SNAPSHOT_BUILD=1 -o Makefile ) && make -f Makefile '
make: *** [sub-src-murmur-make_first-ordered] Error 2

1.4.x 64-bit win32 jom fails

On the last part of building Mumble.

C:\MumbleBuild\win64-static-1.4.x-...\mumble> jom
...
LINK : fatal error LNK1181: cannot open input file 'libboost_system-mt.lib'
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\src\mumble\Makefile.Release [..\..\release\mumble_app.dll] Error 1181
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\src\mumble\Makefile [release] Error 2
jom: C:\MumbleBuild\win64-static-1.4.x-2019-03-17-753ee8c-897\mumble\Makefile [sub-src-mumble-make_first-ordered] Error 2

I suspect this is why:

C:\MumbleBuild\win64-static-1.4.x-...\mumble> ls ../Boost/lib | grep libboost_system
libboost_system-mt-x64.lib

Protobuf issues on make osx

Hello, I'm having some issues with protobuf compiling on osx.

I've set up the environment following the instructions in buildenv/1.3.x/osx/ and using XCode 8.

When I run

$ qmake -recursive -Wall main.pro CONFIG+="release static"
$ make

I get the following error

cd src/mumble_proto/ && ( test -e Makefile || /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/bin/qmake /Users/zachlevy/mumble/src/mumble_proto/mumble_proto.pro -Wall CONFIG+=release -o Makefile ) && /Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile.Release
make[2]: Nothing to be done for `first'.
cd 3rdparty/speex-build/ && ( test -e Makefile || /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/bin/qmake /Users/zachlevy/mumble/3rdparty/speex-build/speex-build.pro -Wall CONFIG+=release -o Makefile ) && /Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile.Release
make[2]: Nothing to be done for `first'.
cd 3rdparty/celt-0.7.0-build/ && ( test -e Makefile || /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/bin/qmake /Users/zachlevy/mumble/3rdparty/celt-0.7.0-build/celt-0.7.0-build.pro -Wall CONFIG+=release -o Makefile ) && /Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile.Release
make[2]: Nothing to be done for `first'.
cd 3rdparty/celt-0.11.0-build/ && ( test -e Makefile || /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/bin/qmake /Users/zachlevy/mumble/3rdparty/celt-0.11.0-build/celt-0.11.0-build.pro -Wall CONFIG+=release -o Makefile ) && /Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile.Release
make[2]: Nothing to be done for `first'.
cd 3rdparty/opus-build/ && ( test -e Makefile || /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/bin/qmake /Users/zachlevy/mumble/3rdparty/opus-build/opus-build.pro -Wall CONFIG+=release -o Makefile ) && /Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile.Release
make[2]: Nothing to be done for `first'.
cd src/mumble/ && ( test -e Makefile || /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/bin/qmake /Users/zachlevy/mumble/src/mumble/mumble.pro -Wall CONFIG+=release -o Makefile ) && /Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile
/Applications/Xcode8.app/Contents/Developer/usr/bin/make -f Makefile.Release
/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/bin/uic Cert.ui -o ui_Cert.h
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -fvisibility=hidden -Wall -Wextra -Werror -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -mmacosx-version-min=10.7 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -isystem  ../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -isystem ../../3rdparty/opus-src/include -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -O2 -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -std=gnu++11 -isysroot /Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DUSE_BUILDENV -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.0 -DMUMBLE -DUSE_STATIC -DUSE_MANUAL_PLUGIN -DUSE_OPUS -DUSE_BONJOUR -DUSE_G15 -DUSE_STATIC_QT_PLUGINS -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/speex-src/include -I../../3rdparty/speex-src/libspeex -I../../3rdparty/speex-build -I../../3rdparty/speexdsp-src/include -I../../3rdparty/speexdsp-src/libspeexdsp -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -I../../3rdparty/opus-src/src -I../../3rdparty/opus-build/src -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSvg -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtWidgets -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtGui -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtNetwork -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSql -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtXml -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtCore -Irelease -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/mkspecs/macx-clang -o release/Connection.o ../Connection.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -fvisibility=hidden -Wall -Wextra -Werror -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -mmacosx-version-min=10.7 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -isystem  ../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -isystem ../../3rdparty/opus-src/include -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -O2 -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -std=gnu++11 -isysroot /Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DUSE_BUILDENV -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.0 -DMUMBLE -DUSE_STATIC -DUSE_MANUAL_PLUGIN -DUSE_OPUS -DUSE_BONJOUR -DUSE_G15 -DUSE_STATIC_QT_PLUGINS -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/speex-src/include -I../../3rdparty/speex-src/libspeex -I../../3rdparty/speex-build -I../../3rdparty/speexdsp-src/include -I../../3rdparty/speexdsp-src/libspeexdsp -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -I../../3rdparty/opus-src/src -I../../3rdparty/opus-build/src -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSvg -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtWidgets -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtGui -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtNetwork -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSql -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtXml -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtCore -Irelease -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/mkspecs/macx-clang -o release/CryptState.o ../CryptState.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -fvisibility=hidden -Wall -Wextra -Werror -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -mmacosx-version-min=10.7 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -isystem  ../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -isystem ../../3rdparty/opus-src/include -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -O2 -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -std=gnu++11 -isysroot /Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DUSE_BUILDENV -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.0 -DMUMBLE -DUSE_STATIC -DUSE_MANUAL_PLUGIN -DUSE_OPUS -DUSE_BONJOUR -DUSE_G15 -DUSE_STATIC_QT_PLUGINS -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/speex-src/include -I../../3rdparty/speex-src/libspeex -I../../3rdparty/speex-build -I../../3rdparty/speexdsp-src/include -I../../3rdparty/speexdsp-src/libspeexdsp -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -I../../3rdparty/opus-src/src -I../../3rdparty/opus-build/src -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSvg -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtWidgets -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtGui -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtNetwork -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSql -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtXml -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtCore -Irelease -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/mkspecs/macx-clang -o release/OSInfo.o ../OSInfo.cpp
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -fvisibility=hidden -Wall -Wextra -Werror -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -isystem /MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -mmacosx-version-min=10.7 -I../mumble_proto -isystem ../mumble_proto -I../../3rdparty/celt-0.7.0-src/libcelt -isystem ../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -isystem  ../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -isystem ../../3rdparty/opus-src/include -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -O2 -I../../3rdparty/speex-src/include -I../../3rdparty/speex-build -std=gnu++11 -isysroot /Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.7 -Wall -W -fPIC -DUSE_BUILDENV -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.3.0 -DMUMBLE -DUSE_STATIC -DUSE_MANUAL_PLUGIN -DUSE_OPUS -DUSE_BONJOUR -DUSE_G15 -DUSE_STATIC_QT_PLUGINS -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I../../src -I. -I../mumble_proto -I../../3rdparty/arc4random-src -I../../3rdparty/qqbonjour-src -I../../3rdparty/smallft-src -Iwidgets -I../../3rdparty/speex-src/include -I../../3rdparty/speex-src/libspeex -I../../3rdparty/speex-build -I../../3rdparty/speexdsp-src/include -I../../3rdparty/speexdsp-src/libspeexdsp -I../../3rdparty/celt-0.7.0-src/libcelt -I../../3rdparty/opus-src/celt -I../../3rdparty/opus-src/include -I../../3rdparty/opus-src/src -I../../3rdparty/opus-build/src -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSvg -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtWidgets -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtGui -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtNetwork -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtSql -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtXml -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/include/QtCore -Irelease -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode8.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I. -I/MumbleBuild/osx-1.3.x-2018-02-13-16ed44e-872/Qt5/mkspecs/macx-clang -o release/SSL.o ../SSL.cpp
In file included from ../Connection.cpp:18:
../mumble_proto/Mumble.pb.h:12:2: error: This file was generated by a newer version of protoc which is
#error This file was generated by a newer version of protoc which is
 ^
../mumble_proto/Mumble.pb.h:13:2: error: incompatible with your Protocol Buffer headers. Please update
#error incompatible with your Protocol Buffer headers.  Please update
 ^
../mumble_proto/Mumble.pb.h:14:2: error: your headers.
#error your headers.
 ^
../mumble_proto/Mumble.pb.h:23:10: fatal error: 'google/protobuf/arena.h' file not found
#include <google/protobuf/arena.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
make[2]: *** [release/Connection.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [release] Error 2
make: *** [sub-src-mumble-make_first-ordered] Error 2

Any thoughts?

buildenv/1.2.x/win32: protobuf fails to build; MapDirectory test failure

[ RUN      ] DiskSourceTreeTest.MapDirectory
..\src\google\protobuf\compiler\importer_unittest.cc(383): error: Value of: input == NULL
  Actual: false
Expected: true
..\src\google\protobuf\compiler\importer_unittest.cc(384): error: Value of: source_tree_.GetLastErrorMessage()
  Actual: "Backslashes, consecutive slashes, \".\", or \"..\" are not allowed in the virtual path"
Expected: error_message
Which is: "File not found."
[  FAILED  ] DiskSourceTreeTest.MapDirectory (4 ms)

Change buildenv philosophy

In the long term, it would be nice if we changed our philosophy of our build environments.

Currently, you enter a shell to set up the correct environment. Then you build from there.

It's tedious.

A better solution would be to have the build scripts automatically pick up on build environments and use them.

libogg now requires Windows 8 SDK

I just updated to after the libogg update in 4e05eff, and the build fails with

Project "C:\MumbleBuild\win64-static-no-ltcg-1.3.x-2017-04-14-ae22412-856.build\libogg-1.3.2\win32\VS2010\libogg_static.sln" (1) is building "C:\MumbleBuild\win64-static-no-ltcg-1.3.x-2017-04-14-ae22412-856.build\libogg-1.3.2\win32\VS2010\libogg_static.vcxproj" (2) on node 1 (default targets).
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error
 MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\MumbleBuild\win64-static-no-ltcg-1.3.x-2017-04-14-ae22412-856.build\libogg-1.3.2\win32\VS2010\libogg_static.vcxproj]

Murmur Linux Ermine zero-ermine-ld.py hashlib warnings

Python's hashlib seems to be pretty unhappy:

+ zero-ermine-ld.py tarball-root/murmur.x86
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
Traceback (most recent call last):
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found.
Traceback (most recent call last):
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found.
Traceback (most recent call last):
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found.
Traceback (most recent call last):
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found.
Traceback (most recent call last):
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 147, in <module>
    globals()[__func_name] = __get_hash(__func_name)
  File "/MumbleBuild/centos-ermine-1.3.x-2015-10-17-765bc7f-521~dirty/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor
    raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type sha512

A quick google suggests it might be missing OpenSSL (e.g. http://stackoverflow.com/questions/20399331/error-importing-hashlib-with-python-2-7-but-not-with-2-6).

Don't think I have access to that box.

Gyp doesn't work with Python 3

We should drop gyp, and drop our homebrew build system for libsndfile.

Upstream uses cmake now, and I believe they even build on MSVC.

OS X's setup.command in buildenv/1.3.x/osx/setup.command should have a terminal-friendly mode

Instead of opening the Finder, it should detect if it's being run from a terminal directly, and source the 'env' file and put you in the buildenv -- it should also cd into ${MUMBLE_PREFIX}.

(This report also applies to buildenv/1.2.x, as well as the osx-universal variants...)

Note: this doesn't break CI, as CI uses ./setup.command --non-interactive (which just prints the BUILDENV_TARGET (which is equivalent to MUMBLE_PREFIX).

Add basic automatic QA into the CI pipeline

We definitely need basic automatic QA in our CI pipeline. For now that could be something like "install, launch, click around a bit, quit, uninstall". Vagrant just got support for windows guests so maybe that plus a small auto-hotkey-script is all we need at this point.

The goal for this issue would be to test mumble at least as far as it needs to go for the user to receive auto-updates.

Non-executable .build files in win32 build environments

The following files are not executable:

modified:   buildenv/1.2.x/win32/libjpeg-turbo.build
modified:   buildenv/1.2.x/win32/libpng.build
modified:   buildenv/1.3.x/win32-static/freetype.build
modified:   buildenv/1.3.x/win32-static/harfbuzz-ng.build
modified:   buildenv/1.3.x/win32-static/jom-binary.build
modified:   buildenv/1.3.x/win32-static/libjpeg-turbo.build
modified:   buildenv/1.3.x/win32-static/libpng.build
modified:   buildenv/1.3.x/win32-static/pcre.build
modified:   buildenv/1.3.x/win32-static/perl-binary.build
modified:   buildenv/1.3.x/win32-static/python-binary.build
modified:   buildenv/1.3.x/win32-static/sqlite3.build

This makes it hard to run the .build scripts on non-Windows platforms.
One such use is fetching build files for releng-distfiles.mumble.info.

windows build break due to missing qt patch

tried to build on windows, got this while building Qt5:

./qt5.build: line 46: /cygdrive/c/mumble/mumble-releng/buildenv/1.3.x/win32-static/patches/qt5-qssldiffiehellmanparameters.patch: No such file or directory

the file indeed doesn't exist

centos/ermine build failure

g++ -c -include .pch/Qt5Core -pipe -pthread -I/MumbleBuild/centos-ermine-1.3.x-2016-07-10-6b30f6a-668~dirty/include/glib-2.0 -I/MumbleBuild/centos-ermine-1.3.x-2016-07-10-6b30f6a-668~dirty/lib/glib-2.0/include -msse2 -mfpmath=sse -O3 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQT_NO_USING_NAMESPACE -DELF_INTERPRETER=\"/lib/ld-linux.so.2\" -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -D__SIZEOF_POINTER=4 -I. -Iglobal -I../3rdparty/pcre -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I../3rdparty/forkfd -I../../include -I../../include/QtCore -I../../include/QtCore/5.6.1 -I../../include/QtCore/5.6.1/QtCore -I.moc -I/MumbleBuild/centos-ermine-1.3.x-2016-07-10-6b30f6a-668~dirty/include -I../../mkspecs/linux-g++ -o .obj/qsimd.o tools/qsimd.cpp
tools/qsimd.cpp: In function ‘void qDetectCpuFeatures()’:
tools/qsimd.cpp:669: error: request for member ‘store’ in ‘qt_cpu_features’, which is of non-class type ‘QBasicAtomicInteger<unsigned int> [2]’
make[3]: *** [.obj/qsimd.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/MumbleBuild/centos-ermine-1.3.x-2016-07-10-6b30f6a-668~dirty.build/qt-everywhere-opensource-src-5.6.1/qtbase/src/corelib'
make[2]: *** [sub-corelib-make_first] Error 2
make[2]: Leaving directory `/MumbleBuild/centos-ermine-1.3.x-2016-07-10-6b30f6a-668~dirty.build/qt-everywhere-opensource-src-5.6.1/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/MumbleBuild/centos-ermine-1.3.x-2016-07-10-6b30f6a-668~dirty.build/qt-everywhere-opensource-src-5.6.1/qtbase'
make: *** [module-qtbase-make_first] Error 2
++ cleanup

build-all.bash - CMake fails when generating NMake files for protobuf

It just fails when it gets to protobuf (so all the other dependencies just work) while building for win32-static.
I haven't really found anything around about the issue.

I'm running win10 64x with the latest(-ish) creator update (1709).

I have both, VS2017 and VS2015 (update 3) installed. I firstly had VS2017 installed, then installed VS2015 to build mumble. Not sure if this may cause any trouble

 cmd /c 'C:\MumbleBuild\win32-static-1.3.x-2017-07-21-957dd83-868\cmake\bin\cmake.exe' -G 'NMake Makefiles' -DCMAKE_BU
ILD_TYPE=RelWithDebInfo '-DCMAKE_INSTALL_PREFIX=C:\MumbleBuild\win32-static-1.3.x-2017-07-21-957dd83-868\protobuf' -Dpr
otobuf_MSVC_STATIC_RUNTIME=off
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- broken
CMake Error at C:/MumbleBuild/win32-static-1.3.x-2017-07-21-957dd83-868/cmake/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message):
  The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
  14.0/VC/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/MumbleBuild/win32-static-1.3.x-2017-07-21-957dd83-868.build/protobuf-3.2.0/cmake/CMakeFiles/CMakeTmp



  Run Build Command:"nmake" "/NOLOGO" "cmTC_cace6\fast"

        "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\nmake.exe" -f
  CMakeFiles\cmTC_cace6.dir\build.make /nologo -L
  CMakeFiles\cmTC_cace6.dir\build

  Building C object CMakeFiles/cmTC_cace6.dir/testCCompiler.c.obj

        C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe
  @C:\MumbleBuild\win32-static-1.3.x-2017-07-21-957dd83-868\cygwin\tmp\nm9CCB.tmp


  testCCompiler.c

  Linking C executable cmTC_cace6.exe


        C:\MumbleBuild\win32-static-1.3.x-2017-07-21-957dd83-868\cmake\bin\cmake.exe
  -E vs_link_exe --intdir=CMakeFiles\cmTC_cace6.dir --manifests --
  C:\PROGRA~2\MICROS~1.0\VC\bin\link.exe /nologo
  @CMakeFiles\cmTC_cace6.dir\objects1.rsp
  @C:\MumbleBuild\win32-static-1.3.x-2017-07-21-957dd83-868\cygwin\tmp\nm9D2A.tmp


  RC Pass 1 failed to run.

  NMAKE : fatal error U1077:
  'C:\MumbleBuild\win32-static-1.3.x-2017-07-21-957dd83-868\cmake\bin\cmake.exe'
  : return code '0xffffffff'

  Stop.

  NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio
  14.0\VC\BIN\nmake.exe"' : return code '0x2'

  Stop.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:12 (project)


-- Configuring incomplete, errors occurred!
See also "C:/MumbleBuild/win32-static-1.3.x-2017-07-21-957dd83-868.build/protobuf-3.2.0/cmake/CMakeFiles/CMakeOutput.log".
See also "C:/MumbleBuild/win32-static-1.3.x-2017-07-21-957dd83-868.build/protobuf-3.2.0/cmake/CMakeFiles/CMakeError.log
".

CMake logs attached
CMakeError.log
CMakeOutput.log

Cygwin bootstrap

In the near future, I plan to add a Cygwin bootstrap utility to mumble-releng.

Current WIP here:
mkrautz@d88ee76

The problem this tool solves is:

a) We can't use Cygwin's own setup.exe. Cygwin's setup.exe touches various Windows things that'd we'd rather not have it touch. For example, if we try to install a per-buildenv Cygwin installation, Cygwin would add that installation to the registry, preferring it to a potential system-wide install in C:\cygwin.

b) Even if we could use Cygwin's setup.exe, we can't do so without being able to verify GPG signatures in mumble-releng. Cygwin's setup.exe changes without notice, and we can't pin to a particular version, because the setup.ini format of Cygwin can change in backwards incompatible ways.. We'd rather not add a dependency on GPG4Win in order to be able to build buildenvs.

Right now, this Python solution basically "works". There is a problem with dereferencing symlinks to c:\MumbleBuild (when that directory is a junction point). I think that's because the Cygwin installation itself lives in a subdirectory of c:\MumbleBuild (c:\MumbleBuild\win32-static-[...]\cygwin). That's solvable.

But it depends on there being a Python installation. And a GPG4Win installation. And a 7-Zip installation.

What I have in mind instead is to rewrite the Python-based tool in Go. Then we'd be able to drop
all of the above dependencies, and simply have a cygwin-bootstrap.exe.

The Go-based version will be self-contained. It will contain golang.org/x/crypto/openpgp for verifying Cygwin's setup.ini against the Cygwin public key pinned to the binary. It'll use archive/tar, compress/gzip, compress/bzip2 and a third-party LZMA utility for untarring tarballs.

With this approach, we can pin the Windows buildenv to a particular "release" of cygwin-bootstrap.exe. That particular release can be verified by the SHA256SUM of the binary.
The binary, when run, will install Cygwin to a directory of the user's choice, while ensuring that nothing has been tampered with in the process: setup.ini is verified against the Cygwin public GPG key, and all downloaded distfiles are verified against SHA512SUMs from the verified setup.ini.

With this in place, it's possible to bootstrap a Mumble build env without installing any external software, except for VS2013 and Legacy DX SDK.

protobuf test DiskSourceTreeTest.MapDirectory fails in specific cases

The protobuf test DiskSourceTreeTest.MapDirectory fails when I run it from my cygwin shell, but succeeds when I run it from a fresh cmd or from a command prompt spawn with Cygwin.bat.

I am using a cygwin install installed and updated by babun (so I don't have to handle the GUI stuff but was able to initially install the required packages via command line). As it is a normal cygwin install which makes use of the cygwin setup.exe this shouldn't make a difference as far as the cygwin install goes.

I updated to protobuf from 2.6.1 to 3.2.0, and the test still fails.

I also noticed the issue #5 still exists and fails, unless the patch is applied (for both versions of protobuf). However, I have not verified this is linked in any way.

cmd /c tests.exe --gtest_filter=DiskSourceTreeTest.MapDirectory

Ice FTBFS: SChannel errors

SChannelEngine.cpp(659): error C2065: 'CALG_ECDH': undeclared identifier
SChannelEngine.cpp(659): error C2131: expression did not evaluate to a constant
SChannelEngine.cpp(659): note: failure was caused by non-constant arguments or reference to a non-constant symbol
SChannelEngine.cpp(659): note: see usage of 'CALG_ECDH'
SChannelEngine.cpp(661): error C2065: 'CALG_ECDSA': undeclared identifier
SChannelEngine.cpp(661): error C2131: expression did not evaluate to a constant
SChannelEngine.cpp(661): note: failure was caused by non-constant arguments or reference to a non-constant symbol
SChannelEngine.cpp(661): note: see usage of 'CALG_ECDSA'
SChannelEngine.cpp(659): error C2051: case expression not constant
SChannelEngine.cpp(661): error C2051: case expression not constant
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
+ exit 2

collect_symbols.py use in build relies on outdated path to configuration

Currently tools/collect_symbols.py assumes the default path for its configuration to be C:\dev\mumble-releng\buildenv\windows\config.json . This used to be a well-known singular location on our internal build slaves where the "current" mumble-releng version and scripts could be found.

However these days this assumption no longer holds. The most recent config can now be found under C:\MumbleBuild\latest-1.3.x\mumble-releng\buildenv\windows on the build slaves. Unfortunately the build scripts we use do not allow us to pass in this parameter. As config.js does not really change the current workaround is to have another checkout in the old location.

This should be properly fixed so the right config from the right releng is used. An alternative might be to completely get rid of this configuration and require configuration from the environment or the build scripts. I'm not sure how relevant the scripts in buildenv/windows are these days. They haven't been touched for 6 years.

The additional checkout in the old location should be removed.

Error in creating the environment

Hello
I've got a problem i creating the enviroment when i execute the command in mumblebuild cygwin i get this error. Here's the log. I hope you can help me.

  • ./nasm-binary.build
    /usr/bin/env: mumble-build: No such file or directory

1.4.x win32 Boost failed to build

I followed the README to a tee and got to the part where I run ./build-all.bash.
It is successful until it tries building Boost. At some point it fails:

.\boost/type_traits/detail/is_function_cxx_11.hpp(111): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(124): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(137): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(150): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(164): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(177): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(190): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(203): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(217): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(230): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(243): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_function_cxx_11.hpp(256): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(125): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(140): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(155): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(170): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(186): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(201): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(216): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(231): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(247): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(262): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(277): error C2218: '__vectorcall' cannot be used with '/arch:IA32'
.\boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp(292): error C2218: '__vectorcall' cannot be used with '/arch:IA32'

    call "bin.v2\standalone\msvc\msvc-14.0\msvc-setup.bat" x86 >nul
 cl /Zm800 -nologo @"bin.v2\libs\wave\build\msvc-14.0\release\link-static\threading-multi\cpplexer\re2clex\cpp_re.obj.rsp"

...failed compile-c-c++ bin.v2\libs\wave\build\msvc-14.0\release\link-static\threading-multi\cpplexer\re2clex\cpp_re.obj...
...skipped <pbin.v2\libs\wave\build\msvc-14.0\release\link-static\threadapi-win32\threading-multi>libboost_wave-mt-x32.lib for lack of <pbin.v2\libs\wave\build\msvc-14.0\release\link-static\threading-multi>instantiate_cpp_exprgrammar.obj......skipped <pC:\MumbleBuild\win32-static-1.4.x-2019-03-17-753ee8c-897\Boost\lib>libboost_wave-mt-x32.lib for lack of <pbin.v2\libs\wave\build\msvc-14.0\release\link-static\threadapi-win32\threading-multi>libboost_wave-mt-x32.lib...

From the beginning to the ...failed line is repeated many times over.

I'm running this on Windows 64-bit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.