Hi Gianfranco (2022.03.09_15:40:56_+0000) > Why is then gemmi in Ubuntu installing stuff into /usr/local/lib/python3.10 > and dh-python not moving it into /usr/lib?
Because dh_python3 hasn't been called yet, at this point in the build. You need to update the dh_install config file. > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/sfcalc.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/sprintf.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/mmcif.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/assembly.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/floodfill.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/asudata.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/metadata.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/to_mmdb.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/utf.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/placeh.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/read_coor.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/remarks.hpp > -- Installing: /gemmi-0.5.2+ds/debian/tmp/usr/include/gemmi/solmask.hpp Hrm, these should probably go to /usr/local unless redirected to /usr. Sounds like this patch needs some more work. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272