package: zeroc-ice
severity: important
version: 3.7.0-4

zeroc-ice started failing to build in raspbian with version 3.7.0-4.

dh_install: Cannot find (any matches for) "usr/lib/*/*.so" (tried in ., 
debian/tmp)

dh_install: libzeroc-ice-dev missing files: usr/lib/*/*.so
dh_install: Cannot find (any matches for) "usr/lib/*/*.a" (tried in ., 
debian/tmp)

dh_install: libzeroc-ice-dev missing files: usr/lib/*/*.a
dh_install: Cannot find (any matches for) "usr/lib/*/libGlacier2++11.so.*" 
(tried in ., debian/tmp)
And so-on for many more files.

3.7.0-5, 3.7.1-1 and 3.7.1-2 also failed in the same way.

Investigating it seems that Make.rules.Linux does some distro detection and only enables the multiarch stuff 
if it detects "debian" or "ubuntu" in the "ID" field of /etc/os-release.

I could of course have added raspbian to the list, but that isn't really a 
scalable fix. There are loads of other derivatives out there on which the build 
would almost certainly fail in the same way.

The proper fix is to make use of the ID_LIKE field in /etc/os-release , 
checking for a known distro first in the ID field and then moving on to the 
entries in ID_LIKE until a known distro is found. I implemented this fix in 
Make.rules.Linux .

While working on the aforementioned fix I ran into a broken clean target, so I 
fixed that too.

Debdiff attatched, no intent to NMU.

Reply via email to