Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 749038

Summary: app-backup/bareos - coverage should be disabled iin build
Product: Gentoo Linux Reporter: Mark Wagner <mark>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: RESOLVED FIXED    
Severity: normal CC: mark, treecleaner, web
Priority: Normal Keywords: PATCH, PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Disable coverage
bareos-19.2.8.ebuild.diff

Description Mark Wagner 2020-10-14 18:15:55 UTC
bareos builds with coverage enabled, producing every-changing gcda files in /var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir

I don't think this is useful for the majority of people that use bareos.

Reproducible: Always

Steps to Reproduce:
1. Emerge app-backup/bareos
2. Run bareos
3. find /var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir -mtime -1 | wc -l
Actual Results:  
13


Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r2, 5.4.70-gentoo x86_64)
=================================================================
System uname: Linux-5.4.70-gentoo-x86_64-Intel-R-_Core-TM-_i5-6600K_CPU_@_3.50GHz-with-gentoo-2.7
KiB Mem:    32691912 total,  17088392 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Mon, 12 Oct 2020 16:15:01 +0000                                                                                                                                                    Head commit of repository gentoo: 72ea7287a6cbad119c5b86648dc2da51e0e774bc
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p1) 2.35.1
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo                                                                                                                                                                        dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo, 3.10.0_alpha1::gentoo
dev-util/cmake:           3.18.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.35.1::gentoo                                                                                                                                                                           sys-devel/gcc:            10.2.0-r2::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo                                                                                                                                                                         sys-devel/make:           4.3::gentoo                                                                                                                                                                              sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)                                                                                                                                                         sys-libs/glibc:           2.32-r2::gentoo                                                                                                                                                                          Repositories:                                                                                                                                                                                                                                                                                                                                                                                                                         gentoo                                                                                                                                                                                                                 location: /usr/portage                                                                                                                                                                                             sync-type: rsync                                                                                                                                                                                                   sync-uri: rsync://rsync1.ca.gentoo.org/gentoo-portage/                                                                                                                                                             priority: -1000                                                                                                                                                                                                    sync-rsync-extra-opts:                                                                                                                                                                                             sync-rsync-verify-jobs: 1                                                                                                                                                                                          sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

lanfear
    location: /home/mark/project/portage
    masters: gentoo
    priority: 0

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/lib/unifi"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/e
xt-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pa
rallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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 --exclu
de=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnowex X Xaw3d a52 aac aalib acl acpi aim alsa amd64 audiofile bash-completion berkdb bluetooth branding bzip2 bzlib cairo cdparanoia cdr cgi cli crypt cups curl dbus device-mapper dga divx4linux dri dts d
vd dvdr dvdread dynagraph edl elogind emacs emboss encode esd ethereal exif ffmpeg fftw flac font-server fontconfig fpx gd gdbm geoip gif gimp glibc-omitfp gmp gpgme graphviz gs gstreamer gtk gtkhtml gui hal ico
nv icq icu idea imagemagick imap innodb ipv6 java jbig jikes jpeg latex lcms libcaca libglvnd libnotify libtirpc lm_sensors logrotate lua lzw-tiff mad maildrop mailwrapper matroska mbox milter mmap mmx mmxext mn
g mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg multilib musepack mysql ncurses nethack netpbm nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pam_chroot pam_console pam_times
tamp pango pcre pda pdf perlsuid pic plotutils png policykit postgres ppds qt5 readline real rtc samba sdl seccomp sensord silc slp smime sndfile snmp speex spell split-usr sqlite sse sse2 sse3 sse4_1 ssl ssse3
startup-notification svg syslog tcltk tcpd tga theora tiff truetype truetype-fonts trusted type1-fonts udev udisks unicode upower usb userlocales vhosts videos vorbis vorbis-psy w win32codecs wmf wxwidgets x264
xanim xattr xcb xml xpm xrandr xv xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda_intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default auth
n_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap
 include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm
 authn_core authz_core socache_shmcb access_compat dir_module" 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 greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytra
q superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="present
er-console presenter-minimizer" NGINX_MODULES_STREAM="geo geoip geoip2 realip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" P
YTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby27" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="geoip"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mark Wagner 2020-10-14 18:17:45 UTC
Expected results didn't show up?

Expected results:
0
Comment 2 Mark Wagner 2020-10-14 18:19:24 UTC
Created attachment 665575 [details, diff]
Disable coverage
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-10-15 10:16:21 UTC
Comment on attachment 665575 [details, diff]
Disable coverage

