Re: Followup to: Trouble building XFree86-4-Clients.

2003-03-24 Thread dglo
 Well it was Xft.
 
 I feel stupid, sorry for wasting peoples time.
 
 Anyways I think I recall what happened, during the portupgrade I was playing 
 around with X and caused a system crash. This may have happened during the 
 Xft removal/upgrade stage of portupgrade.

I had the same problem when upgrading my XF86 to 4.3.0 over
the weekend.

XFt is a prerequisite for a bunch of stuff, so it was installed on
my machine along with XFree86-4.2.0.  However, XFree86-4.2.0 had
already installed its own version of libXft and the include files,
so the Xft port installed on top of the XFree86-4.2.0 versions of
those files.

When I tried to upgrade to XFree86-4.3.0, *something* blew away
the Xft files, because 'portversion' thought that the Xft package
was still installed, even though the actual library and include
files were missing.

I'm guessing that when the XFree86-4.2.0 port is removed, it also
removes the new Xft files.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Trouble building XFree86-4-Clients.

2003-03-22 Thread Alastair G. Hogge
Hello,

I've been able to portupgrade my XFree86-4.2.1 system[1] to 4.3.0 expect the 
4.3.0 clients port. I've tried completely removing and building it manuly 
thru make install but I get the same.

The log from the build can be found here:
http://www4.tpg.com.au/users/jhogge/log

