Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge xfree fails halfway through..and i don't know why
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
foshdawg
n00b
n00b


Joined: 27 May 2003
Posts: 63

PostPosted: Fri Jun 06, 2003 5:17 pm    Post subject: emerge xfree fails halfway through..and i don't know why Reply with quote

i've been compiling xfree for 3 days now and each time i get to the same spot before the emerge fails. the error i get is this:

Code:

xcursorgen.c:220: `PNG_COLOR_TYPE_GRAY' undeclared (first use in this function)
xcursorgen.c:223: `PNG_INFO_tRNS' undeclared (first use in this function)
xcursorgen.c:232: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use in this function)
xcursorgen.c:235: `PNG_INTERLACE_NONE' undeclared (first use in this function)
xcursorgen.c:239: `PNG_FILLER_AFTER' undeclared (first use in this function)
xcursorgen.c:252: `rows' undeclared (first use in this function)
xcursorgen.c:252: `png_bytep' undeclared (first use in this function)
make[3]: *** [xcursorgen.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r2/work/xc/programs/xcursorgen'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r2/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r2/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r2 failed.
!!! Function src_install, Line 490, Exitcode 2
!!! (no error message)


i also got this exact same error when i was emerging libgd. i've looked through the ebuild files trying to figure out what the problem is but i'm just not finding what i'm looking for.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jun 06, 2003 6:32 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
foshdawg
n00b
n00b


Joined: 27 May 2003
Posts: 63

PostPosted: Sat Jun 07, 2003 5:49 am    Post subject: Reply with quote

btw, i was emerging xfree-4.3.0-r2 and now i'm trying the r3 build (wish it didn't take so long, i get about two builds a day).
Back to top
View user's profile Send private message
foshdawg
n00b
n00b


Joined: 27 May 2003
Posts: 63

PostPosted: Sat Jun 07, 2003 6:04 am    Post subject: Reply with quote

failed again at another point this time:

Code:

rver/hw/xfree86'
making all in programs/Xserver/hw/xnest...
make[4]: Entering directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xs
erver/hw/xnest'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xse
rver/hw/xnest'
making all in programs/Xserver/hw/vfb...
make[4]: Entering directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xs
erver/hw/vfb'
rm -f libvfb.a
ar clq libvfb.a InitInput.o InitOutput.o stubs.o  miinitext.o   dpmsstubs.o
ranlib libvfb.a
make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xse
rver/hw/vfb'
gcc -m32 -o XFree86 -mno-mmx -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prot
otypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-ex
terns -Wundef     -L../../exports/lib   xkb/xf86KillSrv.o xkb/xf86VT.o xkb/xf86P
rivate.o ../../programs/Xserver/hw/xfree86/drivers/drvConf.o ../../programs/Xser
ver/hw/xfree86/input/drvConf.o          ../../programs/Xserver/hw/xfree86/driver
s/libdriver.a ../../programs/Xserver/hw/xfree86/ramdac/libramdac.a ../../program
s/Xserver/hw/xfree86/ddc/libddc.a ../../programs/Xserver/hw/xfree86/i2c/libi2c.a
               ../../programs/Xserver/hw/xfree86/xaa/libxaa.a ../../programs/Xse
rver/hw/xfree86/vgahw/libvgahw.a ../../programs/Xserver/hw/xfree86/fbdevhw/libfb
devhw.a                ../../programs/Xserver/hw/xfree86/xf8_32bpp/libxf8_32bpp.
a             ../../programs/Xserver/hw/xfree86/xf8_16bpp/libxf8_16bpp.a ../../p
rograms/Xserver/hw/xfree86/xf24_32bpp/libxf24_32bpp.a         ../../programs/Xse
rver/hw/xfree86/xf4bpp/libxf4bpp.a ../../programs/Xserver/hw/xfree86/xf1bpp/libx
f1bpp.a ../../programs/Xserver/hw/xfree86/shadowfb/libshadowfb.a afb/libafb.a ..
/../programs/Xserver/hw/xfree86/input/libidriver.a  ../../programs/Xserver/hw/xf
ree86/common/xf86Init.o ../../programs/Xserver/hw/xfree86/common/xf86IniExt.o ..
/../programs/Xserver/hw/xfree86/common/libxf86.a ../../programs/Xserver/hw/xfree
86/rac/librac.a             ../../programs/Xserver/hw/xfree86/parser/libxf86conf
ig.a ../../programs/Xserver/hw/xfree86/vbe/libvbe.a ../../programs/Xserver/hw/xf
ree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/os-support/libin
t10.a            ../../programs/Xserver/hw/xfree86/common/libxf86.a miext/shadow
/libshadow.a dix/libdix.a os/libos.a  ../../exports/lib/libXdmcp.a  fb/libfb.a c
fb16/libcfb16.a                   cfb24/libcfb24.a                cfb32/libcfb32
.a                cfb/libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/lib
ext.a xkb/libxkb.a Xi/libxinput.a                    lbx/liblbx.a
    ../../lib/lbxutil/liblbxutil.a dbe/libdbe.a record/librecord.a
      XTrap/libxtrap.a  GL/glx/libglx.a                GL/mesa/GLcore/libGLcore.
a                GL/dri/libdri.a randr/librandr.a                   render/libre
nder.a ../../programs/Xserver/hw/xfree86/common/libxf86.a mi/libmi.a ../../progr
ams/Xserver/hw/xfree86/scanpci/libscanpci.a ../../programs/Xserver/hw/xfree86/os
-support/libxf86_os.a            ../../programs/Xserver/hw/xfree86/ddc/libddc.a
    ../../lib/font/libXfont.a -L/usr/lib -lfreetype dix/libxpstubs.a -L/usr/lib
-lfreetype -lz -lm                -lpam -lpam_misc -rdynamic -ldl -lXau   -Wl,-r
path-link,../../exports/lib
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text
+0xa2d9): In function `SMI_PutVideo':
: undefined reference to `REGION_EQUAL'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text
+0xad6a): In function `SMI_PutImage':
: undefined reference to `REGION_EQUAL'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(via_drv.o)(.text+0xd58e):
In function `viaPutImageG':
: undefined reference to `REGION_EQUAL'
../../programs/Xserver/hw/xfree86/drivers/libdriver.a(via_drv.o)(.text+0xd812):
In function `viaPutImageG':
: undefined reference to `xf86XVCopyYUV12ToPacked'
collect2: ld returned 1 exit status
make[3]: *** [XFree86] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xse
rver'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r3 failed.
!!! Function src_install, Line 530, Exitcode 2
!!! (no error message)


this is rather annoying since i can only build a few times a day and i can't compile most things without the liveCD.
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Sat Jun 07, 2003 7:38 am    Post subject: Reply with quote

Erratic, non-repeatable emerge crashes are usually hardware problems:

(0) Check your bios settings - things like memory timing issues can make a box unstable.
(1) Check your memory - memtest-86 is a great app for this.
(2) Do not overclock, or even under-clock to see if the system stabilizes
(3) Make sure your box is not overheating.
Back to top
View user's profile Send private message
foshdawg
n00b
n00b


Joined: 27 May 2003
Posts: 63

PostPosted: Sat Jun 07, 2003 7:57 am    Post subject: Reply with quote

the error with the r2 build i can reproduce every time. but this is the first time i've trie dthe r3 build so getting an error was of no surprise. i know my memory is fine, i don't overclock (it's a notebook and an old one at that), and i know my box overheats because well.....all laptops do heh.
Back to top
View user's profile Send private message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Sat Jun 07, 2003 10:06 pm    Post subject: Reply with quote

I got the same error twice on -r3. I filed a bug report - 22372- yesterday.
lodger
Back to top
View user's profile Send private message
seemant
Retired Dev
Retired Dev


Joined: 16 Nov 2002
Posts: 61
Location: Oakland, CA

PostPosted: Sun Jun 08, 2003 7:27 pm    Post subject: possible fix? Reply with quote

mv -f ${PATCH_DIR}/0120* ${PATCH_DIR}/excluded

Look for the above line in the ebuild. It's in an else .. fi block. Can you move that line outside that block and try to emerge please?
Back to top
View user's profile Send private message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Mon Jun 09, 2003 2:25 am    Post subject: Reply with quote

Seemant,
That seemed to work but now I get this --


make[5]: Entering directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/programs/Xserver/hw/xfree86/input'
rm -f libidriver.a
ar clq libidriver.a `cat idriver.list`
ar: mouse/*_drv.o: No such file or directory
make[5]: *** [libidriver.a] Error 1
make[5]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/programs/Xserver/hw/xfree86/input'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/programs/Xserver/hw/xfree86'
make[3]: *** [all.subdirs] Error 2
make[3]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/programs/Xserver'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/programs'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r3 failed.
!!! Function src_install, Line 531, Exitcode 2
!!! (no error message)

This is my fifth emerge attempt at xfree-4.3.0-r3 and it is getting
very,very old.
lodger
Back to top
View user's profile Send private message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Mon Jun 09, 2003 2:43 am    Post subject: Reply with quote

That should be programs -cut and paste problem.
But anyway mouse/*_drv.o is there but emerge didn't find it.
I guess I'll run this for the sixth time .
lodger
porc2 xfree # cat /home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/prograts/Xserver/hw/xfree86/input/idriver.lis
mouse/*_drv.o ^
keyboard/*_drv.o
calcomp/*_drv.o
citron/*_drv.o
digitaledge/*_drv.o
dmc/*_drv.o
dynapro/*_drv.o
elographics/*_drv.o
tek4957/*_drv.o
microtouch/*_drv.o
mutouch/*_drv.o
penmount/*_drv.o
spaceorb/*_drv.o
summa/*_drv.o
wacom/*_drv.o
void/*_drv.o
magellan/*_drv.o
hyperpen/*_drv.o
jamstudio/*_drv.o
fpit/*_drv.o
palmax/*_drv.o
Back to top
View user's profile Send private message
seemant
Retired Dev
Retired Dev


Joined: 16 Nov 2002
Posts: 61
Location: Oakland, CA

PostPosted: Mon Jun 09, 2003 2:52 am    Post subject: lodger wait Reply with quote

Lodger, do me this favour:

grep PATCH_VER /usr/portage/x11-base/xfree-4.3.0-r3.ebuild

The error you got was from a previous patchset, where the "debug" flag caused that. (please do emerge info | grep debug <-- that will show you if you have "debug" in USE).
Back to top
View user's profile Send private message
lodger
n00b
n00b


Joined: 16 Apr 2002
Posts: 53

PostPosted: Mon Jun 09, 2003 10:12 pm    Post subject: Reply with quote

Ok. I used the -debug USE flag and all compile fine at last.
Thanks Seemant
lodger
Back to top
View user's profile Send private message
seemant
Retired Dev
Retired Dev


Joined: 16 Nov 2002
Posts: 61
Location: Oakland, CA

PostPosted: Mon Jun 09, 2003 10:34 pm    Post subject: a pleasure Reply with quote

lodger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum