pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50315: textproc/link-grammar fails to configure (pkgsrc-2015Q3)
>Number: 50315
>Category: pkg
>Synopsis: textproc/link-grammar fails to configure (pkgsrc-2015Q3)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 08 18:50:00 +0000 2015
>Originator: Rhialto
>Release: NetBSD 6.1.5
>Organization:
>Environment:
System: NetBSD murthe.falu.nl 6.1.5 NetBSD 6.1.5 (MURTHE6.1.5) #0: Sun Oct 5 01:15:04 CEST 2014 rhialto%vargaz.falu.nl@localhost:/usr/src/sys/arch/amd64/compile/MURTHE6.1.5 amd64
Architecture: x86_64
Machine: amd64
>Description:
When building textproc/link-grammar from pkgsrc-2015Q3, the
following happens:
Script started on Thu Oct 8 20:36:45 2015
...
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /home/tmp/textproc/link-grammar/work.x86_64/.wrapper/bin/ld
checking if the linker (/home/tmp/textproc/link-grammar/work.x86_64/.wrapper/bin/ld) is GNU ld... yes
checking whether the c++ linker (/home/tmp/textproc/link-grammar/work.x86_64/.wrapper/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... rm: conftest*: No such file or directory
yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/home/tmp/textproc/link-grammar/work.x86_64/.wrapper/bin/ld) supports shared libraries... yes
...
checking stdio.h usability... no
checking stdio.h presence... yes
configure: WARNING: stdio.h: present but cannot be compiled
configure: WARNING: stdio.h: check for missing prerequisite headers?
configure: WARNING: stdio.h: see the Autoconf documentation
configure: WARNING: stdio.h: section "Present But Cannot Be Compiled"
configure: WARNING: stdio.h: proceeding with the compiler's result
configure: WARNING: ## -------------------------------------------- ##
configure: WARNING: ## Report this to link-grammar%googlegroups.com@localhost ##
configure: WARNING: ## -------------------------------------------- ##
checking for stdio.h... no
configure: error: C++ compiler not found; it is needed for the SAT parser
*** Error code 1
Stop.
make: stopped in /mnt/vol1/rhialto/cvs/pkgsrc/textproc/link-grammar
*** Error code 1
Stop.
make: stopped in /mnt/vol1/rhialto/cvs/pkgsrc/textproc/link-grammar
Script done on Thu Oct 8 20:36:53 2015
Looking at the configure.log file where stdio occurs, I see:
configure:16772: checking stdio.h usability
configure:16772: c++ -c -O2 -O3 -Wall -std=c++03 -DUSE_SAT_SOLVER=1 conftest.cpp >&5
cc1plus: error: unrecognized command line option "-std=c++03"
configure:16772: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "link-grammar"
| #define PACKAGE_TARNAME "link-grammar"
...
in other words, in this test it supplies an option to g++ which
it didn't do before.
I don't know if it really required a C++03 compiler or not.
The g++ I have is from NetBSD/amd64 6.1.5:
Using built-in specs.
COLLECT_GCC=gcc
Target: x86_64--netbsd
Configured with: /usr/src2/tools/gcc/../../external/gpl3/gcc/dist/configure --target=x86_64--netbsd --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20111202' --enable-__cxa_atexit --with-tune=nocona --with-mpc=/var/obj/mknative/amd64/usr/src2/destdir.amd64/usr --with-mpfr=/var/obj/mknative/amd64/usr/src2/destdir.amd64/usr --with-gmp=/var/obj/mknative/amd64/usr/src2/destdir.amd64/usr --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd5.99.56 --host=x86_64--netbsd
Thread model: posix
gcc version 4.5.3 (NetBSD nb2 20110806)
>How-To-Repeat:
>Fix:
Use a C++ 2003 compiler? Which one is that?
However that would probably force all programs using the library
to also use that compiler, due to the appalling lack of ABI
compatibility between g++ versions.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index