#71491 closed defect (fixed)

tdb 1.4.12 is broken: error: implicit declaration of function 'futimens'; did you mean 'futimes'?

Reported by: barracuda156 Owned by: Sergey Fedorov <barracuda@…>
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: Cc: mohd-akram (Mohamed Akram)
Port: tdb, samba4

Description

Waf: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_tdb/tdb/work/tdb-1.4.12/bin/default'
Checking project rules ...
Project rules pass
[1/3] Creating bin/default/lib/replace/replace.empty.c
[2/3] Creating bin/default/lib/replace/samba_intl.empty.c
[3/3] Compiling tdb.pc.in
[4/6] Compiling lib/replace/closefrom.c
[5/6] Compiling lib/replace/strptime.c
[6/6] Compiling lib/replace/replace.c
[ 7/10] Compiling lib/replace/closefrom.c
[ 8/10] Compiling lib/replace/replace.c
[ 9/10] Compiling lib/replace/xattr.c
[10/10] Compiling lib/replace/strptime.c
[ 11/124] Compiling test/logging.c
[ 12/124] Compiling test/lock-tracking.c
[ 13/124] Compiling test/external-agent.c
[ 14/124] Compiling common/freelist.c
[ 15/124] Compiling common/mutex.c
[ 16/124] Compiling common/open.c
[ 17/124] Compiling common/transaction.c
[ 18/124] Compiling common/io.c
[ 19/124] Compiling common/freelistcheck.c
../../common/transaction.c: In function 'tdb_transaction_commit':
../../common/transaction.c:1209:9: error: implicit declaration of function 'futimens'; did you mean 'futimes'? [-Wimplicit-function-declaration]
 1209 |         futimens(tdb->fd, NULL);
      |         ^~~~~~~~
      |         futimes

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

Also on buildbots: https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/292766/steps/install-port/logs/stdio

Change History (1)

comment:1 Changed 17 months ago by Sergey Fedorov <barracuda@…>

Owner: set to Sergey Fedorov <barracuda@…>
Resolution: fixed
Status: newclosed

In bff380ac4ce0c8d7d7c9da4a187c4d0b79ce255d/macports-ports (master):

tdb: fix build after update

Closes: #71491

Note: See TracTickets for help on using tickets.