ports/130732: port x11/mlterm cannot be built when sysutils/libutempter exists

Kenji Rikitake kenji.rikitake at acm.org
Mon Jan 19 09:30:06 UTC 2009


>Number:         130732
>Category:       ports
>Synopsis:       port x11/mlterm cannot be built when sysutils/libutempter exists
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 19 09:30:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kenji Rikitake
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD reseaux.priv.k2r.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Jan 17 16:09:08 JST 2009     kenji at reseaux.priv.k2r.org:/usr/obj/usr/src/sys/RESEAUX  i386
>Description:
Port x11/mlterm compilation fails when the kiklib was being linked against
-lutempter (port sysutils/libutempter).  Port x11/xterm can be built with
-lutempter, so I suspect this is an mlterm problem.

The failed build log follows:

reseaux# uname -a

FreeBSD reseaux.priv.k2r.org 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sat Jan 17 16:09:08 JST 2009     kenji at reseaux.priv.k2r.org:/usr/obj/usr/src/sys/RESEAUX  i386
reseaux# make

===>  Vulnerability check disabled, database not found
===>  Found saved configuration for mlterm-2.9.4_2
===>  Extracting for mlterm-2.9.4_3
=> MD5 Checksum OK for mlterm-2.9.4.tar.gz.
=> SHA256 Checksum OK for mlterm-2.9.4.tar.gz.
===>   mlterm-2.9.4_3 depends on file: /usr/local/bin/perl5.8.9 - found
===>  Patching for mlterm-2.9.4_3
===>   mlterm-2.9.4_3 depends on file: /usr/local/bin/perl5.8.9 - found
===>  Applying FreeBSD patches for mlterm-2.9.4_3
===>   mlterm-2.9.4_3 depends on file: /usr/local/libdata/pkgconfig/sm.pc - found
===>   mlterm-2.9.4_3 depends on file: /usr/local/bin/perl5.8.9 - found
===>   mlterm-2.9.4_3 depends on file: /usr/local/bin/libtool - found
===>   mlterm-2.9.4_3 depends on file: /usr/local/bin/intltool-extract - found
===>   mlterm-2.9.4_3 depends on executable: pkg-config - found
===>   mlterm-2.9.4_3 depends on shared library: Xft.2 - found
===>   mlterm-2.9.4_3 depends on shared library: intl - found
===>   mlterm-2.9.4_3 depends on shared library: atk-1.0.0 - found
===>   mlterm-2.9.4_3 depends on shared library: glib-2.0.0 - found
===>   mlterm-2.9.4_3 depends on shared library: gtk-x11-2.0.0 - found
===>   mlterm-2.9.4_3 depends on shared library: pango-1.0.0 - found
===>  Configuring for mlterm-2.9.4_3
creating cache ./config.cache
checking host system type... i386-portbld-freebsd7.1
checking build system type... i386-portbld-freebsd7.1
checking for gcc... cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim ) works... yes
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for inline... inline
checking for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... cc -E
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
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 if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd7.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
creating libtool
./configure: script/ltconfig: not found
checking for connect in -lsocket... no
checking for X... libraries /usr/local/lib, headers /usr/local/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Xutf8LookupString in -lX11... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for gdk-pixbuf-2.0... yes
checking IMAGELIB_CFLAGS... -I/usr/local/include/gtk-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
checking IMAGELIB_LIBS... -L/usr/local/lib -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
checking for xft... yes
checking XFT_CFLAGS... -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2  
checking XFT_LIBS... -L/usr/local/lib -lXft -lXrender -lfontconfig -lfreetype -lz -lX11  
checking for gtk+-2.0... yes
checking GTK_CFLAGS... -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/pixman-1 -I/usr/local/include/freetype2  
checking GTK_LIBS... -pthread -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lcairo -lpangoft2-1.0 -lX11 -lXfixes -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0  
checking for perl... /usr/bin/perl
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking dependency style of cc... none
checking dependency style of c++... none
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... yes
checking how to link with libintl... /usr/local/lib/libintl.so -L/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for gettext in -lintl... yes
checking for undefined symbol... supported
updating cache ./config.cache
creating ./config.status
creating xwindow/version.h
creating Makefile
creating mlterm/Makefile
creating xwindow/Makefile
creating man/Makefile
creating etc/Makefile
creating contrib/scrollbar/extra/Makefile
creating scrollbar/sample/Makefile
creating inputmethod/kbd/Makefile
creating tool/w3mmlconfig/Makefile
creating tool/w3mmlconfig/mlconfig.cgi
creating tool/w3mmlconfig/w3mmlconfig
creating contrib/tool/mlcc/Makefile
creating contrib/tool/mlterm-menu/Makefile
creating tool/mlconfig/Makefile
creating tool/mlconfig/po/Makefile.in
creating tool/mlclient/Makefile
creating common/c_config.h
creating tool/mlconfig/po/POTFILES
creating tool/mlconfig/po/Makefile
configuring in kiklib
running /bin/sh ./configure  --with-imagelib=gdk-pixbuf --enable-utmp --with-tools=mlclient,mlconfig,mlterm-menu,mlcc,w3mmlconfig --with-type-engines=xcore,xft --disable-fribidi --disable-uim --disable-m17nlib --disable-iiimf --disable-scim --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ i386-portbld-freebsd7.1 --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i386-portbld-freebsd7.1
checking build system type... i386-portbld-freebsd7.1
checking for gcc... (cached) cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim ) works... yes
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) cc -E
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether ln -s works... (cached) yes
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for cc option to produce PIC... (cached)  -fPIC
checking if cc PIC flag  -fPIC works... (cached) yes
checking if cc static flag -static works... (cached) yes
checking if cc supports -c -o file.o... (cached) yes
checking if cc supports -c -o file.lo... (cached) yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd7.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dlopen... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) no
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
./configure: script/ltconfig: not found
checking for ANSI C header files... yes
checking for langinfo.h... yes
checking for dlfcn.h... (cached) yes
checking for dl.h... no
checking for stropts.h... no
checking for sys/stropts.h... no
checking for stdint.h... yes
checking for strsep... yes
checking for fgetln... yes
checking for basename... yes
checking for isastream... no
checking for seteuid... yes
checking for setegid... yes
checking for geteuid... yes
checking for getegid... yes
checking for setsid... yes
checking for snprintf... yes
checking for usleep... yes
checking for unsetenv... yes
checking for flock... yes
checking for working alloca.h... no
checking for alloca... yes
checking for inline... (cached) inline
checking for working const... yes
checking whether byte ordering is bigendian... no
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for ssize_t... yes
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for off_t... yes
checking for size_t... yes
checking for socklen_t... yes
checking for __FUNCTION__... no
checking for setlocale... yes
checking for NSLinkModule... no
checking for undefined symbol... supported
checking for addToUtmp in -lutempter... yes
checking for pty/tty type... bsd
updating cache .././config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/kik_config.h
configuring in mkf
running /bin/sh ./configure  --with-imagelib=gdk-pixbuf --enable-utmp --with-tools=mlclient,mlconfig,mlterm-menu,mlcc,w3mmlconfig --with-type-engines=xcore,xft --disable-fribidi --disable-uim --disable-m17nlib --disable-iiimf --disable-scim --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ i386-portbld-freebsd7.1 --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i386-portbld-freebsd7.1
checking build system type... i386-portbld-freebsd7.1
checking for gcc... (cached) cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim ) works... yes
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for inline... (cached) inline
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking how to run the C preprocessor... (cached) cc -E
checking for ld used by GCC... (cached) /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
checking for /usr/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether ln -s works... (cached) yes
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for cc option to produce PIC... (cached)   -fPIC
checking if cc PIC flag   -fPIC works... (cached) yes
checking if cc static flag -static works... (cached) yes
checking if cc supports -c -o file.o... (cached) yes
checking if cc supports -c -o file.lo... (cached) yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd7.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
./configure: script/ltconfig: not found
checking for undefined symbol... supported
updating cache .././config.cache
creating ./config.status
creating Makefile
creating lib/Makefile


