test installation with MSYS2+mingw-w64#1916
test installation with MSYS2+mingw-w64#1916Cyan4973 merged 1 commit intofacebook:appveyorTestfrom vtorri:dev
Conversation
| @$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/ | ||
| ifneq (,$(filter MINGW%,$(shell uname))) | ||
| @$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)/ | ||
| @$(INSTALL_PROGRAM) $(LIBZSTD) $(DESTDIR)$(BINDIR) |
There was a problem hiding this comment.
Why does $(LIBZSTD) go in $(BINDIR)?
There was a problem hiding this comment.
That's a good point.
No idea what is the "proper" directory layout for msys2.
This part comes from @vtorri patch.
|
Note : there is still an incompatibility with our test suite and @vtorri 's msys2 patch, |
|
dll should go in bin/ subdir |
|
@Cyan4973 what is the status of this PR? |
|
It seems this is a case of a patch breaking a test, and no further update to fix the situation. I'll look into it again at my next oncall session, starting later this week. |
|
OK, so the problematic case is And the reason is, the test can't even start, because it expects to find
In both cases, the change is done unilaterally and without documentation "because it's better". On the topic of library name change :
but a quick look at any Windows system or program directory show that most edit: found them ! In the The suggestion to fix the test is :
which is not that trivial, since the place where the test is defined doesn't know what So I think I guess what to do next :
|
projects built with Visual Studio indeed do not add this version number but on MSYS2, libtool and meson build system are quite common. Here is the list of DLL built for the EFL (a toolkit like gtkk or qt) with an installer i've written (see the list here https://github.com/vtorri/ewpi). The packages are built from source, with almost no modifications (which is the purpose of of my patch for zstd) and you will see that the major version is quite common (and btw you have accepted my patch for lz4 which adds this major version...) : /opt/ewpi_64/bin/avcodec-58.dll |
|
Indeed, looking at A link to a page explaining naming convention on |
|
any news about this ? |
|
revisiting the failing test. |
|
Let's merge it locally. There may be additional details to work out before a merge into |
appveyorCI has been updated to add an installation test
which fails without this patch.
It should pass with it.