Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92746 - error while emerging nvu
Summary: error while emerging nvu
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jory A. Pratt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-15 18:09 UTC by senthilkumar
Modified: 2005-06-23 10:21 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 senthilkumar 2005-05-15 18:09:53 UTC
When I try to emerge app-editors/nvu-1.0_pre I am getting this error and emrger failed  Function epatch, Line 358, Exitcode 0 !!! Failed Patch: nvu-0.50-nvu.patch!

In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from nsDeviceContextGTK.cpp:78:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't bee n included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macro s to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h> "
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_ H"
nsDeviceContextGTK.cpp: In function `void
   xlfd_from_pango_font_description(GtkWidget*, const PangoFontDescription*,
   nsString&)':
nsDeviceContextGTK.cpp:1115: warning: unused variable `char*tmp'
gmake[5]: *** [nsDeviceContextGTK.o] Error 1
gmake[5]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla/gfx/src/g tk'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla/gfx/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla/gfx'
gmake[2]: *** [tier_9] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla'
make: *** [build] Error 2


Reproducible: Always
Steps to Reproduce:
1.emerge nvu
2.
3.

Actual Results:  
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from nsDeviceContextGTK.cpp:78:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't bee
n included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macro
s to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h> "
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_ H"
nsDeviceContextGTK.cpp: In function `void
   xlfd_from_pango_font_description(GtkWidget*, const PangoFontDescription*,
   nsString&)':
nsDeviceContextGTK.cpp:1115: warning: unused variable `char*tmp'
gmake[5]: *** [nsDeviceContextGTK.o] Error 1
gmake[5]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla/gfx/src/g tk'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla/gfx/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla/gfx'
gmake[2]: *** [tier_9] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/var/tmp/portage/nvu-1.0_pre/work/mozilla'
make: *** [build] Error 2


ERROR: app-editors/nvu-1.0_pre failed

Expected Results:  
Should have intsalled nvu

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.5-gentoo-r1 i686)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 29 2005, 07:31:49)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups curl dvd
eds emboss encode esd f77 fam flac foomaticdb fortran gd gdbm gif gnome gpm
gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 jack java jpeg junit kde
ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis
opengl oss pam pcmica pdflib perl png python pyton qt quicktime readline sdl
slang snmp spell ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts
vorbis xine xm2 xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jory A. Pratt 2005-06-01 05:32:20 UTC
Please try emerge pango freetype nvu.
Comment 2 fernando guillen suarez 2005-06-02 06:33:16 UTC
i have the same problem instaling app-editors/nvu-1.0_pre and i tried to execute:
# emerge pango freetype nvu

and i have the same problem [1], this time when compiling the: 
>>> emerge (1 of 3) x11-libs/pango-1.8.1 

my USE:

USE="fbcon innodb xfce4 X alsa cups usb acpi avi dga tcltk encode gif gphoto2
jpeg maildir mmx mpeg mozilla firebird foomaticdb mysql oggvorbis opengl pam png
quicktime sdl ssl tiff wmf zlib xml x86 curl doc dvd ethereal gpm fbcon freetds
gb gd gtk2 imap innod junit kerberos lcms lirc mpi oss pcmcia plotutils pnp ppds
samba sasl scanner slp snmp socks5 sse trusted vmf xinerama java kde mplayer
-apm -slang -berkdb -arts -alpha -sparc -mips -hppa -arm -lrci"

my CFLAGS:
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"

my gcc:
gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)

my kernel:
2.6.11-gentoo-r4


[1]-----------------------

[...]

if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE
-DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\"
-DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/X11R6/include -I/usr/include/freetype2  
-I/usr/include/freetype2 -I/usr/X11R6/include -I..    -march=pentium3 -O2 -pipe
-fomit-frame-pointer -Wall -MT pango-enum-types.lo -MD -MP -MF
".deps/pango-enum-types.Tpo" \
  -c -o pango-enum-types.lo `test -f 'pango-enum-types.c' || echo
'./'`pango-enum-types.c; \
then mv -f ".deps/pango-enum-types.Tpo" ".deps/pango-enum-types.Plo"; \
else rm -f ".deps/pango-enum-types.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\"
-DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\"
-DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED
-DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=pentium3 -O2 -pipe
-fomit-frame-pointer -Wall -MT pangoxft-render.lo -MD -MP -MF
.deps/pangoxft-render.Tpo -c pangoxft-render.c  -fPIC -DPIC -o
.libs/pangoxft-render.o
In file included from /usr/X11R6/include/X11/Xft/Xft.h:35,
                 from pangoxft-render.h:32,
                 from pangoxft-render.c:24:
/usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't
been included yet!"
/usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use
macros to include FreeType header files."
/usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/include/freetype2/freetype/freetype.h:23:2: #error "  #include <ft2build.h>"
/usr/include/freetype2/freetype/freetype.h:24:2: #error "  #include FT_FREETYPE_H"
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\"
-DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\"
-DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED
-DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/freetype2 -I/usr/X11R6/include -I.. -march=pentium3 -O2 -pipe
-fomit-frame-pointer -Wall -MT pango-enum-types.lo -MD -MP -MF
.deps/pango-enum-types.Tpo -c pango-enum-types.c  -fPIC -DPIC -o
.libs/pango-enum-types.o
/bin/sh ../libtool --mode=link gcc  -march=pentium3 -O2 -pipe
-fomit-frame-pointer -Wall   -o libpango-1.0.la -rpath /usr/lib -version-info
800:1:800   break.lo ellipsize.lo fonts.lo glyphstring.lo mapping.lo modules.lo
pango-attributes.lo pango-color.lo pango-context.lo pango-coverage.lo
pango-engine.lo pango-fontmap.lo pango-fontset.lo pango-glyph-item.lo
pango-item.lo pango-layout.lo pango-markup.lo pango-renderer.lo pango-script.lo
pango-tabs.lo pango-utils.lo reorder-items.lo shape.lo pango-enum-types.lo
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   mini-fribidi/libmini-fribidi.la -lm  
make[4]: *** [pangoxft-render.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
gcc -shared  .libs/break.o .libs/ellipsize.o .libs/fonts.o .libs/glyphstring.o
.libs/mapping.o .libs/modules.o .libs/pango-attributes.o .libs/pango-color.o
.libs/pango-context.o .libs/pango-coverage.o .libs/pango-engine.o
.libs/pango-fontmap.o .libs/pango-fontset.o .libs/pango-glyph-item.o
.libs/pango-item.o .libs/pango-layout.o .libs/pango-markup.o
.libs/pango-renderer.o .libs/pango-script.o .libs/pango-tabs.o
.libs/pango-utils.o .libs/reorder-items.o .libs/shape.o .libs/pango-enum-types.o
-Wl,--whole-archive mini-fribidi/.libs/libmini-fribidi.a -Wl,--no-whole-archive
 -L/usr/lib /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so -lm  -march=pentium3 -Wl,-soname -Wl,libpango-1.0.so.0
-o .libs/libpango-1.0.so.0.800.1
(cd .libs && rm -f libpango-1.0.so.0 && ln -s libpango-1.0.so.0.800.1
libpango-1.0.so.0)
(cd .libs && rm -f libpango-1.0.so && ln -s libpango-1.0.so.0.800.1 libpango-1.0.so)
creating libpango-1.0.la
(cd .libs && rm -f libpango-1.0.la && ln -s ../libpango-1.0.la libpango-1.0.la)
make[4]: Leaving directory `/var/tmp/portage/pango-1.8.1/work/pango-1.8.1/pango'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/pango-1.8.1/work/pango-1.8.1/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/pango-1.8.1/work/pango-1.8.1/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pango-1.8.1/work/pango-1.8.1'
make: *** [all] Error 2

!!! ERROR: x11-libs/pango-1.8.1 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.
Comment 3 Jory A. Pratt 2005-06-07 16:21:26 UTC
your pango error is strange have you updated gcc lately stable is 3.3.5 last I
checked. nvu does have issues with gcc 3.3.4 nothing I can do about that sorry.
Comment 4 Jory A. Pratt 2005-06-19 20:49:26 UTC
I need feedback on this otherwise gonna close the bug as invalid ... have you
updated your gcc and have you tried to re-emerge pango freetype and nvu.
Comment 5 Jory A. Pratt 2005-06-23 10:21:40 UTC
All is fine here I have tested it over and over.