[Pkg-samba-maint] FTBFS Unable to build samba 4.7

L.P.H. van Belle belle at bazuin.nl
Thu Oct 5 14:50:28 UTC 2017


P.s. 

One more thing thats rules out kerberos. 

The changes between kerberos 1.15.1 and 1.15.2 are also tested. 

I did try the steps below with both kerberos version. 
RC5 and RC6 with kerberos 1.15.2 also fails. RC4 works. 

apt-cache policy krb5-user
krb5-user:
  Installed: 1.15.2-0.1
  Candidate: 1.15.2-0.1
  Version table:
 *** 1.15.2-0.1 500
        500 file:/home/pbuilder/archive/stretch/samba-experimental amd64/ Packages
        100 /var/lib/dpkg/status
     1.15.1-2 500
        500 http://ftp.debian.org/debian unstable/main amd64 Packages
     1.15.1-2~bpo9+1 500
        500 http://apt.van-belle.nl/debian stretch-experimental/main amd64 Packages
     1.15-1 500
        500 http://ftp.nl.debian.org/debian stretch/main amd64 Packages

Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba-technical 
> [mailto:samba-technical-bounces at lists.samba.org] Namens 
> L.P.H. van Belle via samba-technical
> Verzonden: donderdag 5 oktober 2017 16:39
> Aan: Mathieu Parent; samba-technical at lists.samba.org
> CC: Debian Samba Maintainers
> Onderwerp: RE: [Pkg-samba-maint] FTBFS Unable to build samba 4.7
> 
> Hai, 
> 
> Small update, test done.
> The quick port, a bug is introduced in RC5. 
> 
> The long part, read on. 
> 
> - Only original debian packages. 
> After multiple checks i keep ending in the same error. 
> 
> - mixed my own with debian packages because the MIT version i 
> builded works.
> So i took my experimental Samba RC4 from my own apt repo (see 
> http://apt.van-belle.nl ) I removed the MIT part and run a 
> rebuild, and thats builds fine and installs fine, see result 
> bit below. 
> So, i have a samba rc4 heimdal builded. (ps. Quick builds, 
> not production ready imo. ) Give me a notice if you want 
> something of this test build, or setup yourself. 
> 
> Now, i run cleanup. ( ./debian/rules clean ) Copy the debian 
> folder into RC6. 
> Build.. Rc6 Fail
> The same for RC5,
> Build.. Rc5 Fail
> And again repeat this for RC4 again, and builds fine, so im 
> 100% sure this is introduced in RC5. 
> The error is the same everytime as shown by Mathieu.
> 
> My result. 
> apt-cache policy samba
> samba:
>   Installed: 2:4.7.0rc4+dfsg-1nmu1~deb9
>   Candidate: 2:4.7.0rc4+dfsg-1nmu1~deb9
>   Version table:
>  *** 2:4.7.0rc4+dfsg-1nmu1~deb9 500
>         500 
> file:/home/pbuilder/archive/stretch/samba-experimental amd64/ Packages
>         100 /var/lib/dpkg/status
>      2:4.7.0rc4+dfsg-1nmu1~deb9 500
> NOTE    500 http://apt.van-belle.nl/debian 
> stretch-experimental/main amd64 Packages	 ( THIS LINE IS 
> NOT FOR PRODUCTION SYSTEMS ) 
>      2:4.6.8+nmu-1~deb9 500
>         500 http://apt.van-belle.nl/debian stretch/main amd64 Packages
>      2:4.6.7+dfsg-2 500
>         500 http://ftp.debian.org/debian unstable/main amd64 Packages
>      2:4.6.5+dfsg-5~bpo9+1 500
>         500 http://apt.van-belle.nl/debian 
> stretch-backports/main amd64 Packages
>      2:4.5.8+dfsg-2+deb9u2 500
>         500 http://security.debian.org stretch/updates/main 
> amd64 Packages
>      2:4.5.8+dfsg-2 500
>         500 http://ftp.nl.debian.org/debian stretch/main 
> amd64 Packages
> 
> samba -V
> Version 4.7.0rc4-Debian
> 
> samba -b
> Samba version: 4.7.0rc4-Debian
> Build environment:
> Paths:
>    BINDIR: /usr/bin
>    SBINDIR: /usr/sbin
>    CONFIGFILE: /etc/samba/smb.conf
>    NCALRPCDIR: /var/run/samba/ncalrpc
>    LOGFILEBASE: /var/log/samba
>    LMHOSTSFILE: /etc/samba/lmhosts
>    DATADIR: /usr/share
>    MODULESDIR: /usr/lib/x86_64-linux-gnu/samba
>    LOCKDIR: /var/run/samba
>    STATEDIR: /var/lib/samba
>    CACHEDIR: /var/cache/samba
>    PIDDIR: /var/run/samba
>    PRIVATE_DIR: /var/lib/samba/private
>    CODEPAGEDIR: /usr/share/samba/codepages
>    SETUPDIR: /usr/share/samba/setup
>    WINBINDD_SOCKET_DIR: /var/run/samba/winbindd
>    NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signd
> 
> If you want more info, let me know, i have a bit of time tomorrow. 
> 
> 
> Greetz, 
> 
> Louis
>  
> 
> > -----Oorspronkelijk bericht-----
> > Van: Mathieu Parent [mailto:math.parent at gmail.com]
> > Verzonden: donderdag 5 oktober 2017 12:27
> > Aan: L.P.H. van Belle
> > CC: Debian Samba Maintainers
> > Onderwerp: Re: [Pkg-samba-maint] FTBFS Unable to build samba 4.7
> > 
> > 2017-10-05 12:21 GMT+02:00 L.P.H. van Belle <belle at bazuin.nl>:
> > > Hai Matheu,
> > >
> > > What is the used krb5 versions for this build?
> > 
> > It's using the embedded heimdal.
> > 
> > > I can so a test of this one also, this afternoon.
> > > Are the predepends all in experminal.
> > 
> > Yes.
> > 
> > > I did try to setup the alioth git, but i was unable to
> > login, i've seen i must send an e-mail first.
> > > But i got some extra work here, so i'll do that when i have
> > some extra spair time.
> > > Sorry for the long notice about that.
> > 
> > No problem.
> > 
> > Regards
> > 
> > Mathieu Parent
> > >
> > > Greetz,
> > >
> > > Louis
> > >
> > >
> > >
> > >> -----Oorspronkelijk bericht-----
> > >> Van: Pkg-samba-maint
> > >> [mailto:pkg-samba-maint-bounces+belle=bazuin.nl at lists.alioth.d
> > > ebian.org] Namens Mathieu Parent
> > >> Verzonden: donderdag 5 oktober 2017 12:01
> > >> Aan: Debian Samba Maintainers
> > >> Onderwerp: [Pkg-samba-maint] FTBFS Unable to build samba 4.7
> > >>
> > >> Hi,
> > >>
> > >> I'm unable to build the samba 4.7 package:
> > >>
> > >> 09:35:23 runner /usr/bin/gcc default/lib/dbwrap/dbwrap_1.o 
> > >> default/lib/dbwrap/dbwrap_util_1.o
> > >> default/lib/dbwrap/dbwrap_rbt_1.o
> > >> default/lib/dbwrap/dbwrap_tdb_1.o
> > >> default/lib/dbwrap/dbwrap_local_open_1.o -o 
> > >> /build/samba-4.7.0+dfsg/bin/default/lib/dbwrap/libdbwrap.so
> > >> -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
> > -Wl,-z,relro,-z,now -lpthread
> > >> -Wl,-no-undefined -Wl,--export-dynamic -fstack-protector -shared 
> > >> -Wl,--version-script=/build/samba-4.7.0+dfsg/bin/default/lib/d
> > > bwrap/dbwrap.vscript
> > >> -Wl,-h,libdbwrap.so.0 -Ldefault/lib/param -Ldefault/libcli/util 
> > >> -Ldefault/lib/tdb_wrap -Ldefault/lib/util -L/usr/local/lib 
> > >> -Wl,-Bdynamic -lsamba-util -ltdb-wrap -ltevent-util -lutil-tdb 
> > >> -lsamba-errors -lsamba-hostconfig -ltime-basic -lsocket-blocking 
> > >> -lutil-setid -lsamba-debug -lgenrand -lserver-role
> > -lsys-rw -liov-buf
> > >> -lbsd -lrt -ldl -lnsl -lattr -lcrypt -lsystemd -ltdb -ltevent 
> > >> -ltalloc
> > >> default/source4/heimdal/lib/krb5/auth_context_53.o: In function
> > >> `krb5_auth_con_genaddrs':
> > >> ./bin/../source4/heimdal/lib/krb5/auth_context.c:194:
> > >> undefined reference to `rep_strerror_r'
> > >> ./bin/../source4/heimdal/lib/krb5/auth_context.c:176:
> > >> undefined reference to `rep_strerror_r'
> > >> default/source4/heimdal/lib/krb5/fcache_53.o: In function
> > >> `_krb5_xlock':
> > >> ./bin/../source4/heimdal/lib/krb5/fcache.c:105: undefined
> > reference
> > >> to `rep_strerror_r'
> > >> default/source4/heimdal/lib/krb5/fcache_53.o: In function
> > `fcc_open':
> > >> ./bin/../source4/heimdal/lib/krb5/fcache.c:401: undefined
> > reference
> > >> to `rep_strerror_r'
> > >> default/source4/heimdal/lib/krb5/fcache_53.o: In function
> > >> `_krb5_xunlock':
> > >> ./bin/../source4/heimdal/lib/krb5/fcache.c:139: undefined
> > reference
> > >> to `rep_strerror_r'
> > >> default/source4/heimdal/lib/krb5/fcache_53.o:./bin/../source4/
> > > heimdal/lib/krb5/fcache.c:528:
> > >> more undefined references to `rep_strerror_r' follow
> > >> collect2: error: ld returned 1 exit status
> > >> Waf: Leaving directory `/build/samba-4.7.0+dfsg/bin'
> > >> Build failed:  -> task failed (err #1):
> > >>     {task: cc_link
> > >> acache_53.o,add_et_list_53.o,addr_families_53.o,appdefault_53.
> > > o,asn1_glue_53.o,auth_context_53.o,build_ap_req_53.o,build_auth_>
> > > 53.o,cache_53.o,changepw_53.o,codec_53.o,config_file_53.o,cons
> > > 
> tants_53.o,convert_creds_53.o,copy_host_realm_53.o,crc_53.o,creds_>
> > > 53.o,crypto_53.o,crypto-aes_53.o,crypto-algs_53.o,crypto-arcfo
> > >> ur_53.o,crypto-des3_53.o,crypto-des_53.o,crypto-des-common_53.
> > > o,crypto-evp_53.o,crypto-null_53.o,crypto-pk_53.o,crypto-rand_>
> > > 53.o,data_53.o,eai_to_heim_errno_53.o,error_string_53.o,expand
> > > _hostname_53.o,fcache_53.o,free_53.o,free_host_realm_>
> > > 53.o,generate_seq_number_53.o,generate_subkey_53.o,get_addrs_5
> > > 3.o,get_cred_53.o,get_default_principal_53.o,get_default_realm_>
> > > 53.o,get_for_creds_53.o,get_host_realm_53.o,get_in_tkt_53.o,ge
> > > t_port_53.o,init_creds_53.o,init_creds_pw_53.o,kcm_53.o,keyblock_>
> > > 53.o,keytab_53.o,keytab_any_53.o,keytab_file_53.o,keytab_memor
> > >> y_53.o,keytab_keyfile_53.o,krbhst_53.o,log_53.o,mcache_53.o,mi
> > > sc_53.o,mk_error_53.o,mk_priv_53.o,mk_rep_53.o,mk_req_>
> > 53.o,mk_req_e
> > >>
> > >> xt_53.o,mit_glue_53.o,n-fold_53.o,padata_53.o,pkinit_53.o,prin
> > > cipal_53.o,prog_setup_53.o,pac_53.o,pcache_53.o,prompter_posix_>
> > > 53.o,rd_cred_53.o,rd_error_53.o,rd_priv_53.o,rd_rep_53.o,rd_re
> > >> q_53.o,replay_53.o,salt_53.o,salt-aes_53.o,salt-arcfour_53.o,s
> > > alt-des3_53.o,salt-des_53.o,send_to_kdc_53.o,set_default_realm_>
> > > 53.o,store_53.o,store-int_53.o,store_emem_53.o,store_fd_53.o,s
> > > tore_mem_53.o,ticket_53.o,time_53.o,transited_53.o,version_>
> > > 53.o,warn_53.o,krb5_err_53.o,aname_to_localname_53.o,kuserok_5
> > > 3.o,heim_err_53.o,k524_err_53.o,krb_err_53.o,krb5-glue_>
> > > 53.o,expand_path_48.o,plugin_48.o,context_48.o
> > >> -> libkrb5-samba4.so}
> > >>
> > >>
> > >> Any idea?
> > >>
> > >> Regards
> > >>
> > >>
> > >> --
> > >> Mathieu Parent
> > >>
> > >> _______________________________________________
> > >> Pkg-samba-maint mailing list
> > >> Pkg-samba-maint at lists.alioth.debian.org
> > >> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-sa
> > > mba-maint
> > >>
> > >>
> > >
> > 
> > 
> > 
> > --
> > Mathieu
> > 
> > 
> 
> 
> 




More information about the samba-technical mailing list