FS#43552 - {namcap} support mingw packages

Attached to Project: Arch Linux
Opened by Michel (xantares) - Saturday, 24 January 2015, 11:19 GMT
Last edited by freswa (frederik) - Tuesday, 24 March 2020, 19:00 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Hi,

Namcap doens't have support for mingw-* packages:

$ namcap mingw-w64-libsvm/mingw-w64-libsvm-3.17-4-any.pkg.tar.xz
mingw-w64-libsvm E: ELF file ('usr/i686-w64-mingw32/lib/libsvm.dll.a') found in an 'any' package.
mingw-w64-libsvm E: ELF file ('usr/i686-w64-mingw32/lib/libsvm.a') found in an 'any' package.
mingw-w64-libsvm E: ELF file ('usr/x86_64-w64-mingw32/lib/libsvm.dll.a') found in an 'any' package.
mingw-w64-libsvm E: ELF file ('usr/x86_64-w64-mingw32/lib/libsvm.a') found in an 'any' package.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/lib/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/bin/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/include/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/include/svm.h) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/bin/libsvm-2.dll) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/lib/libsvm.dll.a) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/i686-w64-mingw32/lib/libsvm.a) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/lib/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/bin/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/include/) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/include/svm.h) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/bin/libsvm-2.dll) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/lib/libsvm.dll.a) exists in a non-standard directory.
mingw-w64-libsvm W: File (usr/x86_64-w64-mingw32/lib/libsvm.a) exists in a non-standard directory.
mingw-w64-libsvm E: Missing custom license directory (usr/share/licenses/mingw-w64-libsvm)
mingw-w64-libsvm W: Dependency included and not needed ('mingw-w64-crt')

Some properties of mingw packages:
- their arch=any [1]
- they use non-standard dirs: /usr/x86_64-w64-mingw32/{lib,bin,include} or /usr/i686-w64-mingw32/{lib,bin,include}
- static and import libs should be in /usr/x86_64|i686-w64-mingw32/lib/*.a
- export libs should be in /usr/x86_64|i686-w64-mingw32/bin/*.dll
- they must depended on mingw-w64-crt somehow

[1] https://wiki.archlinux.org/index.php/MinGW_package_guidelines

This task depends upon

Closed by  freswa (frederik)
Tuesday, 24 March 2020, 19:00 GMT
Reason for closing:  None
Additional comments about closing:  This seems pretty stalled to me. If it's still an issue, please fill a re-open request. Thank you :)
Comment by Kyle Keen (keenerd) - Friday, 20 February 2015, 12:13 GMT
Try commit aa2891f9b please?
Comment by Michel (xantares) - Friday, 20 February 2015, 13:14 GMT
hello,

it's a lot better

- other subdirs like /share can exist:
mingw-w64-netcdf W: File (usr/x86_64-w64-mingw32/share/cmake/netcdf-config.cmake) exists in a non-standard directory.

- as mingw custom paths are appended to valid paths:
valid_paths.extend(custom_valid[pattern])
maybe files in default subdirs /usr/lib sould not be accepted

- the dependency search should be disabled
mingw-w64-opencv W: Dependency included and not needed ('mingw-w64-libpng')

- lots of test fail
FAILED (failures=1, errors=39, expected failures=2)

xan.
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 24 February 2015, 10:06 GMT
Is it possible to detect PE and PE+ dependencies using winedump in multilib/wine? I have a simple CLI tool to print dependencies of EXE/DLL: https://gist.github.com/yan12125/63c7241596e628553d21
Comment by Michel (xantares) - Sunday, 18 February 2018, 14:04 GMT
Very cool script, maybe create a package for it: mingw-w64-ldd

Loading...