Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues on MacOS #21

Open
alex0809 opened this issue Apr 27, 2021 · 2 comments
Open

Build issues on MacOS #21

alex0809 opened this issue Apr 27, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@alex0809
Copy link
Owner

When attempting to build Netsurf for MacOS using make image and then make build, it will fail libhubbub compilation:

make: Entering directory '/opt/netsurf/build/libhubbub'
/opt/netsurf/build/inst-arm-remarkable-linux-gnueabihf/share/netsurf-buildsystem/makefiles/Makefile.top:273: warning: overriding recipe for target 'clean'
examples/Makefile:14: warning: ignoring old recipe for target 'clean'
ENTITIES: src/tokeniser/entities.inc
make: *** No rule to make target 'libxml2.c', needed by 'libxml2.o'.  Stop.
make: Leaving directory '/opt/netsurf/build/libhubbub'
M.CONFIG: JPEG (libjpeg)	enabled       (NETSURF_USE_JPEG := YES)
M.CONFIG: PDF export (haru)	disabled      (NETSURF_USE_HARU_PDF := NO)
M.CONFIG: glibc internal iconv	enabled       (NETSURF_USE_LIBICONV_PLUG := YES)
M.CONFIG: Javascript (Duktape)	enabled       (NETSURF_USE_DUKTAPE := YES)
PKG.CNFG: CSS (libcss)	failed
Makefile:145: *** Unable to find library for: CSS (libcss).  Stop.
make: *** [build] Error 2
@alex0809 alex0809 added the bug Something isn't working label Apr 27, 2021
@alex0809
Copy link
Owner Author

alex0809 commented Apr 27, 2021

This issue seems to be related to the bind-mount of the build directory. Root cause is still unknown to me, if you have any ideas please share them!

As a workaround, there is a new parameter USE_VOLUME_MOUNT=YES for running the build with a volume mount of the build directory instead of a bind mount, that will only bind mount the netsurf directory and volume mount all other directories.
This workaround is automatically enabled on macOS.

@Eeems
Copy link
Contributor

Eeems commented Jun 2, 2024

Could it be related to toltec-dev/toltec#871?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants