On Tuesday 29 of September 2015 16:28:33 Mike Shal wrote:
> Well I know it's been a long time, but I was finally able to revisit this.
> I pushed a test patch to the 'unshare' branch on github, which avoids the
> .tup/mnt path issue, even without using the ^c flag and without suid.
> 
> For those who are interested, can you try it out and let me know if there
> are any regressions? The test cases pass on Linux (it probably breaks OSX,
> which is why it's not on master). I've noticed a small degradation in
> performance, but I'm not totally sure yet where it's coming from.

Hi!

First of all - it's good to see you back, I was starting to worry that tup 
would become a dead project... ;(

Anyway - I cloned the repo, checked out your branch and tried to build it, but 
the procedure failed. I think I may be missing something here - I'm not a 
Linux expert, so sorry if this is dumb...

> $ ./bootstrap.sh
> 
>   mkdir build
>   cd build
>   bootstrap CC -g ../src/lua/lapi.c
>   bootstrap CC -g ../src/lua/lauxlib.c
>   bootstrap CC -g ../src/lua/lbaselib.c
>   bootstrap CC -g ../src/lua/lbitlib.c
>   bootstrap CC -g ../src/lua/lcode.c
>   bootstrap CC -g ../src/lua/lcorolib.c
>   bootstrap CC -g ../src/lua/lctype.c
>   bootstrap CC -g ../src/lua/ldblib.c
>   bootstrap CC -g ../src/lua/ldebug.c
>   bootstrap CC -g ../src/lua/ldo.c
>   bootstrap CC -g ../src/lua/ldump.c
>   bootstrap CC -g ../src/lua/lfunc.c
>   bootstrap CC -g ../src/lua/lgc.c
>   bootstrap CC -g ../src/lua/linit.c
>   bootstrap CC -g ../src/lua/liolib.c
>   bootstrap CC -g ../src/lua/llex.c
>   bootstrap CC -g ../src/lua/lmathlib.c
>   bootstrap CC -g ../src/lua/lmem.c
>   bootstrap CC -g ../src/lua/loadlib.c
>   bootstrap CC -g ../src/lua/lobject.c
>   bootstrap CC -g ../src/lua/lopcodes.c
>   bootstrap CC -g ../src/lua/loslib.c
>   bootstrap CC -g ../src/lua/lparser.c
>   bootstrap CC -g ../src/lua/lstate.c
>   bootstrap CC -g ../src/lua/lstring.c
>   bootstrap CC -g ../src/lua/lstrlib.c
>   bootstrap CC -g ../src/lua/ltable.c
>   bootstrap CC -g ../src/lua/ltablib.c
>   bootstrap CC -g ../src/lua/ltm.c
>   bootstrap CC -g ../src/lua/lua.c
>   bootstrap CC -g ../src/lua/luac.c
>   bootstrap CC -g ../src/lua/lundump.c
>   bootstrap CC -g ../src/lua/lvm.c
>   bootstrap CC -g ../src/lua/lzio.c
>   link lua
>   bootstrap CC -g ../src/tup/bin.c
>   bootstrap CC -g ../src/tup/colors.c
>   bootstrap CC -g ../src/tup/config.c
>   bootstrap CC -g ../src/tup/create_name_file.c
>   bootstrap CC -g ../src/tup/db.c
>   bootstrap CC -g ../src/tup/debug.c
>   bootstrap CC -g ../src/tup/delete_name_file.c
>   bootstrap CC -g ../src/tup/dircache.c
>   bootstrap CC -g ../src/tup/entry.c
>   bootstrap CC -g ../src/tup/environ.c
>   bootstrap CC -g ../src/tup/estring.c
>   bootstrap CC -g ../src/tup/file.c
>   bootstrap CC -g ../src/tup/fslurp.c
>   bootstrap CC -g ../src/tup/graph.c
>   bootstrap CC -g ../src/tup/if_stmt.c
>   bootstrap CC -g ../src/tup/init.c
>   bootstrap CC -g ../src/tup/lock.c
>   bootstrap CC -g ../src/tup/luaparser.c
>   bootstrap CC -g ../src/tup/option.c
>   bootstrap CC -g ../src/tup/parser.c
>   bootstrap CC -g ../src/tup/path.c
>   bootstrap CC -g ../src/tup/pel_group.c
>   bootstrap CC -g ../src/tup/platform.c
>   bootstrap CC -g ../src/tup/progress.c
>   bootstrap CC -g ../src/tup/send_event.c
>   bootstrap CC -g ../src/tup/string_tree.c
>   bootstrap CC -g ../src/tup/thread_tree.c
>   bootstrap CC -g ../src/tup/timespan.c
>   bootstrap CC -g ../src/tup/tupid_tree.c
>   bootstrap CC -g ../src/tup/updater.c
>   bootstrap CC -g ../src/tup/vardb.c
>   bootstrap CC -g ../src/tup/vardict.c
>   bootstrap CC -g ../src/tup/variant.c
>   bootstrap CC -g ../src/tup/varsed.c
>   bootstrap CC -g ../src/tup/tup/main.c
>   bootstrap CC -g ../src/tup/monitor/null.c
>   bootstrap CC -g ../src/tup/flock/fcntl.c
>   bootstrap CC -g ../src/tup/server/fuse_fs.c
>   bootstrap CC -g ../src/tup/server/fuse_server.c
>   bootstrap CC -g ../src/tup/server/master_fork.c
>   bootstrap CC -g ../src/inih/ini.c
>   bootstrap CC -g ../src/compat/dummy.c
>   bootstrap CC -g ../src/compat/utimensat_linux.c
>   bootstrap CC -g ../src/sqlite3/sqlite3.c
>   bootstrap LD tup -lm
> 
> .tup repository initialized.
> unshare(CLONE_NEWUSER): Invalid argument
> tup error: Unable to create user namespace for subprocesses.
> [ tup ] [0.007s] Scanning filesystem...
> [ tup ] [0.042s] Reading in new environment variables...
> [ tup ] [0.049s] Parsing Tupfiles...
> 
>  1) [0.003s] src/lua
>  2) [0.001s] src/luabuiltin
>  3) [0.004s] src/tup
>  4) [0.000s] src/tup/flock
>  5) [0.000s] src/tup/monitor
>  6) [0.001s] src/tup/server
>  7) [0.001s] src/sqlite3
>  8) [0.001s] src/inih
>  9) [0.000s] src/compat
>  10) [0.000s] src/tup/tup
>  11) [0.002s] .
>  12) [0.000s] build
>  13) [0.000s] build/luabuiltin
>  14) [0.001s] test
>  15) [0.000s] test/make_v_tup
>  16) [0.000s] src
>  17) [0.000s] src/compat/win32
>  18) [0.000s] src/compat/win32/detect
>  19) [0.000s] src/compat/win32/sys
>  20) [0.000s] src/bsd
>  21) [0.000s] src/dllinject
>  22) [0.000s] docs
>  23) [0.000s] docs/html
>  24) [0.000s] docs/html/pub
>  25) [0.000s] docs/html/pub/win32
>  26) [0.000s] contrib
>  27) [0.000s] contrib/debian
>  28) [0.000s] contrib/debian/source
>  29) [0.000s] contrib/syntax
>  [   ETA~=<1s Remaining=0      ] 100%
> 
> [ tup ] [0.073s] No files to delete.
> [ tup ] [0.073s] Generating .gitignore files...
> [ tup ] [0.086s] Executing Commands...
> 
>  [                           ETA~=??? Remaining=84 Active=5                 
>           ]   0%write: Broken pipe [                           ETA~=???
>  Remaining=84 Active=8                           ]   0%tup error: Unable to
>  write 40 bytes to the master fork socket.> 
> tup error: Unable to fork sub-process.
> 
>  *** Command ID=1296 failed: gcc -c lcode.c -o lcode.o -Os -W -Wall
>  -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts
>  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls
>  -Wshadow -Wstrict-prototypes -Wwrite-strings -Wswitch-enum -fno-common
>  -I../../src `pkg-config fuse --cflags` -DLUA_COMPAT_ALL -DLUA_USE_MKSTEMP
>  -w [                           ETA~=??? Remaining=84 Active=7             
>               ]   0%./bootstrap.sh: line 7: 30481 Segmentation fault     
>  (core dumped) ./build/tup upd> 
> $

Any help appreciated, as I'd be glad to test this new feature (;

Regards,
FCh

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to