Summary: | app-backup/bareos-18.2.6 fails to emerge | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bill Anderson <cayvman> |
Component: | Current packages | Assignee: | Marc Schiffbauer <mschiff> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cayvman, gibgibon, jstein, steven+gentoo, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Complete build log
emerge --info emerge -pqv app-backup/bareos build environment |
Description
Bill Anderson
2019-07-16 20:29:37 UTC
Created attachment 583138 [details]
emerge --info
Created attachment 583140 [details]
emerge -pqv app-backup/bareos
Created attachment 583142 [details]
build environment
Can confirm on aarch64 and amd64. app-backup/bareos-18.2.6 only compiles for me when python USE flag is enabled. The ebuild seems to be passing "-Dpython=yes" unconditional to cmake on line 198. But removing this didn't fix the error. For me it seems like upstream never use -Dpython within cmake. The only occurrence I could find is at core/cmake/BareosSetVariableDefaults.cmake ([1]) which only sets the default value. After further checking upstream seems to rely on "HAVE_PYTHON" (e.g. [2]) which is set to "ON" at [3] if python is found by find_package(PythonInterp). Don't have the time to dig deeper atm, but maybe someone will find the source of the error. [1]: https://github.com/bareos/bareos/blob/Release/18.2.6/core/cmake/BareosSetVariableDefaults.cmake#L362 [2]: https://github.com/bareos/bareos/blob/master/core/src/plugins/dird/CMakeLists.txt#L31 [3]: https://github.com/bareos/bareos/blob/master/core/cmake/BareosFindAllLibraries.cmake#L34 can CONFIRM, compiles now here when Usefglag "python" is set. (In reply to Marko Weber Bürgermeister from comment #5) > can CONFIRM, compiles now here when Usefglag "python" is set. x86_64 here The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f65fc8909308003cdfe8d933b06b5a054c7715e commit 0f65fc8909308003cdfe8d933b06b5a054c7715e Author: David Seifert <soap@gentoo.org> AuthorDate: 2021-08-05 08:21:27 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-08-05 08:21:27 +0000 profiles: last-rite app-backup/bareos Bug: https://bugs.gentoo.org/631598 Bug: https://bugs.gentoo.org/690024 Bug: https://bugs.gentoo.org/735960 Bug: https://bugs.gentoo.org/749038 Bug: https://bugs.gentoo.org/761415 Bug: https://bugs.gentoo.org/761667 Bug: https://bugs.gentoo.org/778557 Bug: https://bugs.gentoo.org/786789 Bug: https://bugs.gentoo.org/799179 Signed-off-by: David Seifert <soap@gentoo.org> profiles/package.mask | 8 ++++++++ 1 file changed, 8 insertions(+) fixed a long time ago. Please repoen if I mixed this up somehow |