[MacPorts] #72369: samba 4.22.1 broken: util_crypt.c: error: 'ENOTRECOVERABLE' undeclared

MacPorts noreply at macports.org
Sat Apr 19 11:29:13 UTC 2025


#72369: samba 4.22.1 broken: util_crypt.c: error: 'ENOTRECOVERABLE' undeclared
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  samba4
--------------------------+--------------------
 {{{
 [2534/4126] Compiling source3/registry/reg_backend_hkpt_params.c
 [2535/4126] Compiling source3/libads/ldap_printer.c
 [2536/4126] Compiling source3/printing/notify.c
 [2537/4126] Compiling source3/printing/printing_db.c
 [2538/4126] Compiling source3/lib/lsa.c
 [2539/4126] Compiling source3/winbindd/idmap_ad_nss.c
 [2540/4126] Linking bin/default/source3/libREG-FULL-private-samba.dylib
 ld: warning: directory '/usr/local/lib' following -L not found
 ld: warning: directory '/usr/local/lib' following -L not found

 [2541/4126] Compiling source3/winbindd/idmap_ad.c
 [2542/4126] Compiling lib/ldb/ldb_tdb/ldb_tdb.c
 [2543/4126] Compiling lib/ldb/ldb_tdb/ldb_tdb_wrap.c
 [2544/4126] Compiling source4/param/pyparam.c
 [2545/4126] Compiling source4/param/provision.c
 [2546/4126] Linking bin/default/lib/ldb/libldb-tdb-int-private-samba.dylib
 ld: warning: directory '/usr/local/lib' following -L not found
 ld: warning: directory '/usr/local/lib' following -L not found

 [2547/4126] Compiling source4/param/share.c
 [2548/4126] Compiling source4/param/share_classic.c
 [2549/4126] Compiling bin/default/source4/param/shares.empty.c
 [2550/4126] Compiling source4/dsdb/kcc/garbage_collect_tombstones.c
 [2551/4126] Compiling source4/dsdb/kcc/scavenge_dns_records.c
 [2552/4126] Compiling source4/libnet/libnet_vampire.c
 [2553/4126] Linking bin/default/source4/param/libshares-private-
 samba.dylib
 ld: warning: directory '/usr/local/lib' following -L not found
 ld: warning: directory '/usr/local/lib' following -L not found

 [2554/4126] Compiling source4/libnet/libnet_join.c
 [2555/4126] Compiling source4/lib/registry/tools/common.c
 [2556/4126] Linking bin/default/source4/dsdb/libdsdb-garbage-collect-
 tombstones-private-samba.dylib
 ld: warning: directory '/usr/local/lib' following -L not found
 ld: warning: directory '/usr/local/lib' following -L not found

 [2557/4126] Linking bin/default/source4/dsdb/libscavenge-dns-records-
 private-samba.dylib
 ld: warning: directory '/usr/local/lib' following -L not found
 ld: warning: directory '/usr/local/lib' following -L not found

 [2558/4126] Compiling lib/util/util_crypt.c
 [2559/4126] Compiling source4/ntvfs/posix/posix_eadb.c
 ../../lib/util/util_crypt.c: In function 'crypt_as_best_we_can':
 ../../lib/util/util_crypt.c:69:31: error: 'ENOTRECOVERABLE' undeclared
 (first use in this function)
    69 |                         ret = ENOTRECOVERABLE;
       |                               ^~~~~~~~~~~~~~~
 ../../lib/util/util_crypt.c:69:31: note: each undeclared identifier is
 reported only once for each function it appears in
 ../../lib/util/util_crypt.c: In function 'talloc_crypt_errstring':
 ../../lib/util/util_crypt.c:114:22: error: 'ENOTRECOVERABLE' undeclared
 (first use in this function)
   114 |         if (error == ENOTRECOVERABLE) {
       |                      ^~~~~~~~~~~~~~~

 Waf: Leaving directory
 `/opt/local/var/macports/build/_opt_local_ppcports_net_samba4/samba4/work/samba-4.22.1/bin/default'
 Build failed
  -> task in 'util_crypt.objlist' failed with exit status 1 (run with -v to
 display more information)
 make: *** [all] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72369>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list