NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/47959: native XOrg fails to build with latest -current, amd64



>Number:         47959
>Category:       xsrc
>Synopsis:       XOrg fails to build (freetype) on -current, amd64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 24 19:40:00 +0000 2013
>Originator:     brad.harder%gmail.com@localhost
>Release:        NetBSD 6.99.22
>Organization:
        method logic digital
>Environment:
System: NetBSD kamloops 6.99.22 NetBSD 6.99.22 (GENERIC) #215: Sat Jun 22 
15:25:10 PDT 2013 root@kamloops:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

Building native X on NetBSD -current fails.

[...]
        
--- dependall-libFS ---
#   compile  libFS/fs_transport.o
/usr/src/obj/tooldir.NetBSD-6.99.22-amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99 
-Werror   -fstack-protector -Wstack-protector   --param ssp-buffer-size=1  
-fno-strict-aliasing  --sysroot=/usr/src/obj/destdir.amd
64 -I/usr/src/obj/destdir.amd64/usr/X11R7/include/X11/fonts 
-I/usr/xsrc/external/mit/libFS/dist/../include -DTCPCONN -DUNIXCONN 
-DHAS_STICKY_DIR_BIT  -DHAS_FCHOWN -DIPv6 -DFS_t -DTRANS_CLIENT -DBSD44SOCKETS  
-D_
FORTIFY_SOURCE=2 -DNO_ALLOCA -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 
-I/usr/src/obj/destdir.amd64/usr/X11R7/include -D__AMD64__ -c    
/usr/xsrc/external/mit/libFS/dist/src/fs_transport.c -o fs_transport.o
--- dependall-freetype ---
--- autofit.o ---
#   compile  freetype/autofit.o
/usr/src/obj/tooldir.NetBSD-6.99.22-amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99 
-Werror   -fstack-protector -Wstack-protector   --param ssp-buffer-size=1  
-fno-strict-aliasing  --sysroot=/usr/src/obj/destdir.amd
64  -DFT_CONFIG_OPTION_SYSTEM_ZLIB  -DFT_CONFIG_CONFIG_H="<ftconfig.h>"  
-DFT2_BUILD_LIBRARY  -DFT_CONFIG_MODULES_H="<ftmodule.h>" 
-I/usr/src/obj/destdir.amd64/usr/X11R7/include/freetype2  -I/usr/src/obj/destdir
.amd64/usr/X11R7/include/freetype2/freetype/config  
-I/usr/xsrc/external/mit/freetype/dist/include 
-DFT_CONFIG_OPTION_SUBPIXEL_RENDERING  -D_FORTIFY_SOURCE=2 -DNO_ALLOCA 
-DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO
 -I/usr/src/obj/destdir.amd64/usr/X11R7/include -D__AMD64__ -c    
/usr/xsrc/external/mit/freetype/dist/src/autofit/autofit.c -o autofit.o
 cc1: warnings being treated as errors
 In file included from 
/usr/xsrc/external/mit/freetype/dist/src/autofit/autofit.c:23:0:
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afglobal.c: In function 
'af_face_globals_get_metrics':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afglobal.c:245:7: error: 
implicit declaration of function 'FT_THROW'
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afglobal.c:245:25: error: 
'Invalid_Argument' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afglobal.c:245:25: note: each 
undeclared identifier is reported only once for each function it appears in
 In file included from 
/usr/xsrc/external/mit/freetype/dist/src/autofit/autofit.c:24:0:
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afhints.c: In function 
'af_axis_hints_new_segment':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afhints.c:55:27: error: 
'Out_Of_Memory' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afhints.c: In function 
'af_axis_hints_new_edge':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afhints.c:100:27: error: 
'Out_Of_Memory' undeclared (first use in this function)
 In file included from 
/usr/xsrc/external/mit/freetype/dist/src/autofit/autofit.c:34:0:
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afloader.c: In function 
'af_loader_load_g':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afloader.c:352:33: error: 
'Invalid_Composite' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afloader.c:390:25: error: 
'Unimplemented_Feature' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afloader.c: In function 
'af_loader_load_glyph':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afloader.c:505:24: error: 
'Invalid_Argument' undeclared (first use in this function)
 In file included from 
