-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
lensfun 0.3.95 is broken #7108
Comments
@phrrk Would updating to current git master also be an option? |
@lazka as far as I can see there is little lensfun development going on at the moment and I have no idea what the current status is. Existing applications that use lensfun, e.g. darktable and RawTherapee all use version 0.3.2 which is the version offered by major linux distributions and macOS. Significant changes were made to the way lensfun works since the 0.3.2 so it is not clear the the git master version is compatible with the applications that use it. Therefore making the 0.3.2 package available again is really essential. |
Sounds good to me. Here are the lensfun-0.3.2-4 packages from my backup: |
Latest lensfun-0.3.2-5 doesn't seem to ship the necessary python modules... |
Some quick test show that DESTDIR here is empty, but shouldn't be:
Anyone know why that is? |
Ok I have tried to build the package locally (my first attempt at building an MSYS2 package so I cannot provide much insight). I can confirm that the package I built also has none of the python modules included. However the log file seems to suggest that they are there as shown in the snippet from the end of it below: running install However looking in ......./pkg/mingw-w64-x86_64-lensfun/mingw64/lib, which I believe is where the python3.8 directory should be, it is not to be found. Instead I found it below the .../src directory jim@Jim-PC MINGW64 ~/mingw-w64-lensfun/src/build-x86_64-w64-mingw32/mingw64/lib/python3.8/site-packages As I said this is my first attempt at a package build so I could be totally off track, but it looks to me like the python files are written to the wrong place and hence do not get included in the package when it is created. Checking on the old copy of lensfun-0.3.2-4 the files are dated 04/09/2017. One change since then is that python has gone from 3.6 to 3.8 and maybe there have been other relevant changes. |
Further to my comments above I have made some progress. Changing the last but one line of cmake-mingw.patch to
solves the problem of getting the python files installed in the correct place and included in the package file. The only possible issue is that there are 2 packaging warnings
I don't know whether these warnings are significant, but the first of them was there anyway before my edit and the second would not have been because the python stuff was not in the package anyway. |
Does |
Yes that seems to work too and now I only get the one warning message
|
FWIW, I'm seeing the same warning on another package, the path of the source directory indeed ends up somehow in binary objects (both shared and static) as plain text... |
That sometimes happen if |
Having found the reference to $srcdir in the offending dll it just appears amongst some other text which looks like error messages. I doubt very much that functionality is affected. |
Same here, they all seem to be |
Thanks, see #7128 |
This should be fixed now. Can anyone confirm? |
Python module is indeed now there and I could execute |
Yes works for me thanks. Sorry forgot to close. |
Version 0.3.95 of lensfun was only an alpha release and was soon shown to be seriously broken. The relevant changes have been made in the git master for lensfun, but there have been no new releases. As can be seen in
https://repology.org/project/lensfun/packages very few distributions offer this version and instead offer the earlier stable version 0.3.2. This package is extensively used in raw photo development applications like darktable and they have got around this problem by reverting to 0.3.2, which used to be available from http://repo.msys2.org/mingw/x86_64/ This old package has now been removed and so there is a problem for anyone starting with a clean MSYS2 installation. Is it possible to have the old 0.3.2 package reinstated into the repository? Although a better solution might be to replace the current 0.3.95 package with this older one as the current current package is of no use to anyone.
The text was updated successfully, but these errors were encountered: