Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711686 - sys-auth/sssd-2.2.3 fails to build with samba 4.12.0
Summary: sys-auth/sssd-2.2.3 fails to build with samba 4.12.0
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-06 15:08 UTC by foufou33
Modified: 2022-07-29 08:51 UTC (History)
3 users (show)

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


Attachments
environment-sssd (environment-sssd,132.81 KB, text/plain)
2020-03-07 02:56 UTC, foufou33
Details
build log (compressed) (sssd-build.log.xz,21.56 KB, application/x-xz)
2020-03-07 02:57 UTC, foufou33
Details

Note You need to log in before you can comment on or make changes to this bug.
Description foufou33 2020-03-06 15:08:46 UTC
this is an excerpt from the log :

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -I.. -I./src/sss_client -I./src -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLIBDIR=\"/usr/lib64\" -DVARDIR=\"/var\" -DSSS_STATEDIR=\"/var/lib/sss\" -DSYSCONFDIR=\"/etc\" -DSHLIBEXT=\"\" -DSSSDDATADIR=\"/usr/share/sssd\" -DSSSD_LIBEXEC_PATH=\"/usr/libexec/sssd\" -DSSSD_CONF_DIR=\"/etc/sssd\" -DSSS_NSS_MCACHE_DIR=\"/var/lib/sss/mc\" -DSSS_NSS_SOCKET_NAME=\"/var/lib/sss/pipes/nss\" -DSSS_PAM_SOCKET_NAME=\"/var/lib/sss/pipes/pam\" -DSSS_PAC_SOCKET_NAME=\"/var/lib/sss/pipes/pac\" -DSSS_PAM_PRIV_SOCKET_NAME=\"/var/lib/sss/pipes/private/pam\" -DSSS_SEC_SOCKET_NAME=\"/var/run/secrets.socket\" -DSSS_SUDO_SOCKET_NAME=\"/var/lib/sss/pipes/sudo\" -DSSS_AUTOFS_SOCKET_NAME=\"/var/lib/sss/pipes/autofs\" -DSSS_SSH_SOCKET_NAME=\"/var/lib/sss/pipes/ssh\" -DLOCALEDIR=\"/usr/share/locale\" -DBASE_FILE_STEM=\"libsss_ad_la-ad_sudo\" -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wundef -Werror-implicit-function-declaration -Winit-self -Wmissing-include-dirs -fno-strict-aliasing -std=gnu99 -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -D_GNU_SOURCE=1 -DHAVE_IMMEDIATE_STRUCTURES=1 -I/usr/include/samba-4.0 -O2 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c src/providers/ad/ad_sudo.c  -fPIC -DPIC -o src/providers/ad/.libs/libsss_ad_la-ad_sudo.o
src/providers/ad/ad_gpo_ndr.c: In function ‘ndr_pull_security_ace_object_type’:
src/providers/ad/ad_gpo_ndr.c:108:13: error: implicit declaration of function ‘ndr_pull_get_switch_value’; did you mean ‘ndr_pull_set_switch_value’? [-Werror=implicit-function-declaration]
  108 |     level = ndr_pull_get_switch_value(ndr, r);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
      |             ndr_pull_set_switch_value
cc1: some warnings being treated as errors
make[2]: *** [Makefile:20956: src/providers/ad/libsss_ad_la-ad_gpo_ndr.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Wall -I.. -I./src/sss_client -I./src -I. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/libnl3 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.

Reproducible: Always




Downgrading samba to 4.11.x solves the problem
Comment 1 Jonas Stein gentoo-dev 2020-03-06 19:29:09 UTC
Thank you for the report. Please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 foufou33 2020-03-07 01:46:20 UTC
I downgraded and masked samba 4.12.0

emerge -au1 samba 

 * IMPORTANT: 15 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  r  U  ] sys-libs/ldb-2.1.1 [2.0.8]
[ebuild  N     ] dev-perl/Parse-Yapp-1.210.0  USE="-examples" 
[ebuild     U  ] net-fs/samba-4.12.0 [4.11.6-r2]
[blocks b      ] dev-perl/Parse-Yapp ("dev-perl/Parse-Yapp" is blocking net-fs/samba-4.11.6-r2)
[ebuild  rR    ] sys-auth/sssd-2.2.3 

The following packages are causing rebuilds:

  (sys-libs/ldb-2.1.1:0/2.1.1::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (sys-auth/sssd-2.2.3:0/0::gentoo, ebuild scheduled for merge)


logs will follow whete if finishes (or fails in this instance)
Comment 3 foufou33 2020-03-07 02:56:03 UTC
Created attachment 617354 [details]
environment-sssd
Comment 4 foufou33 2020-03-07 02:57:28 UTC
Created attachment 617356 [details]
build log (compressed)
Comment 5 foufou33 2020-03-07 02:58:05 UTC
emerge --info  sssd                                                                                                                                                                                                  
Portage 2.3.92 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.2.0, glibc-2.30-r4, 5.4.15-gentoo-x86_64 x86_64)                                                                                    
=================================================================                                                                                                                                                                
                         System Settings                                                                                                                                                                                         
=================================================================                                                                                                                                                                
System uname: Linux-5.4.15-gentoo-x86_64-x86_64-Intel-R-_Xeon-R-_CPU_X3480_@_3.07GHz-with-gentoo-2.7                                                                                                                             
KiB Mem:    32881048 total,   8318940 free                                                                                                                                                                                       
KiB Swap:     524284 total,    481944 free                                                                                                                                                                                       
Timestamp of repository gentoo: Thu, 05 Mar 2020 05:30:01 +0000                                                                                                                                                                  
Head commit of repository gentoo: fc4627af5fec1be2a77c1256503d6079bc005fb6                                                                                                                                                       
                                                                                                                                                                                                                                 
sh bash 5.0_p16                                                                                                                                                                                                                  
ld GNU ld (Gentoo 2.34 p1) 2.34.0                                                                                                                                                                                                
ccache version 3.7.7 [enabled]                                                                                                                                                                                                   
app-shells/bash:          5.0_p16::gentoo                                                                                                                                                                                        
dev-java/java-config:     2.2.0-r4::gentoo                                                                                                                                                                                       
dev-lang/perl:            5.30.1::gentoo                                                                                                                                                                                         
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo, 3.8.2::gentoo                                                                                                                                        
dev-util/ccache:          3.7.7-r1::gentoo                                                                                                                                                                                       
dev-util/cmake:           3.16.4::gentoo                                                                                                                                                                                         
sys-apps/baselayout:      2.7::gentoo                                                                                                                                                                                            
sys-apps/sandbox:         2.18::gentoo                                                                                                                                                                                           
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo                                                                                                                                                                       
sys-devel/automake:       1.16.1-r2::gentoo                                                                                                                                                                                      
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1-r1::gentoo, 2.34::gentoo                                                                                                                                                       
sys-devel/gcc:            9.2.0-r4::gentoo                                                                                                                                                                                       
sys-devel/gcc-config:     2.2.1::gentoo                                                                                                                                                                                          
sys-devel/libtool:        2.4.6-r6::gentoo                                                                                                                                                                                       
sys-devel/make:           4.3::gentoo                                                                                                                                                                                            
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r4::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-metamanifest: yes
    sync-rsync-verify-max-age: 24
    

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
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 buildpkg ccache 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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr"
MAKEOPTS="-j8"
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="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode eselect-ldso evo exif flac fortran gdbm gif gles gnome gnome-keyring gnome-online-accounts gpm gssapi gstreamer gtk iconv icu introspection ipv6 jpeg kerberos lcms ldap libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl nscd ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline sasl sdl seccomp spell split-usr ssl sssd startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" 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" 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 ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en en-CA fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8" RUBY_TARGETS="ruby24 ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel amdgpu nouveau radeon radeonsi i915 i965" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
    
=================================================================
                        Package Settings
=================================================================
    
sys-auth/sssd-2.2.3::gentoo was built with the following:
USE="acl autofs locator manpages netlink nfsv4 nls samba ssh sudo (-selinux) -test" ABI_X86="32 (64) (-x32)"
FEATURES="fixlafiles unmerge-logs sfperms qa-unresolved-soname-deps multilib-strict usersandbox unknown-features-warn parallel-fetch userpriv xattr protect-owned sandbox config-protect-if-modified pid-sandbox network-sandbox merge-sync ccache distlocks binpkg-docompress ebuild-locks unmerge-orphans buildpkg ipc-sandbox news binpkg-logs preserve-libs userfetch binpkg-dostrip assume-digests strict usersync"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--allow-shlib-undefined -Wl,--allow-shlib-undefined"
Comment 7 Joakim Tjernlund 2020-08-11 15:38:01 UTC
fixed in sssd-2.3.0
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-29 08:51:16 UTC
(In reply to Joakim Tjernlund from comment #7)
> fixed in sssd-2.3.0

Thanks.