But here is the tail++ end:
cc -O -pipe -mcpu=pentiumpro -ansi -Dasm=__asm -Wall -Wpointer-arith -Wundef   
-I/usr/X11R6/include -I/usr/local/include/
freetype2 -I/usr/local/include   -I/usr/ports/x11/XFree86-4-clients/work/xc 
-I/usr/ports/x11/XFree86-4-clients/work/xc/ex
ports/include  -I/usr/X11R6/include -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO
-DMITSHM -DXFT -DXRENDER  -c do_text.c
do_text.c:403:25: X11/Xft/Xft.h: No such file or directory
do_text.c:405: syntax error before '*' token
do_text.c:405: warning: type defaults to `int' in declaration of `aafont'
do_text.c:405: warning: data definition has no type or storage class
do_text.c:406: syntax error before '*' token
do_text.c:406: warning: type defaults to `int' in declaration of `aadraw'
do_text.c:406: warning: data definition has no type or storage class
do_text.c:407: syntax error before aacolor
do_text.c:407: warning: type defaults to `int' in declaration of `aacolor'
do_text.c:407: warning: data definition has no type or storage class
do_text.c: In function `InitAAText':
do_text.c:416: warning: implicit declaration of function `XftFontOpenName'
do_text.c:416: warning: assignment makes pointer from integer without a cast
do_text.c:425: warning: implicit declaration of function `XftDrawCreate'
do_text.c:427: warning: assignment makes pointer from integer without a cast
do_text.c:432: warning: implicit declaration of function `XftFontClose'
do_text.c:439: warning: implicit declaration of function `XftColorAllocValue'
do_text.c:446: warning: implicit declaration of function `XftDrawDestroy'
do_text.c:453: request for member `height' in something not a structure or 
union
do_text.c: In function `DoAAText':
do_text.c:483: warning: implicit declaration of function `XftDrawString8'
do_text.c: In function `EndAAText':
do_text.c:508: warning: implicit declaration of function `XftColorFree'
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/x11perf.
*** 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.

Thanks in advance
-Al

1]X system:
/var/db/pkg/XFree86-4.3.0,1
/var/db/pkg/XFree86-FontServer-4.3.0
/var/db/pkg/XFree86-Server-4.3.0_2
/var/db/pkg/XFree86-VirtualFramebufferServer-4.3.0
/var/db/pkg/XFree86-documents-4.3.0
/var/db/pkg/XFree86-font100dpi-4.3.0
/var/db/pkg/XFree86-font75dpi-4.3.0
/var/db/pkg/XFree86-fontCyrillic-4.3.0
/var/db/pkg/XFree86-fontDefaultBitmaps-4.3.0
/var/db/pkg/XFree86-fontEncodings-4.3.0
/var/db/pkg/XFree86-fontScalable-4.3.0
/var/db/pkg/XFree86-libraries-4.3.0_1
/var/db/pkg/XFree86-manuals-4.3.0

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: Trouble building XFree86-4-Clients.

2003-03-22 Thread Daniel O'Connor
On Sat, 2003-03-22 at 20:38, Alastair G. Hogge wrote:
 I've been able to portupgrade my XFree86-4.2.1 system[1] to 4.3.0 expect the 
 4.3.0 clients port. I've tried completely removing and building it manuly 
 thru make install but I get the same.
 -DMITSHM -DXFT -DXRENDER  -c do_text.c
 do_text.c:403:25: X11/Xft/Xft.h: No such file or directory

Tried making sure Xft and fontconfig are up to date?

I had trouble with that when I updated.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 9A8C 569F 685A D928 5140  AE4B 319B 41F4 5D17 FDD5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: Trouble building XFree86-4-Clients.

2003-03-22 Thread Alastair G. Hogge
On Saturday, 22 March 2003 22:17, Daniel O'Connor wrote:
 On Sat, 2003-03-22 at 20:38, Alastair G. Hogge wrote:
  I've been able to portupgrade my XFree86-4.2.1 system[1] to 4.3.0 expect
  the 4.3.0 clients port. I've tried completely removing and building it
  manuly thru make install but I get the same.
  -DMITSHM -DXFT -DXRENDER  -c do_text.c
  do_text.c:403:25: X11/Xft/Xft.h: No such file or directory

 Tried making sure Xft and fontconfig are up to date?
Both were updated with portupgrade.

 I had trouble with that when I updated.
Wait...blast Xft doesn't appear to be installed anymore.
I know I updated to Xft-2.1_3 before the X-4.3.0 upgrade.

Well I'll try clients again now, that I re-reinstall Xft.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Followup to: Trouble building XFree86-4-Clients.

2003-03-22 Thread Alastair G. Hogge
Well it was Xft.

I feel stupid, sorry for wasting peoples time.

Anyways I think I recall what happened, during the portupgrade I was playing 
around with X and caused a system crash. This may have happened during the 
Xft removal/upgrade stage of portupgrade.

All is well now, thanks Daniel

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: Trouble building XFree86-4-Clients.

2003-03-22 Thread Rahul Siddharthan
[moving to -ports, I'm not sure it's a -current issue]
Alastair G. Hogge wrote:
 On Saturday, 22 March 2003 22:17, Daniel O'Connor wrote:
  On Sat, 2003-03-22 at 20:38, Alastair G. Hogge wrote:
   I've been able to portupgrade my XFree86-4.2.1 system[1] to 4.3.0 expect
   the 4.3.0 clients port. I've tried completely removing and building it
   manuly thru make install but I get the same.
   -DMITSHM -DXFT -DXRENDER  -c do_text.c
   do_text.c:403:25: X11/Xft/Xft.h: No such file or directory
 
  Tried making sure Xft and fontconfig are up to date?

 Both were updated with portupgrade.

I was bitten by this too, as reported here: 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=369839+0+current/freebsd-ports
and someone posted a follow-up reporting the same issue.

I think this happened with the Xft2-Xft rename -- the upgrade
clobbered the original libxft and xft.h from XFree86-4-libs v 4.2, but
they were still in the +CONTENTS of XFree86-4-libs, and then the
portupgrade of XFree86-4-libs to 4.3 removed both these files.  

This should be fixed.  Already files aren't deleted if their original 
checksums don't match, unfortunately I think this is overruled with
pkg_delete -f ... perhaps one needs an option which forces deleting
if there are dependencies, but doesn't delete if there's a checksum
mismatch?

- Rahul

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message