zhtengw / deepin-overlay

Gentoo overlay for Deepin APPs
GNU General Public License v2.0
56 stars 14 forks source link

deepen-anything installing to incorrect libdir? #43

Closed steev closed 6 years ago

steev commented 6 years ago

I've recently updated my system, and when I install deepin-anything, it seems to throw the files into...

/usr/lib64/x86_64-linux-gnu - which seems to be a debian-ism

This is likely because I have dpkg installed on my system, so it actually resolves the DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) line in the Makefile. So we end up with the Makefile looking like:

mkdir -p $(DESTDIR)/usr/lib64/$(DEB_HOST_MULTIARCH)

Which because of having dpkg installed on my system, ends up spitting out mkdir -p /usr/lib64/x86_64-linux-gnu

I've added a workaround locally of adding

    sed -i "s|^DEB_HOST_MULTIARCH.*||g" Makefile

into the src_prepare - to get rid of the deb_host_multiarch definition, I'd send a pull request but my fork is woefully out of date at the moment.

zhtengw commented 6 years ago

OK, wait for your tested PR. I have not installed dpkg, so that I haven’t noticed this issue.

steev commented 6 years ago

I've sent one - this allows me to install everything, but I seem to only get segfaults with dde-dock, dde-desktop, and dde-launcher. I haven't tracked those down just yet.

steev commented 6 years ago

Closing since the issue was fixed, and segfaults are a separate issue.