Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2013 19:18:58 GMT
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179416: net/vnc compiles broken imake tool
Message-ID:  <201306071918.r57JIwm4082519@oldred.freebsd.org>
Resent-Message-ID: <201306071920.r57JK0Gv002390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179416
>Category:       ports
>Synopsis:       net/vnc compiles broken imake tool
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 07 19:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Apitz
>Release:        10-CURRENT r250588
>Organization:
>Environment:
kernel and user land: 10-CURRENT from SVN r250558 (i386)
compiler: GCC 4.2.1 (clang was unable to compile certain ports)
ports tree from SVN r319094 (May 26)  
>Description:
===>  Building for vnc-4.1.3_5
cd /usr/ports/net/vnc/work/vnc-4_1_3-unixsrc/unix/xc && make CC=cc CXX=c++ World
./config/util/printver.c:15:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^~~~
1 warning generated.

Building XFree86 version 4.3.0 (27 February 2003).

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

viernes,  7 de junio de 2013, 07:15:59 CEST

cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a  tags TAGS make.log \#*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make  Makefile.boot
cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=\"\"  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
ccimake.c:53:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
            write(1, crosscompiledir_str, sizeof(crosscompiledir_str) - 1);
            ^
1 warning generated.
if [ -n "" ] ; then  /cc -E `./ccimake`  -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h;  else touch imakemdep_cpp.h; fi
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
objformat: not found
In file included from Imakefile.c:16:
In file included from ./config/cf/Imake.tmpl:104:
./config/cf/FreeBSD.cf:477:35: error: '#' is not followed by a macro parameter
#define IncludeMakefile(file) @@# dependencies are in .depend
                                  ^
In file included from Imakefile.c:16:
In file included from ./config/cf/Imake.tmpl:300:
./config/cf/Imake.rules:1627:27: warning: empty character constant [-Winvalid-pp-token]
        for flag in ${MAKEFLAGS} ''; do \                               @@\
                                 ^
./config/cf/Imake.rules:1850:35: error: '#' is not followed by a macro parameter
#define IncludeMakefile(file) @@# dependencies are in .depend
                                  ^
In file included from Imakefile.c:16:
./config/cf/Imake.tmpl:1982:10: fatal error: ' X11 .rules' file not found
#include ProjectRulesFile
         ^
./config/cf/Imake.tmpl:1980:35: note: expanded from macro 'ProjectRulesFile'
# define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
                                        ^
./config/cf/Imake.rules:252:23: note: expanded from macro 'Concat3'
#define Concat3(a,b,c)a/**/b/**/c
                      ^
1 warning and 3 errors generated.
./config/imake/imake: Exit code 1.
  Stop.
*** [./config/makedepend/Makefile.proto] Error code 1

Stop in /usr/ports/net/vnc/work/vnc-4_1_3-unixsrc/unix/xc.
*** [World] Error code 1

Stop in /usr/ports/net/vnc/work/vnc-4_1_3-unixsrc/unix/xc.
*** [post-build] Error code 1

Stop in /usr/ports/net/vnc.
*** [build] Error code 1

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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