Source: wimlib
Version: 1.8.3-1
Severity: important
Justification: fails to build from source

Builds of wimlib on kFreeBSD failed due to undefined references to
ntfs_* symbols:

  libtool: link: gcc -std=gnu99 -fvisibility=hidden -fno-common 
-Wmissing-prototypes -Wstrict-prototypes -Wundef -Wno-pointer-sign 
-Wno-deprecated-declarations -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wl,-z -Wl,relro -o .libs/wimlib-imagex 
programs/wimlib_imagex-imagex.o  ./.libs/libwim.so -pthread
  ./.libs/libwim.so: undefined reference to `ntfs_get_ntfs_attrib'
  ./.libs/libwim.so: undefined reference to `ntfs_set_ntfs_reparse_data'
  ./.libs/libwim.so: undefined reference to `ntfs_inode_set_times'
  ./.libs/libwim.so: undefined reference to `ntfs_set_ntfs_attrib'
  ./.libs/libwim.so: undefined reference to `ntfs_set_ntfs_dos_name'
  ./.libs/libwim.so: undefined reference to `ntfs_set_ntfs_acl'
  collect2: error: ld returned 1 exit status
  Makefile:1201: recipe for target 'wimlib-imagex' failed

I'm not sure what went wrong here, as the log does confirm linkage
against libntfs-3g:

  /bin/bash ./libtool  --tag=CC   --mode=link gcc -std=gnu99 
-fvisibility=hidden -fno-common -Wmissing-prototypes -Wstrict-prototypes 
-Wundef -Wno-pointer-sign -pthread -I/usr/include/libxml2    -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security  -version-info 23:0:8 
-Wl,-z,relro -o libwim.la -rpath /usr/lib/x86_64-kfreebsd-gnu 
src/libwim_la-add_image.lo ... src/libwim_la-unix_capture.lo   -lxml2  -lntfs-3g

Could you please take a look?

Thanks!

Reply via email to