Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200740 - [fPIC] media-gfx/tuxpaint-0.9.18 doesn't compile
Summary: [fPIC] media-gfx/tuxpaint-0.9.18 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-29 12:42 UTC by Pacho Ramos
Modified: 2008-09-18 20:00 UTC (History)
8 users (show)

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


Attachments
put this file in the "files" subdirectory of the tuxpaint tree (tuxpaint-fpic.patch,857 bytes, text/plain)
2007-12-22 10:36 UTC, Didier Link
Details
the patch to the ebuild (tuxpaint-0.9.18.ebuild.patch,445 bytes, patch)
2007-12-22 10:37 UTC, Didier Link
Details | Diff
corrected fpic.patch (tuxpaint-fpic.patch,1.10 KB, patch)
2008-01-21 00:55 UTC, Artemii
Details | Diff
tuxpaint-0.9.19-gentoo.patch (tuxpaint-0.9.19-gentoo.patch,47.81 KB, patch)
2008-03-16 15:25 UTC, Denis Dupeyron (RETIRED)
Details | Diff
tuxpaint-0.9.19.ebuild.patch (tuxpaint-0.9.19.ebuild.patch,767 bytes, patch)
2008-03-16 17:29 UTC, Denis Dupeyron (RETIRED)
Details | Diff
tuxpaint-0.9.19-gentoo.patch (tuxpaint-0.9.19-gentoo.patch,6.81 KB, patch)
2008-03-16 17:32 UTC, Denis Dupeyron (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2007-11-29 12:42:10 UTC
I get the following error:
...Compiling IM support...
src/im.c: In function 'charmap_add':
src/im.c:486: warning: cast from pointer to integer of different size

...Compiling cursor support...

...Compiling pixel functions...

...Compiling RGB to Linear functions...

...Compiling sound playback functions...
src/sounds.h:80: warning: 'sound_fnames' defined but not used

...Compiling font support...

...Compiling progress bar functions...

...Compiling directory-walking support...

...Compiling filename support...

...Compiling PostScript print support...

...Linking Tux Paint...
make[1]: se ingresa al directorio
`/var/tmp/portage/media-gfx/tuxpaint-0.9.18/work/tuxpaint-0.9.18/magic'
Building Negative magic tool
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld:
/var/tmp/portage/media-gfx/tuxpaint-0.9.18/temp/ccKQwjNl.o: relocation
/R_X86_64_32 against `a local symbol' can not be used when making a shared
/object; recompile with -fPIC
/var/tmp/portage/media-gfx/tuxpaint-0.9.18/temp/ccKQwjNl.o: could not read
/symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [negative.so] Error 1
make[1]: se sale del directorio
`/var/tmp/portage/media-gfx/tuxpaint-0.9.18/work/tuxpaint-0.9.18/magic'
make: *** [magic-plugins] Error 2
 *
 * ERROR: media-gfx/tuxpaint-0.9.18 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_compile
 *                ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *                ebuild.sh, line   44:  Called src_compile
 *   tuxpaint-0.9.18.ebuild, line   45:  Called die
 * The specific snippet of code:
 *      make ${myopts} || die "Compilation failed"
 *  The die message:
 *   Compilation failed
 *
 * If you need support, post the topmost build error, and the call stack if
 relevant.
 * A complete build log is located at
 '/var/tmp/portage/media-gfx/tuxpaint-0.9.18/temp/build.log'.
 *

My emerge --info:


Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Thu, 29 Nov 2007 12:00:06 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/musicbrainz /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 asf audiofile avahi bash-completion beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cpdflib cpudetection cracklib cross crypt cups curl daap dbus dga divx4linux djvu dlloader dri dts dvb dvd dvdr dvdread eds encode erandom escreen evo evolution exif fam fbcon ffmpeg flac foomaticdb fortran ftp galago gb gcj gd ggi gif gimp gimpprint glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp iconv idn imagemagick imlib isdnlog ithreads jabber java jpeg kde kdeenablefinal kdehiddenvisibility keyring latex lcms libnotify lm_sensors logrotate mad madwifi midi mikmod mime mmx mmxext mng mono motif mp3 mpeg mpi mplayer mudflap musepack musicbrainz nas nautilus ncurses nethack network networkmanager nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl openmp pam pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection remote rtc scanner sdl seamonkey session slang slp sockets spell spl sse sse2 sse3 ssl startup-notification svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xattr xcomposite xine xml xml2 xorg xpm xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Leszek Salamacha 2007-11-29 14:17:04 UTC
Exactly the same error message.

emerge --info
Portage 2.1.4_rc4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-kamikaze5 x86_64)
=================================================================
System uname: 2.6.23-kamikaze5 x86_64 Intel(R) Pentium(R) D CPU 2.66GHz
Timestamp of tree: Thu, 29 Nov 2007 11:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/portage/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.icis.pcz.pl/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
MAKEOPTS="-j3 -s"
PKGDIR="/portage/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/portage/var/tmp"
PORTDIR="/portage/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility acl acpi adns aiglx alsa amd64 amr ansi ao apache2 arts artworkextra asf atm audacious audiofile audit authdaemond avahi bash-completion bdf berkdb bitmap-fonts bl bluetooth boundschecking branding browserplugin bzip2 bzlib cairo caps cddb cdf cdinstall cdparanoia cdr cern chardet chroot clearpasswd cli clisp cracklib crypt cscope css cups curl custreloc d daap dbtool dbus device-mapper dga dhcp dia directfb divx4linux djvu dlloader dlopen dmx double-precision dpms dri dts dv dvb dvd dvdr dvdread dvi dynagraph ecc edl eds elf emboss emerald encode erandom esd evo exif expat fam fame fbcon ffmpeg fftw firefox fits flac flash fltk font-server fontconfig foomaticdb fortran fpx ftp fuse gcj gd gdbm geoip ggi gif gimp glib glitz glut gmp gnokii gnome gnome-print gnutls gphoto2 gpm graphviz gs gstreamer gtk gtkhtml guile hal hddtemp hou howl hpn http ical iconv ide idea idn ieee1394 imagemagick imlib inetd insecure-drivers insecure-savers ipalias irda irmc isdnlog ithreads jack jack-tmpfs java javascript jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kig-scripting ladspa lame lapack latex lcms libcaca libsamplerate lirc live livecd lm_sensors logitech-mouse logrotate lua lzo mad maildir math matroska mbox md5sum midi mikmod mjpeg mmap mmx mmxext mng modplug mono motif mozilla moznomail mozsvg mozxmlterm mp2 mp3 mpeg mplayer mtp mudflap multicall musepack musicbrainz mysql mythtv nas nautilus ncurses neXt netboot netcdf nethack network network-cron newspr njb nls nntp nobsh nologin nptl nptlonly nsplugin ntfs nvidia obex objc ocaml odbc offensive ogdi ogg on-the-fly-crypt openal openexr opengl openmp oss pam pam_chroot pam_timestamp pango parse-clocks pch pcre pcsc-lite pda pdf perl perlsuid pg-intdatetime php physfs plotutils png pnm portaudio postgres postscript povray ppds pppd pulseaudio pwdb python qmail qt3 qt3support qt4 quicktime quotas radio rar raw rdesktop readline recode reflection reiserfs remote rpm rrdtool rtc ruby samba savedconfig sblive scanner sdk sdl sensord server session sid slang slp smp sms smux sndfile snmp sou spamassassin speex spell spl sqlite srp srt sse sse2 ssl static-modules stencil-buffer stlport streamzap subject-rewrite subversion svg sysfs syslog szip t1lib tcl tcltk tcpd tetex tga theora threads tidy tiff timidity tivo tk toolbar transcode truetype truetype-fonts type1-fonts ucs2 unicode urandom usb userlocales utempter utils v4l v4l2 valias vcd vdr vhosts vim-syntax vim-with-x visualization vorbis wifi wma wmf wxwindows x264 xanim xattr xcb xcomposite xext xforms xine xinerama xml xml2 xorg xosd xpm xprint xscreensaver xv xvid xvmc yv12 zlib zvbi" ALSA_CARDS="emu10k1 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="adc65 agfa-cl20 aox barbie canon clicksmart310 digigr8 digita dimera directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak konica largan lg_gsm mars minolta mustek panasonic pccam300 pccam600 polaroid ptp2 ricoh samsung sierra sipix smal sonix sonydscf1 sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba toshiba agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" LIRC_DEVICES="creative devinput inputlirc userspace" USERLAND="GNU" VIDEO_CARDS="nvidia apm fbdev nv v4l vesa vga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Anthony Mutiso 2007-11-29 14:59:46 UTC
Same here:

emerge --info

Portage 2.1.4_rc4 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Thu, 29 Nov 2007 09:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r4, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ALSA_CARDS="ca0106"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoin
dex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite se
tenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O2 -march=athlon64 -pipe -fpeel-loops -ftracer -fomit-frame-pointer"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/env.d /etc/env.d/java/ /etc/eselect /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5
/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d /usr/share/X11 /usr/share/texmf/dvips"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=athlon64 -pipe -fpeel-loops -ftracer -fomit-frame-pointer"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--alphabetical --verbose"
EMERGE_WARNING_DELAY="10"
ENSCRIPT="-Dduplex:false -G -h -q -r -2"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7-r2/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/ h
ttp://mirror.datapipe.net/gentoo ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca/"
GREP_COLOR="1;37;41"
GREP_OPTIONS="--color=auto"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.2/in
fo:/usr/share/info/emacs-21"
INPUTRC="/etc/inputrc"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="en_US.utf8"
LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
LESS="-RMiWw --shift 5"
LESSCHARSET="utf-8"
LESSOPEN="|lesspipe.sh %s"
LESS_TERMCAP_mb=""
LESS_TERMCAP_md=""
LESS_TERMCAP_me=""
LESS_TERMCAP_se=""
LESS_TERMCAP_so=""
LESS_TERMCAP_ue=""
LESS_TERMCAP_us=""
LIBDIR_amd64="lib64"
LIBDIR_x86="lib32"
LINGUAS="en"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j3 -w"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.2/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NOCOLOR="true"
OLDPWD="/home/sys/tmp"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage - ${HOST}] ebuild log for ${PACKAGE}"
PORTAGE_ELOG_MAILURI="root@koti"
PORTAGE_ELOG_SYSTEM="save mail_summary"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
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 --filter=H_**/files/digest-*"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/gstreamer-0.8:/usr/lib64/klibc /usr/lib/gstreamer-0.8:/usr/lib64/klibc"
PS1="\[\033]0;\h: \w\007\033[32m\]\[\033[01;31m\]\h\[\033[0m\]:\[\033[35m\]\W\[\033[0m\]\$ "
PWD="/home/sys/tmp/dbp-1.1.7"
PYTHONDOCS="/usr/share/doc/python-docs-2.5.1/html/lib"
PYTHONPATH="/usr/lib64/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -t 5 --passive-ftp ${URI} -O ${DISTDIR}/${FILE}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.2:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="screen"
TIMEFORMAT="real: %3lR, user: %3lU, sys: %3lS, cpu: %P%%"
TMAKEPATH="/usr/lib/tmake/linux-g++"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 apache2 arts avi bash-completion berkdb bitmap-fonts bonobo breakme bzip2 cairo calendar caps cddb cdr cli cracklib crypt cups curl dba dbm dbus dga directfb doc dri dvd dvdr dvdread eds emacs emboss encode esd evo exif fam fbcon firefox flac flash fortran freetds gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp iconv imagemagick imap imlib ipv6 isdnlog java jikes jpeg junit kde kerberos keyring lcms ldap leim libg++ libgda libwww logrotate mad maildir mbox mcal midi mikmod mime mmx mmxext mono mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin objc odbc ogg oggvorbis opengl openmp oss pam pcre pdf pdflib perl png postgres ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection ruby samba sdl seamonkey session shared sharedmem slp sockets spell spl sse sse2 ssl svg tcl tcltk tcpd theora tiff tk truetype truetype-fonts type1-fonts unicode usb vhosts vorbis xml xml2 xorg xv zlib" ALSA_CARDS="ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev nv nvidia"
VMHANDLE="blackdown-jdk-1.4.2"
XARGS="xargs -r"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge"
Comment 3 Billy DeVincentis 2007-12-10 15:05:35 UTC
Same Here, needed it for upgrade of gcompris but exact same failure. I masked it and emerged the next lower version.
Comment 4 Didier Link 2007-12-22 10:35:30 UTC
Since weeks this ebuild fail on emerge, I have done the necessary patches. A patch for the Makefiles and for the ebuild follow to solve this issue. Please try it and merge in the portage tree if it solve the issue.
Comment 5 Didier Link 2007-12-22 10:36:54 UTC
Created attachment 139084 [details]
put this file in the "files" subdirectory of the tuxpaint tree
Comment 6 Didier Link 2007-12-22 10:37:29 UTC
Created attachment 139085 [details, diff]
the patch to the ebuild
Comment 7 Artemii 2008-01-21 00:55:46 UTC
Created attachment 141422 [details, diff]
corrected fpic.patch

I corrected tuxpaint-fpic.patch (regenerated with `diff -NurdpB tuxpaint-0.9.18 tuxpaint-0.9.18-patched`)
Comment 8 Pacho Ramos gentoo-dev 2008-01-21 12:55:58 UTC
Maybe only modifying magic/Makefile for appending -fPIC would be enough. Have you tried? (sorry but I don't have any time now :'( )

Thanks
Comment 9 Artemii 2008-01-22 20:42:47 UTC
>Maybe only modifying magic/Makefile for appending -fPIC would be enough.

Yes. It is enough. 
Comment 10 Pacho Ramos gentoo-dev 2008-01-23 18:32:26 UTC
Well :-), maybe it would be better, at least, I have understood that from:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3

(but it would be possible that I misunderstood this doc :-/)
Comment 11 Artemii 2008-01-25 22:39:58 UTC
citation from INSTALL.txt 

"Note: Currently, Tux Paint does not use autoconf/automake, so there is no "./configure" script to run.  (Sorry!)"

tuxpaint have only static Makefiles. The only way to solve this bug - patch the Makefile in ./magic, because only magic plugins are shared libraries (Case 3 from "HOWTO fix -fPIC errors").
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2008-01-26 10:11:45 UTC
(In reply to comment #11)
> citation from INSTALL.txt 
> 
> "Note: Currently, Tux Paint does not use autoconf/automake, so there is no
> "./configure" script to run.  (Sorry!)"
> 
> tuxpaint have only static Makefiles. The only way to solve this bug - patch the
> Makefile in ./magic, because only magic plugins are shared libraries (Case 3
> from "HOWTO fix -fPIC errors").

Correct.

Comment 13 Jon Hood 2008-02-06 12:53:56 UTC
I also had trouble, but this package still fails for me with the above patch due to the multilib-strict feature. Please add a patch that changes MAGIC_PREFIX in the main Makefile to use the right library directory on 64-bit architectures. Currently, this package fails multilib-strict.
Comment 14 Denis Dupeyron (RETIRED) gentoo-dev 2008-03-16 15:25:50 UTC
Created attachment 146315 [details, diff]
tuxpaint-0.9.19-gentoo.patch

tuxpaint-0.9.19 fixes this at least for me. The ebuild doesn't need any change but the Makefile patch needs to be adapted to the new release (attached).

Denis.
Comment 15 Denis Dupeyron (RETIRED) gentoo-dev 2008-03-16 15:37:33 UTC
(In reply to comment #14)
> Created an attachment (id=146315) [edit]
> tuxpaint-0.9.19-gentoo.patch
> 
> tuxpaint-0.9.19 fixes this at least for me. The ebuild doesn't need any change
> but the Makefile patch needs to be adapted to the new release (attached).
> 
> Denis.

I just saw that I removed the .rej files but not the .orig files after the patch failed. Sorry for the bugspam. I may send a new patch with a fix for comment #13 later today.

Denis.
Comment 16 Denis Dupeyron (RETIRED) gentoo-dev 2008-03-16 17:29:21 UTC
Created attachment 146324 [details, diff]
tuxpaint-0.9.19.ebuild.patch

Patch for tuxpaint-0.9.19.ebuild (against tuxpaint-0.9.18.ebuild) that should make it multilib-strict compliant. It needs the Makefile patch below.

Denis.
Comment 17 Denis Dupeyron (RETIRED) gentoo-dev 2008-03-16 17:32:22 UTC
Created attachment 146326 [details, diff]
tuxpaint-0.9.19-gentoo.patch

Clean Makefile patch for tuxpaint-0.9.19 with multilib-strict fixes.

Denis.
Comment 18 Markus Meier gentoo-dev 2008-09-18 20:00:04 UTC
bumped in cvs, thanks for the patch Denis.