Re: [fossil-users] Compilation failure on osx 10.10 for fossil and sqlite shell

2018-01-12 Thread j. van den hoff

On Fri, 12 Jan 2018 15:37:41 +0100, Richard Hipp  wrote:


On 1/12/18, Marcel Graf  wrote:


I tried to compile actual tip of trunk (c409f828) on OS X 10.10.5

It fails when on the linking stage:
Undefined symbols for architecture x86_64:
  "_utimensat", referenced from:


There is a new trunk version available.  Please try again and report
your results.  Thanks.


works again (at least form me, using OSX 10.12).

thank you


--
Using Opera's revolutionary email client: http://www.opera.com/mail/
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] Compilation failure on osx 10.10 for fossil and sqlite shell

2018-01-12 Thread Richard Hipp
On 1/12/18, Marcel Graf  wrote:
>
> I tried to compile actual tip of trunk (c409f828) on OS X 10.10.5
>
> It fails when on the linking stage:
> Undefined symbols for architecture x86_64:
>   "_utimensat", referenced from:

There is a new trunk version available.  Please try again and report
your results.  Thanks.
-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Compilation failure on osx 10.10 for fossil and sqlite shell

2018-01-12 Thread Marcel Graf
Hello

I tried to compile actual tip of trunk (c409f828) on OS X 10.10.5

It fails when on the linking stage:
Undefined symbols for architecture x86_64:
  "_utimensat", referenced from:
  _writeFile in shell.o
ld: symbol(s) not found for architecture x86_64

On compiling shell.c there was a warning already:
cc -I. -I./src -Ibld -Wall -DFOSSIL_DYNAMIC_BUILD=1
-Wdeprecated-declarations -DFOSSIL_HAVE_FUSEFS  -g -O2 -DHAVE_AUTOCONFIG_H
-D_HAVE_SQLITE_CONFIG_H  -Dmain=sqlite3_shell -DSQLITE_SHELL_IS_UTF8=1
-DSQLITE_OMIT_LOAD_EXTENSION=1 -DUSE_SYSTEM_SQLITE=0
-DSQLITE_SHELL_DBNAME_PROC=fossil_open   -DHAVE_LINENOISE -c ./src/shell.c
-o bld/shell.o
./src/shell.c:2338:9: warning: implicit declaration of function 'utimensat'
is invalid in C99 [-Wimplicit-function-declaration]
if( utimensat(AT_FDCWD, zFile, times, AT_SYMLINK_NOFOLLOW) ){

$ cc --version
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

Bisecting shows that the problem starts with check-in
http://www.fossil-scm.org/index.html/info/5b558bc76bb9fb5f


This also happens on sqlite itself, offending checkin on trunk:
http://sqlite.org/src/info/148b8aee78e40cab or sqlar-shell-support
respectively: http://sqlite.org/src/info/0cc699d14adfe8c7

Marcel
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users