Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2008 18:50:48 +0530 (IST)
From:      Ashish Shukla <wahjava@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/125747: Compilation error in editors/vim-7.1.330
Message-ID:  <20080718132048.9781D7F71B@chateau.d.lf>
Resent-Message-ID: <200807181330.m6IDU3NM059244@freefall.freebsd.org>

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

>Number:         125747
>Category:       ports
>Synopsis:       Compilation error in editors/vim-7.1.330
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 18 13:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Ashish Shukla
>Release:        FreeBSD 7.0-RELEASE-p3 amd64
>Organization:
N/A
>Environment:
System: FreeBSD chateau.d.lf 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #3: Tue Jul 15 10:16:13 IST 2008 root@chateau.d.lf:/usr/obj/usr/src/sys/ULE amd64

The system is fully updated except for editors/vim port.
>Description:

While trying to build the editors/vim port I got following error:

---->8---->8----
cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -msse -msse2 -msse3 -mmmx -march=nocona -march=nocona  -I/usr/local/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING   -I/usr/local/include  -I/usr/local/lib/perl5/5.8.8/mach/CORE -I/usr/local/include/python2.5 -D_THREAD_SAFE    -o objects/gui_beval.o gui_beval.c
/usr/bin/perl -e 'unless ( $] >= 5.005 ) { for (qw(na defgv errgv)) { print "#define PL_$_ $_\n" }}' > auto/if_perl.c
/usr/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -prototypes -typemap  /usr/local/lib/perl5/5.8.8/ExtUtils/typemap if_perl.xs >> auto/if_perl.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -msse -msse2 -msse3 -mmmx -march=nocona -march=nocona  -I/usr/local/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING   -I/usr/local/include  -I/usr/local/lib/perl5/5.8.8/mach/CORE -I/usr/local/include/python2.5 -D_THREAD_SAFE    -o objects/if_perl.o auto/if_perl.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -msse -msse2 -msse3 -mmmx -march=nocona -march=nocona  -I/usr/local/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING   -I/usr/local/include  -I/usr/local/lib/perl5/5.8.8/mach/CORE -I/usr/local/include/python2.5 -D_THREAD_SAFE    -o objects/if_perlsfio.o if_perlsfio.c
cc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/local/include/pixman-1 -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -msse -msse2 -msse3 -mmmx -march=nocona -march=nocona  -I/usr/local/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DDEBUGGING   -I/usr/local/include  -I/usr/local/lib/perl5/5.8.8/mach/CORE -I/usr/local/include/python2.5 -D_THREAD_SAFE    -o objects/if_python.o if_python.c
if_python.c: In function 'VimToPython':
if_python.c:1147: error: 'PRINTF_DECIMAL_LONG_U' undeclared (first use in this function)
if_python.c:1147: error: (Each undeclared identifier is reported only once
if_python.c:1147: error: for each function it appears in.)
*** Error code 1

Stop in /usr/ports/editors/vim/work/vim71/src.
*** Error code 1

Stop in /usr/ports/editors/vim/work/vim71/src.
*** Error code 1

Stop in /usr/ports/editors/vim.
----8<----8<----


Following is the knobs set in /etc/make.conf:

---->8---->8----
CPUTYPE?=nocona
CFLAGS= -O2 -fno-strict-aliasing -pipe -msse -msse2 -msse3 -mmmx -march=nocona
DEBUG_FLAGS=-g
MAKEOPTS=-j3
WITH_IPV6=true
WITH_PYTHON=true
WITH_XCB=true
WITH_GCRYPT=true
WITH_PERL=true
WITHOUT_SOCKS=true
WITH_GTK2=true
WITH_TOC2MP3=true
WITH_THREADS=true
WITH_XVID=true
WITH_OPTIMIZED_CFLAGS=true
----8<----8<----

>How-To-Repeat:

1. Execute following command on a root shell:

# make -C /usr/ports/editors/vim build

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



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