On Wed, Jan 22, 2014 at 05:15:53PM +0400, Kirill Bychkov wrote:
> Hi!
> Currently I'm trying to port seafile (http://www.seafile.com) and stuck with
> it's server part.
>
> On build it errors with:
>
> ===> Building for seafile-2.1.1
> gmake all-recursive
> gmake[1]: Entering directory '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1'
> Making all in include
> gmake[2]: Entering directory
> '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1/include'
> gmake[2]: Nothing to be done for 'all'.
> gmake[2]: Leaving directory
> '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1/include'
> Making all in lib
> gmake[2]: Entering directory '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1/lib'
> [libsearpc]: generating rpc header files
> /usr/local/bin/python2.7 `which searpc-codegen.py` ../lib/rpc_table.py
> load func_table from
> /usr/ports/pobj/seafile-2.1.1/seafile-2.1.1/lib/rpc_table.py
> [libsearpc]: done
> gmake all-am
> gmake[3]: Entering directory '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1/lib'
> rm -f repo.c
> valac -C --pkg posix repo.vala commit.vala dirent.vala dir.vala task.vala
> branch.vala crypt.vala webaccess.vala
> /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I..
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include -I../include -I../lib -I../common
> -I(/usr/ports/pobj/ccnet-2.1.1/fake-amd64)/usr/local/include
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Maybe this is the culprit?
> -I/usr/local/include -I/usr/local/include/searpc -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
> -I/usr/local/include -I/usr/local/include/searpc -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall
> -I/usr/local/include -O2 -pipe -MT repo.lo -MD -MP -MF .deps/repo.Tpo -c -o
> repo.lo repo.c
> /bin/sh: syntax error: `(' unexpected
> >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Makefile:454: recipe for target 'repo.lo' failed
> gmake[3]: *** [repo.lo] Error 1
> gmake[3]: Leaving directory '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1/lib'
> Makefile:336: recipe for target 'all' failed
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1/lib'
> Makefile:382: recipe for target 'all-recursive' failed
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory '/usr/ports/pobj/seafile-2.1.1/seafile-2.1.1'
> Makefile:313: recipe for target 'all' failed
> gmake: *** [all] Error 2
> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2673
> '/usr/ports/pobj/seafile-2.1.1/.build_done')
> *** Error 1 in /home/kirby/mystuff/net/seafile/server
> (/usr/ports/infrastructure/mk/bsd.port.mk:2393 'all')
>
> adding -vx to /bin/sh and -d to gmake gives me no clues.
> devel/jansson dependency also attached.
>
> Thanks!
--
Juan Francisco Cantero Hurtado http://juanfra.info