Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17530 - dev-util/gnustep-back-0.8.3 fails to build
Summary: dev-util/gnustep-back-0.8.3 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 18:27 UTC by Caleb Shay
Modified: 2003-03-25 21:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caleb Shay 2003-03-14 18:27:26 UTC
gnustep-back blows up on compiling.  I tried eliminating the patch that is
included (which points to a non-existing  /usr/include/X11/Xft1/Xft.h ), but it
still dies with the same error.

Output below
_________________________
 Compiling file XGFontManager.m ...
 Compiling file XGContext.m ...
In file included from XGContext.m:47:
../../Headers/xlib/XftFontInfo.h:32:26: warning: X11/Xft1/Xft.h: No such file or
 directory
In file included from XGContext.m:47:
../../Headers/xlib/XftFontInfo.h:39: parse error before "XftFont"
make[3]: *** [shared_obj/ix86/linux-gnu/gnu-gnu-gnu/XGContext.o] Error 1
make[2]: *** [xlib.all.subproject.variables] Error 2
make[2]: Leaving directory `/var/tmp/portage/gnustep-back-0.8.3/work/gnustep-bac
k-0.8.3/Source/xlib'
make[1]: *** [libgnustep-back.all.bundle.variables] Error 2
make[1]: Leaving directory `/var/tmp/portage/gnustep-back-0.8.3/work/gnustep-bac
k-0.8.3/Source'
make: *** [internal-all] Error 2
 
!!! ERROR: dev-util/gnustep-back-0.8.3 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)


___________________________

chinstrap root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20-gaming-r1 i686 AMD Athlon(tm) XP 2000+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 guile -3dfx 3dnow aalib acl acpi -afs alsa -apache2 -apm -arts avi
berkdb bonobo cdr cjk crypt cups dga directfb doc dvd encode esd evo fbcon flash
gd gdbm ggi gif gnome gphoto2 gpm gps gtk gtk2 gtkhtml imap imlib innodb ipv6
java jikes jpeg junit -kde -kerberos lcms ldap libg++ libgda libwww -matrox
-maildir mbox mikmod mmx motif mozilla mpeg mysql ncurses nls nocardbus oav
-oci8 odbc oggvorbis opengl oss pam -pcmcia pda pdflib perl pic png python -qt
qtmt quicktime readline samba -sasl scanner sdl slang slp snmp -socks5 spell sse
ssl svga tcltk tcpd tetex tiff truetype usb wmf X xface xml xml2 xmms xv zlib
mozsvg -mozcalendar mozaccess mozinterfaceinfo mozp3p -mozxmlterm moznoirc
moznomail moznocompose -moznoxft"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS=""
AUTOCLEAN="yes"
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Caleb Shay 2003-03-20 21:24:49 UTC
Just did a full re-install of Gentoo 1.4_rc3 with the exact same make.conf and everything compiled fine this time.  Go figure.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-03-20 22:16:59 UTC
sorry i didn't get to this earlier. i've been pretty bogged down with bugs as of late. 

anyway, i'll have to look at this a bit further. so does that mean your new system has /usr/include/X11/Xft1/Xft.h ?

Comment 3 Caleb Shay 2003-03-20 22:34:17 UTC
No, it still doesn't have that directory, but everything built and installed correctly this time.  I am finding things to be pretty unstable, but that may just be the nature of gnustep and/or the apps right now, I have no previous experience to judge by.
Comment 4 Caleb Shay 2003-03-20 22:37:16 UTC
BTW, are you the keeper of "All Things GNUstep" for Gentoo?  Any word on additional packages?  If nobody else is working on them, I'll whip up some ebuilds for the usual suspects (Pantomime, GNUMail.app, Gorm.app, etc)
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-03-20 22:45:41 UTC
ok .. the problem is that gnustep-back doesn't support >=xfree-4.3.0. it is most likely that your 1.4_rc3 on x86 is currently at 4.2.1 and your old setup was at 4.3.0.

is that right?
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-03-20 22:51:10 UTC
actually that probably isn't right. i just checked my 1.4_rc3 stable and it doesn't have /usr/include/X11/Xft1/Xft.h

i'll look at this again tomorrow.
Comment 7 Caleb Shay 2003-03-20 22:55:13 UTC
Nope.  The only difference before in my X was that it was originally a 4.2.1 which was then upgraded to 4.3.0, this install was 4.3.0 from the beginning (~x86 since bootstrap).

caleb@chinstrap caleb $ X -version

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-xfs_pre6 i686 [ELF] 
Build Date: 18 March 2003
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-03-21 08:15:49 UTC
i'm actually not the GNUstep guy for gentoo.  I was just assigned this bug because of Xft. If you have additional ebuilds you wish to contribute, feel free to submit them to bugzilla.
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2003-03-23 21:25:20 UTC
alright. i think i know whats going on now.

1. gnustep-back (0.8.3 and 0.8.4) will only work with Xft1. that is provided by xfree and exist in the files /usr/X11R6/lib/libXft.so.1.1.

2. Gentoo also installs Xft2 which is in package x11-libs/xft-2.0

3. for xfree-4.2.1*, it installs the Xft1 headers in /usr/X11R6/include/X11/Xft1 _if_ it finds /usr/X11R6/lib/libXft.so being linked libXft.so.2.0 (Xft2).

4. xfree-4.3.0 doesn't even have Xft1 anymore, AFAIK. So this should be broken with the new xfree.

i think the Xft1 inlcude files should be installed regardless of whether xft2 is installed or not. i'll have to raise this with the xfree maintainers.

the only thing i'm not sure is how you got it to build with xfree 4.3.0. because i surely can't get it done on my side. it maybe possible that your GNUstep was built without Xft support, which would of eliminated all the problems associated with Xft. Would you be able to verify whether your GNUstep stuff has Xft support (anti-aliased fonts)? 
Comment 10 Caleb Shay 2003-03-23 22:28:47 UTC
Nope, appears that it doesn't have Xft support.  That would explain why it built this time.
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2003-03-25 21:37:10 UTC
fixed ebuild to explicitly remove xft support if Xft1 is not detected. this will have to do for now until the next release contains proper xft2 support that is in >=xfree-4.2.1