Hi,
On Thu, Feb 22, 2018 at 09:12:20AM +0100, Michael Olbrich wrote:
> I took a closer look at this and checked what Debian is doing. I've
> attached a fixup patch that changes a few things:
>
> - use abi version 5. Some packages lock for that version explicitly.
> - use linker scripts too deal with the tinfo problem
This breaks install_lib. You'll need this fix for this:
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh
b/scripts/lib/ptxd_make_xpkg_pkg.sh
index eb3452e3ad9f..45b3c394b4b3 100644
--- a/scripts/lib/ptxd_make_xpkg_pkg.sh
+++ b/scripts/lib/ptxd_make_xpkg_pkg.sh
@@ -883,7 +883,10 @@ ptxd_install_lib() {
fi
local file="$(for dir in "${pkg_pkg_dir}"${root_dir}{/,/usr/}${lib_dir}; do
- find "${dir}" -type f -path "${dir}/${lib}.so*" ! -name "*.debug";
done 2>/dev/null)"
+ find "${dir}" -type f -path "${dir}/${lib}.so*" ! -name "*.debug";
done 2>/dev/null \
+ | while read f; do
+ grep -q '^INPUT(' "${f}" || echo "${f}"
+ done)"
if [ ! -f "${file}" ]; then
ptxd_install_error "ptxd_lib_install: cannot find library '${lib}'!"
I'll push this to master once I'm done testing.
Michael
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
[email protected]