/usr/xsrc/external/mit/freetype/dist/src/autofit/autofit.c:35:0:
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c: At top level:
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c:35:10: error: 
#include expects "FILENAME" or <FILENAME>
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c: In function 
'af_property_get_face_globals':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c:58:24: error: 
'Invalid_Argument' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c: In function 
'af_property_set':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c:115:22: error: 
'Missing_Property' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c: In function 
'af_property_get':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c:166:22: error: 
'Missing_Property' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c: At top level:
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c:172:5: error: 
expected ')' before '(' token
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c: In function 
'af_get_interface':
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c:199:36: error: 
'af_services' undeclared (first use in this function)
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c: At top level:
 /usr/xsrc/external/mit/freetype/dist/src/autofit/afmodule.c:241:5: error: 
expected ')' before '(' token
 *** [autofit.o] Error code 1
 nbmake: stopped in /usr/src/external/mit/xorg/lib/freetype
 1 error
 nbmake: stopped in /usr/src/external/mit/xorg/lib/freetype
 *** [dependall] Error code 2
 nbmake: stopped in /usr/src/external/mit/xorg/lib/freetype
 1 error
 nbmake: stopped in /usr/src/external/mit/xorg/lib/freetype
 *** [dependall-freetype] Error code 2
 nbmake: stopped in /usr/src/external/mit/xorg/lib
 --- dependall-libICE ---
 A failure has been detected in another branch of the parallel make
 nbmake: stopped in /usr/src/external/mit/xorg/lib/libICE
 *** [dependall] Error code 2
 nbmake: stopped in /usr/src/external/mit/xorg/lib/libICE
 1 error
 nbmake: stopped in /usr/src/external/mit/xorg/lib/libICE
 *** [dependall-libICE] Error code 2
 nbmake: stopped in /usr/src/external/mit/xorg/lib
 --- dependall-libOSMesa ---
 A failure has been detected in another branch of the parallel make
 nbmake: stopped in /usr/src/external/mit/xorg/lib/libOSMesa
 *** [dependall-libOSMesa] Error code 2
 nbmake: stopped in /usr/src/external/mit/xorg/lib
 --- dependall-libFS ---
 /usr/src/obj/tooldir.NetBSD-6.99.22-amd64/bin/x86_64--netbsd-objcopy -x 
fs_transport.o
 A failure has been detected in another branch of the parallel make
 nbmake: stopped in /usr/src/external/mit/xorg/lib/libFS
 *** [dependall] Error code 2
 nbmake: stopped in /usr/src/external/mit/xorg/lib/libFS
 1 error
 nbmake: stopped in /usr/src/external/mit/xorg/lib/libFS
 *** [dependall-libFS] Error code 2
 nbmake: stopped in /usr/src/external/mit/xorg/lib
 4 errors
 nbmake: stopped in /usr/src/external/mit/xorg/lib
 *** Failed target:  do-lib
 *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; 
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) 
this="external/mit/xorg/"; real="/usr/src/external/mit/xorg" ;; *) this="exter
 nal/mit/xorg/${dir}/"; real="/usr/src/external/mit/xorg/${dir}" ;; esac; 
show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" 
&& /usr/src/obj/tooldir.NetBSD-6.99.22-amd64/bin/nbmake _T
 HISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib dependall
 *** Error code 2
 Stop.
 nbmake: stopped in /usr/src/external/mit/xorg
 *** [build] Error code 1
 nbmake: stopped in /usr/src/external/mit/xorg
 1 error
 nbmake: stopped in /usr/src/external/mit/xorg
 *** [do-x11] Error code 2
 nbmake: stopped in /usr/src
 1 error
 nbmake: stopped in /usr/src
 *** [build] Error code 2
 nbmake: stopped in /usr/src
 1 error
 nbmake: stopped in /usr/src
 *** [distribution] Error code 2

 nbmake: stopped in /usr/src
 1 error

 nbmake: stopped in /usr/src

 ERROR: Failed to make distribution
 *** BUILD ABORTED ***

>How-To-Repeat:
        cvs -q update -Pd . in /src, /xsrc, ./build.sh -x distribution
>Fix:



Home | Main Index | Thread Index | Old Index