Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144283 - media-gfx/xpaint-2.9.9.4 ebuild request
Summary: media-gfx/xpaint-2.9.9.4 ebuild request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 2 votes (vote)
Assignee: Julian Ospald
URL: http://sourceforge.net/projects/sf-xp...
Whiteboard:
Keywords:
: 147592 215279 290977 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-18 00:49 UTC by Martin Grosshauser
Modified: 2013-10-20 18:40 UTC (History)
8 users (show)

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


Attachments
new ebuild for xpaint 2.7.8.1 - should resolve some issues (xpaint-2.7.8.1.ebuild,1.44 KB, text/plain)
2006-10-01 06:17 UTC, Michael Lawrence
Details
xpaint (xpaint-2.8.13.ebuild,683 bytes, text/plain)
2010-01-27 18:32 UTC, Chris Chan
Details
media-gfx/xpaint-2.9.8.3.ebuild (xpaint-2.9.8.3.ebuild,3.84 KB, text/plain)
2011-10-25 06:28 UTC, Bob Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Grosshauser 2006-08-18 00:49:46 UTC
when emerging xpaint-2.7.0 it fails with an error. this is the emerge output:

gcc -m32 -o xpaint -O2 -fno-strength-reduce -fno-strict-aliasing      -L/usr/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   
gcc: ./libXaw95.a: No such file or directory
make[1]: *** [xpaint] Error 1
make[1]: Leaving directory `/var/tmp/portage/xpaint-2.7.0/work/xpaint-2.7.0'
make: *** [xaw95static] Error 2

!!! ERROR: media-gfx/xpaint-2.7.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  xpaint-2.7.0.ebuild, line 47:   Called die

=====endofoutput=======

/var/tmp/portage/xpaint-2.7.0/work/xpaint-2.7.0/libXaw95.a is a link to /var/tmp/portage/xpaint-2.7.0/work/xpaint-2.7.0/xaw95-1.1.4/libXaw95.a. This file does not exist.

First I tried to emerge with USE="-xaw3d" which returned the above error. Next I tried to workaround with USE="xaw3d" which did not emerge Xaw3d as a dependency and also returned the error. So I emerged "Xaw3d"  manually and xpaint afterwards,but the error came again.

It seems that this error occurs on more installations, as seen in this gentoo forum thread: http://forums.gentoo.org/viewtopic-t-122135-highlight-xpaint+error.html

this is my emerge --info output:

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-ck1-r2 i686)
=================================================================
System uname: 2.6.17-ck1-r2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-boc
hum.de/gentoo-mirror http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/ge
ntoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file
 --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='
/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm avi berkdb bitmap-fonts cli crypt cups divx4linux dlloader dri dvd e
ds emboss encode exif flac foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk gtk2 imlib isdnlog 
jpeg libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdfli
b perl png pppd python qt3 qt4 quicktime readline reflection sdl session spl sse sse2 ssl tcpd tiff 
truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs xml xmms xorg xv xvid zl
ib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_e
n linguas_de userland_GNU video_cards_r128"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR
_OVERLAY

=====schnipp======
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-18 00:56:08 UTC
Try with 2.7.7, please.
Comment 2 Martin Grosshauser 2006-08-18 01:09:23 UTC
xpaint-2.7.7 both, with or without "Xaw3d" useflag work for me (Xaw3d seems to be a dependency for xpaint now). thanks!
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-14 11:07:47 UTC
*** Bug 147592 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-14 11:08:52 UTC
Lets stabilize something that actually compiles... :)
Comment 5 Len Meakin 2006-09-14 12:46:30 UTC
1) emerge fails (-Xaw3d and Xaw3d)

emerge -av xpaint

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] app-text/rman-3.2  77 kB 
[ebuild  N    ] x11-misc/gccmakedep-1.0.2  USE="-debug" 68 kB 
[ebuild  N    ] x11-misc/xorg-cf-files-1.0.2  USE="-debug" 258 kB 
[ebuild  N    ] x11-misc/imake-1.0.2  USE="-debug" 110 kB 
[ebuild  N    ] media-gfx/xpaint-2.7.7  USE="-Xaw3d" 393 kB 

Total size of downloads: 908 kB

Would you like to merge these packages? [Yes/No] 

 * xpaint-2.7.7.tar.bz2 MD5 ;-) ...                                                                                    [ ok ]
 * xpaint-2.7.7.tar.bz2 size ;-) ...                                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
 * checking xpaint-2.7.7.tar.bz2 ;-) ...                                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking xpaint-2.7.7.tar.bz2 to /var/tmp/portage/xpaint-2.7.7/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7 ...
imake -DUseInstalled -I/usr/lib/X11/config
make Makefiles
making Makefiles in rw...
make[1]: Entering directory `/var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7'
make[1]: Leaving directory `/var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7'
make[1]: Entering directory `/var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7/rw'
make[1]: Nothing to be done for `Makefiles'.
make[1]: Leaving directory `/var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7/rw'
making Makefiles in bitmaps...
make[1]: Entering directory `/var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7'
In file included from /usr/lib/X11/config/Imake.tmpl:2194,
                 from Imakefile.c:35:
./Imakefile:2: error: unterminated comment
imake: Exit code 1.
  Stop.

...

Converting XPaint.ad.in -> out/XPaint
Converting XPaint_fr.ad.in -> out/XPaint_fr
Converting XPaint_es.ad.in -> out/XPaint_es
cp -p app-defaults/out/XPaint XPaint.ad
./substads -ad2c XPaint.ad XPaint.ad.h
./substads -ad2c DefaultRC DefaultRC.txt.h
gcc -m32 preproc.c -o preproc
./preproc > messages.h
cd bitmaps; rm -f tools;        if test "" != "" ;      then ln -s big_tools tools ; else ln -s small_tools tools ; fi
make depend
gccmakedep -I./bitmaps --   -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                              -D_POSIX_SOURCE -D_XOPEN_SOURCE                              -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                                -DFUNCPROTO=15 -DNARROWPROTO    -DERRORBEEP -DFEATURE_FRACTAL  -DXAW3D -DXAW3DG -I/usr/X11R6/include/X11           "-DEDITOR=\"emacs -fn 9x15 -cr green -ms red -bg lightyellow -fg black\""           "-DSHAREDIR=\"/usr/share/xpaint\""           "-DXAPPLOADDIR=\"/usr/lib/X11/app-defaults\""      "-DXPAINT_VERSION=\"2.7.7\"" "-DLPCCMD=\"/usr/sbin/lpc status\"" -DERRORBEEP -DFEATURE_FRACTAL   -- chroma.c color.c colorEdit.c dialog.c fatBitsEdit.c    fileName.c fontSelect.c grab.c graphic.c hash.c help.c  image.c imageComp.c iprocess.c main.c menu.c misc.c  operation.c palette.c pattern.c print.c protocol.c readRC.c size.c      snapshot.c text.c texture.c typeConvert.c arcOp.c freehandOp.c boxOp.c brushOp.c circleOp.c fillOp.c         fontOp.c lineOp.c pencilOp.c polygonOp.c splineOp.c selectOp.c       sprayOp.c dynPenOp.c Colormap.c Paint.c PaintEvent.c PaintRegion.c PaintUndo.c
chroma.c:23:29: error: xaw_incdir/Form.h: No such file or directory
chroma.c:24:34: error: xaw_incdir/AsciiText.h: No such file or directory
chroma.c:25:31: error: xaw_incdir/Toggle.h: No such file or directory
chroma.c:29:34: error: xaw_incdir/Scrollbar.h: No such file or directory
chroma.c:30:32: error: xaw_incdir/Command.h: No such file or directory
color.c:24:29: error: xaw_incdir/Form.h: No such file or directory
color.c:25:30: error: xaw_incdir/Label.h: No such file or directory
color.c:31:34: error: xaw_incdir/Scrollbar.h: No such file or directory
color.c:32:34: error: xaw_incdir/AsciiText.h: No such file or directory
color.c:33:32: error: xaw_incdir/Command.h: No such file or directory
color.c:34:29: error: xaw_incdir/Text.h: No such file or directory
colorEdit.c:22:29: error: xaw_incdir/Form.h: No such file or directory
colorEdit.c:23:32: error: xaw_incdir/Command.h: No such file or directory
...
gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L  -D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                                                -DFUNCPROTO=15 -DNARROWPROTO    -DERRORBEEP -DFEATURE_FRACTAL  -DXAWPLAIN -I/usr/X11R6/include/X11           "-DEDITOR=\"emacs -fn 9x15 -cr green -ms red -bg lightyellow -fg black\""           "-DSHAREDIR=\"/usr/share/xpaint\""           "-DXAPPLOADDIR=\"/usr/lib/X11/app-defaults\""    "-DXPAINT_VERSION=\"2.7.7\"" "-DLPCCMD=\"/usr/sbin/lpc status\"" -DERRORBEEP -DFEATURE_FRACTAL    -c -o graphic.o graphic.c
graphic.c:35:17: error: xpm.h: No such file or directory
graphic.c: In function 'setPalettePixmap':
graphic.c:1150: error: 'XpmAttributes' undeclared (first use in this function)
graphic.c:1150: error: (Each undeclared identifier is reported only once
graphic.c:1150: error: for each function it appears in.)
graphic.c:1150: error: expected ';' before 'attributes'
graphic.c:1182: error: 'attributes' undeclared (first use in this function)
graphic.c:1182: error: 'XpmCloseness' undeclared (first use in this function)
make[1]: *** [graphic.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7'
make: *** [xaw] Error 2

!!! ERROR: media-gfx/xpaint-2.7.7 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xpaint-2.7.7.ebuild, line 44:   Called die

!!! (no error message)

-------

libXaw is installed:

*  x11-libs/libXaw
      Latest version available: 1.0.2
      Latest version installed: 1.0.2
      Size of files: 511 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org Xaw library
      License:       libXaw
Comment 6 Len Meakin 2006-09-14 12:55:51 UTC
apologies missing for previous comment:

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) D CPU 2.80GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 13 Sep 2006 17:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa berkdb bitmap-fonts cli crypt cups dlloader dri dvd elibc_glibc fortran gdbm gnome gpm gtk h264 input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ linguas_en_GB ncurses nls nptl nptlonly pam pcre perl png ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nvidia xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2006-09-15 00:33:32 UTC
1) is it intentionally having these messages?
[...]
chroma.c:23:29: error: xaw_incdir/Form.h: No such file or directory
chroma.c:24:34: error: xaw_incdir/AsciiText.h: No such file or directory
chroma.c:25:31: error: xaw_incdir/Toggle.h: No such file or directory
chroma.c:29:34: error: xaw_incdir/Scrollbar.h: No such file or directory
chroma.c:30:32: error: xaw_incdir/Command.h: No such file or directory
color.c:24:29: error: xaw_incdir/Form.h: No such file or directory
[...]

2) passes collision test
3) works (with USE="Xaw3d" enabled and disabled)
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
Last Sync: Fri, 15 Sep 2006 05:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 alsa arts artworkextra asf audiofile bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes jpeg jpeg2k kernel_linux ldap leim libg++ linguas_de lm_sensors mad maildir matroska mbox mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Matthias Langer 2006-09-15 03:35:09 UTC
appart from

...
...
In file included from /usr/lib/X11/config/Imake.tmpl:2194,
                 from Imakefile.c:35:
./Imakefile:2: error: unterminated comment
imake: Exit code 1.
  Stop.
make[1]: *** [bitmaps/Makefile] Error 1
make[1]: Leaving directory `/var/tmp/portage/xpaint-2.7.7/work/xpaint-2.7.7'
make: [Makefiles] Error 2 (ignored)
...
...

and

...
...
color.c:24:29: error: xaw_incdir/Form.h: No such file or directory
color.c:25:30: error: xaw_incdir/Label.h: No such file or directory
color.c:31:34: error: xaw_incdir/Scrollbar.h: No such file or directory
...
...

xpaint-2.7.7  USE="-Xaw3d" fails with "collision-protect" here:
existing file /usr/lib/X11/app-defaults is not owned by this package

# equery belongs /usr/lib/X11/app-defaults
[ Searching for file(s) /usr/lib/X11/app-defaults in *... ]
sys-apps/groff-1.19.1-r2 (/usr/lib/X11/app-defaults -> ../../../etc/X11/app-defaults)
Comment 9 Matthias Langer 2006-09-15 03:58:35 UTC
the collision-protect problem can be solved by upgrading to groff-1.19.2-r1, that is stable on almost all arches. 

xpaint-2.7.7  USE="-Xaw3d" seems to work for me on x86; however, considering the problems with the makefiles, the fact that the ebuild doesn't have a maintaner,  that the last upstream release was done 2002 and there are other programs in portage providing the same, or a supset of xpaint's functionality, i'm woundering if it wouldn't be better to package.mask and remove this ebuild from the tree.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 04:20:15 UTC
Can someone try this patch from Bug 41035?

