Date: Fri, 8 Aug 2008 08:46:26 GMT From: Bart Braem <bart.braem@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/126365: htop does not compile because of wchar conflictcs Message-ID: <200808080846.m788kQgf098206@www.freebsd.org> Resent-Message-ID: <200808080850.m788o0E7035373@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126365 >Category: ports >Synopsis: htop does not compile because of wchar conflictcs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 08 08:50:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Bart Braem >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD gebaren.UGent.be 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 1 17:38:23 CET 2007 root@gebaren.UGent.be:/usr/obj/usr/src/sys/VGT i386 >Description: Updating htop-0.6.6 to htop-0.8 gives: ---> Session started at: Fri, 08 Aug 2008 10:33:10 +0200 ---> Upgrade of sysutils/htop started at: Fri, 08 Aug 2008 10:33:50 +0200 ---> Upgrading 'htop-0.6.6' to 'htop-0.8' (sysutils/htop) ---> Build of sysutils/htop started at: Fri, 08 Aug 2008 10:33:50 +0200 ---> Building '/usr/ports/sysutils/htop' ===> Cleaning for htop-0.8 ===> Extracting for htop-0.8 => MD5 Checksum OK for htop-0.8.tar.gz. => SHA256 Checksum OK for htop-0.8.tar.gz. ===> Patching for htop-0.8 ===> Applying FreeBSD patches for htop-0.8 ===> htop-0.8 depends on file: /usr/local/bin/python2.5 - found ===> htop-0.8 depends on file: /usr/local/bin/automake-1.9 - found ===> htop-0.8 depends on file: /usr/local/bin/autoconf-2.61 - found ===> htop-0.8 depends on file: /usr/local/bin/libtool - found ===> htop-0.8 depends on shared library: ncursesw.5 - found ===> Configuring for htop-0.8 /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB configure: WARNING: you should use --build, --host, --target 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 make sets $(MAKE)... yes checking for i386-portbld-freebsd6.2-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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether cc understands -c and -o together... yes checking build system type... i386-portbld-freebsd6.2 checking host system type... i386-portbld-freebsd6.2 checking for a sed that does not truncate output... /usr/local/bin/gsed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by cc... /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 whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... cc -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 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++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for i386-portbld-freebsd6.2-g77... no checking for i386-portbld-freebsd6.2-xlf... no checking for i386-portbld-freebsd6.2-f77... no checking for i386-portbld-freebsd6.2-frt... no checking for i386-portbld-freebsd6.2-pgf77... no checking for i386-portbld-freebsd6.2-cf77... no checking for i386-portbld-freebsd6.2-fort77... no checking for i386-portbld-freebsd6.2-fl32... no checking for i386-portbld-freebsd6.2-af77... no checking for i386-portbld-freebsd6.2-xlf90... no checking for i386-portbld-freebsd6.2-f90... no checking for i386-portbld-freebsd6.2-pgf90... no checking for i386-portbld-freebsd6.2-pghpf... no checking for i386-portbld-freebsd6.2-epcf90... no checking for i386-portbld-freebsd6.2-gfortran... no checking for i386-portbld-freebsd6.2-g95... no checking for i386-portbld-freebsd6.2-xlf95... no checking for i386-portbld-freebsd6.2-f95... no checking for i386-portbld-freebsd6.2-fort... no checking for i386-portbld-freebsd6.2-ifort... no checking for i386-portbld-freebsd6.2-ifc... no checking for i386-portbld-freebsd6.2-efc... no checking for i386-portbld-freebsd6.2-pgf95... no checking for i386-portbld-freebsd6.2-lf95... no checking for i386-portbld-freebsd6.2-ftn... no checking for g77... no checking for xlf... 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) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for i386-portbld-freebsd6.2-ar... no checking for ar... ar checking for i386-portbld-freebsd6.2-ranlib... no checking for ranlib... ranlib checking for i386-portbld-freebsd6.2-strip... no checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no 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/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd6.2 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... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/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/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd6.2 ld.so (cached) (cached) 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... no 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... yes checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd6.2 ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking for ceil in -lm... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether closedir returns void... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... no checking whether stat accepts an empty string... no checking for memmove... yes checking for strncasecmp... yes checking for strstr... yes checking for strdup... yes checking whether gcc -std=c99 option works... yes checking for refresh in -lncursesw... no checking for /compat/linux/proc/stat... yes checking for /compat/linux/proc/meminfo... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands ===> Building for htop-0.8 scripts/MakeHeader.py htop.c Generating htop.h cd . && /usr/local/bin/autoheader-2.61 rm -f stamp-h1 touch ./config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h make all-recursive if cc -DHAVE_CONFIG_H -I. -I. -I. -DSYSCONFDIR=\"/usr/local/etc\" -pedantic -Wall -std=c99 -D_XOPEN_SOURCE_EXTENDED -O2 -fno-strict-aliasing -pipe -MT htop-AvailableMetersPanel.o -MD -MP -MF ".deps/htop-AvailableMetersPanel.Tpo" -c -o htop-AvailableMetersPanel.o `test -f 'AvailableMetersPanel.c' || echo './'`AvailableMetersPanel.c; then mv -f ".deps/htop-AvailableMetersPanel.Tpo" ".deps/htop-AvailableMetersPanel.Po"; else rm -f ".deps/htop-AvailableMetersPanel.Tpo"; exit 1; fi In file included from RichString.h:14, from Object.h:12, from Process.h:14, from ProcessList.h:17, from Settings.h:13, from AvailableMetersPanel.h:6, from AvailableMetersPanel.c:2: /usr/include/curses.h:289: error: conflicting types for 'wchar_t' /usr/include/stdlib.h:58: error: previous declaration of 'wchar_t' was here *** Error code 1 Stop in /usr/ports/sysutils/htop/work/htop-0.8. *** Error code 1 Stop in /usr/ports/sysutils/htop/work/htop-0.8. *** Error code 1 Stop in /usr/ports/sysutils/htop/work/htop-0.8. *** Error code 1 Stop in /usr/ports/sysutils/htop. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.94561.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=htop-0.6.6 UPGRADE_PORT_VER=0.6.6 make FETCH_BEFORE_ARGS=-q DEPENDS_TARGET=package ** Fix the problem and try again. ---> Build of sysutils/htop ended at: Fri, 08 Aug 2008 10:34:15 +0200 (consumed 00:00:24) ---> Upgrade of sysutils/htop ended at: Fri, 08 Aug 2008 10:34:15 +0200 (consumed 00:00:24) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! sysutils/htop (htop-0.6.6) (compiler error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Fri, 08 Aug 2008 10:34:15 +0200 (consumed 00:01:04) Relevant packages: htop-0.6.6 ncurses-5.6_2 >How-To-Repeat: Update htop >Fix: I guess there is some kind of dependency problem or namespace confusion with ncurses. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808080846.m788kQgf098206>