Comments (5)
Hi @ttsiodras
Thanks, it looks like this was broken by 8df0c23 which added libhfsuser (and others under lib/) to the include path in order to fix inconsistencies building with the bundled vs system utf8proc/ublio. But this also means that the couple of internal headers in those dirs are also added to the path, and since gcc/clang search locations added with -I
before system ones, the effect is that when sys/stat.h includes <features.h>
libhfsuser's features.h is being included instead.
Renaming the header isn't enough of a solution here because the project shouldn't really be organized in a way that requires the build system to do this. I think the correct thing here would be to just restructure libhfs and libhfsuser so that only their public headers (ones that would be installed with make install-lib
) are added to the search path and deal with ublio/utf8proc separately. I'll push up a fix a bit later.
from hfsfuse.
I'll push up a fix a bit later.
Excellent. Ping me and I will test it.
from hfsfuse.
@ttsiodras I decided to go with a much simpler solution of using -iquote
for these includes since this fits better with how the libs are being used internally. Confirmed 32a77ed resolves this specific issue on other systems with glibc, but should stop the issue of polluting the include path in general.
from hfsfuse.
I just tested it - works great.
Thank you!
from hfsfuse.
@ttsiodras great, thanks for reporting this.
from hfsfuse.
Related Issues (20)
- src/hfsfuse.c:31:10: fatal error: 'fuse/fuse.h' file not found HOT 10
- rc/hfsfuse.c:34:10: fatal error: 'version.h' file not found HOT 8
- make config fails with errors under macOS Big Sur HOT 3
- "could not read catalogue header node" when opening a Time Machine Volume HOT 3
- ld: library not found for -lutf8proc HOT 3
- Releases? HOT 9
- Doesn't find system libutf8proc on OpenBSD 6.8 HOT 2
- /hfsfuse-master/lib/libhfsuser/features.h:5:10: fatal error: 'utf8proc.h' file not found HOT 9
- kext load failed HOT 4
- make install fails HOT 2
- Error mounting on GNU/Linux: all records greater than key / could not find root parent HOT 7
- plan to add read write support ? HOT 3
- Support for compressed files? HOT 9
- Garbled, varying text after symlink destinations HOT 3
- Extended attributes of symlinks HOT 11
- Operation not permitted (EPERM) on some files HOT 5
- FreeBSD port HOT 5
- Slow rsync speed on USB3 device mounted via USB3 port HOT 3
- 32-bit build fails to open large dmgs HOT 13
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 hfsfuse.