Mlterm was configured as follows

Installation path prefix          : /usr/local
Build shared libraries            : yes
Build static libraries            : yes
Optimization for redrawing a line : no
BiDi rendering (Fribidi)          : no
ISCII rendering (libind)          : no
External tools                    : mlclient mlconfig mlterm-menu mlcc w3mmlconfig
Image library                     : gdk-pixbuf
utmp support                      : yes
Type engines                      : xcore xft
DnD                               : yes
Input Methods                     : XIM kbd
Scrollbars                        : simple sample extra

===>  Building for mlterm-2.9.4_3
if [ -d kiklib ]; then cd kiklib ; make all ; fi
cd src ; make all
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_debug.c
mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_debug.c   -fPIC -DPIC -o .libs/kik_debug.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_debug.c -o kik_debug.o >/dev/null 2>&1
mv -f .libs/kik_debug.lo kik_debug.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_map.c
rm -f .libs/kik_map.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_map.c   -fPIC -DPIC -o .libs/kik_map.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_map.c -o kik_map.o >/dev/null 2>&1
mv -f .libs/kik_map.lo kik_map.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_args.c
rm -f .libs/kik_args.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_args.c   -fPIC -DPIC -o .libs/kik_args.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_args.c -o kik_args.o >/dev/null 2>&1
mv -f .libs/kik_args.lo kik_args.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_mem.c
rm -f .libs/kik_mem.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_mem.c   -fPIC -DPIC -o .libs/kik_mem.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_mem.c -o kik_mem.o >/dev/null 2>&1
mv -f .libs/kik_mem.lo kik_mem.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_conf.c
rm -f .libs/kik_conf.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_conf.c   -fPIC -DPIC -o .libs/kik_conf.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_conf.c -o kik_conf.o >/dev/null 2>&1
mv -f .libs/kik_conf.lo kik_conf.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_file.c
rm -f .libs/kik_file.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_file.c   -fPIC -DPIC -o .libs/kik_file.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_file.c -o kik_file.o >/dev/null 2>&1
mv -f .libs/kik_file.lo kik_file.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_path.c
rm -f .libs/kik_path.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_path.c   -fPIC -DPIC -o .libs/kik_path.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_path.c -o kik_path.o >/dev/null 2>&1
mv -f .libs/kik_path.lo kik_path.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_conf_io.c
rm -f .libs/kik_conf_io.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_conf_io.c   -fPIC -DPIC -o .libs/kik_conf_io.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_conf_io.c -o kik_conf_io.o >/dev/null 2>&1
mv -f .libs/kik_conf_io.lo kik_conf_io.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_str.c
rm -f .libs/kik_str.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_str.c   -fPIC -DPIC -o .libs/kik_str.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_str.c -o kik_str.o >/dev/null 2>&1
mv -f .libs/kik_str.lo kik_str.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_cycle_index.c
rm -f .libs/kik_cycle_index.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_cycle_index.c   -fPIC -DPIC -o .libs/kik_cycle_index.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_cycle_index.c -o kik_cycle_index.o >/dev/null 2>&1
mv -f .libs/kik_cycle_index.lo kik_cycle_index.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_langinfo.c
rm -f .libs/kik_langinfo.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_langinfo.c   -fPIC -DPIC -o .libs/kik_langinfo.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_langinfo.c -o kik_langinfo.o >/dev/null 2>&1
mv -f .libs/kik_langinfo.lo kik_langinfo.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_time.c
rm -f .libs/kik_time.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_time.c   -fPIC -DPIC -o .libs/kik_time.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_time.c -o kik_time.o >/dev/null 2>&1
mv -f .libs/kik_time.lo kik_time.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_locale.c
rm -f .libs/kik_locale.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_locale.c   -fPIC -DPIC -o .libs/kik_locale.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_locale.c -o kik_locale.o >/dev/null 2>&1
mv -f .libs/kik_locale.lo kik_locale.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_privilege.c
rm -f .libs/kik_privilege.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_privilege.c   -fPIC -DPIC -o .libs/kik_privilege.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_privilege.c -o kik_privilege.o >/dev/null 2>&1
mv -f .libs/kik_privilege.lo kik_privilege.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_unistd.c
rm -f .libs/kik_unistd.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_unistd.c   -fPIC -DPIC -o .libs/kik_unistd.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_unistd.c -o kik_unistd.o >/dev/null 2>&1
mv -f .libs/kik_unistd.lo kik_unistd.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_sig_child.c
rm -f .libs/kik_sig_child.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_sig_child.c   -fPIC -DPIC -o .libs/kik_sig_child.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_sig_child.c -o kik_sig_child.o >/dev/null 2>&1
mv -f .libs/kik_sig_child.lo kik_sig_child.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_pty_bsd.c
rm -f .libs/kik_pty_bsd.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_pty_bsd.c   -fPIC -DPIC -o .libs/kik_pty_bsd.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_pty_bsd.c -o kik_pty_bsd.o >/dev/null 2>&1
mv -f .libs/kik_pty_bsd.lo kik_pty_bsd.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_utmp_utmper.c
rm -f .libs/kik_utmp_utmper.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_utmp_utmper.c   -fPIC -DPIC -o .libs/kik_utmp_utmper.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_utmp_utmper.c -o kik_utmp_utmper.o >/dev/null 2>&1
mv -f .libs/kik_utmp_utmper.lo kik_utmp_utmper.lo
./libtool --mode=compile cc   -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_dlfcn_dl.c
rm -f .libs/kik_dlfcn_dl.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_dlfcn_dl.c   -fPIC -DPIC -o .libs/kik_dlfcn_dl.lo
cc -O2 -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/local/include/iiim -I. -c kik_dlfcn_dl.c -o kik_dlfcn_dl.o >/dev/null 2>&1
mv -f .libs/kik_dlfcn_dl.lo kik_dlfcn_dl.lo
./libtool --mode=link cc     -lutempter -lutil -o libkik.la kik_debug.lo kik_map.lo kik_args.lo kik_mem.lo kik_conf.lo kik_file.lo kik_path.lo kik_conf_io.lo kik_str.lo kik_cycle_index.lo kik_langinfo.lo kik_time.lo kik_locale.lo kik_privilege.lo kik_unistd.lo kik_sig_child.lo kik_pty_bsd.lo kik_utmp_utmper.lo kik_dlfcn_dl.lo -rpath /usr/local/lib  -version-info 11:0:0
rm -fr .libs/libkik.la .libs/libkik.* .libs/libkik.*
cc -shared  kik_debug.lo kik_map.lo kik_args.lo kik_mem.lo kik_conf.lo kik_file.lo kik_path.lo kik_conf_io.lo kik_str.lo kik_cycle_index.lo kik_langinfo.lo kik_time.lo kik_locale.lo kik_privilege.lo kik_unistd.lo kik_sig_child.lo kik_pty_bsd.lo kik_utmp_utmper.lo kik_dlfcn_dl.lo  -lutempter -lutil  -Wl,-soname -Wl,libkik.so.11 -o .libs/libkik.so.11
/usr/bin/ld: cannot find -lutempter
*** Error code 1

Stop in /usr/ports/x11/mlterm/work/mlterm-2.9.4/kiklib/src.
*** Error code 1

Stop in /usr/ports/x11/mlterm/work/mlterm-2.9.4/kiklib.
*** Error code 1

Stop in /usr/ports/x11/mlterm/work/mlterm-2.9.4.
*** Error code 1

Stop in /usr/ports/x11/mlterm.
*** Error code 1

Stop in /usr/ports/x11/mlterm.
reseaux# exit


>How-To-Repeat:
cd /usr/ports/x11/mlterm; make clean && make
>Fix:
Removing the code for detecting libutempter from kiklib/configure will
solve the problem and allows using the proper utmp access library.
A quick patch is attached.

Patch attached with submission follows:

--- kiklib/configure.orig	2009-01-19 17:39:35.000000000 +0900
+++ kiklib/configure	2009-01-19 17:39:56.000000000 +0900
@@ -7132,52 +7132,6 @@
 	UTMP_NAME=none
 	UTMP_LIBS=
 fi
-#  libutempter
-if test -z "$UTMP_NAME" ; then
-	echo $ac_n "checking for addToUtmp in -lutempter""... $ac_c" 1>&6
-echo "configure:7139: checking for addToUtmp in -lutempter" >&5
-ac_lib_var=`echo utempter'_'addToUtmp | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
-  echo $ac_n "(cached) $ac_c" 1>&6
-else
-  ac_save_LIBS="$LIBS"
-LIBS="-lutempter  $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 7147 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error.  */
-/* We use char because int might match the return type of a gcc2
-    builtin and then its argument prototype would still apply.  */
-char addToUtmp();
-
-int main() {
-addToUtmp()
-; return 0; }
-EOF
-if { (eval echo configure:7158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
-  rm -rf conftest*
-  eval "ac_cv_lib_$ac_lib_var=yes"
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
-  eval "ac_cv_lib_$ac_lib_var=no"
-fi
-rm -f conftest*
-LIBS="$ac_save_LIBS"
-
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
-  echo "$ac_t""yes" 1>&6
-  
-		UTMP_NAME=utmper
-		UTMP_LIBS="-lutempter -lutil"
-		
-else
-  echo "$ac_t""no" 1>&6
-fi
-
-fi
 #  setutent()  (SysV)
 if test -z "$UTMP_NAME" ; then
 	echo $ac_n "checking for setutent""... $ac_c" 1>&6


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



More information about the freebsd-ports-bugs mailing list