Skip to content

Remove invalid pkgconfig files and broken links#300

Closed
sergio-costas wants to merge 2 commits intoubuntu:gnome-46-2404-sdkfrom
sergio-costas:remove-broken-links-and-pkgconfig-files
Closed

Remove invalid pkgconfig files and broken links#300
sergio-costas wants to merge 2 commits intoubuntu:gnome-46-2404-sdkfrom
sergio-costas:remove-broken-links-and-pkgconfig-files

Conversation

@sergio-costas
Copy link
Contributor

Some soft links to libraries that are already in Core 24, and thus, don't needed, are kept in the SDK.

Also, two pkgconfig files are also kept, pointing to the SDK library folder. But since those two libraries (libcrypt and libpciaccess) are already in Core24, and the libraries themselves are deleted, this breaks any build that tries to use any of those.

Removing the broken soft links and the pkgconfig files fixes this. With this patch, installing the development .deb packages using the "build-packages" statement in the snapcraft.yaml ensures that the requires build files are available and that no other pkgconfig file will override the correct ones.

Some soft links to libraries that are already in Core 24, and
thus, don't needed, are kept in the SDK.

Also, two pkgconfig files are also kept, pointing to the SDK
library folder. But since those two libraries (libcrypt and
libpciaccess) are already in Core24, and the libraries
themselves are deleted, this breaks any build that tries to
use any of those.

Removing the broken soft links and the pkgconfig files fixes
this. With this patch, installing the development .deb packages
using the "build-packages" statement in the snapcraft.yaml
ensures that the requires build files are available and that no
other pkgconfig file will override the correct ones.
@sergio-costas sergio-costas requested review from 3v1n0 and nteodosio May 2, 2025 16:44
@3v1n0
Copy link
Contributor

3v1n0 commented May 2, 2025

Thanks for looking into it, but I'd rather prefer continue with #294, I'll double-check if we should drop the files or duplicate them again soon.

@sergio-costas
Copy link
Contributor Author

As I already commented, I think that the key point is in the pkgconfig files that shouldn't be there.

@3v1n0
Copy link
Contributor

3v1n0 commented Sep 1, 2025

Let's close this for now, as #294 is preferred for now.

@3v1n0 3v1n0 closed this Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants