Closed truatpasteurdotfr closed 1 month ago
tru@bisadms-Air koreader % sw_vers
ProductName: macOS
ProductVersion: 14.6.1
BuildVersion: 23G93
tru@bisadms-Air koreader % git describe --tag
v2024.07-71-g5daff2579
tru@bisadms-Air koreader % cat koreader-buildenv-setup.sh
export PATH="$(brew --prefix)/opt/findutils/libexec/gnubin:$(brew --prefix)/opt/gnu-getopt/bin:$(brew --prefix)/opt/make/libexec/gnubin:$(brew --prefix)/opt/util-linux/bin:${PATH}"
export PATH="/usr/local/bin:/usr/local/sbin:${PATH/:\/usr\/local\/bin/}"
export MACOSX_DEPLOYMENT_TARGET=10.09
From a new shell where koreader was checkout:
git clone https://github.com/koreader/koreader.git
cd koreader && ./kodev fetch-thirdparty
source koreader-buildenv-setup.sh
./kodev build
Are you sure sure your submodules are synchronized (particularly base)? Your error message does not match the current glib version.
Hi,
indeed something is not quite right:
tru@bisadms-MacBook-Air koreader % git describe --tag
v2024.07-71-g5daff2579
tru@bisadms-MacBook-Air koreader % cd base
tru@bisadms-MacBook-Air base % git describe --tag
v2013.03-3235-gdd03e472
tru@bisadms-MacBook-Air base % cd ..
tru@bisadms-MacBook-Air koreader % ./kodev fetch-thirdparty
Synchronizing submodule url for 'base'
Synchronizing submodule url for 'l10n'
Synchronizing submodule url for 'platform/android/luajit-launcher'
Synchronizing submodule url for 'platform/ubuntu-touch/ubuntu-touch-sdl'
Synchronizing submodule url for 'resources/fonts'
Synchronizing submodule url for 'test'
remote: Enumerating objects: 184, done.
remote: Counting objects: 100% (184/184), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 106 (delta 52), reused 103 (delta 49), pack-reused 0
Receiving objects: 100% (106/106), 1.54 MiB | 7.25 MiB/s, done.
Resolving deltas: 100% (52/52), completed with 31 local objects.
From https://github.com/koreader/koreader-translations
+ 5b994e7...1a97a1e master -> origin/master (forced update)
remote: Enumerating objects: 262, done.
remote: Counting objects: 100% (262/262), done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 106 (delta 52), reused 61 (delta 8), pack-reused 0
Receiving objects: 100% (106/106), 1.55 MiB | 3.93 MiB/s, done.
Resolving deltas: 100% (52/52), completed with 30 local objects.
From https://github.com/koreader/koreader-translations
* branch 7bddf3c87472b152b18d0f7bbc04b43b9e4d0dd1 -> FETCH_HEAD
Submodule path 'l10n': checked out '7bddf3c87472b152b18d0f7bbc04b43b9e4d0dd1'
Submodule path 'base': checked out '720df9dfc497bc1599c293a3149ce82359253c0c'
make[1]: Entering directory '/Users/tru/github/koreader/base'
Synchronizing submodule url for 'luafilesystem'
Synchronizing submodule url for 'thirdparty/kpvcrlib/crengine'
Submodule path 'thirdparty/kpvcrlib/crengine': checked out '07171e788f9e26d240326e2da18b9e8fdbda6f17'
make[1]: Leaving directory '/Users/tru/github/koreader/base'
Let me re-run the build stage!
Thanks
Tru
Note: you can't rely on base's tags, to check if it's synchronized: there's only the one, it's not tagged when a new version of koreader is released.
thanks for your help, ./kodev build
has completed :D
tru@bisadms-MacBook-Air koreader % ./kodev run
[*] Building KOReader…
▸ 0% | Building 'crengine'
ninja: no work to do.
▸ 50% | Building 'koreader'
ninja: no work to do.
▸100% | Installing 'koreader'
[*] install front spec only for the emulator
[*] Install update once marker
[*] Install plugins
[*] Install resources
[*] Install data files
[*] Running KOReader with arguments: ...
~/github/koreader/koreader-emulator-arm64-apple-darwin23.6.0-debug/koreader ~/github/koreader
---------------------------------------------
launching...
_ _____ ____ _
| |/ / _ \| _ \ ___ __ _ __| | ___ _ __
| ' / | | | |_) / _ \/ _` |/ _` |/ _ \ '__|
| . \ |_| | _ < __/ (_| | (_| | __/ |
|_|\_\___/|_| \_\___|\__,_|\__,_|\___|_|
It's a scroll... It's a codex... It's KOReader!
[*] Current time: 08/09/24-22:23:54
[*] Version: v2024.07-71-g5daff2579_2024-08-07
....
./kodev release macos
minor documentation fix:
tru@bisadms-MacBook-Air koreader % ./kodev release macos
▸ 0% | Building 'crengine'
ninja: no work to do.
▸ 50% | Building 'koreader'
ninja: no work to do.
▸100% | Installing 'koreader'
[*] install front spec only for the emulator
[*] Install update once marker
[*] Install plugins
[*] Install resources
[*] Install data files
[*] Clean up, remove unused files for releases
▸ 0% | Building 'crengine'
ninja: no work to do.
▸ 50% | Building 'koreader'
ninja: no work to do.
▸100% | Installing 'koreader'
[*] install front spec only for the emulator
[*] Install update once marker
[*] Install plugins
[*] Install resources
[*] Install data files
[*] Clean up, remove unused files for releases
platform/mac/koreader.icns -> koreader-macos-arm64-apple-darwin23.6.0/bundle/Contents/Resources/icon.icns
platform/mac/menu.xml -> koreader-macos-arm64-apple-darwin23.6.0/bundle/Contents/MainMenu.xib
xcode-select: error: tool 'ibtool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
make: *** [make/macos.mk:8: update] Error 1
That last error can be fixed by:
tru@bisadms-MacBook-Air koreader % sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
And the 7z archive is now generated:
tru@bisadms-MacBook-Air koreader % ls -lh KOReader-arm64-2024.07-71.7z
-rw-r--r--@ 1 tru staff 28M 9 aoû 22:29 KOReader-arm64-2024.07-71.7z
Issue
Unable to complete the
./kodev build
stageSteps to reproduce
./kodev build
failing