I'm unable to even get quite that far.  My build on FreeBSD 10 dies on the 
fuse_fs.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
In file included from ../src/tup/server/fuse_fs.c:29:
../src/tup/server/tup_fuse_fs.h:26:10: fatal error: 'fuse.h' file not found
#include <fuse.h>
         ^
1 error generated.

What do I need to make that work?

On Friday, 29 August 2014 09:55:00 UTC-5, Lars Eggert wrote:
>
> Hi, 
>
> has anyone managed to bootstrap tup on FreeBSD-10? I get a bunch of errors 
> when trying (see below.) 
>
> Lars 
>
>
> [lars@beastie: ~/tup] ./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/privs.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 
> ../src/tup/server/master_fork.c:386:5: warning: implicit declaration of 
> function 
>       'clearenv' is invalid in C99 [-Wimplicit-function-declaration] 
>         if(clearenv() < 0) { 
>            ^ 
> 1 warning generated. 
>   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/compat/clearenv.c 
>   bootstrap CC -g ../src/sqlite3/sqlite3.c 
>   bootstrap LD tup -lm 
> [ tup ] [0.000s] Scanning filesystem... 
> [ tup ] [0.049s] Reading in new environment variables... 
> [ tup ] [0.049s] No Tupfiles to parse. 
> [ tup ] [0.049s] No files to delete. 
> [ tup ] [0.052s] Executing Commands... 
>  [                    ETA~=??? Remaining=86 Active=2                     ] 
>   0%tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lcode.c 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lapi.c 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/compat/freebsd.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/compat/freebsd.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/compat/freebsd.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/compat/freebsd.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lua.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lua.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lua.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lua.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/luaconf.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/luaconf.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lcode.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lcode.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/luaconf.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/luaconf.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/llex.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/llex.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lapi.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lapi.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lobject.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lobject.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/llimits.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/llimits.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/llimits.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/llimits.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lstate.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lstate.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lzio.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lzio.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lobject.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lobject.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lmem.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lmem.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ltm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ltm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lopcodes.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lopcodes.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lzio.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lzio.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lparser.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lparser.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lmem.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lmem.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ldebug.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ldebug.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ldebug.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ldebug.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lstate.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lstate.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ldo.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ldo.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ltm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ltm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lfunc.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lfunc.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ldo.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ldo.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lgc.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lgc.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lgc.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lgc.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lstring.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lstring.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lstring.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lstring.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ltable.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/ltable.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ltable.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/ltable.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lundump.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lundump.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lvm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lvm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lvm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lvm.h 
> tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1291/usr/home/lars/tup/src/lua/lcode.c 
> * 1) src/lua: CC lcode.c                                                   
>     
>  *** tup errors *** 
> tup error: Unspecified output files - A command is writing to files that 
> you didn't specify in the Tupfile. You should add them so tup knows what to 
> expect. 
>  -- Unspecified output: src/compat/freebsd.h 
>  -- Unspecified output: src/lua/lua.h 
>  -- Unspecified output: src/lua/luaconf.h 
>  -- Unspecified output: src/lua/lcode.h 
>  -- Unspecified output: src/lua/llex.h 
>  -- Unspecified output: src/lua/lobject.h 
>  -- Unspecified output: src/lua/llimits.h 
>  -- Unspecified output: src/lua/lzio.h 
>  -- Unspecified output: src/lua/lmem.h 
>  -- Unspecified output: src/lua/lopcodes.h 
>  -- Unspecified output: src/lua/lparser.h 
>  -- Unspecified output: src/lua/ldebug.h 
>  -- Unspecified output: src/lua/lstate.h 
>  -- Unspecified output: src/lua/ltm.h 
>  -- Unspecified output: src/lua/ldo.h 
>  -- Unspecified output: src/lua/lgc.h 
>  -- Unspecified output: src/lua/lstring.h 
>  -- Unspecified output: src/lua/ltable.h 
>  -- Unspecified output: src/lua/lvm.h 
>  -- Unspecified output: src/lua/lcode.c 
>  *** Command ID=1291 ran successfully, but tup failed to save the 
> dependencies. 
>  [                    ETA~=19s Remaining=85 Active=1                     ] 
>   1%tup error: Unable to truncate() files not created by this job: 
> /@tupjob-1289/usr/home/lars/tup/src/lua/lapi.c 
> * 2) src/lua: CC lapi.c                                                   
>       
>  *** tup errors *** 
> tup error: Unspecified output files - A command is writing to files that 
> you didn't specify in the Tupfile. You should add them so tup knows what to 
> expect. 
>  -- Unspecified output: src/compat/freebsd.h 
>  -- Unspecified output: src/lua/lua.h 
>  -- Unspecified output: src/lua/luaconf.h 
>  -- Unspecified output: src/lua/lapi.h 
>  -- Unspecified output: src/lua/llimits.h 
>  -- Unspecified output: src/lua/lstate.h 
>  -- Unspecified output: src/lua/lobject.h 
>  -- Unspecified output: src/lua/ltm.h 
>  -- Unspecified output: src/lua/lzio.h 
>  -- Unspecified output: src/lua/lmem.h 
>  -- Unspecified output: src/lua/ldebug.h 
>  -- Unspecified output: src/lua/ldo.h 
>  -- Unspecified output: src/lua/lfunc.h 
>  -- Unspecified output: src/lua/lgc.h 
>  -- Unspecified output: src/lua/lstring.h 
>  -- Unspecified output: src/lua/ltable.h 
>  -- Unspecified output: src/lua/lundump.h 
>  -- Unspecified output: src/lua/lvm.h 
>  -- Unspecified output: src/lua/lapi.c 
>  *** Command ID=1289 ran successfully, but tup failed to save the 
> dependencies. 
>  [                    ETA~=10s Remaining=84 Active=0                     ] 
>   2% 
>  *** tup: 2 jobs failed. 
>

-- 
-- 
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