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#78215 - [couchdb] FTBFS
Attached to Project:
Community Packages
Opened by 南国微雪 (TinySnow) - Sunday, 16 April 2023, 13:11 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 24 September 2023, 10:52 GMT
Opened by 南国微雪 (TinySnow) - Sunday, 16 April 2023, 13:11 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 24 September 2023, 10:52 GMT
|
Details### Description:
Our work is porting software to `RISC-V` architecture. While porting `couchdb`, the following error occurred: ```bash ==> Entering fakeroot environment... ==> Starting package()... rm: cannot remove '/build/couchdb/pkg/couchdb/usr/lib/couchdb/erts-13.1.1/doc': No such file or directory rm: cannot remove '/build/couchdb/pkg/couchdb/usr/lib/couchdb/erts-13.1.1/include': No such file or directory rm: cannot remove '/build/couchdb/pkg/couchdb/usr/lib/couchdb/erts-13.1.1/lib': No such file or directory rm: cannot remove '/build/couchdb/pkg/couchdb/usr/lib/couchdb/erts-13.1.1/man': No such file or directory rm: cannot remove '/build/couchdb/pkg/couchdb/usr/lib/couchdb/erts-13.1.1/src': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root5/build ``` We check it on `x86_64` architecture, it also occurred. The reason we found is a hardcode of version number, which looks like this:(in `PKGBUILD` file, `package()` function) ```bash # Remove some cruft rm -r "${pkgdir}"/usr/lib/couchdb/erts-13.1.1/{doc,include,lib,man,src} ``` The newer version of `erts`, which is actually used in compile, is `13.2`, so the system can't find the files. Our team member suggests reporting bug on arch(here). Hope this can be solved. Last link is our solution `Pull Request`, which maybe used as a reference. ### Additional info: * package version(s) 3.2.2 ### Steps to reproduce: - download the upstream PKGBUILD - use `extra-x86_64-build` or `extra-riscv64-build` to compile - error occurrs ### Our solution - [Pull Request](https://github.com/felixonmars/archriscv-packages/pull/2525) |
This task depends upon
Closed by Jelle van der Waa (jelly)
Sunday, 24 September 2023, 10:52 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git.
Sunday, 24 September 2023, 10:52 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in git.
BTW, Upstream may be have a better way in the future. So we maybe can delay some times?