Why do you want to disable this? How does bareos fail to run?
Comment 4 Mark Wagner 2020-10-15 17:39:28 UTC
(In reply to Jeroen Roovers from comment #3)
> Comment on attachment 665575 [details, diff] [details, diff]
> Disable coverage
> 
> Why do you want to disable this? How does bareos fail to run?

It doesn't fail to run. It produces (IMO) useless ever-changing gcda files in /var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir. It is an annoyance.
Comment 5 INODE64 Sistemas 2020-10-20 14:16:55 UTC
Coverage is only necessary for debugging or developers 

When enabling coverage requested add compiler flags:

-g -O0 --coverage -fprofile-arcs -ftest-coverage 

The size of bareos binary is 219.0 MiB without coverage is 86.3 MiB (aprox.)

and run bareos-sd -u bareos -g bareos -t -v show this:

------------

profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work:Cannot create directory
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir/authenticate.cc.gcda:Skip
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work:Cannot create directory
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir/append.cc.gcda:Skip
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work:Cannot create directory
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir/status.cc.gcda:Skip
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work:Cannot create directory
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir/sd_cmds.cc.gcda:Skip
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work:Cannot create directory
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work/bareos-19.2.8_build/src/stored/CMakeFiles/stored_objects.dir/read.cc.gcda:Skip
profiling:/var/tmp/portage/app-backup/bareos-19.2.8/work:Cannot create directory
.
.
.
.
Comment 6 INODE64 Sistemas 2020-10-20 14:27:17 UTC
Created attachment 667550 [details, diff]
bareos-19.2.8.ebuild.diff

* Disable coverage and debug 
* Add support for acl flag
* Use python, SHARE_INSTALL_PREFIX and BUILD_SHARED_LIBS flags equal form oficial rpm spec -> ./core/platforms/packaging/bareos.spec
Comment 7 fff 2021-01-21 19:25:36 UTC

Same problem here, fresh install from a week ago.

I have not enable coverage and I get 558 lines of warnings like this lines:

[...]
Jan 21 20:16:30 nuc bareos-dir[1201252]: profiling:/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/findlib/CMakeFiles/bareosfind.dir/find_one.cc.g
cda:Cannot open
Jan 21 20:16:30 nuc bareos-dir[1201252]: profiling:/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/findlib/CMakeFiles/bareosfind.dir/enable_priv.c
c.gcda:Cannot open
Jan 21 20:16:30 nuc bareos-dir[1201252]: profiling:/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/findlib/CMakeFiles/bareosfind.dir/drivetype.cc.
gcda:Cannot open
Jan 21 20:16:30 nuc bareos-dir[1201252]: profiling:/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/findlib/CMakeFiles/bareosfind.dir/create_file.c
c.gcda:Cannot open
[...]

making /var/tmp/portage/app-backup writable for the bareos user it creates gcda files:

[...]
/var/tmp/portage/app-backup/
/var/tmp/portage/app-backup/bareos-19.2.9
/var/tmp/portage/app-backup/bareos-19.2.9/work
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareoscats-sqlite3.dir
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareoscats-sqlite3.dir/cats_backends.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareoscats-sqlite3.dir/sqlite.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir/sql_update.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir/sql_query.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir/sql_pooling.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir/sql_list.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir/sql_get.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir/sql_find.cc.gcda
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-19.2.9_build/src/cats/CMakeFiles/bareossql.dir/sql_delete.cc.gcda
[...]



# emerge --info
Portage 3.0.13 (python 3.8.6-final-0, default/linux/amd64/17.1/systemd, gcc-9.3.0, glibc-2.32-r5, 5.10.3-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.3-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8559U_CPU_@_2.70GHz-with-glibc2.2.5
KiB Mem:    32790716 total,   1717660 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 21 Jan 2021 18:45:01 +0000
Head commit of repository gentoo: b566d5a03d9d8827f29246c8d09b82af30e38f93
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.8.6-r1::gentoo, 3.9.0-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminf
o"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_H
OME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
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 qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-
orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en es"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --e
xclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bluetooth bzip2 caps cli crypt dbus device-mapper dri drm dvd fortran gdbm iconv idn ipv6 jumbo-build libglvnd libnotify libtirpc lirc lvm m
ultilib ncurses nfs nls nptl opengl openmp pam pcre pulseaudio readline realtime seccomp smp sox soxr split-usr ssl systemd tcpd udev udisks unicode upnp upower vaapi vd
pau xattr xv xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm
801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_b
asic 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 
garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ub
lox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en_US es_ES l10n_es" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
 ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TAR
GETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" 
VIDEO_CARDS="intel i965 iris" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark i
pmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAG
E_RSYNC_EXTRA_OPTS
Comment 8 Larry the Git Cow gentoo-dev 2021-08-05 08:21:38 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 9 Marc Schiffbauer gentoo-dev 2021-08-20 13:03:56 UTC
(In reply to Mark Wagner from comment #2)
> Created attachment 665575 [details, diff] [details, diff]
> Disable coverage

Thanks for reporting, I will disable this in the ebuilds.
Comment 10 Marc Schiffbauer gentoo-dev 2021-08-20 13:06:09 UTC
(In reply to INODE64 Sistemas from comment #6)
> Created attachment 667550 [details, diff] [details, diff]
> bareos-19.2.8.ebuild.diff
> 
> * Disable coverage and debug 

agreed on coverage


> * Add support for acl flag

is already there, look at the loop before where you added it

> * Use python, SHARE_INSTALL_PREFIX and BUILD_SHARED_LIBS flags equal form
> oficial rpm spec -> ./core/platforms/packaging/bareos.spec

what does this change in the final build?
Comment 11 Larry the Git Cow gentoo-dev 2021-08-20 13:10:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=366803f1650c17e6d04f9c99c0623bd43aa4c4bc

commit 366803f1650c17e6d04f9c99c0623bd43aa4c4bc
Author:     Marc Schiffbauer <mschiff@gentoo.org>
AuthorDate: 2021-08-20 13:07:18 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2021-08-20 13:08:33 +0000

    app-backup/bareos: disable coverage (fix #749038)
    
    Closes: https://bugs.gentoo.org/749038
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 app-backup/bareos/bareos-18.2.10.ebuild   | 2 +-
 app-backup/bareos/bareos-19.2.9-r2.ebuild | 2 +-
 app-backup/bareos/bareos-20.0.2.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)