Closed rgleason closed 2 years ago
Where did you get point 6) from?
Just omit it, stick to the documentation.
For update-template script in Windows, should I use this tag and command?
"C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ "C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
Please commit or stash pending changes. Aborting.
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ git stash
No local changes to save
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ "C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
Please commit or stash pending changes. Aborting.
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
bld-no-clone.bat
bld-wo-clone.bat
buildwin/wxWidgets-3.1.2.7z
nothing added to commit but untracked files present (use "git add" to track)
What a PITA it doesn't like those files?
Also, shouldn't I be changing the version number before doing ?
$ "C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
Are we now talking about update_templates or git-push? These two are not related in any way.
"Confused"
Alec, trying to use your schema for versioning here. Shouldn't I increment the version number in Plugin.cmake and add beta to the prerelease
set(PKG_VERSION 1.3.17.0)
set(PKG_PRERELEASE "beta") # Empty, or a tag like 'beta'
Then git add and commit as git commit -am "1.3.17beta"? Then
$ "C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
The git add and git commit -am "update-temp to sd3.02" Then push?
Well, this seems to have gotten the update-template script working
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ git commit -am "1.3.17beta"
[master 973c1bc] 1.3.17beta
2 files changed, 5 insertions(+), 2 deletions(-)
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ git stash clear
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ git stash list
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ "C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
Removing existing shipdriver remote.
Adding new shipdriver remote
Checking for updates of updates-templates script
Updated 1 path from 32b299a
update-templates script is updated to latest version. Please commit
changes and re-run script.
Then commited the new update-templates and ran $ "C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
again and got a long list of changes. Now will git add and git commit that.
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ git log --oneline -12
5974c47 (HEAD -> master) cmake: Update TemplateVersion to 7745f78
7cb900b Templates: Updating other files
0adcaa9 Templates: Updating cmake
01b23b6 new update-templates
973c1bc 1.3.17beta
deb17ff (tag: v1.3.16, origin/master, origin/HEAD) v1.3.16
691ca18 1.3.16-beta1
4380bfd 1.3.15-beta1
8a3a1cb cmake: Update TemplateVersion to e49825d
ed6c7fb Templates: Updating other files
7739577 Templates: Updating libs
63ad519 Templates: Updating buildwin
Next I need to build it locally and test.
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
bash: call: command not found
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ cd build
fcgle@Hesper MINGW64 ~/source/vdr_pi/build (master)
$ cmake -T v141_xp ..
-- Building for: Visual Studio 15 2017
-- Cmake version: 3.22.0-rc1.
-- Setting build type to 'Debug' as none was specified.
-- Build uses 16 processors
-- Configuring
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.16.27045.0
-- The CXX compiler identification is MSVC 19.16.27045.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Selected upload repository: o p e n c p n / v d r - a l p h a
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/fcgle/source/vdr_pi/build
fcgle@Hesper MINGW64 ~/source/vdr_pi/build (master)
$ cmake -G "Visual Studio 15 2017" --config RelWithDebInfo .. <<<----------------THIS DOES NOT WORK
CMake Error: Unknown argument --config
CMake Error: Run 'cmake --help' for all supported options.
fcgle@Hesper MINGW64 ~/source/vdr_pi/build (master)
$ cmake --build . --target tarball --config RelWithDebInfo >output.txt <<<<----------BUT THIS DOES
I will have to fork your directory to find out what's going on. Where is it?
Please don't submit build logs as docx attacments. It's against all known, established conventions. Build logs are plain text, nothing more.
Alec I can build locally using a series of typed commands, or my batch file, but as I have said before, having "--config" with this command does not work and so the batch files included don't really work either.
$ cmake -G "Visual Studio 15 2017" --config RelWithDebInfo .. <<<----------------THIS DOES NOT WORK
CMake Error: Unknown argument --config
CMake Error: Run 'cmake --help' for all supported options.
This does work. fcgle@Hesper MINGW64 ~/source/vdr_pi/build (master) $ cmake --build . --target tarball --config RelWithDebInfo >output.txt
If you really want the repository, it is here, I haven't yet pushed it, but will shortly, because the local build does work.
Everything built except xenial https://github.com/rgleason/vdr_pi
Is the script outdated for xenial now?
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
1 package can be upgraded. Run 'apt list --upgradable' to see it.
+ sudo apt-get -q install python3.7
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package python3.7
E: Couldn't find any package by glob 'python3.7'
E: Couldn't find any package by regex 'python3.7'
Exited with code exit status 100
CircleCI received exit code 100
Drop xenial, the upstreams are dead. It is already dropped in master. Edit .circleci-config, easiest in the very end which defines the jobs.
OK, Thanks. Will do.
For tag push VDR-v1.3.17-beta3 we have 13 files upload to Cloudsmith beta https://cloudsmith.io/~opencpn/repos/vdr-beta/packages/?q=VDR-v1.3.17-beta3+metadata
Yet I only found 11 in the auto branch.
Circleci produces 10 metadata. - deploys to plugins "auto" Appveyor produces 1 metadata - deploys to plugins "auto" Drone produces 2 metadata. <-- it appears this one is not deploying to auto.
Drone shows for raspian arm 1 and 2
cmake -DCMAKE_BUILD_TYPE=Release ..
-- Cmake version: 3.19.3.
-- Build uses 64 processors
-- Configuring
CMake Error at CMakeLists.txt:35 (project):
VERSION "1.3.15.beta1" format invalid.
-- Configuring incomplete, errors occurred!
So something is using an old version of cmake that is not accepted?
Sometimes if you wait, errors go away like magic (This doesn't really happen in the real world does i?) It seems to have happened. Python was found and Drone has now fixed the two missing raspbian builds and they appear to have built properly. https://cloud.drone.io/rgleason/vdr_pi/65/1/2
Circleci was successful https://app.circleci.com/pipelines/github/rgleason/vdr_pi/216/workflows/76edcb0c-d68d-414e-bdf3-fa880d6fba3b
and so was Appveyor
Now Cloudsmith shows 13 metadata file for this
https://cloudsmith.io/~opencpn/repos/vdr-beta/packages/?q=VDR-v1.3.17-beta3+metadata
Now I can make a master "prod" tag and push
Good.
As for the local builds, they work out of the box when I clone vdr_pi, applies update_templates (just to be sure...) and runs the build as described in INSTALL.md. Attaching log.
Possible problems might stem from having a broken %PATH%. There is really n way the build script can handle that as far as I can see. That said, the handling of %PATH% has been made more robust in recent updates, but it should no affect that much.
Well, I agree that is difficult to build a script that can handle.... I disagree that I have broken path since it does build the way I do it, and since I have set up my computer wxWidgets in a different location. Yet I have executed the win-deps.bat anyway, so that should be ok.
Perhaps the line call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
is where the problem is. perhaps vcvars32.bat should be checked.
@call "%~dp0vcvarsall.bat" x86 %*
vcvards32.bat is a big file.
This looks ok to me.
That line does not live in either INSTALL.md or build_deps.bat. Why is it executed at all?
OK, they are in the Shipdriver*clone.bat files.
But these are not used in the documented build in INSTALL.md. Please stick to that as long as there is problems
Ok, now I tried the final push to build and deploy and it fails for some reason.
Then I tried building locally again, and I am getting
rt4;shlwapi;version;wsock32 (found version "3.1.2") found components: base core net xml html adv stc aui gl png tiff jpeg zlib regex expat
EXEC : CMake error : Could not open file for write in copy operation C:/Users/fcgle/source/vdr_pi/build/VDR-remove [C:\Users\fcgle\source\vdr_pi\build\tarball-conf.vcxproj]
v1.3.17
v1.3.17-beta3-msvc-10.0.19042.xml.in.tmp
EXEC : CMake error : : System Error: Invalid argument [C:\Users\fcgle\source\vdr_pi\build\tarball-conf.vcxproj]
CMake Error at CMakeLists.txt:109 (configure_file):
configure_file Problem configuring file
It's getting late. I am going to leave this for tomorrow morning....discouraged now.
CMake error : Could not open file for write in copy operation C:/Users/fcgle/source/vdr_pi/build/VDR-remove [C:\Users\fcgle\source\vdr_pi\build\tarball-conf.vcxproj
You have somehow a write-protected file. Don't blame the templates for that.
First try: Restart the build after removing each and every file under build. As I said, this works out of the box for me.
EDIT: And make sure that you really remove everything...
Yes, I do always remove all files under the build. Will try again.
Here is the PATH i start with when I encounter troubles. (windows PATH handling is a complete mess...)
set PATH=C:\Program Files\Git\cmd;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft Windows Performance Toolkit\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Users\micha\AppData\Local\Microsoft\WindowsApps
nothing more is required, but you might need to reinstall python using choco to get those PATH elements in place.
Thanks Alec I will check the Environment PATH and make sure. And perhaps reinstall python with choco. although I thought it updated. Will check. ---Tomorrow morning when I am fresh.
I incremented the version and pushed a tagged v1.3.18-beta The circleci builds did not end up in cloudsmith or plugins/auto etc. Something has changed I think
https://github.com/rgleason/vdr_pi - They all look like they built.
https://app.circleci.com/pipelines/github/rgleason/vdr_pi/221/workflows/a4455105-b712-40df-a573-0889bbf219f1 https://cloudsmith.io/~opencpn/repos/vdr-beta/packages/
All builds for me...
That's good.
I have done some work in order to minimize the impact from local environment (which indeed is one of Windows really weak points). You can test it by copying the following files from current shipdriver master branch:
The modified build procedure is in INSTALL.md, at the very end. It works out of the box for me, and it should for you as well -- I think there is not much dependencies left after applying minimal-path.bat.
EDIT: Of course, if the documented build procedure does not work, please report back asap.
ALec, thank you. I did this pretty quickly tonight as I am going to occupied most of tomorrow. vdr-with-files.txt
I didn't want to leave it that way so I tried the bat I usually use. this-worked.txt
PS: I need to try this again!! I realized I did not clear the build directory before running the two batches! Sorry.
You did not read the updated INSTALL.md, right?
The first step in the updated process is to invoke minimal-path.bat, I cannot see that you did?
And yes, you should clean up build before that.
I did execute minimal.bat. Then realized that it wipes out all my paths which is not what I intend to do. I went to look at my environment and found it was untouched.
Do you know if there is an easy way to save my current env first? I am setup to build TP template too. I will check on this question tonight. Also I have wxwidgets-3.1.2 located at user/fcgle/source/
PS i did review install.md too
You can just open a new CMD window. It does wipe the PATH, but not the persistent parts in the registry, just the one in current session.
As long as you don't run it there is not much else to say than that it works for me but not for you. We must find a way where things works the same way for both of us, and that way is by definition to throw away everything not used by the build. Don't blame me, blame the Windows "designers" way back in the 80'ies.
Thanks, Alec "it just changes that CMD window..." very helpful. Just got back will run it all again in a little while. Hope it works!
fcgle@Hesper MINGW64 ~/source/vdr_pi/buildwin (master)
$ ./minimal-path.bat
C:\Users\fcgle\source\vdr_pi\buildwin>set PATH1=C:\ProgramData\chocolatey\bin
C:\Users\fcgle\source\vdr_pi\buildwin>set PATH2=C:\Windows\system32
C:\Users\fcgle\source\vdr_pi\buildwin>set PATH3=C:\Windows
C:\Users\fcgle\source\vdr_pi\buildwin>set PATH=C:\ProgramData\chocolatey\bin;C:\Windows\system32;C:\Windows
fcgle@Hesper MINGW64 ~/source/vdr_pi/buildwin (master)
$ ./win_deps.bat
C:\Users\fcgle\source\vdr_pi\buildwin>if not exist "C:\Users\fcgle\.local\bin\pathman.exe" (
pushd "C:\Users\fcgle"
curl.exe -sA "MS" https://webinstall.dev/pathman | powershell
popd
)
C:\Users\fcgle\source\vdr_pi\buildwin>pathman list 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi\buildwin>if errorlevel 1 set PATH=C:\Users\fcgle\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\fcgle\bin;C:\Python310\Scripts;C:\Python310;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Users\fcgle\source\BatchUTILS;C:\Program Files (x86)\Poedit\Gettexttools\bin;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\bi;C:\cygwin\bin";C:\Python310\Scripts;C:\Python310;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Users\fcgle\source\BatchUTILS;C:\Program Files (x86)\Poedit\Gettexttools\bin;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\bi;C:\cygwin\bin";C:\Python310\Scripts;C:\Python310;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Users\fcgle\source\BatchUTILS;C:\Program Files (x86)\Poedit\Gettexttools\bin;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\bi;C:\cygwin\bin";C:\Windows\System32;%WXWIN%;%wxWidgets_LIB_DIR%;%wxWidgets_LIBRARIES%;%wxWidgets_INCLUDE_DIRS%;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files (x86)\Common Files\Acronis\VirtualFile;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64;C:\Program Files (x86)\Common Files\Acronis\FileProtector;C:\Program Files (x86)\Common Files\Acronis\FileProtector64;C:\Users\fcgle\source\wxWidgets-3.1.2;%WXWIN%\lib\vc_dll;%WXWIN%\lib\vc_dll;%WXWIN%\include;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files (x86)\Common Files\Acronis\VirtualFile;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64;C:\Program Files (x86)\Common Files\Acronis\FileProtector;C:\Program Files (x86)\Common Files\Acronis\FileProtector64;C:\Users\fcgle\source\wxWidgets-3.1.2;C:\Users\fcgle\source\wxWidgets-3.1.2\lib\vc_dll;C:\Users\fcgle\source\wxWidgets-3.1.2\lib\vc_dll;C:\Users\fcgle\source\wxWidgets-3.1.2\include;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files (x86)\Common Files\Acronis\VirtualFile;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64;C:\Program Files (x86)\Common Files\Acronis\FileProtector;C:\Program Files (x86)\Common Files\Acronis\FileProtector64;C:\Users\fcgle\.local\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\Users\fcgle\AppData\Local\GitHubDesktop\bin;C:\Users\fcgle\source;C:\Users\fcgle\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\fcgle\source\BatchUTILS;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;C:\\Users\fcgle\.local\bin
C:\Users\fcgle\source\vdr_pi\buildwin>pathman add C:\Users\fcgle\.local\bin 1>nul
'pathman' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\fcgle\source\vdr_pi\buildwin>set CMAKE_HOME=C:\Program Files\CMake
C:\Users\fcgle\source\vdr_pi\buildwin>cmake --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi\buildwin>if errorlevel 1 (
if not exist "C:\Program Files\CMake\bin\cmake.exe" choco install -y cmake
pathman add "C:\Program Files\CMake\bin" 1>nul
)
C:\Users\fcgle\source\vdr_pi\buildwin>set POEDIT_HOME=C:\Program Files (x86)\Poedit\Gettexttools
C:\Users\fcgle\source\vdr_pi\buildwin>msgmerge --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi\buildwin>if errorlevel 1 (
if not exist "C:\Program Files (x86)\Poedit\Gettexttools" choco install -y poedit
pathman add "C:\Program Files (x86)\Poedit\Gettexttools\bin" 1>nul
)
C:\Users\fcgle\source\vdr_pi\buildwin>set GIT_HOME=C:\Program Files\Git
C:\Users\fcgle\source\vdr_pi\buildwin>git --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi\buildwin>if errorlevel 1 (
if not exist "C:\Program Files\Git\cmd\git.exe" choco install -y git
pathman add C:\Program Files\Git\cmd 1>nul
)
C:\Users\fcgle\source\vdr_pi\buildwin>set PYTHON_HOME=C:\Python310
C:\Users\fcgle\source\vdr_pi\buildwin>python --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi\buildwin>if errorlevel 1 (if not exist "C:\Python310\python.exe" choco install -y python )
C:\Users\fcgle\source\vdr_pi\buildwin>python --version
Python 3.10.0
C:\Users\fcgle\source\vdr_pi\buildwin>python -m ensurepip
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Looking in links: c:\Users\fcgle\AppData\Local\Temp\tmpup8lfx3a
Requirement already satisfied: setuptools in c:\python310\lib\site-packages (57.4.0)
Processing c:\users\fcgle\appdata\local\temp\tmpup8lfx3a\pip-21.2.3-py3-none-any.whl
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Installing collected packages: pip
WARNING: Failed to write executable - trying to use .deleteme logic
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\\Python310\\Scripts\\pip3.exe' -> 'C:\\Python310\\Scripts\\pip3.exe.deleteme'
Consider using the `--user` option or check the permissions.
Traceback (most recent call last):
File "C:\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Python310\lib\ensurepip\__main__.py", line 5, in <module>
sys.exit(ensurepip._main())
File "C:\Python310\lib\ensurepip\__init__.py", line 277, in _main
return _bootstrap(
File "C:\Python310\lib\ensurepip\__init__.py", line 193, in _bootstrap
return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
File "C:\Python310\lib\ensurepip\__init__.py", line 93, in _run_pip
return subprocess.run([sys.executable, '-W', 'ignore::DeprecationWarning',
File "C:\Python310\lib\subprocess.py", line 524, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['C:\\Python310\\python.exe', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'C:\\\\Users\\\\fcgle\\\\AppData\\\\Local\\\\Temp\\\\tmpup8lfx3a\\\\setuptools-57.4.0-py3-none-any.whl\', \'C:\\\\Users\\\\fcgle\\\\AppData\\\\Local\\\\Temp\\\\tmpup8lfx3a\\\\pip-21.2.3-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'C:\\\\Users\\\\fcgle\\\\AppData\\\\Local\\\\Temp\\\\tmpup8lfx3a\', \'setuptools\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.
C:\Users\fcgle\source\vdr_pi\buildwin>python -m pip install --upgrade pip
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Requirement already satisfied: pip in c:\python310\lib\site-packages (21.2.3)
Collecting pip
Using cached pip-22.0.2-py3-none-any.whl (2.1 MB)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Installing collected packages: pip
Attempting uninstall: pip
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Found existing installation: pip 21.2.3
Uninstalling pip-21.2.3:
ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'c:\\python310\\scripts\\pip.exe'
Consider using the `--user` option or check the permissions.
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
C:\Users\fcgle\source\vdr_pi\buildwin>python -m pip install -q setuptools wheel
C:\Python310\python.exe: No module named pip
C:\Users\fcgle\source\vdr_pi\buildwin>python -m pip install -q cloudsmith-cli
C:\Python310\python.exe: No module named pip
C:\Users\fcgle\source\vdr_pi\buildwin>python -m pip install -q cryptography
C:\Python310\python.exe: No module named pip
C:\Users\fcgle\source\vdr_pi\buildwin>set SCRIPTDIR=C:\Users\fcgle\source\vdr_pi\buildwin\
C:\Users\fcgle\source\vdr_pi\buildwin>set WXWIN=C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2
C:\Users\fcgle\source\vdr_pi\buildwin>set wxWidgets_ROOT_DIR=C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2
C:\Users\fcgle\source\vdr_pi\buildwin>set wxWidgets_LIB_DIR=C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2\lib\vc_dll
C:\Users\fcgle\source\vdr_pi\buildwin>if not exist "C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2" (
wget --version 1>nul 2>&1 || choco install -y wget
wget https://download.opencpn.org/s/E2p4nLDzeqx4SdX/download --no-check-certificate -O wxWidgets-3.1.2.7z
7z i 1>nul 2>&1 || choco install -y 7zip
7z x wxWidgets-3.1.2.7z -oC:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2
)
C:\Users\fcgle\source\vdr_pi\buildwin>pathman add "C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2" 1>nul
'pathman' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\fcgle\source\vdr_pi\buildwin>pathman add "C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2\lib\vc_dll" 1>nul
'pathman' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\fcgle\source\vdr_pi\buildwin>refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
fcgle@Hesper MINGW64 ~/source/vdr_pi/buildwin (master)
$ cmake -T v141_xp -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
-- Cmake version: 3.22.0-rc1.
-- Build uses 16 processors
-- Configuring
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.16.27045.0
-- The CXX compiler identification is MSVC 19.16.27045.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Selected upload repository: o p e n c p n / v d r - b e t a
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/fcgle/source/vdr_pi/buildwin
fcgle@Hesper MINGW64 ~/source/vdr_pi/buildwin (master)
$ cmake -T v141_xp -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
-- Cmake version: 3.22.0-rc1.
-- Build uses 16 processors
-- Configuring
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.16.27045.0
-- The CXX compiler identification is MSVC 19.16.27045.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
...
-- Installing: C:/Users/fcgle/source/vdr_pi/buildwin/app/files/share/locale/zh_TW/LC_MESSAGES/opencpn-vdr_pi.mo
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\buildwin\tarball-finish.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
-- Creating tarball VDR-v1.3.18-beta_msvc-10.0.19042-win32.tar.gz
-- Computing checksum in VDR-v1.3.18-beta-msvc-10.0.19042.xml
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\buildwin\tarball.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
================
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ ./bld.bat
C:\Users\fcgle\source\vdr_pi>REM cd build
C:\Users\fcgle\source\vdr_pi>REM cmake -T v141_xp -G "Visual Studio 15 2017" ..
C:\Users\fcgle\source\vdr_pi>REM cmake --build . --target tarball --config RelWithDebInfo >output.txt
C:\Users\fcgle\source\vdr_pi>REM .\buildwin\win_deps.bat
C:\Users\fcgle\source\vdr_pi>cd build
C:\Users\fcgle\source\vdr_pi\build>cmake -T v141_xp -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
-- Cmake version: 3.22.0-rc1.
-- Build uses 16 processors
-- Configuring
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.16.27045.0
-- The CXX compiler identification is MSVC 19.16.27045.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
Running win_deps.bat requires administrative privileges on the first run, when it needs to install stuff. Seems that this is the first problem about failed installs in win-deps.bat. Is it?
EDIT: Yes, this should be in INSTALL:md.
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ ./buildwin/minimal-path.bat
C:\Users\fcgle\source\vdr_pi>set PATH1=C:\ProgramData\chocolatey\bin
C:\Users\fcgle\source\vdr_pi>set PATH2=C:\Windows\system32
C:\Users\fcgle\source\vdr_pi>set PATH3=C:\Windows
C:\Users\fcgle\source\vdr_pi>set PATH=C:\ProgramData\chocolatey\bin;C:\Windows\system32;C:\Windows
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ ./buildwin/win_deps.bat
C:\Users\fcgle\source\vdr_pi>if not exist "C:\Users\fcgle\.local\bin\pathman.exe" (
pushd "C:\Users\fcgle"
curl.exe -sA "MS" https://webinstall.dev/pathman | powershell
popd
)
C:\Users\fcgle\source\vdr_pi>pathman list 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi>if errorlevel 1 set PATH=C:\Users\fcgle\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\fcgle\bin;C:\Python310\Scripts;C:\Python310;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Users\fcgle\source\BatchUTILS;C:\Program Files (x86)\Poedit\Gettexttools\bin;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\bi;C:\cygwin\bin";C:\Python310\Scripts;C:\Python310;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\ProgramData\chocolatey\bin;C:\Users\fcgle\source\BatchUTILS;C:\Program Files (x86)\Poedit\Gettexttools\bin;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\Git\bi;C:\cygwin\bin";%PATH%;C:\Users\fcgle\source\wxWidgets-3.1.2;%wxWidgets_LIB_DIR%;%wxWidgets_LIBRARIES%;%wxWidgets_INCLUDE_DIRS%;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files (x86)\Common Files\Acronis\VirtualFile;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64;C:\Program Files (x86)\Common Files\Acronis\FileProtector;C:\Program Files (x86)\Common Files\Acronis\FileProtector64;C:\Users\fcgle\.local\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;C:\Users\fcgle\AppData\Local\GitHubDesktop\bin;C:\Users\fcgle\source;C:\Users\fcgle\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\fcgle\source\wxWidgets-3.1.2;C:\Users\fcgle\source\wxWidgets-3.1.2\lib\vc_dll;C:\Users\fcgle\source\wxWidgets-3.1.2\lib\vc_dll;C:\Users\fcgle\source\wxWidgets-3.1.2\include;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files (x86)\Common Files\Acronis\VirtualFile;C:\Program Files (x86)\Common Files\Acronis\VirtualFile64;C:\Program Files (x86)\Common Files\Acronis\FileProtector;C:\Program Files (x86)\Common Files\Acronis\FileProtector64;C:\Users\fcgle\.local\bin;C:\Users\fcgle\AppData\Local\Microsoft\WindowsApps;C:\Users\fcgle\AppData\Local\GitHubDesktop\bin;C:\Users\fcgle\source;C:\Users\fcgle\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl;C:\\Users\fcgle\.local\bin
C:\Users\fcgle\source\vdr_pi>pathman add C:\Users\fcgle\.local\bin 1>nul
C:\Users\fcgle\source\vdr_pi>set CMAKE_HOME=C:\Program Files\CMake
C:\Users\fcgle\source\vdr_pi>cmake --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi>if errorlevel 1 (
if not exist "C:\Program Files\CMake\bin\cmake.exe" choco install -y cmake
pathman add "C:\Program Files\CMake\bin" 1>nul
)
C:\Users\fcgle\source\vdr_pi>set POEDIT_HOME=C:\Program Files (x86)\Poedit\Gettexttools
C:\Users\fcgle\source\vdr_pi>msgmerge --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi>if errorlevel 1 (
if not exist "C:\Program Files (x86)\Poedit\Gettexttools" choco install -y poedit
pathman add "C:\Program Files (x86)\Poedit\Gettexttools\bin" 1>nul
)
C:\Users\fcgle\source\vdr_pi>set GIT_HOME=C:\Program Files\Git
C:\Users\fcgle\source\vdr_pi>git --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi>if errorlevel 1 (
if not exist "C:\Program Files\Git\cmd\git.exe" choco install -y git
pathman add C:\Program Files\Git\cmd 1>nul
)
C:\Users\fcgle\source\vdr_pi>set PYTHON_HOME=C:\Python310
C:\Users\fcgle\source\vdr_pi>python --version 1>nul 2>&1
C:\Users\fcgle\source\vdr_pi>if errorlevel 1 (if not exist "C:\Python310\python.exe" choco install -y python )
C:\Users\fcgle\source\vdr_pi>python --version
Python 3.10.0
C:\Users\fcgle\source\vdr_pi>python -m ensurepip
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Looking in links: c:\Users\fcgle\AppData\Local\Temp\tmpyj_nsbo0
Requirement already satisfied: setuptools in c:\python310\lib\site-packages (57.4.0)
Processing c:\users\fcgle\appdata\local\temp\tmpyj_nsbo0\pip-21.2.3-py3-none-any.whl
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Installing collected packages: pip
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Successfully installed pip-21.2.3
C:\Users\fcgle\source\vdr_pi>python -m pip install --upgrade pip
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Requirement already satisfied: pip in c:\python310\lib\site-packages (21.2.3)
Collecting pip
Downloading pip-22.0.3-py3-none-any.whl (2.1 MB)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Installing collected packages: pip
Attempting uninstall: pip
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Found existing installation: pip 21.2.3
Uninstalling pip-21.2.3:
Successfully uninstalled pip-21.2.3
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Successfully installed pip-22.0.3
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
C:\Users\fcgle\source\vdr_pi>python -m pip install -q setuptools wheel
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
C:\Users\fcgle\source\vdr_pi>python -m pip install -q cloudsmith-cli
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
C:\Users\fcgle\source\vdr_pi>python -m pip install -q cryptography
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
C:\Users\fcgle\source\vdr_pi>set SCRIPTDIR=C:\Users\fcgle\source\vdr_pi\buildwin\
C:\Users\fcgle\source\vdr_pi>set WXWIN=C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2
C:\Users\fcgle\source\vdr_pi>set wxWidgets_ROOT_DIR=C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2
C:\Users\fcgle\source\vdr_pi>set wxWidgets_LIB_DIR=C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2\lib\vc_dll
C:\Users\fcgle\source\vdr_pi>if not exist "C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2" (
wget --version 1>nul 2>&1 || choco install -y wget
wget https://download.opencpn.org/s/E2p4nLDzeqx4SdX/download --no-check-certificate -O wxWidgets-3.1.2.7z
7z i 1>nul 2>&1 || choco install -y 7zip
7z x wxWidgets-3.1.2.7z -oC:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2
)
C:\Users\fcgle\source\vdr_pi>pathman add "C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2" 1>nul
The operation completed successfully.
C:\Users\fcgle\source\vdr_pi>pathman add "C:\Users\fcgle\source\vdr_pi\buildwin\..\cache\wxWidgets-3.1.2\lib\vc_dll" 1>nul
The operation completed successfully.
C:\Users\fcgle\source\vdr_pi>refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
cd build
and erase all files
cmake -T v141_xp -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
and
cmake --build . --target tarball --config RelWithDebInfo
fcgle@Hesper MINGW64 ~/source/vdr_pi (master)
$ cd build
fcgle@Hesper MINGW64 ~/source/vdr_pi/build (master)
$ dir
fcgle@Hesper MINGW64 ~/source/vdr_pi/build (master)
$ cmake -T v141_xp -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
-- Cmake version: 3.22.0-rc1.
-- Build uses 16 processors
-- Configuring
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.16.27045.0
-- The CXX compiler identification is MSVC 19.16.27045.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Selected upload repository: o p e n c p n / v d r - p r o d
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/fcgle/source/vdr_pi/build
fcgle@Hesper MINGW64 ~/source/vdr_pi/build (master)
$ cmake --build . --target tarball --config RelWithDebInfo
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\ZERO_CHECK.vcxproj]
Checking Build System
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\tarball-conf.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
-- Cmake version: 3.22.0-rc1.
-- Build uses 16 processors
-- Building: tarball
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19042.
-- Selected upload repository: o p e n c p n / v d r - p r o d
-- Install Prefix: C:/Users/fcgle/source/vdr_pi/build/app/files
-- Found Gettext: C:/Program Files/Git/usr/bin/msgmerge.exe (found version "0.19.8.1")
-- Found OpenGL: opengl32
-- Found wxWidgets: debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxbase31ud.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxbase31u.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31ud_core.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31u_core.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxbase31ud_net.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxbase31u_net.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxbase31ud_xml.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxbase31u_xml.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31ud_html.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31u_html.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31ud_adv.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31u_adv.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31ud_stc.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31u_stc.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31ud_aui.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31u_aui.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31ud_gl.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxmsw31u_gl.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxpngd.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxpng.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxtiffd.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxtiff.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxjpegd.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxjpeg.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxzlibd.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxzlib.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxregexud.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxregexu.lib;debug;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxexpatd.lib;optimized;C:/Users/fcgle/source/wxWidgets-3.1.2/lib/vc_dll/wxexpat.lib;opengl32;glu32;winmm;comctl32;uuid;oleacc;uxtheme;rpcrt4;shlwapi;version;wsock32 (found version "3.1.2") found components: base core net xml html adv stc aui gl png tiff jpeg zlib regex expat
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/fcgle/source/vdr_pi/build
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\tarball-build.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\ZERO_CHECK.vcxproj] [C:\Users\fcgle\source\vdr_pi\build\tarball-build.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\vdr-i18n.vcxproj] [C:\Users\fcgle\source\vdr_pi\build\tarball-build.vcxproj]
vdr-i18n [ar_SA]: Created mo file.
vdr-i18n [bg_BG]: Created mo file.
vdr-i18n [ca_ES]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/ca_ES.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [cs_CZ]: Created mo file.
vdr-i18n [da_DK]: Created mo file.
vdr-i18n [de_DE]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/de_DE.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [el_GR]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/el_GR.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [es_ES]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/es_ES.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [et_EE]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/et_EE.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [fi_FI]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/fi_FI.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [fil_PH]: Created mo file.
vdr-i18n [fr_FR]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/fr_FR.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [gl_ES]: Created mo file.
vdr-i18n [hi_IN]: Created mo file.
vdr-i18n [hu_HU]: Created mo file.
vdr-i18n [id_ID]: Created mo file.
vdr-i18n [is_IS]: Created mo file.
vdr-i18n [it_IT]: Created mo file.
vdr-i18n [ja_JP]: Created mo file.
vdr-i18n [ko_KR]: Created mo file.
vdr-i18n [mr_IN]: Created mo file.
vdr-i18n [nb_NO]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/nb_NO.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [nl_NL]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/nl_NL.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [pl_PL]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/pl_PL.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [pt_BR]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/pt_BR.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [pt_PT]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/pt_PT.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [ro_RO]: Created mo file.
vdr-i18n [ru_RU]: Created mo file.
vdr-i18n [sv_SE]: Created mo file.
C:/Users/fcgle/source/vdr_pi/po/sv_SE.po:2: warning: header field 'Last-Translator' still has the initial default value
vdr-i18n [th_TH]: Created mo file.
vdr-i18n [tr_TR]: Created mo file.
vdr-i18n [vi_VN]: Created mo file.
vdr-i18n [zh_CN]: Created mo file.
vdr-i18n [zh_TW]: Created mo file.
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
vdr_pi-i18n: Done.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\vdr_pi.vcxproj] [C:\Users\fcgle\source\vdr_pi\build\tarball-build.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
icons.cpp
vdr_pi.cpp
Generating Code...
Creating library C:/Users/fcgle/source/vdr_pi/build/RelWithDebInfo/vdr_pi.lib and object C:/Users/fcgle/source/vdr_pi/build/RelWithDebInfo/vdr_pi.exp
vdr_pi.vcxproj -> C:\Users\fcgle\source\vdr_pi\build\RelWithDebInfo\vdr_pi.dll
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\ALL_BUILD.vcxproj] [C:\Users\fcgle\source\vdr_pi\build\tarball-build.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\tarball-install.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi.dll
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/old
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/old/vdr_panel_icon.png
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/old/vdr_pi.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/old/vdr_play.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/old/vdr_record.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_panel_icon.png
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_pi.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_play.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_play_rollover.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_play_toggled.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_record.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_record_rollover.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/plugins/vdr_pi/data/vdr_record_toggled.svg
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/ar_SA/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/bg_BG/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/ca_ES/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/cs_CZ/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/da_DK/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/de_DE/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/el_GR/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/es_ES/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/et_EE/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/fi_FI/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/fil_PH/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/fr_FR/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/gl_ES/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/hi_IN/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/hu_HU/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/id_ID/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/is_IS/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/it_IT/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/ja_JP/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/ko_KR/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/mr_IN/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/nb_NO/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/nl_NL/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/pl_PL/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/pt_BR/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/pt_PT/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/ro_RO/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/ru_RU/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/sv_SE/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/th_TH/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/tr_TR/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/vi_VN/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/zh_CN/LC_MESSAGES/opencpn-vdr_pi.mo
-- Installing: C:/Users/fcgle/source/vdr_pi/build/app/files/share/locale/zh_TW/LC_MESSAGES/opencpn-vdr_pi.mo
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\tarball-finish.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
-- Creating tarball VDR-v1.3.19_msvc-10.0.19042-win32.tar.gz
-- Computing checksum in VDR-v1.3.19-msvc-10.0.19042.xml
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\Win32\PlatformToolsets\v141_xp\Toolset.targets(39,5): warning MSB8051: Support for targeting Windows XP is deprecated and will not be present in future releases of Visual Studio. Please see https://go.microsoft.com/fwlink/?linkid=2023588 for more information. [C:\Users\fcgle\source\vdr_pi\build\tarball.vcxproj]
Building Custom Rule C:/Users/fcgle/source/vdr_pi/CMakeLists.txt
I also think in the Install.md the exact paths or directories that should be used for the batch files should be explained.
So, it works, as I suspected.
The paths are explained. I f you read the complete document you find this line in the beginning:
$ rm -rf build; mkdir build; cd build
Although in bash/git-bash syntax this should be pretty clear: paths are relative from the build directory. It cannot really be in any other way, since the location where user clones the plugin is arbitrary. Could add the corresponding line in CMD parlance, though.
You can git rid of the warnings like WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
by having a look in (surprise!) c:\python310\lib\site-packages. Here you will find some things like ~ip and what not warned about. Just remove them, seems to be some installation left-overs.
With this we should close this, right?
Last Night I incremented the plugin to a new version in Plugin.cmake, 1.3.19.0 then tagged it and pushed
git add the files
git commit -am "1.3.19.0"
git tag v1.3.19
git push --tags origin master:master
Everything built I think and there are only 13 metadata files (is this correct?) https://cloudsmith.io/~opencpn/repos/vdr-prod/packages/?q=VDR-v1.3.19+metadata
Unfortunately I forgot to remove rgleason/plugins/auto and update master and then checkout auto, so that didn't really work, but that repository shows only (11) v1.3.19 metada
It is missing raspbian-9.13 and raspbian-10 that did not get pushed to rgleason/plugins/auto for some reason.
I am just going to push all these metadata to plugins by hand now.
The first post is serving as my Sequential List of what to do.
Unfortunately I forgot to remove rgleason/plugins/auto and update master and then checkout auto
There is no such need. The only time you need to reset rgleason/plugins/auto is when rebasing to use beta instead or master or the other way around. Otherwise, just leave as it is, the commits will accumulate but this is as designed an no problem at all.
You need to rebase things when doing a PR, but only then and as described in Making a Pull request.
It is missing raspbian-9.13 and raspbian-10 that did not get pushed to rgleason/plugins/auto for some reason.
Then we need to sort this out, finally. I wrote some description for how to do this here. Could you please apply this, so we can rid of the uncertainties?
The first post is serving as my Sequential List of what to do.
Needs an update. No need in general to remove/rebase the auto branch although it does not hurt.
And please remove the build instructions which overlaps INSTALL.md. Just leave the reference to that file since it will evolve over time. In fact, it already has, making your build procedure broken from next commit; we are on master branch.
In general, please don't copy contents from the documents you link to. This will fail each time they are updated, and it happens all the time. Just have the links, possibly with some text about where in that link, clarifications, etc.
Less is more.
Ok this is going to have to wait until tonight perhaps.
Regarding the python Warnings which really bug me as they obscure meaningful messages.
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages) - Do I delete the "p" directory?
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages) - Would already be deleted?
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages) - Do I delete the "0p" directory?
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages) - Do I delete the "ip" directory?
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages) - What do I delete here?
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages) - another duplicate will be deleted above?
WARNING: Ignoring invalid distribution -p (c:\python310\lib\site-packages) - another duplicate, will be deleted above?
WARNING: Ignoring invalid distribution -0p (c:\python310\lib\site-packages) - etc.
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages) -etc
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages) - What do I delete here?
Looking in links: c:\Users\fcgle\AppData\Local\Temp\tmpyj_nsbo0 - I don't know what this is about? what do I do?
Requirement already satisfied: setuptools in c:\python310\lib\site-packages (57.4.0)
Processing c:\users\fcgle\appdata\local\temp\tmpyj_nsbo0\pip-21.2.3-py3-none-any.whl
This is what my python site-packages looks like. Can I remove all the directories starting with "~" ? What about "~~"?
Can I remove all the directories starting with "~" ? What about "~~"?
Just remove all of them, and any other directory with warnings. The warning basically says the this is junk -- things in this directory are supposed to be python libraries. I guess this junk perhaps always has existed, while the warning is new.
Normal Sequential Process after the plugin is setup and running.
Remove auto branch and Create a branch called auto in github.com//plugins fork:
See https://opencpn-manuals.github.io/main/AlternativeWorkflow/InstallConfigure/GithubPreps.html
For builds targeting the master catalog: drop possible existing auto branch and create a new on top of master:
Note: this does not need to be done each time.
Update SD Template with script "update-templates" https://github.com/Rasbats/shipdriver_pi/blob/master/UPDATE_TEMPLATES.md See "2. Run the script" https://github.com/Rasbats/shipdriver_pi/blob/master/UPDATE_TEMPLATES.md#2-run-script For example to update using a tag when in Windows OS
"C:\Program Files\Git\bin\bash.exe" update-templates sd3.0.2
Build Locally and test https://opencpn-manuals.github.io/main/AlternativeWorkflow/usage.html Read the Install.md file for complete instructions. Run the batch files locally, creating the tarball in the build directory.
From Bash Prompt started with administrative rights.
Check the Metadata that has been automatically pushed to plugins/auto branch (Not necessary, Alec Lemas) https://opencpn-manuals.github.io/main/AlternativeWorkflow/InstallConfigure/GitHub.html#_check_the_metadata_push
Making a Pull request. https://opencpn-manuals.github.io/main/AlternativeWorkflow/InstallConfigure/Catalog-Github-Integration.html#make-PR
If metadata files are missing, check the "builder" logs. Usually it is a bad auth key.