Solved Monotone Configure Error Regarding Botan

Hello,
I see the following when trying to install devel/monotone.
Code:
===>  Configuring for monotone-1.1_3
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... (cached) /usr/bin/tar
checking whether gmake supports nested variables... (cached) yes
checking build system type... amd64-portbld-freebsd11.0
checking host system type... amd64-portbld-freebsd11.0
checking category of operating system... Unix
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by gmake... GNU
checking dependency style of c++... gcc3
checking for C++ compiler warning flags... -Wall -W -Wno-unused
checking for ranlib... ranlib
checking for GNU msgfmt... /usr/local/bin/msgfmt
checking for GNU msgmerge... /usr/local/bin/msgmerge
checking for GNU xgettext... /usr/local/bin/xgettext
checking whether /usr/local/bin/xgettext supports --flag... yes
checking whether /usr/local/bin/xgettext supports --package-name and --package-version... yes
checking for libraries containing GNU gettext and ngettext... -lintl
checking for library containing deflate... -lz
checking boost version 1.33.0 or newer...
checking pkg-config is at least version 0.9.0... yes
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for botan... no
botan.pc not found
checking for botan using botan-1.10.pc... yes
checking whether botan is usable... no
configure: *** botan_CFLAGS=-I/usr/local/include/botan-1.10
configure: *** botan_LIBS=-L/usr/local/lib -lbotan-1.10
configure: error: in `/mnt/freebsd/ports_bld_dir/usr/ports/devel/monotone/work/monotone-1.1':
configure: error: Must be able to compile and link programs against botan.
See `config.log' for more details
===>  Script "configure" failed unexpectedly.
Please report the problem to lapo@lapo.it [maintainer] and attach the
"/mnt/freebsd/ports_bld_dir/usr/ports/devel/monotone/work/monotone-1.1/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/monotone
*** Error code 1

security/botan is installed. Is it a missing library? Thank you.
 
According to devel/monotone/Makefile you should have installed security/botan110.
Code:
LIB_DEPENDS=    libpcre.so:devel/pcre \
                libidn.so:dns/libidn \
                libsqlite3.so:databases/sqlite3 \
                libbotan-1.10.so:security/botan110
 
Hi,
Thank you for replying. I will double-check when I get home. However my memory is that portmaster pulled in security/botan110 when I proposed to install monotone. So I made a typo in the first post.
Where does ./configure search for botan1.10, under /usr/local/include I suppose? Or is this where devel/pkgconf comes in? I see the process found botan-1.10.pc, is that relevant?
Can anyone reproduce this?

Thank you.
 
Well, you're using FreeBSD 11/amd64 so I guessed that could be a problem but according to portsmon, it builds fine on 11.

Check out that you're using the default configuration options for security/botan110 and you don't have something out of place in your /etc/make.conf
 
Well, now devel/monotone gets past the configure stage. security/botan110 needed a rebuild due to the devel/boost upgrade to 1.62 I think. Perhaps that is why?
Anyway, now devel/monotone fails to build with:

Code:
c++  -I.  -I/usr/local/include/botan-1.10    -I/usr/local/include   -I/usr/local/include/lua51   -I/usr/local/include   -I/usr/local/include       -DLIBICONV_PLUG -isystem /usr/local/include  -O2 -pipe -march=bdver2 -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include -Wall -W -Wno-unused -MT src/unix/get_system_flavour.o -MD -MP -MF $depbase.Tpo -c -o src/unix/get_system_flavour.o src/unix/get_system_flavour.cc &&\
mv -f $depbase.Tpo $depbase.Po
In file included from src/unix/get_system_flavour.cc:12:
In file included from src/unix/../sanity.hh:14:
In file included from /usr/include/c++/v1/ostream:138:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:18:
In file included from /usr/include/c++/v1/mutex:176:
In file included from /usr/include/c++/v1/__mutex_base:15:
In file included from /usr/include/c++/v1/chrono:303:
/usr/include/c++/v1/ctime:60:9: error: no member named 'clock' in the global namespace
using ::clock;
      ~~^
/usr/include/c++/v1/ctime:61:9: error: no member named 'difftime' in the global namespace
using ::difftime;
      ~~^

Perhaps it is time for a bug report.
 
I decided to newly install FreeBSD 11 from svn sources onto a new disk, as the current HDD was getting to be 5+ years old. Plus install all ports anew from source. So now devel/monotone builds fine from ports.
If only the issue of www/firefox crashing with "bus error" (according to zsh/tcsh) or unaligned memory access (according to shells/fish) had not migrated over to the new drive....
 
Back
Top