Created attachment 315233 [details] build.log app-text/asciidoc failed to build with: libtool: compile: i686-gentoo-freebsd9.0-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../gl -I../../gl -I/usr/include/boost-1_49 -O2 -march=native -pipe -fomit-frame-pointer -c stopwatch.cpp -fPIC -DPIC -o .libs/stopwatch.o In file included from ../../gl/unistd.h:121:0, from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/i686-gentoo-freebsd9.0/bits/gthr-default.h:42, from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/i686-gentoo-freebsd9.0/bits/gthr.h:162, from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/ext/atomicity.h:34, from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/bits/ios_base.h:41, from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/ios:43, from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/ostream:40, from /usr/lib/gcc/i686-gentoo-freebsd9.0/4.5.3/include/g++-v4/iostream:40, from stopwatch.cpp:14: ../../gl/getopt.h:196:8: error: redefinition of 'struct option' /usr/include/getopt.h:46:15: error: previous definition of 'struct option' gmake[4]: *** [stopwatch.lo] Error 1 gmake[4]: *** Waiting for unfinished jobs.... In file included from ../../gl/unistd.h:121:0, from /usr/include/boost-1_49/boost/config/stdlib/libstdcpp3.hpp:76, from /usr/include/boost-1_49/boost/config.hpp:44, from /usr/include/boost-1_49/boost/regex/config.hpp:43, from /usr/include/boost-1_49/boost/regex.hpp:28, from substfun.h:13, from substfun.cpp:10: ../../gl/getopt.h:196:8: error: redefinition of 'struct option' /usr/include/getopt.h:46:15: error: previous definition of 'struct option' gmake[4]: *** [substfun.lo] Error 1 This is because the C file doesn't include config.h so that it cannot deal with gnulib's unistd.h or getopt.h properly. Upstream already fixed this with the commit following. I'll add this patch and add x86-fbsd KEYWORD if you don't see problem. http://git.savannah.gnu.org/cgit/src-highlite.git/commit/?id=4978d781ddf461c3d0b252d8e5dccda06288e0b3
Fixed mistaken package name.
Tiziano, no problem? I'll commit in a week.
Not necessary. Upstream released 3.1.7 which contains that fix and I bumped it in the tree a couple of minutes ago.
Thanks. ~x86-fbsd added.
(In reply to comment #4) > Thanks. ~x86-fbsd added. closing then