Error messages with Freetype and XFree86

Stefan Schwarzer stefan.schwarzer at grid.unep.ch
Tue Jan 15 04:30:56 PST 2008


>> gridmac7:Documents schwarzer$ sudo /opt/local/bin/port install gd2
>> --->  Fetching XFree86
>> --->  Attempting to fetch XFree86-4.7.0-src-1.tgz from http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.7.0/source/
>> --->  Attempting to fetch XFree86-4.7.0-src-2.tgz from http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.7.0/source/
>> --->  Attempting to fetch XFree86-4.7.0-src-3.tgz from http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.7.0/source/
>> --->  Attempting to fetch XFree86-4.7.0-src-4.tgz from http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.7.0/source/
>> --->  Attempting to fetch XFree86-4.7.0-src-5.tgz from http://ftp-stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.7.0/source/
>> --->  Verifying checksum(s) for XFree86
>> --->  Extracting XFree86
>> --->  Applying patches to XFree86
>> --->  Configuring XFree86
>> --->  Building XFree86 with target World
>> Error: Target org.macports.build returned: shell command " cd "/opt/ 
>> local/var/macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_x11_XFree86/work/xc" && make World "  
>> returned error 2
>> Command output: including in lib/dps...
>> checking ../../config/pswrap/pswrap over in ../../config/pswrap  
>> first...
>> /usr/bin/cc -Os -fno-strict-aliasing -Wall -Wpointer-arith -no-cpp- 
>> precomp   -I.   -I../../exports/include   "-I/opt/local/var/ 
>> macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_x11_XFree86/work/include" -D__i386__ - 
>> D__DARWIN__                                 -DNO_ALLOCA - 
>> DCSRG_BASED      -DXENVIRONMENT    -c -o main.o main.c
>> yacc -d pswparser.y
>> conflicts: 1 shift/reduce
>> mv -f y.tab.c pswparser.c
>> + mv -f y.tab.h pswparser.h
>> /usr/bin/cc -Os -fno-strict-aliasing -Wall -Wpointer-arith -no-cpp- 
>> precomp   -I.   -I../../exports/include   "-I/opt/local/var/ 
>> macports/build/ 
>> _opt_local_var_macports_sources_rsync 
>> .macports.org_release_ports_x11_XFree86/work/include" -D__i386__ - 
>> D__DARWIN__                                 -DNO_ALLOCA - 
>> DCSRG_BASED      -DXENVIRONMENT    -c -o pswparser.o pswparser.c
>> flex -l  lexer.l
>> lexer.l:108: bad character: %
>> lexer.l:108: unknown error processing section 1
>> lexer.l:108: unknown error processing section 1
>> lexer.l:108: bad character: 3
>> lexer.l:108: bad character: 5
>> lexer.l:108: bad character: 0
>> lexer.l:108: bad character: 0
>> lexer.l:109: bad character: %
>> lexer.l:109: unknown error processing section 1
>> lexer.l:109: bad character: 2
>> lexer.l:109: bad character: 5
>> lexer.l:109: bad character: 0
>> lexer.l:109: bad character: 0
>> make[4]: *** [lexer.c] Error 1
>> okay, continuing in lib/dps
>> ../../config/pswrap/pswrap -a -o dpsclrops.c -h dpsclrops.h  
>> dpsclrops.psw
>> make[3]: ../../config/pswrap/pswrap: Command not found
>> make[3]: *** [dpsclrops.c] Error 127
>> make[2]: *** [includes] Error 1
>> make[1]: *** [includes] Error 1
>> make: *** [World] Error 2
>>
>> Error: The following dependencies failed to build: XFree86 fontconfig
>> Error: Status 1 encountered during processing.
>
> I'm not sure why this happens. What version of Mac OS X, Xcode and  
> MacPorts do you have, and what kind of Mac is this happening on?  
> Based on the existence of "-D__i386__" in your output I assume  
> you're on an Intel Mac?

MacPro, Leopard, latest version of MacPorts (downloaded yesterday) and  
I'd say latest Xcode as well...


More information about the macports-users mailing list