Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  4 Nov 2006 09:29:27 -0800 (PST)
From:      paul@paulbeard.org, beard@paulbeard.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105152: libxklavier fails to build
Message-ID:  <20061104172927.7221710D5A9@paulbeard.org>
Resent-Message-ID: <200611041754.kA4HsKTX018992@freefall.freebsd.org>

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

>Number:         105152
>Category:       ports
>Synopsis:       libxklavier fails to build
>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:   Sat Nov 04 17:54:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Charlie &
>Release:        FreeBSD 4.11-RELEASE-p12 i386
>Organization:
none
>Environment:
System: FreeBSD red.paulbeard.org 4.11-RELEASE-p12 FreeBSD 4.11-RELEASE-p12 #0: Wed Oct 12 21:28:00 PDT 2005 root@red.paulbeard.org:/usr/obj/usr/src/sys/RED i386


===>  Vulnerability check disabled, database not found
===>  Extracting for libxklavier-2.91_4,1
=> MD5 Checksum OK for libxklavier-2.91.tar.gz.
=> SHA256 Checksum OK for libxklavier-2.91.tar.gz.
===>  Patching for libxklavier-2.91_4,1
===>  Applying FreeBSD patches for libxklavier-2.91_4,1
===>   libxklavier-2.91_4,1 depends on executable in : gmake - found
===>   libxklavier-2.91_4,1 depends on executable in : pkg-config - found
===>   libxklavier-2.91_4,1 depends on shared library: gnugetopt.1 - found
===>   libxklavier-2.91_4,1 depends on shared library: glib-2.0.0 - found
===>   libxklavier-2.91_4,1 depends on shared library: xml2.5 - found
===>   libxklavier-2.91_4,1 depends on shared library: X11.6 - found
===>  Configuring for libxklavier-2.91_4,1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for style of include used by gmake... GNU
checking dependency style of cc... gcc
checking for library containing strerror... none required
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i386-portbld-freebsd4.11
checking host system type... i386-portbld-freebsd4.11
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for ld used by cc... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 65536
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd4.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the c++ linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd4.11 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... no
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd4.11 ld.so
checking how to hardcode library paths into programs... immediate
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for shared library run path origin... ./config.rpath: Can't open ./config.rpath: No such file or directory
done
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for nl_langinfo and CODESET... yes
checking for setlocale... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for X11/extensions/XKBrules.h... yes
checking whether at least one libxklavier backend is enabled... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XML... yes
checking for GLIB... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libxklavier/Makefile
config.status: creating libxklavier.spec
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating tests/Makefile
config.status: creating libxklavier.pc
config.status: creating config.h
config.status: executing depfiles commands
**********************************************************
  Libxklavier is configured with the following backends:
    XKB (libxkbfile headers are present)
    xmodmap
**********************************************************
===>  Building for libxklavier-2.91_4,1
gmake  all-recursive
gmake[1]: Entering directory `/opt/ports/x11/libxklavier/work/libxklavier-2.91'
Making all in libxklavier
gmake[2]: Entering directory `/opt/ports/x11/libxklavier/work/libxklavier-2.91/libxklavier'
source='xklavier.c' object='xklavier.lo' libtool=yes \
	DEPDIR=.deps depmode=gcc /bin/sh ../depcomp \
	/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -Wall -Werror -DDATA_DIR=\"/usr/local/share/libxklavier\" -I. -I/usr/local/include -I/usr/X11R6/include -I.. -I/usr/local/include/libxml2 -I/usr/local/include   -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include   -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -O -pipe  -c -o xklavier.lo xklavier.c
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -Wall -Werror -DDATA_DIR=\"/usr/local/share/libxklavier\" -I. -I/usr/local/include -I/usr/X11R6/include -I.. -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -O -pipe -c xklavier.c -Wp,-MD,.deps/xklavier.TPlo  -fPIC -DPIC -o .libs/xklavier.o
xklavier.c: In function `xkl_engine_constructor':
xklavier.c:593: syntax error before `*'
xklavier.c:599: `engine' undeclared (first use in this function)
xklavier.c:599: (Each undeclared identifier is reported only once
xklavier.c:599: for each function it appears in.)
xklavier.c:599: `display' undeclared (first use in this function)
xklavier.c:601: syntax error before `int'
xklavier.c:606: `scr' undeclared (first use in this function)
xklavier.c:627: syntax error before `rv'
xklavier.c:631: `rv' undeclared (first use in this function)
xklavier.c: In function `xkl_engine_finalize':
xklavier.c:731: syntax error before `backend'
xklavier.c:732: `backend' undeclared (first use in this function)
xklavier.c: In function `xkl_engine_class_init':
xklavier.c:771: syntax error before `*'
xklavier.c:833: `display_param_spec' undeclared (first use in this function)
xklavier.c:836: `backend_name_param_spec' undeclared (first use in this function)
xklavier.c:838: `features_param_spec' undeclared (first use in this function)
xklavier.c:840: `max_num_groups_param_spec' undeclared (first use in this function)
xklavier.c:842: `num_groups_param_spec' undeclared (first use in this function)
xklavier.c:844: `default_group_param_spec' undeclared (first use in this function)
xklavier.c:847: `secondary_groups_mask_param_spec' undeclared (first use in this function)
xklavier.c:850: `indicators_handling_param_spec' undeclared (first use in this function)
xklavier.c:869: `state_change_type' undeclared (first use in this function)
xklavier.c:875: syntax error before `const'
xklavier.c:877: `sdl' undeclared (first use in this function)
cc1: warnings being treated as errors
xklavier.c:755: warning: unused variable `state_change_values'
xklavier.c:742: warning: unused variable `feature_flags'
gmake[2]: *** [xklavier.lo] Error 1
gmake[2]: Leaving directory `/opt/ports/x11/libxklavier/work/libxklavier-2.91/libxklavier'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/opt/ports/x11/libxklavier/work/libxklavier-2.91'
gmake: *** [all] Error 2
*** Error code 2

Stop in /opt/ports/x11/libxklavier.
>Description:
>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?20061104172927.7221710D5A9>