Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2012 21:48:19 -0500 (EST)
From:      AN <andy@neu.net>
To:        x11@FreeBSD.org
Subject:   configure: error: /usr/bin/cpp does not preserve whitespace
Message-ID:  <alpine.BSF.2.00.1212082138330.14237@mail.neu.net>

next in thread | raw e-mail | index | archive | help
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #2 r244040: Sat Dec  8 
18:03:14 EST 2012     root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64

Trying to install SSVNC, it is failing to build imake.

[root@FBSD10 /usr/ports/net/ssvnc]# make install clean
===>  License GPLv2 accepted by the user
===>  Found saved configuration for ssvnc-1.0.29
===>   ssvnc-1.0.29 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for ssvnc-1.0.29
=> SHA256 Checksum OK for ssvnc-1.0.29.src.tar.gz.
===>  Patching for ssvnc-1.0.29
===>  Applying FreeBSD patches for ssvnc-1.0.29
===>   ssvnc-1.0.29 depends on executable: imake - not found
===>    Verifying install for imake in /usr/ports/devel/imake
===>   imake-1.0.4,1 depends on file: /usr/local/sbin/pkg - found
===>  Extracting for imake-1.0.4,1
=> SHA256 Checksum OK for xorg/util/imake-1.0.4.tar.bz2.
===>   imake-1.0.4,1 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Patching for imake-1.0.4,1
===>   imake-1.0.4,1 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Applying FreeBSD patches for imake-1.0.4,1
===>   imake-1.0.4,1 depends on file: 
/usr/local/libdata/pkgconfig/xproto.pc - found
===>   imake-1.0.4,1 depends on file: /usr/local/bin/perl5.16.2 - found
===>  Configuring for imake-1.0.4,1
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/devel/imake/work/imake-1.0.4/aclocal.m4
===>   FreeBSD 10 autotools fix applied to 
/usr/ports/devel/imake/work/imake-1.0.4/configure
checking for a BSD-compatible install... /usr/bin/install -c -o root -g 
wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... amd64-portbld-freebsd10.0
checking host system type... amd64-portbld-freebsd10.0
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... cpp
checking for cpp... /usr/bin/cpp
checking if /usr/bin/cpp requires -undef... yes
checking if /usr/bin/cpp requires -traditional... configure: error: 
/usr/bin/cpp does not preserve whitespace with or without -traditional.  I 
don't know what to do.
===>  Script "configure" failed unexpectedly.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/ports/devel/imake/work/imake-1.0.4/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 info -g -Ea).
*** [do-configure] Error code 1

Stop in /usr/ports/devel/imake.
*** [build-depends] Error code 1

Stop in /usr/ports/net/ssvnc.
*** [install] Error code 1

Snippet from log file:

configure:3584: checking dependency style of gcc
configure:3694: result: gcc3
configure:3709: checking for gcc option to accept ISO C99
configure:3858: gcc  -c -O2 -pipe -fno-strict-aliasing  conftest.c >&5
conftest.c:61: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:115: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'newvar'
conftest.c:115: error: 'newvar' undeclared (first use in this function)
conftest.c:115: error: (Each undeclared identifier is reported only once
conftest.c:115: error: for each function it appears in.)
conftest.c:125: error: 'for' loop initial declaration used outside C99 
mode
configure:3858: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "imake"
| #define PACKAGE_TARNAME "imake"
| #define PACKAGE_VERSION "1.0.4"
| #define PACKAGE_STRING "imake 1.0.4"
| #define PACKAGE_BUGREPORT 
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE_URL ""
| #define PACKAGE "imake"
| #define VERSION "1.0.4"
| /* end confdefs.h.  */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)

Full log:
http://sebsauvage.net/paste/?78a9744ebbac0252#UCQd0Wq0x8DBj/0XVA4lr7P+/V181hW0BnF55TXMKYo=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1212082138330.14237>