[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libvkd3d-dev: Depends: libvkd3d-headers (= ${binary:Version}) breaks multilib



Package: libvkd3d-dev
Version: 1.2-4 (Debian experimental)
Source: vkd3d

In the 1.2-4 version of libvkd3d-dev package, the control field indicates
Depends: libvkd3d-headers (= ${binary:Version})

This causes libvkd3d-dev:i386 to depend on libvkd3d-headers:i386, but 
libvkd3d-headers is built with Architecture: all and thus cannot satisfy
dependency. (There is no libvkd3d-headers:i386 on amd64 systems)

Tested suggestion:
Build libvkd3d-dev with Depends: libvkd3d-headers (= ${source:Version})
and build libvkd3d-headers with: Multi-Arch: allowed

Next issue then is that libvkd3d-dev generate html docs in the package,
and this causes libvkd3d-dev:amd64 and libvkd3d-dev:i386 to have conflict
when installing docs. (Trying to overwrite)

Tested suggestion:
Build html docs with the libvkd3d-headers package since it is built as
Architecture: all.

Symlink libvkd3d-dev.docs -> docs
and change
libvkd3d-headers.docs:

README
AUTHORS
ANNOUNCE

doc/html
doc/vkd3d.pdf

I know this is not the most logical solution, since you would expect a -dev
package to contain docs, but building wine requires multilib version of
libvkd3d-dev, and i do not know another way of doing this since the html
docs are being generated when the package is being built (and thus probably
not binary the same?).

Best Regards
Sveinar Søpler


Reply to: