Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xpaint-2.6.9 fails to compile
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
neetocin
n00b
n00b


Joined: 19 Jan 2003
Posts: 4

PostPosted: Thu Aug 07, 2003 1:14 pm    Post subject: xpaint-2.6.9 fails to compile Reply with quote

Well, I was routinely updating my system when I noticed that xpaint would not compile and failed during the linking process compailing something about 'errno'. Here's the dump:

Code:

gcc -m32 -o xpaint -O2 -fno-strength-reduce -fno-strict-aliasing      -L/usr/X11R6/lib   chroma.o color.o colorEdit.o dialog.o fatBitsEdit.o  fileName.o fontSelect.o grab.o graphic.o hash.o help.o   image.o imageComp.o iprocess.o main.o menu.o misc.o     operation.o palette.o pattern.o print.o protocol.o readRC.o size.o     snapshot.o text.o texture.o typeConvert.o arcOp.o blobOp.o boxOp.o brushOp.o circleOp.o fillOp.o      fontOp.o lineOp.o pencilOp.o polyOp.o splineOp.o selectOp.o      sprayOp.o dynPenOp.o Colormap.o Paint.o PaintEvent.o PaintRegion.o PaintUndo.o -Lrw -lrw -L/usr/X11R6/lib -lXpm -ltiff  -ljpeg -lpng -lz -ldl -rdynamic   ./libXaw95.a -lm -lX11 -lXt -lXmu
print.o(.text+0x15f9): In function `createPrintData':
: the use of `tmpnam' is dangerous, better use `mkstemp'
rw/librw.a(libpnmrw.o)(.text+0x173): In function `pm_perror':
: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead
readRC.o(.text+0x4b): In function `openTemp':
: the use of `mktemp' is dangerous, better use `mkstemp'
rw/librw.a(writeGIF.o)(.text+0xf): In function `WriteGIF':
: undefined reference to `errno'
rw/librw.a(writeGIF.o)(.text+0x150): In function `WriteGIF':
: undefined reference to `errno'
rw/librw.a(libpnmrw.o)(.text+0x16a): In function `pm_perror':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[1]: *** [xpaint] Error 1
make[1]: Leaving directory `/var/tmp/portage/xpaint-2.6.9/work/xpaint-2.6.9'
make: *** [xaw95static] Error 2

!!! ERROR: media-gfx/xpaint-2.6.9 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)


Here are my USE flags:
Code:

acpi cscope curl dga dnd gtk2 i8x0 imap maildir md5sum pic sse -oss -3dnow -apm -arts -java -kde -gnome -nls -opengl -qt -quicktime -xml2 -gdbm -berkdb -svga


Does anyone have a solution?

P.S. Does anyone get a massive new emerge -pDuv list about emerging xemacs when they have never installed it?
_________________
I am not responsible for any commands I issue. Do them at your own risk :)
Back to top
View user's profile Send private message
Brandy
Bodhisattva
Bodhisattva


Joined: 08 Jun 2003
Posts: 820
Location: New Zealand

PostPosted: Thu Aug 07, 2003 1:43 pm    Post subject: Reply with quote

Hi neetocin.

This bug has been reported on bugs.gentoo.org:

Bug 25084 - xpaint ebuild fails with errno problem
Bug 25469 - Errors building media-gfx/xpaint-2.6.9

It looks like emerging xpaint-2.7.0 is a quick work-around.

Ciao, Brandy.
_________________
Faber est suae quisque fortunae.
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