Bug 44180

Summary: XFree86-clients won't portupgrade
Product: Ports & Packages Reporter: Paul Pathiakis <paul>
Component: Individual Port(s)Assignee: Eric Anholt <anholt>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Paul Pathiakis 2002-10-17 23:00:08 UTC
Trying to perform a portupgrade -a -r on 4.6.2 Generic build.  It hits the XFree86-clients-4.2.1_1 build and dies:

+ mkdir -p /usr/ports/x11/XFree86-4-clients/work/xc/exports/lib
rm -f /usr/ports/x11/XFree86-4-clients/work/xc/exports/lib/liblbxutil.a
cd /usr/ports/x11/XFree86-4-clients/work/xc/exports/lib && ln -s ../../lib/lbxutil/liblbxutil.a .
making all in programs/appres...
cc -O -pipe -ansi -pedantic -Dasm=__asm -Wall -Wpointer-arith     -I/usr/ports/x11/XFree86-4-clients/work/xc -I/usr/ports/x11/XFree86-4-clients/work/xc/exports/include  -I/usr/X11R6/include -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c appres.c
appres.c:32: X11/Intrinsic.h: No such file or directory
appres.c:40: syntax error before `XrmQString'
appres.c:40: warning: type defaults to `int' in declaration of `XrmQString'
appres.c:40: ANSI C forbids data definition with no type or storage class
appres.c:57: syntax error before `bindings'
appres.c: In function `PrintBindingQuarkList':
appres.c:61: syntax error before `firstNameSeen'
appres.c:63: `firstNameSeen' undeclared (first use in this function)
appres.c:63: (Each undeclared identifier is reported only once
appres.c:63: for each function it appears in.)
appres.c:63: `False' undeclared (first use in this function)
appres.c:63: `quarks' undeclared (first use in this function)
appres.c:63: `bindings' undeclared (first use in this function)
appres.c:63: warning: left-hand operand of comma expression has no effect
appres.c:64: `XrmBindLoosely' undeclared (first use in this function)
appres.c:65: `stream' undeclared (first use in this function)
appres.c:69: `True' undeclared (first use in this function)
appres.c:70: warning: implicit declaration of function `XrmQuarkToString'
appres.c:70: warning: passing arg 1 of `fputs' makes pointer from integer without a cast
appres.c:63: warning: statement with no effect
appres.c: At top level:
appres.c:78: syntax error before `DumpEntry'
appres.c:78: syntax error before `*'
appres.c:84: warning: return-type defaults to `int'
appres.c: In function `DumpEntry':
appres.c:85: `data' undeclared (first use in this function)
appres.c:90: `type' undeclared (first use in this function)
appres.c:92: `bindings' undeclared (first use in this function)
appres.c:92: `quarks' undeclared (first use in this function)
appres.c:93: `value' undeclared (first use in this function)
appres.c:101: warning: implicit declaration of function `XrmRepresentationToString'
appres.c:101: warning: format argument is not a pointer (arg 3)
appres.c:120: `False' undeclared (first use in this function)
appres.c:86: warning: `i' might be used uninitialized in this function
appres.c:87: warning: `s' might be used uninitialized in this function
appres.c:121: warning: control reaches end of non-void function
appres.c: In function `main':
appres.c:126: syntax error before `toplevel'
appres.c:128: syntax error before `xtcontext'
appres.c:132: `XrmEnumAllLevels' undeclared (first use in this function)
appres.c:141: warning: implicit declaration of function `XrmStringToClassList'
appres.c:141: `classes' undeclared (first use in this function)
appres.c:142: warning: implicit declaration of function `XrmStringToNameList'
appres.c:142: `names' undeclared (first use in this function)
appres.c:146: warning: implicit declaration of function `XrmNameToString'
appres.c:146: warning: assignment makes pointer from integer without a cast
appres.c:148: `toplevel' undeclared (first use in this function)
appres.c:148: warning: implicit declaration of function `XtAppInitialize'
appres.c:148: `xtcontext' undeclared (first use in this function)
appres.c:148: warning: implicit declaration of function `XrmClassToString'
appres.c:155: `XrmEnumOneLevel' undeclared (first use in this function)
appres.c:167: warning: implicit declaration of function `XtGetApplicationNameAndClass'
appres.c:167: warning: implicit declaration of function `XtDisplay'
appres.c:168: warning: implicit declaration of function `XrmStringToName'
appres.c:171: warning: implicit declaration of function `XrmPermStringToQuark'
appres.c:173: warning: implicit declaration of function `XrmEnumerateDatabase'
appres.c:173: warning: implicit declaration of function `XtDatabase'
appres.c:175: `XPointer' undeclared (first use in this function)
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/appres.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
(eval):6: [BUG] Segmentation fault
ruby 1.6.7 (2002-09-12) [i386-freebsd4]
Abort

How-To-Repeat: Build a 4.6.2 machine.  
cvsup ports-supfile
portupgrade -a -r
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2002-10-25 09:49:08 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports

Ports issue
Comment 2 Tilman Keskinoz freebsd_committer freebsd_triage 2002-10-28 14:17:29 UTC
Responsible Changed
From-To: freebsd-ports->anholt

Over to XFree Maintainer
Comment 3 Eric Anholt freebsd_committer freebsd_triage 2002-10-29 01:17:59 UTC
Could you try portupgrade -RN XFree86 first?  Say no to XFree86 and yes
to XFree86-4.  I would guess that an R on the command you tried would
fix it, too.

-- 
Eric Anholt <eta@lclark.edu>
http://people.freebsd.org/~anholt/dri/
Comment 4 Eric Anholt freebsd_committer freebsd_triage 2003-01-10 06:01:13 UTC
State Changed
From-To: open->closed

Feedback timeout (9 weeks).