dakanji / refindplusudk Goto Github PK
View Code? Open in Web Editor NEWRefindPlus UEFI Development Kit
License: BSD 2-Clause "Simplified" License
RefindPlus UEFI Development Kit
License: BSD 2-Clause "Simplified" License
/Users/MBP113/Documents/RefindPlus/edk2/000-BuildScript/RepoUpdater.sh
Syncing RefindPlus
Already on 'GOPFix'
Your branch is up to date with 'origin/GOPFix'.
fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Runtime Error ... Exiting
I'm following the instructions on building on MacOS and came across an error. I'm pretty sure this is user error, not a bug, so I'm posting here rather than issues (please let me know if this is improper, I'm not familiar with the proper etiquette).
I've made it to "Build Required BaseTools C Tool Binaries" and when running
make -C BaseTools/Source/C
I get this error
error: variable 'StringIndex2' is uninitialized when used here [-Werror,-Wuninitialized]
I've poked around a bit online and found posts about a similar issue but I'm not quite sure how to implement it to this build. The full output is in the attached screenshot, there's a couple things that line up that I wouldn't be able to get proper here.
Originally posted by @bcskillings in https://github.com/dakanji/RefindPlus/discussions/43
Running the script from within its folder yields this:
## RepoUpdater ##
-----------------
Syncing Refind-UDK
Already on 'rudk'
Your branch is up to date with 'origin/rudk'.
HEAD is now at 56c1ccd8 Update gitignore
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
+ 029b4582...56c1ccd8 HEAD -> rudk (forced update)
From https://github.com/dakanji/Refind-UDK
* branch rudk -> FETCH_HEAD
Updating 56c1ccd8..029b4582
Fast-forward
000-BuildScript/RepoUpdater.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
56c1ccd8..029b4582 rudk -> rudk
Everything up-to-date
Synced Refind-UDK
Syncing RefindPlus
Already on 'GOPFix'
Your branch is up to date with 'origin/GOPFix'.
HEAD is now at 60644bd Update for v0.12.0.AN Release
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
+ 9054d73...60644bd HEAD -> GOPFix (forced update)
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Total 8 (delta 7), reused 8 (delta 7), pack-reused 0
Unpacking objects: 100% (8/8), done.
From https://github.com/dakanji/RefindPlus
* branch GOPFix -> FETCH_HEAD
9691685..9054d73 GOPFix -> upstream/GOPFix
Updating 60644bd..9054d73
Fast-forward
EfiLib/BdsConnect.c | 8 ++---
MainRP/driver_support.c | 146 +++++++++++++++++++++++++++--------------------------------------------------
MainRP/driver_support.h | 1 -
MainRP/lib.c | 4 +--
MainRP/main.c | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
MainRP/menu.c | 6 ++--
MainRP/scan.c | 36 +++++++++----------
MainRP/screen.c | 100 ++++++++++++++++++++++++++++-------------------------
MainRP/screen.h | 2 +-
NEWS.txt | 7 ++++
README.md | 8 +++--
config.conf-sample | 123 ++++++++++++++++++++++++++++++++++++-----------------------------
filesystems/RamDiskDxe/RamDiskFileExplorer.c | 2 +-
filesystems/RamDiskDxe/RamDiskImpl.h | 2 +-
include/version.h | 2 +-
libeg/screen.c | 85 ++++++++-------------------------------------
mountesp | 2 +-
refind-install | 4 +--
18 files changed, 383 insertions(+), 328 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
60644bd..9054d73 GOPFix -> GOPFix
Everything up-to-date
Synced RefindPlus
-----------------
## RepoUpdater ##
g5@Big-Sur ~ % /Users/g5/Documents/RefindPlus/edk2/000-BuildScript/RepoUpdater.sh
## RepoUpdater ##
-----------------
Syncing Refind-UDK
Already on 'rudk'
Your branch is up to date with 'origin/rudk'.
HEAD is now at 56c1ccd8 Update gitignore
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
+ 029b4582...56c1ccd8 HEAD -> rudk (forced update)
From https://github.com/dakanji/Refind-UDK
* branch rudk -> FETCH_HEAD
Updating 56c1ccd8..029b4582
Fast-forward
000-BuildScript/RepoUpdater.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
56c1ccd8..029b4582 rudk -> rudk
Everything up-to-date
Synced Refind-UDK
Syncing RefindPlus
Already on 'GOPFix'
Your branch is up to date with 'origin/GOPFix'.
HEAD is now at 60644bd Update for v0.12.0.AN Release
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
+ 9054d73...60644bd HEAD -> GOPFix (forced update)
From https://github.com/dakanji/RefindPlus
* branch GOPFix -> FETCH_HEAD
Updating 60644bd..9054d73
Fast-forward
EfiLib/BdsConnect.c | 8 ++---
MainRP/driver_support.c | 146 +++++++++++++++++++++++++++--------------------------------------------------
MainRP/driver_support.h | 1 -
MainRP/lib.c | 4 +--
MainRP/main.c | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
MainRP/menu.c | 6 ++--
MainRP/scan.c | 36 +++++++++----------
MainRP/screen.c | 100 ++++++++++++++++++++++++++++-------------------------
MainRP/screen.h | 2 +-
NEWS.txt | 7 ++++
README.md | 8 +++--
config.conf-sample | 123 ++++++++++++++++++++++++++++++++++++-----------------------------
filesystems/RamDiskDxe/RamDiskFileExplorer.c | 2 +-
filesystems/RamDiskDxe/RamDiskImpl.h | 2 +-
include/version.h | 2 +-
libeg/screen.c | 85 ++++++++-------------------------------------
mountesp | 2 +-
refind-install | 4 +--
18 files changed, 383 insertions(+), 328 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
60644bd..9054d73 GOPFix -> GOPFix
Everything up-to-date
Synced RefindPlus
-----------------
## RepoUpdater ##
Both git repositories are even with the remote branches
Pre-Release Code Build
Apple Mac
First error is "Unknown switch -G" After changing EDIT_BRANCH="-GOPFix"
to EDIT_BRANCH="GOPFix"
I get this error:
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C BrotliCompress
gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 tools/bro.c -o tools/bro.o
gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 common/dictionary.c -o common/dictionary.o
gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 dec/bit_reader.c -o dec/bit_reader.o
gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -O2 dec/decode.c -o dec/decode.o
dec/decode.c:2023:13: error: variable 'bytes_copied' set but not used [-Werror,-Wunused-but-set-variable]
int bytes_copied = s->meta_block_remaining_len;
^
1 error generated.
make[1]: *** [dec/decode.o] Error 1
make: *** [BrotliCompress] Error 2
Runtime Error ... Exiting
Other
Other Item
No debug log.
No additional context.
Is your feature request related to a problem? Please describe.
RepoUpdater.sh may update itself with new commit SHA values while running and this may result in a crash
Describe the solution you'd like
Move commit SHA value out of RepoUpdater.sh and load these before the container file is updated
Describe alternatives you've considered
RepoUpdater.sh could be run from outside the repository but this complicates usage.
Additional context
Not experienced yet and not mentioned as an issue in #6 but seems more likely to be an issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.