Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690024 - app-backup/bareos-18.2.6 fails to emerge
Summary: app-backup/bareos-18.2.6 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2019-07-16 20:29 UTC by Bill Anderson
Modified: 2021-08-20 11:59 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Complete build log (app-backup%3Abareos-18.2.6%3A20190716-152602.log,402.59 KB, application/octet-stream)
2019-07-16 20:29 UTC, Bill Anderson
Details
emerge --info (emerge--info.txt,5.68 KB, text/plain)
2019-07-16 20:31 UTC, Bill Anderson
Details
emerge -pqv app-backup/bareos (emerge-pqv.txt,328 bytes, text/plain)
2019-07-16 20:32 UTC, Bill Anderson
Details
build environment (bareos-enviro.log,180.43 KB, text/plain)
2019-07-16 20:32 UTC, Bill Anderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Anderson 2019-07-16 20:29:37 UTC
Created attachment 583136 [details]
Complete build log

***********************
Output of emerge -pqv
***********************
[ebuild  N    ] app-backup/bareos-18.2.6  USE="acl director mysql readline ssl storage-daemon tcpd -X -cephfs -clientonly -fastlz -glusterfs -gnutls -ipv6 -jansson -libressl -lmdb -logwatch -ndmp -postgres -python -rados -rados-striper -scsi-crypto -sql-pooling -sqlite -static -systemd -vim-syntax" PYTHON_TARGETS="python2_7" 




***********************
Output of emerge --info
***********************

Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.29-r2, 4.19.52-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.52-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_0_@_2.70GHz-with-gentoo-2.6
KiB Mem:     8748768 total,   5954464 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Tue, 16 Jul 2019 13:00:01 +0000
Head commit of repository gentoo: 21a759cfa1b9964c1f4a5b931428d5877faae500
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" 	ftp://ftp.gtlib.gatech.edu/pub/gentoo 	rsync://rsync.gtlib.gatech.edu/gentoo 	ftp://ftp.ussg.iu.edu/pub/linux/gentoo 	ftp://mirrors.rit.edu/gentoo/ 	rsync://mirrors.rit.edu/gentoo/ 	ftp://cosmos.illinois.edu/pub/gentoo/ 	rsync://gentoo.cs.uni.edu/gentoo-distfiles 	rsync://gentoo.gossamerhost.com/gentoo-distfiles/ 	ftp://mirrors.tera-byte.com/pub/gentoo 	rsync://mirrors.tera-byte.com/gentoo 	ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ 	"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv libtirpc multilib mysql mysqli ncurses nls nptl openmp pam pcre readline seccomp ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Bill Anderson 2019-07-16 20:31:23 UTC
Created attachment 583138 [details]
emerge --info
Comment 2 Bill Anderson 2019-07-16 20:32:08 UTC
Created attachment 583140 [details]
emerge -pqv app-backup/bareos
Comment 3 Bill Anderson 2019-07-16 20:32:46 UTC
Created attachment 583142 [details]
build environment
Comment 4 Steven Dürl 2019-08-18 19:08:52 UTC
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
Comment 5 Marko Weber Bürgermeister 2020-03-02 13:20:21 UTC
can CONFIRM, compiles now here when Usefglag "python" is set.
Comment 6 Marko Weber Bürgermeister 2020-03-02 13:21:05 UTC
(In reply to Marko Weber Bürgermeister from comment #5)
> can CONFIRM, compiles now here when Usefglag "python" is set.

x86_64 here
Comment 7 Larry the Git Cow gentoo-dev 2021-08-05 08:21:37 UTC
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(+)
Comment 8 Marc Schiffbauer gentoo-dev 2021-08-20 11:59:08 UTC
fixed a long time ago. Please repoen if I mixed this up somehow