ports/144138: failure in building x11-toolkits/xview

Tsurutani Naoki turutani at scphys.kyoto-u.ac.jp
Sat Feb 20 14:20:03 UTC 2010


>Number:         144138
>Category:       ports
>Synopsis:       failure in building x11-toolkits/xview
>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:   Sat Feb 20 14:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.0-STABLE FreeBSD 8.0-STABLE #22: Sat Feb 13 14:53:25 JST 2010 turutani at h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	failure in building x11-toolkits/xview.
	
>How-To-Repeat:
	% cd /usr/ports/x11-toolkits/xview
	% make
	...
	cc -fPIC   -O -pipe     -I../../../build/include  -I/usr/local/include    -DCSRG_BASED -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO   -DOS_HAS_LOCALE -DOS_HAS_MMAP   -DEXTRASMENU="\"/usr/local/lib/.text_extras_menu\""      -I../../../build/include  -I/usr/local/include    -DCSRG_BASED -I/include -DSUNOS41 -DX11R6 -DFUNCPROTO=15 -DNARROWPROTO   -DOS_HAS_LOCALE -DOS_HAS_MMAP   -DEXTRASMENU="\"/usr/local/lib/.text_extras_menu\""   -c ev_display.c  -o shared/ev_display.o
	In file included from ../../../build/include/xview_private/tty_impl.h:216,
	                 from ev_display.c:36:
	/usr/include/sys/ioctl_compat.h:42:2: error: #error "Definitions not available without TTY ioctl compat."
	ev_display.c: In function 'ev_init_X_carets':
	ev_display.c:89: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast
	ev_display.c: In function 'ev_put_caret':
	ev_display.c:138: warning: passing argument 1 of 'xv_error' makes integer from pointer without a cast
	*** Error code 1

	Stop in /usr/local/work/usr/ports/x11-toolkits/xview/work/xview3.2p1-X11R6/lib/libxview/textsw.
	*** Error code 1

	Stop in /usr/local/work/usr/ports/x11-toolkits/xview/work/xview3.2p1-X11R6/lib/libxview.
	*** Error code 1

	Stop in /usr/local/work/usr/ports/x11-toolkits/xview/work/xview3.2p1-X11R6/lib.
	*** Error code 1

	Stop in /usr/local/work/usr/ports/x11-toolkits/xview/work/xview3.2p1-X11R6.
	*** Error code 1

	Stop in /usr/local/work/usr/ports/x11-toolkits/xview/work/xview3.2p1-X11R6.
	*** Error code 1

	Stop in /usr/ports/x11-toolkits/xview.

	
>Fix:
	I am setting CFLAGS in /etc/make.conf, in order to avoid trouble arround
	"-O2" optimization.
	This setting causes trouble, for removing makes it buildable.
	I think CFLAGS in make.conf overwrite CFLAGS settings in Makefile when
	make traverses to the sub directory.
	I do not know how to fix it.
	


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



More information about the freebsd-ports-bugs mailing list