
On Freitag, 31. Januar 2014, 09:07:28 wrote Rolf Krahl:
Hi,
I have a package in my personal project at the openSUSE Build Service that I build for several distributions. For Ubuntu I get "unresolvable" errors:
"have choice for libjpeg-dev needed by libhdf5-serial-dev: libjpeg-turbo8-dev libjpeg-dev, have choice for libjpeg-dev needed by libhdf4-dev: libjpeg-turbo8-dev libjpeg-dev".
For Ubuntu 12.10 I additionally get even more:
"have choice for libblas3gf | libblas.so.3gf | libatlas3gf-base needed by python-numpy: libblas3 libblas3gf, have choice for liblapack3gf | liblapack.so.3gf | libatlas3gf-base needed by python-numpy: liblapack3 liblapack3gf".
For RPM based distributions, I solve such kind of conflicts by adding appropriate entries in the Project Config, so I currently have there for instance:
%if 0%{?centos_version} || 0%{?rhel_version} Prefer: atlas %endif
%if 0%{?fedora_version} == 18 Prefer: texlive-simplecv %endif
Does something similar also work for DEB based distributions? How would a corresponding entries for Ubuntu look like?
eg. Prefer: libblas3 just the same .... however, at least the jpeg one looks like we should apply this in the main Ubuntu project... I have done so now for Ubuntu 12.10 - 13.10. Please test and tell if anything else is needed. thanks adrian -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org