[Samba] Samba 4.14.8 compile failure on RHEL 8.4 (log attached) (fwd)

L. van Belle belle at samba.org
Wed Oct 6 14:24:30 UTC 2021


Hai Vincent, 

Hm, i see same here and also in 4.15.0 and in 4.14.7 

If i google a bit on : 
- Unable to determine origin of type `struct cli_credentials 
Or 
- librpc/idl/auth.idl:107

I found way more messages on this on internet.
This might be a regression bug. 
It looks related to "docbook-xsl-stylesheets", this is something a dev must
look at. 


I just looked also at the 4.15 build. Same. 
[553/632] Processing librpc/idl/auth.idl
10:24:50 runner ' cd ../.. &&  CC="/usr/lib/ccache/gcc" /usr/bin/perl
pidl/pidl --quiet --header --ndr-parser --python --outputdir
bin/default/librpc/gen_ndr -- "librpc/idl/auth.idl" '
librpc/idl/auth.idl:122: warning: helper() is pidl-specific and deprecated.
Use `include' instead
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'


I just stopped my running builder and rerunning a 4.17.7 to compair this. 
And.. 

[535/623] Processing librpc/idl/auth.idl
14:17:47 runner ' cd ../.. &&  CC="/usr/lib/ccache/gcc" /usr/bin/perl
pidl/pidl --quiet --header --ndr-parser --python --outputdir
bin/default/librpc/gen_ndr -- "librpc/idl/auth.idl" '
librpc/idl/auth.idl:122: warning: helper() is pidl-specific and deprecated.
Use `include' instead
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'

Same.

So, i dont know where this is coming from.. 

Had an extra look on "error: " 
Resulting in : 
cat samba_4.14.7+dfsg-0.1focal1_amd64-2021-10-06T14:14:58Z.build|grep
"error:"
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'
librpc/idl/winbind.idl:183: error: winbind_SamLogon: [out] argument
'validation' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:70: error: nbtd_information: [out] argument
'info' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:83: error: nbtd_getdcname: [out] argument
'dcname' is a pointer to type 'string', skip client functions
source4/librpc/idl/irpc.idl:91: error: nbtd_proxy_wins_challenge: [out]
argument 'num_addrs' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:113: error: kdc_check_generic_kerberos: [out]
argument 'generic_reply' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:159: error: smbsrv_information: [out] argument
'info' is not a pointer or array, skip client functions


cat samba_4.14.8+dfsg-0.1focal1_amd64-2021-10-06T08\:38\:22Z.build|grep
"error:"
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'
librpc/idl/auth.idl:107: error: Unable to determine origin of type `struct
cli_credentials'
librpc/idl/winbind.idl:183: error: winbind_SamLogon: [out] argument
'validation' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:70: error: nbtd_information: [out] argument
'info' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:83: error: nbtd_getdcname: [out] argument
'dcname' is a pointer to type 'string', skip client functions
source4/librpc/idl/irpc.idl:91: error: nbtd_proxy_wins_challenge: [out]
argument 'num_addrs' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:113: error: kdc_check_generic_kerberos: [out]
argument 'generic_reply' is not a pointer or array, skip client functions
source4/librpc/idl/irpc.idl:159: error: smbsrv_information: [out] argument
'info' is not a pointer or array, skip client functions

So, i dont know what's causing your problem. 
I've CC-ed the samba-technical list, there is something going on but i dont
know what. 

So far, 

Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Vincent S. Cojot via samba
> Verzonden: woensdag 6 oktober 2021 15:34
> Aan: sambalist
> Onderwerp: [Samba] Samba 4.14.8 compile failure on RHEL 8.4 
> (log attached) (fwd)
> 
> 
> Hi all,
> 
> I wanted to update some 4.14.x rpms (currently at 4.14.7) to 
> 4.14.8 and I got a 
> new failure compiling 4.14.8 on RHEL8.4. 4.14.7, 4.14.6 and 
> below compile just 
> fine on the same build machine.
> The log shows:
> 
> [....]
> + LC_ALL=en_US.utf8
> + /usr/bin/make -O -j8
> [....]
> librpc/idl/auth.idl:107: error: Unable to determine origin of 
> type `struct 
> cli_credentials'
> librpc/idl/auth.idl:107: error: Unable to determine origin of 
> type `struct 
> cli_credentials'
> librpc/idl/winbind.idl:183: error: winbind_SamLogon: [out] argument 
> 'validation' is not a pointer or array, skip client functions
> source4/librpc/idl/irpc.idl:70: error: nbtd_information: 
> [out] argument 'info' 
> is not a pointer or array, skip client functions
> source4/librpc/idl/irpc.idl:83: error: nbtd_getdcname: [out] 
> argument 'dcname' 
> is a pointer to type 'string', skip client functions
> source4/librpc/idl/irpc.idl:91: error: 
> nbtd_proxy_wins_challenge: [out] 
> argument 'num_addrs' is not a pointer or array, skip client functions
> source4/librpc/idl/irpc.idl:113: error: 
> kdc_check_generic_kerberos: [out] 
> argument 'generic_reply' is not a pointer or array, skip 
> client functions
> source4/librpc/idl/irpc.idl:159: error: smbsrv_information: 
> [out] argument 
> 'info' is not a pointer or array, skip client functions
> 
> gcc: fatal error: Killed signal terminated program cc1
> compilation terminated.
> 
> Build failed
>   ->  task in 'python_spoolss.objlist' failed with exit 
> status 1 (run with 
> -v to display more information)
> make: *** [Makefile:7: all] Error 1
> [...]
> 
> Any ideas?
> 
> ,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,.
> _.,-*~'`^`'~*-,
> Vincent S. Cojot, Computer Engineering. STEP project. 
> _.,-*~'`^`'~*-,._.,-*~
> Ecole Polytechnique de Montreal, Comite Micro-Informatique. 
> _.,-*~'`^`'~*-,.
> Linux Xview/OpenLook resources page 
> _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
> http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ 
> coyote at NOSPAM4cojot.name
> 
> They cannot scare me with their empty spaces
> Between stars - on stars where no human race is
> I have it in me so much nearer home
> To scare myself with my own desert places.       - Robert Frost
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba-technical mailing list