Comments (12)
Note that the flags include -Iexternal/utf8proc-2.6.1 so assuming the current dir is ./app, then the file app/external/utf8proc-2.6.1/utf8proc.h should be found
from zsv.
pls try main now. thx!
from zsv.
Removed REPLACEFILE_IGNORE_ACL_ERRORS
and the local build compiled successfully.
from zsv.
CI build is also successful.
See: https://github.com/liquidaty/zsv/actions/runs/2500907868
from zsv.
@liquidaty: macosx/gcc11 build is failing with these errors:
gcc-11 -I/Users/runner/work/zsv/zsv/jq/build/include -pipe -ffunction-sections -fdata-sections -fpic -std=gnu11 -O3 -DNDEBUG -Wno-gnu-statement-expression -Wshadow -Wall -Wextra -Wno-missing-braces -pedantic -DSTDC_HEADERS -D_GNU_SOURCE -ftree-vectorize -fvisibility=hidden -I/Users/runner/work/zsv/zsv/amd64-macosx-gcc/include -mavx2 -DZSV_EXTRAS -DUSE_JQ -DHAVE__MM256_MOVEMASK_EPI8 -DHAVE_IMMINTRIN_H -DHAVE_MEMMEM -DHAVE_ARC4RANDOM_UNIFORM -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_EXPECT_WITH_PROBABILITY -flto -Iexternal/utf8proc-2.6.1 -DUTF8PROC -DUTF8PROC_STATIC -DVERSION=\"b14db94\" -DZSV_CLI -DMAIN=main_pretty -Iexternal/inih -Iexternal/sglib -I/Users/runner/work/zsv/zsv/include -c pretty.c -o /Users/runner/work/zsv/zsv/build/Darwin/rel/gcc-11/objs/cli_pretty.o
pretty.c:13:10: fatal error: utf8proc.h: No such file or directory
13 | #include <utf8proc.h>
| ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [/Users/runner/work/zsv/zsv/build/Darwin/rel/gcc-11/objs/cli_pretty.o] Error 1
make: *** [install] Error 2
CI run: https://github.com/liquidaty/zsv/runs/6892124476?check_suite_focus=true#step:10:1107
from zsv.
The commands for clang
and gcc-11
are also identical (except some paths):
clang -I/Users/runner/work/zsv/zsv/jq/build/include -pipe -ffunction-sections -fdata-sections -fpic -std=gnu11 -O3 -DNDEBUG -Wno-gnu-statement-expression -Wshadow -Wall -Wextra -Wno-missing-braces -pedantic -DSTDC_HEADERS -D_GNU_SOURCE -ftree-vectorize -fvisibility=hidden -I/Users/runner/work/zsv/zsv/amd64-macosx-clang/include -mavx2 -DZSV_EXTRAS -DUSE_JQ -DHAVE__MM256_MOVEMASK_EPI8 -DHAVE_IMMINTRIN_H -DHAVE_MEMMEM -DHAVE_ARC4RANDOM_UNIFORM -DHAVE___BUILTIN_EXPECT -DNO___BUILTIN_EXPECT_WITH_PROBABILITY -flto -Iexternal/utf8proc-2.6.1 -DUTF8PROC -DUTF8PROC_STATIC -DVERSION=\"64beac3\" -DZSV_CLI -DMAIN=main_pretty -Iexternal/inih -Iexternal/sglib -I/Users/runner/work/zsv/zsv/include -c pretty.c -o /Users/runner/work/zsv/zsv/build/Darwin/rel/clang/objs/cli_pretty.o
gcc-11 -I/Users/runner/work/zsv/zsv/jq/build/include -pipe -ffunction-sections -fdata-sections -fpic -std=gnu11 -O3 -DNDEBUG -Wno-gnu-statement-expression -Wshadow -Wall -Wextra -Wno-missing-braces -pedantic -DSTDC_HEADERS -D_GNU_SOURCE -ftree-vectorize -fvisibility=hidden -I/Users/runner/work/zsv/zsv/amd64-macosx-gcc/include -mavx2 -DZSV_EXTRAS -DUSE_JQ -DHAVE__MM256_MOVEMASK_EPI8 -DHAVE_IMMINTRIN_H -DHAVE_MEMMEM -DHAVE_ARC4RANDOM_UNIFORM -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_EXPECT_WITH_PROBABILITY -flto -Iexternal/utf8proc-2.6.1 -DUTF8PROC -DUTF8PROC_STATIC -DVERSION=\"b14db94\" -DZSV_CLI -DMAIN=main_pretty -Iexternal/inih -Iexternal/sglib -I/Users/runner/work/zsv/zsv/include -c pretty.c -o /Users/runner/work/zsv/zsv/build/Darwin/rel/gcc-11/objs/cli_pretty.o
from zsv.
Not able to reproduce. Can you check whether the external/utf8proc-2.6.1 dir was unpacked? Perhaps somehow the bundled utf8proc.tar.gz was not unpacked (which should have happened from the dependency on utf8proc.c arising from the dependency on utf8proc.o)?
from zsv.
I just added some debug logs in the Makefile where the archive extracted.
For gcc
, the logs are there but for gcc-11
there are no logs.
Any idea why that might be the case? š¤
CI run: https://github.com/liquidaty/zsv/runs/6893839706?check_suite_focus=true
Logs added with >>
prefix.
from zsv.
@liquidaty: The build on the main
branch is failing:
/home/runner/work/zsv/zsv/build/Linux/rel/gcc/external/utf8proc-2.6.1/utf8proc.o: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
make[1]: *** [/home/runner/work/zsv/zsv/build/Linux/rel/gcc/bin/zsv_echo] Error 1
Makefile:330: recipe for target '/home/runner/work/zsv/zsv/build/Linux/rel/gcc/bin/zsv_echo' failed
make: *** [test] Error 2
make[1]: Leaving directory '/home/runner/work/zsv/zsv/app'
CI logs: https://github.com/liquidaty/zsv/runs/6894095030?check_suite_focus=true#step:7:530
from zsv.
Local build is also failing with above error.
from zsv.
After reverting the app/Makefile
changes, the local build is now successful.
from zsv.
Looks like macosx/gcc-11 is now passing but now MinGW local and CI builds are failing:
utils/os.c: In function āzsv_replace_fileā:
utils/os.c:58:72: error: āREPLACEFILE_IGNORE_ACL_ERRORSā undeclared (first use in this function); did you mean āREPLACEFILE_IGNORE_MERGE_ERRORSā?
58 | if(ReplaceFileW(wdest, wsrc, NULL, REPLACEFILE_IGNORE_MERGE_ERRORS | REPLACEFILE_IGNORE_ACL_ERRORS, 0, 0)) // success
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| REPLACEFILE_IGNORE_MERGE_ERRORS
CI: https://github.com/liquidaty/zsv/runs/6895160680?check_suite_focus=true#step:9:636
from zsv.
Related Issues (20)
- Incorrect column count on last row with empty column HOT 3
- choco.exe install failing HOT 3
- [CI] Fix release workflow warnings
- prop command: add option to skip garbage rows that trail the header row HOT 1
- Non-blank cell emitted for empty files HOT 2
- 0.3.5 pre-built windows binary crashes when `sql` command is run HOT 1
- Segfault when calling zsv help select HOT 6
- join (via sql): add --all option to join on all key values, not just those in the first input
- add `paste` command HOT 1
- Not able to run paste HOT 7
- compare: fails without message if input has duplicate column names
- Support shell command completion for Bash and other supported shells for better UX HOT 2
- `zsv help 2json` returns exit code 5 HOT 1
- Inconsistent `zsv help <command>` formatting
- [CI] Use Ubuntu runner for FreeBSD build
- [CI] Build zsv for macOS ARM64 HOT 1
- [CI] Enable dependabot to automate GitHub Actions versions updates
- `zsv sql` returns exit code 0 for missing CLI args HOT 1
- `zsv-playground` (https://github.com/iamazeem/zsv-playground)
- compare: different column headers should be output once as missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zsv.