Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 39623

Summary: pango-1.2.5-r1 fails to compile after what appears to be a bad script command
Product: Gentoo Linux Reporter: Kyle Dickerson <Amitola85>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gaperx
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kyle Dickerson 2004-01-27 16:27:47 UTC
When I try to emerge pango I get a compile failure, the code can be seen in the Actual Results field.  I have tried various suggestions involving freetype and fontconfig, without avail; also shown in the Actual Results field.

I was originally downloading all ebuilds from the University of Colorado at Denver site, but I tried using default mirrors in case it was a bad file on their server. So the mirrorlist is empty at the moment in my emerge info listing.

Thank you for spending your time looking into this.
	-Kyle Dickerson


Reproducible: Always
Steps to Reproduce:
1. emerge pango
2.
3.
Actual Results:  
# emerge pango 
    **works fine until: (I included more than I thought necessary, because better to 
have a little too much than a bit too little, right?) 
 
pango.h pango-attributes.h pango-break.h pango-context.h pango-coverage.h 
pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h 
pango-glyph-item.h pango-indic.h pango-item.h pango-layout.h pango-modules.h 
pango-tabs.h pango-types.h pango-utils.h ) > tmp-pango-enum-types.h \ 
&& (cmp -s tmp-pango-enum-types.h ./pango-enum-types.h || cp 
tmp-pango-enum-types.h ./pango-enum-types.h ) \ 
&& rm -f tmp-pango-enum-types.h \ 
&& echo timestamp > s-enum-types-h 
( cd . && glib-mkenums \ 
                --fhead "#include <pango.h>" \ 
                --fprod "\n/* enumerations from \"@filename@\" */" \ 
                --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType 
etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {"    \ 
                --vprod "      { @VALUENAME@, \"@VALUENAME@\", 
\"@valuenick@\" }," \ 
                --vtail "      { 0, NULL, NULL }\n    };\n    etype = 
g_@type@_register_static (\"@EnumName@\", values);\n  }\n  return etype;\n}\n" \ 
        pango.h pango-attributes.h pango-break.h pango-context.h pango-coverage.h 
pango-engine.h pango-font.h pango-fontmap.h pango-fontset.h pango-glyph.h 
pango-glyph-item.h pango-indic.h pango-item.h pango-layout.h pango-modules.h 
pango-tabs.h pango-types.h pango-utils.h ) > tmp-pango-enum-types.c \ 
&& (cmp -s tmp-pango-enum-types.c ./pango-enum-types.c || cp 
tmp-pango-enum-types.c ./pango-enum-types.c ) \ 
&& rm -f tmp-pango-enum-types.c \ 
&& echo timestamp > s-enum-types-c 
/usr/bin/env: perl -w: No such file or directory 
make[3]: *** [s-enum-types-h] Error 127 
make[3]: *** Waiting for unfinished jobs.... 
/usr/bin/env: perl -w: No such file or directory        <== I think this is the problem  
make[3]: *** [s-enum-types-c] Error 127 
make[3]: Leaving directory 
`/var/tmp/portage/pango-1.2.5-r1/work/pango-1.2.5/pango' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/pango-1.2.5-r1/work/pango-1.2.5/pango' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/pango-1.2.5-r1/work/pango-1.2.5' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: x11-libs/pango-1.2.5-r1 failed. 
!!! Function gnome2_src_compile, Line 39, Exitcode 2 
!!! compile failure 
 
From some searching on google I found some sources from a few years ago where 
it appeared that doing this type of command through a script would give an error 
such as this, but I couldn't find any resolution for it.   
 
I've tried: 
emerge sync 
emerge pango... still doesn't work 
 
emerge  --unmerge freetype 
emerge freetype 
emerge pango .... nope 
 
emerge --unmerge fontconfig 
emerge fontconfig 
emerge pango..... nope 
 
emerge --unmerge fontconfig 
emerge --unmerge freetype 
emerge freetype  
emerge fontconfig 
emerge pango...... nope 
 
echo "x11-libs/pango-1.2.5-r1" >> /usr/portage/profiles/package.mask 
emerge pango   (it tried to use the pango-1.2.5 package) still no good, same error 

Expected Results:  
# emerge pango 
....... (download ebuild, open, compile, make, install) ..... 
#  

# emerge info 
Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-gentoo) 
================================================================= 
System uname: 2.6.1-gentoo i686 AMD Athlon(tm) XP 2100+ 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X alsa apm arts avi berkdb cdr crypt cups dvd encode foomaticdb 
gdbm gif gpm gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg 
ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime 
readline sdl slang spell ssl svga tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Comment 1 Kyle Dickerson 2004-01-27 16:33:09 UTC
there is also another line:
/usr/bin/env: perl -w: No such file or directory  
3 lines above the one I marked
Comment 2 foser (RETIRED) gentoo-dev 2004-01-29 02:23:24 UTC
search bugzilla, there's other bugs like this iirc . Something todo with glib.
Comment 3 Drakos7 /Greg Wilson/ 2004-02-04 11:00:02 UTC
Perhaps this post will help?

http://forums.gentoo.org/viewtopic.php?t=18784&highlight=perl+such+file

Drakos7
Comment 4 foser (RETIRED) gentoo-dev 2004-02-04 14:24:24 UTC
ok searched for it myself, duping because of no reply & probably not reproducable either.

*** This bug has been marked as a duplicate of 32354 ***
Comment 5 Pierre-Olivier Bouchard 2004-02-04 21:34:30 UTC
This _is_ reproduceable on my friends gentoo install (actually I did most of the install myself, so I'm confident the install is alright - he's a beginner. He did the emerge'ing of the graphical stuff only).

I get this exact error whenever I try to emerge pango. Gentoo was installed from stage1, last friday (Jan 30th); changed to ~x86 and updated the same day. Something weird in another ebuild might be triggering this?

I can provide any needed info tomorrow, when he's up (I don't have root). Emerge info is all we need, I think?
Comment 6 foser (RETIRED) gentoo-dev 2004-02-05 07:26:48 UTC
The error is reproducable of course, but rebuilding glib solves it. The real problem is the wrong perl reference, that part has not been reproducable so far.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-08-19 07:07:29 UTC
*** Bug 189425 has been marked as a duplicate of this bug. ***
Comment 8 gaper 2007-08-19 07:45:58 UTC
Fixed rebuilding glib tnks

att: gaper