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

Bug 631256

Summary: net-fs/samba-4.2.14 : /.../auth.idl:104: error: Unable to determine origin of type struct cli_credentials
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED OBSOLETE    
Severity: normal CC: 0xe2.0x9a.0x9b, asturm, atoth, Magnus.Kessler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-fs:samba-4.2.14:20170916-125036.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-09-17 19:38:23 UTC
[ 172/2693] Compiling IDL librpc/idl/auth.idl
/var/tmp/portage/net-fs/samba-4.2.14/work/samba-4.2.14-abi_x86_64.amd64/librpc/idl/auth.idl:112: warning: helper() is pidl-specific and deprecated. Use `include' instead
/var/tmp/portage/net-fs/samba-4.2.14/work/samba-4.2.14-abi_x86_64.amd64/librpc/idl/auth.idl:104: error: Unable to determine origin of type `struct cli_credentials'

=== This is an issue at stable ===


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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-gnome-systemd_stable_20170905-222907

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.7.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm

emerge -qpv net-fs/samba
[ebuild  N    ] net-fs/samba-4.2.14  USE="acl cups fam ldap pam system-mitkrb5 systemd -addc -addns -ads -aio -avahi -client -cluster -dmapi -gnutls -iprint -quota (-selinux) -syslog {-test} -winbind" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2017-09-17 19:38:26 UTC
Created attachment 495014 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-17 19:38:30 UTC
Created attachment 495016 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-17 19:38:33 UTC
Created attachment 495018 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-17 19:38:36 UTC
Created attachment 495020 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-17 19:38:39 UTC
Created attachment 495022 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-17 19:38:43 UTC
Created attachment 495024 [details]
net-fs:samba-4.2.14:20170916-125036.log
Comment 7 Toralf Förster gentoo-dev 2017-09-17 19:38:46 UTC
Created attachment 495026 [details]
temp.tbz2
Comment 8 Attila Tóth 2017-09-26 14:14:46 UTC
net-fs/samba-4.6.8 is also affected.
Comment 9 Attila Tóth 2017-09-26 17:04:20 UTC
(In reply to Toralf Förster from comment #0)
> [ 172/2693] Compiling IDL librpc/idl/auth.idl
> /var/tmp/portage/net-fs/samba-4.2.14/work/samba-4.2.14-abi_x86_64.amd64/
> librpc/idl/auth.idl:112: warning: helper() is pidl-specific and deprecated.
> Use `include' instead
> /var/tmp/portage/net-fs/samba-4.2.14/work/samba-4.2.14-abi_x86_64.amd64/
> librpc/idl/auth.idl:104: error: Unable to determine origin of type `struct
> cli_credentials'

I think these lines doesn't really matter:
https://lists.samba.org/archive/samba/2013-May/173288.html
https://lists.samba.org/archive/samba/2013-May/173291.html

The culprit problem here is represented by this line, near the bottom of the log:

error: file default/docs-xml/manpages/smb.conf.5.xml
xsltRunStylesheet : run failed
Waf: Leaving directory `/var/tmp/portage/net-fs/samba-4.2.14/work/samba-4.2.14-abi_x86_64.amd64/bin'
Build failed:  -> task failed (err #11):
        {task: manpages/smb.conf.5 smb.conf.5.xml,parameters.all.xml -> smb.conf.5}

And that is probably caused by a bug in xsltproc, as it is indicated in this recent redhat bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1491307
Comment 10 Attila Tóth 2017-09-26 17:20:29 UTC
(In reply to Attila Tóth from comment #9)
> And that is probably caused by a bug in xsltproc, as it is indicated in this
> recent redhat bug report:
> https://bugzilla.redhat.com/show_bug.cgi?id=1491307

Note, that the Debian patch referenced by the Redhat bug has been already included in app-text/docbook-xsl-stylesheets-r2, which is keyworded. Stable package docbook-xsl-stylesheets-1.79.1-r1 doesn't contain the fix...
Comment 11 Attila Tóth 2017-09-26 17:23:52 UTC
(In reply to Attila Tóth from comment #10)
> (In reply to Attila Tóth from comment #9)
> > And that is probably caused by a bug in xsltproc, as it is indicated in this
> > recent redhat bug report:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1491307
> 
> Note, that the Debian patch referenced by the Redhat bug has been already
> included in app-text/docbook-xsl-stylesheets-r2, which is keyworded. Stable
> package docbook-xsl-stylesheets-1.79.1-r1 doesn't contain the fix...

I think this Gentoo bug may be relevant in this case:
https://bugs.gentoo.org/609528
Comment 12 Attila Tóth 2017-09-26 17:29:12 UTC
(In reply to Attila Tóth from comment #11)
> (In reply to Attila Tóth from comment #10)
> > (In reply to Attila Tóth from comment #9)
> > > And that is probably caused by a bug in xsltproc, as it is indicated in this
> > > recent redhat bug report:
> > > https://bugzilla.redhat.com/show_bug.cgi?id=1491307
> > 
> > Note, that the Debian patch referenced by the Redhat bug has been already
> > included in app-text/docbook-xsl-stylesheets-r2, which is keyworded. Stable
> > package docbook-xsl-stylesheets-1.79.1-r1 doesn't contain the fix...
> 
> I think this Gentoo bug may be relevant in this case:
> https://bugs.gentoo.org/609528

The above bug is the duplicate of this bug from 2013:
https://bugs.gentoo.org/488168
The fix appeared in 2015.
So is this an issue which has been played out repeatedly, like a resurrect necromancy card? ;-)
Comment 13 Magnus Kessler 2017-10-03 16:32:33 UTC
As with bug #630022 the correct solution seems to be to make samba depend on =app-text/docbook-xsl-stylesheets-1.79.1-r2.
Comment 14 Attila Tóth 2017-10-03 18:38:52 UTC
(In reply to Magnus Kessler from comment #13)
> As with bug #630022 the correct solution seems to be to make samba depend on
> =app-text/docbook-xsl-stylesheets-1.79.1-r2.

I rather think it is a keywording issue. Non-keyworded packages might suffer, so I would consider stabilizing app-text/docbook-xsl-stylesheets-1.79.1-r2. The difference compared to -r1 is this fix, after all...
Comment 15 Andreas Sturmlechner gentoo-dev 2018-04-01 12:19:22 UTC
*** Bug 621152 has been marked as a duplicate of this bug. ***
Comment 16 Andreas Sturmlechner gentoo-dev 2018-04-01 12:29:56 UTC
That error just appeared on a system of mine even though it has =app-text/docbook-xsl-stylesheets-1.79.1-r2 installed.