http://bugs.gentoo.org/attachment.cgi?id=64697&action=view
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2006-09-15 04:38:05 UTC
Patch has no effect.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-09-15 04:39:50 UTC
Removing arches, sending to treecleaners. This thing is broken and missing maintainer, please wipe it.
Comment 13 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-09-18 21:43:49 UTC
Pending Removal Oct 16th
Comment 14 Ryan 2006-09-25 09:40:11 UTC
Just FYI

The latest package is acutally 2.7.8.1 released in August of 2005, 2.7.7 was update in May of 2005.

I just changed the ebuild name for 2.7.7 to 2.7.8.1 and it worked fine, both version would compile with -Xaw3d and 2.7.8.1 compiles with Xaw3d.

If I can help out let me know.
Comment 15 Michael Lawrence 2006-09-30 17:48:45 UTC
There really isn't anything in portage that is like xpaint. Just because it hasn't been updated in a while does not mean that it is not maintained. It's just been around forever and is feature complete. If I could help in some way in keeping this in portage, please let me know.

And btw the comment in the masking about it not building with gcc4 seems to be wrong. 2.7.7 compiles fine for me with gcc 4.1.1.
Comment 16 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-09-30 20:05:53 UTC
(In reply to comment #15)
> There really isn't anything in portage that is like xpaint. Just because it
> hasn't been updated in a while does not mean that it is not maintained. 

You misunderstand; "not maintained" means within Gentoo.  It hasnt' been bumped; doesn't have proper deps, there is no developer looking after it.

> If I could help in some way in keeping this in portage, please let me know.

This bug needs fixing for one.

> And btw the comment in the masking about it not building with gcc4 seems to be
> wrong. 2.7.7 compiles fine for me with gcc 4.1.1.
> 

It fails here (for what I'd gathed to be libXaw related).
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 23:15:34 UTC
(In reply to comment #15)
> And btw the comment in the masking about it not building with gcc4 seems to be
> wrong. 2.7.7 compiles fine for me with gcc 4.1.1.

As you can see above, it doesn't compile for lots of people, and there's no working patch. There's noone maintaining this either. Leaving something that doesn't even compile in the tree doesn't make much sense, sorry.


Comment 18 Michael Lawrence 2006-10-01 06:17:22 UTC
Created attachment 98517 [details]
new ebuild for xpaint 2.7.8.1 - should resolve some issues

This is an ebuild for xpaint 2.7.8.1. It fixes the makefile and dependency problems, as well as adding USE flags for jpeg, tiff, png, debug, and doc. Xaw3d actually works now too. Hope this helps.
Comment 19 Michael Lawrence 2006-10-06 04:24:35 UTC
Has anyone tried the ebuild? I'd volunteer to maintain it, if necessary.
Comment 20 Martin Grosshauser 2006-10-06 05:12:42 UTC
xpaint-2.7.8.1.ebuild from Michael works fine for me, with all image USE flags enabled and both with and w/o Xaw3d.

I would be very pleased if Michael's offer to maintain this ebuild (thanks MIchael) would be accepted, because I agree with him when he says there's nothing in portage like xpaint (xpaint is a simple paint program, and if another app offers a SUPERSET of functionality, it does not mean it offers the SAME functionality).

Also we learned that xpaint is not dead upstream, so I hope we can still see it in future portage.

beatnight martin # emerge --info
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-ck1-r2 i686)
=================================================================
System uname: 2.6.17-ck1-r2 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.5
Last Sync: Mon, 25 Sep 2006 11:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-b
hum.de/gentoo-mirror http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/
ntoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-fi
 --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude
/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/myEbuilds"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X aac alsa berkdb bitmap-fonts cairo cddb cdr cli crypt cups dbus divx4linux dlloader dri
vd eds elibc_glibc emboss encode exif fam firefox flac fortran gdbm gif gphoto2 gpm gstreamer gtk 
k2 hal imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_li
x libg++ linguas_de linguas_en mad mikmod mmx mmx2 mp3 mpeg ncurses nls nptl nptlonly ogg opengl o
 pam pcre perl png ppds pppd python quicktime readline reflection sdl session spl sqlite sse sse2 
l tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_
28 vorbis win32codecs xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 21 Michael Lawrence 2006-10-19 19:34:41 UTC
Well I see that this package was removed, despite my best efforts. Oh well, to the overlay...
Comment 22 Ryan 2006-10-20 07:01:20 UTC
Michael, just keep putting updates to this bug report as you find them.  It will still benefit the comunity.  You could also check out the gentoo sunrise overlay, they are maintaining the packages that the gentoo's devs won't
Comment 23 Doug Goldstein (RETIRED) gentoo-dev 2006-10-25 12:22:58 UTC
Removed.
Comment 24 Jakub Moc (RETIRED) gentoo-dev 2008-03-29 02:25:31 UTC
*** Bug 215279 has been marked as a duplicate of this bug. ***
Comment 25 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-10-29 11:18:28 UTC
I'm reopening the bug for a user.

As can be seen on http://sourceforge.net/projects/sf-xpaint/files/ , upstream didn't release any files between 2005 and 2009. There's a new release now, so let's see if anyone cares about this app.
Comment 26 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-10-29 11:18:34 UTC
*** Bug 290977 has been marked as a duplicate of this bug. ***
Comment 27 Chris Chan 2010-01-27 18:32:31 UTC
Created attachment 217632 [details]
xpaint

Xpaint have released numerous releases since 2010's start. This is an ebuild for xpaint version 2.8.13, the latest was 2.8.13.1 as of me writing this. I wasn't able to get it to compile with Xaw3D, so I will be working on that, and once working will add USE flags for tiff, jpg, png, man-page and xaw3d. I volunteer to be a maintainer for this package. Can we please get it in the portage tree?
Comment 28 Steve Herber 2010-03-19 07:50:18 UTC
I renamed the ebuild to xpaint-2.8.18.ebuild, downloaded the source
from http://de.sourceforge.jp/projects/sfnet_sf-xpaint/, added an
entry in my amd64 /etc/portage/package.keywords file, and built xpaint.
It installed and ran fine.  I hope it makes it back into the the primary
portage system or one of the good overlays.  Thanks.
Comment 29 Bob Johnson 2011-10-25 06:28:11 UTC
Created attachment 290759 [details]
media-gfx/xpaint-2.9.8.3.ebuild

Well, libpng1.5 killed my old 2.7 xpaint, so I decided to see if I could resurrect it. Looking around, I noticed that it seems to be back under semi-active development on sourceforge as sf-xpaint, and the current version is 2.9.8.3. I put together the attached ebuild, which so far works fine on my x86 system. I haven't tried it on any other architecture; add to the keyword list if you get it to run on something else.

What became obvious as I worked on it is that the good ol' xpaint build system that the developers loved to hate is still alive and kicking in the new version. I tried my best to get CFLAGS and LDFLAGS recognized, and moved the more esoteric executables off the system path to a safer location in the share directory. I believe I caught all the dependencies and hardcoded variables, but it's hard to be sure in this cruft. See the comments in the ebuild for more detail.
Comment 30 silenthunter.vanguard 2013-10-05 17:54:01 UTC
Is there any hope at all this will ever be resolved? I miss xpaint.
Comment 31 Markos Chandras (RETIRED) gentoo-dev 2013-10-05 18:02:00 UTC
Please do not CC arch teams on your own
Comment 32 silenthunter.vanguard 2013-10-06 17:16:01 UTC
Sorry about that. I've never used a page like this before and I didn't know what I was doing. I attempted to remove it myself but I couldn't figure out how.
Comment 33 Julian Ospald 2013-10-06 19:34:51 UTC
+*xpaint-2.9.9.4 (06 Oct 2013)
+
+  06 Oct 2013; Julian Ospald <hasufell@gentoo.org> +xpaint-2.9.9.4.ebuild,
+  +files/xpaint-2.9.9.4-QA1.patch, +files/xpaint-2.9.9.4-QA2.patch,
+  +files/xpaint-2.9.9.4-autoreconf.patch,
+  +files/xpaint-2.9.9.4-parallel-make.patch,
+  +files/xpaint-2.9.9.4-submake.patch, +metadata.xml:
+  initial import wrt #144283
Comment 34 Julian Ospald 2013-10-06 19:44:13 UTC
woaaaah, awesome paint
Comment 35 silenthunter.vanguard 2013-10-06 20:09:39 UTC
Oh yay, it works now? How do I get it? emerge --sync didn't seem to add it in, so I guess it's not quite in the repo yet. Is there and ebuild?
Comment 36 Julian Ospald 2013-10-06 20:16:52 UTC
(In reply to silenthunter.vanguard from comment #35)
> Oh yay, it works now? How do I get it? emerge --sync didn't seem to add it
> in, so I guess it's not quite in the repo yet. Is there and ebuild?

you might have to wait half an hour or so, yes... you can play something in the meantime, check games-misc/katawa-shoujo (pretty girls) :D
Comment 37 Julian Ospald 2013-10-20 18:28:41 UTC
@silenthunter.vanguard@gmail.com ...how stable is it?
Comment 38 silenthunter.vanguard 2013-10-20 18:39:50 UTC
Oh very! I haven't used it a WHOLE lot, but I haven't had onwe single problem and it works just as well as it does on my OpenPandora, and as well as it did when I used to use Fedora, and those were very stable. This is actually one of the few programs I've never had a problem with in my entire experience with it.

Thanks for fixing it!
Comment 39 silenthunter.vanguard 2013-10-20 18:40:33 UTC
If anything happens while I'm using it, I'll certainly let you know.