mandown
mandown copied to clipboard
mandown 1.0.3 failed to build on OSX
both 1.0.2 and 1.0.3 releases failed to build on OSX, error log is below:
formula mdn
ld: can't map file, errno=22 file 'build/blender/blender.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [mdn] Error 1
relates to
- Homebrew/homebrew-core#70530
- Homebrew/homebrew-core#70650
cc @Titor8115
Have you tried directly compile the program from github version? I'm currently also having problem with updating homebrew installation... And I'm in process of finding someone that is familiar with homebrew. Let me know if you encounter similar issues if it is compiled from github files
Have you tried directly compile the program from github version?
Yes.
❯ git clone https://github.com/Titor8115/mandown.git
Cloning into 'mandown'...
remote: Enumerating objects: 595, done.
remote: Counting objects: 100% (219/219), done.
remote: Compressing objects: 100% (137/137), done.
remote: Total 595 (delta 128), reused 134 (delta 72), pack-reused 376
Receiving objects: 100% (595/595), 512.62 KiB | 3.56 MiB/s, done.
Resolving deltas: 100% (334/334), done.
❯ make -C mandown
Compiling: blender/blender.c
Compiling: blender/houdini_blender_e.c
Compiling: blender/houdini_href_e.c
Compiling: parser/autolink.c
Compiling: parser/buffer.c
Compiling: parser/markdown.c
Compiling: parser/stack.c
Compiling: src/cmd.c
Compiling: src/config.c
In file included from src/config.c:20:
src/config.h:23:10: fatal error: 'libconfig.h' file not found
#include <libconfig.h>
^~~~~~~~~~~~~
1 error generated.
make: *** [build/src/config.o] Error 1
We also see this error in Homebrew CI. See, for example: https://github.com/Homebrew/homebrew-core/runs/4693294999?check_suite_focus=true#step:6:48