Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#52228 - [bcunit] The package does not provide/replace CUnit
Attached to Project:
Community Packages
Opened by Nicolas I. (IooNag) - Wednesday, 21 December 2016, 16:22 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 23 December 2016, 13:34 GMT
Opened by Nicolas I. (IooNag) - Wednesday, 21 December 2016, 16:22 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 23 December 2016, 13:34 GMT
|
DetailsDescription:
When building projects which use CUnit, the compiler does not find CUnit header files. It report errors like: test-expander-roles.c:27:25: fatal error: CUnit/Basic.h: No such file or directory #include <CUnit/Basic.h> This is because bcunit installs files in /usr/include/BCUnit instead of /usr/include/CUnit, and uses a library named libbcunit.so instead of libcunit.so. Therefore the current bcunit package (version 3.0-1) does not replace the previous cunit package. Moreover as no distribution among Gentoo, Fedora, Debian or Ubuntu provide a BCUnit package (yet), it is difficult to ask the project developers to move to BCUnit. A simple solution would be to remove the "provides=('cunit')" and "replaces=('cunit')" tags from the PKGBUILD and to keep a cunit package. Another one would be to install compatibility symbolic links /usr/include/CUnit->BCUnit, /usr/lib/libcunit.so->libbcunit.so, etc. A third one would be to create a new "bcunit-cunitcompat" package like systemd-sysvcompat, which installs these symbolic links (this package would depend on bcunit and provide/replace cunit). Additional info: * bcunit 3.0-1 * x86_64 architecture Steps to reproduce: For example clone libsepol from https://github.com/SELinuxProject/selinux/tree/master/libsepol and build with "make test": * git clone https://github.com/SELinuxProject/selinux * cd selinux * make DESTDIR=$(pwd)/myDESTDIR install * make SUBDIRS=libsepol DESTDIR=$(pwd)/myDESTDIR test |
This task depends upon
Closed by Sergej Pupykin (sergej)
Friday, 23 December 2016, 13:34 GMT
Reason for closing: Fixed
Additional comments about closing: removed provides/replaces cunit
Friday, 23 December 2016, 13:34 GMT
Reason for closing: Fixed
Additional comments about closing: removed provides/replaces cunit