-
Notifications
You must be signed in to change notification settings - Fork 346
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
Link error building libexiv2 in mythtv 32.0 #549
Comments
It looks like @linuxdude42 imported exiv2. |
out of interest, what version is the system exiv2? |
Looks like 0.27.5. |
I don't think this is a libexiv2 issue because I see this same link line in other directories. You're just seeing it first in libexiv2 because exiv2 is the third directory built. |
Try editing this line: Line 6301 in 1064ffc
Double each of the \$ characters pairs so you have \$\${SRC_BARE_PATH} . After doing this I no longer see SRC_PATH_BARE in any of the Makefiles.
|
@linuxdude42, I'm building now with the double We are dealing with several languages at once, sh, m4, make, qmake, and no type system to keep things straight, so it is no wonder that errors like this occur! |
@linuxdude42 that builds fine for me, see PR #550. Thanks for your help. |
Committed the PR. |
Platform:
Linux silver 5.15.2 #1-NixOS SMP Fri Nov 12 14:05:52 UTC 2021 x86_64 GNU/Linux
MythTV version: 32.0
Package version: I'm updating the package from version 31 to 32. The original is here:
https://github.com/NixOS/nixpkgs/blob/nixos-21.11/pkgs/applications/video/mythtv/default.nix
What steps will reproduce the bug?
When I adapt the build script
default.nix
, linked above, to version 32,libmythexiv2-0.28.so.32.0.0
fails to link. I believe that the nix linker wrapper detects some bad paths passed frommythtv/external/libexiv2/Makefile
.Additional information
The release notes mention: [2807de0a74] Clone exiv2 into MythTV.
In
mythtv/external/libexiv2/Makefile
, the variableSRC_PATH_BARE
is not defined.I believe this happens because
qmake
usesmythtv/external/libexiv2/libexiv2.pro
which includessettings.pro
which includesconfig.mak
. HereSRC_PATH_BARE
andQMAKE_LFLAGS
defined.I'm not sure if
SRC_PATH_BARE
is in the wrong format to be expanded byqmake
, or if it is intended to be passed through andconfig.mak
was supposed to be included in the resulting Makefile.Because of the issue, the linker command has some bad paths such as
/external/FFmpeg/libswresample
etc., which should be prefixed. Here is the linker command:The text was updated successfully, but these errors were encountered: