Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 17521 - sodipodi-0.31 ebuild failure (patch included)
Summary: sodipodi-0.31 ebuild failure (patch included)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 12:12 UTC by Ben Cornett
Modified: 2003-03-30 15:10 UTC (History)
2 users (show)

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


Attachments
patch: sodipodi-0.31.ebuild -> sodipodi-0.31-r1.ebuild (sodipodi-0.31-r1.ebuild.diff,437 bytes, patch)
2003-03-14 12:13 UTC, Ben Cornett
Details | Diff
sodipodi-0.31 source patch (sodipodi-0.31-r1-gentoo.diff,193.46 KB, patch)
2003-03-14 12:14 UTC, Ben Cornett
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Cornett 2003-03-14 12:12:03 UTC
Sodipodi-0.31 fails during the configure step.  The main problem is a failed
header check for Xft.h (which fails because it doesn't look for freetype.h under
/usr/include/freetype2/).  I also needed to add AC_PROG_RANLIB to configure.in
as well.  

I've attached sodipodi-0.31-r1.ebuild.diff and a source patch.  The latter
directly patches configure and other derived files, since otherwise autoconf and
automake would have to be run in the ebuild, which a don't think is you are
supposed to do (?).

Regards,

Ben
Comment 1 Ben Cornett 2003-03-14 12:13:29 UTC
Created attachment 9397 [details, diff]
patch:  sodipodi-0.31.ebuild -> sodipodi-0.31-r1.ebuild
Comment 2 Ben Cornett 2003-03-14 12:14:44 UTC
Created attachment 9398 [details, diff]
sodipodi-0.31 source patch
Comment 3 Ben Cornett 2003-03-14 12:19:13 UTC
jees.

s/which a don't think is/which I don't think that/
Comment 4 Bryon Roche (RETIRED) gentoo-dev 2003-03-14 17:51:49 UTC
sodipodi-0.31 emerges and runs fine for me on ppc...
Comment 5 Hanno Böck gentoo-dev 2003-03-15 06:04:27 UTC
sodipodi 0.31.1 is out. You should update the ebuild to this one.
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-03-15 09:53:31 UTC
i think the problem is with your setup rather than the sodipodi config.

can you paste the output of "emerge info" and what version of xfree, xft and freetype you are using?
Comment 7 Ben Cornett 2003-03-15 14:38:57 UTC
bash-2.05b# emerge info
Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.2, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20-ppc-r3 ppc
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://www.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"
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="oss dvd xv libwww jpeg nls mitshm gif qt kde png truetype ppc gnome-libs gdbm berkdb slang readline tcltk java ruby mysql sdl gpm tcpd pam ssl perl python
esd imlib oggvorbis motif opengl mozilla X gtk gnome -alsa"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=750"
CXXFLAGS="-O3 -pipe -fsigned-char"
ACCEPT_KEYWORDS="ppc ~ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache"

freetype 2.1.3-r2
xft 2.0.1-r1
xfree 4.3.0-r1

Bryon,

Do you have an earlier version of freetype installed?  This is what I get when I emerge sodipodi-0.31

checking X11/Xft/Xft.h usability... no
checking X11/Xft/Xft.h presence... no
checking for X11/Xft/Xft.h... no
configure: error: --with-xft was specified, but appropriate development packages
 could not be found
 
!!! ERROR: media-gfx/sodipodi-0.31 failed.
!!! Function econf, Line 273, Exitcode 1
!!! econf failed

configure dies because it does an AC_CHECK_HEADER for Xft.h, which fails because it can't #include<freetype/freetype.h> (under /usr/include/freetype2 on my system).  Perhaps an earlier version of freetype placed `freetype/freetype.h' directly under /usr/include, rather than under /usr/include/freetype2

I will try to find time this weekend to put together an ebuild for v0.31.1 and test it out.  Maybe this problem goes away in the new version.

Thanks,

Ben

Comment 8 Ben Cornett 2003-03-17 12:43:53 UTC
A version bump to 0.31.1 fixes this bug.  No changes were required to the existing 0.31 ebuild beyond renaming it.


Thanks,

Ben
Comment 9 foser (RETIRED) gentoo-dev 2003-03-30 15:10:22 UTC
local problem it seems.