Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211493 - app-i18n/skim-1.4.5 -1.4.5 compile failure
Summary: app-i18n/skim-1.4.5 -1.4.5 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
: 213967 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-26 10:34 UTC by Pavel Vondricka
Modified: 2008-11-20 13:15 UTC (History)
1 user (show)

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


Attachments
solves the writeConfig() and force kde 3 kconfig_compiler (skim-1.4.5_fix_writeConfig_and_qtincludes.diff,1.44 KB, patch)
2008-11-15 23:45 UTC, May THO
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Vondricka 2008-02-26 10:34:01 UTC
Compile failures:

1) The file "doc/de/index.docbook" contains <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "/opt/kde3/share/apps/ksgmltools2/customization/dtd/kdex.dtd", which is an invalid path. I used the workaround "ln -s /usr/kde/3.5 /opt/kde3", but then it fails with...

2)
src/skimpluginmanager.cpp: In member function ‘virtual bool SkimSessionManaged::commitData(QSessionManager&)’:
src/skimpluginmanager.cpp:68: error: cannot call member function ‘void KConfigSkeleton::writeConfig()’ without object
src/skimpluginmanager.cpp: In destructor ‘virtual SkimPluginManager::~SkimPluginManager()’:
src/skimpluginmanager.cpp:289: error: cannot call member function ‘void KConfigSkeleton::writeConfig()’ without object
scons: *** [src/skimpluginmanager.os] Error 1
scons: building terminated because of errors.
 *
 * ERROR: app-i18n/skim-1.4.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3031:  Called die
 * The specific snippet of code:
 *       CFLAGS="${CXXFLAGS}" ./scons ${sconsopts} || die
 *  The die message:
 *   (no error message)


Reproducible: Always

Steps to Reproduce:
1. emerge skim
Actual Results:  
Failure.

Expected Results:  
Compile.

Portage 2.1.4.4 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Tue, 26 Feb 2008 00:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
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.11.1
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.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config"
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/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache confcache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/pro-audio /usr/local/portage"
SYNC="rsync://owl.gentoo.org/gentoo-portage"
USE="16bit 3ds 64bit 7zip S3TC X X509 Xaw3d a52 aac abook accessibility acpi activefilter addbookmarks administrator ads aiglx aio akode alias alsa amarok amazon amd amd64 amr amrnb amrwb amuled animgif ao aotuv apache2 arts artswrappersuid asf asterisk async asyncns auctex audiofile autoipd automount avahi avantgo ax25 bash-completion bcmath berkdb bgpclassless bidi bittorrent bl bluetooth bookmarks boost bzip2 bzlib c++ cairo calendar canvas cap caps captury cardbus ccache cdda cddb cdinstall cdio cdparanoia cdr cdrom cg cgi chipcard chipcard2 chm cjk ck-plus cli clisp clucene codecs context corba cracklib crypt csf css csv ctype cups curl curlwrappers cviewer cvs cvsgraph cyrillic d daap dba dbase dbm dbus dbx dc1394 designer-plugin device-mapper devmap dga dhcp dia dict dio directfb disassembler disk-partition distcache divx divx4linux djvu dmi dmx dnd dpms dri dsml dssi dts dv dvb dvbplayer dvd dvdnav dvdr dvdread dvi dynamicplugin eap-tls ecw editor edl effects emacs-w3 embedded emboss emerald emovix emul-linux-x86 enca encode enscript epson esd espeak estraier ethereal etwin exif exiv2 export exscalibar extensions extra extraicons extramodules fam fame fastcgi fat fax fb fbcon fbcondecor fbdev fbsplash festival ffmpeg fftw filter firefox fits flac flash flatfile flexresp2 fluidsynth fmod fontconfig foomaticdb fortran fpx freebob freetts freetype freetype2 frlargefiles ftp fuse gadu games gammu gb gcj gd gdal gdbm geoip geometry geos ggz gif gimp gimpprint gkrellm glade glep glgd glib glitz glut glw glx gmath gmedia gml gmp gmtfull gmthigh gmtsuppl gnokii gnuplot gnutls gpac gpgme gphoto2 gpm gps grammar graphics graphviz grass gre groupwise gs gsl gsm gstreamer gstreamer010 gtk gtk2 gtkhtml gucharmap h323 hal hash hbci hddtemp hdf hdf5 hdri high-ints hlapi hostap howl-compat hpn html htmlhandbook http httpd humanities hyperestraier icon iconv icq icu id3 id3tag ide idn ieee1394 ifp image imagemagick imap imlib imlib2 immqt-bc inifile inkjar inline innodb inotify intl iodbc ipalias ipcs ipod iproute2 ipv6 irda irmc isdnlog jabber jack jack-tmpfs jackmidi jasper java java5 javamail javascript jbig jce jingle joystick jp2 jpeg jpeg2k jpgraph jrtplib jsapi json jython kadmos kakasi kcal kde kdeenablefinal kdepim kdrive kexi kig-scripting kipi kmid kpathsea kqemu ksolver ktts ladcca ladspa lame lapack largefile lash latex lcd lcms ldap leim lesstif libdsk libffi libgda libnotify libsamplerate libwww lilypond live lm_sensors lnbsharing logitech-mouse logrotate ltsp lua lv2 lzo m17n-lib mad mapeditor maps matroska mbox mbrola mcal mcve md5sum mdb mdnsresponder-compat mecab memlimit metar mew midi mikmod mime mimencode mixer mjpeg mmap mng modplug motif mouse mozaccess mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp2 mp3 mp4 mp4live mpe mpeg mpeg2 mpeg4 mplayer mpm-worker mschap msdav mudflap mule multipath multipleip musepack musicbrainz mysql mysqli mythtv nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas native ncurses nemesi nepomuk net netcdf netjack network network-cron network_manager networking networkmanager neural newxkb nforce2 nfs ngpython nis njb nls no-htdocs nocd normalizemime nova npp nptl nptlonly nsplugin ntfs ntlm nvidia nvram nvtv oav obex ocaml odbc ofx ogdi ogg oggvorbis ogre omega openal openct opendoc openexr opengl openid openmp openssl opensslcrypt openstreetmap openvpn osc oscar ospfapi overlays overload pam pango parse-clocks paste64 pcmcia pcntl pcre pda pdf pdo pear pear-db perforce perfprofiling perl pg-intdatetime pg-vacuumdelay php physfs pie plasma player playlist plib plotutils plugins pmu png pnm pop pop3d portaudio posix postfix postgis postgres postproc postscript povray ppds pppd pri print private procmail proj ps pstricks pth publishers pulseaudio pvr pwdb python pyx q32 q8 qemu-fast qhull qq qt3 qt3support qt4 query-browser quicktime quotas radio radius rar rdesktop react readline realmedia realms reflection regex reiser4 reiserfs remote resperl rhino rle rplay rrdcgi rrdtool rss rtc rtsp ruby samba sametime samples sasl sbcl sbig sblive scanner science sdl sendfile sensord server session sftp sftplogging sguil shaper sharedext shorten silc silverxp simplexml skey skins slang slp smartcard smime sms smtp sndfile snmp soap sockets socks5 softmmu softquota solver soundex soundtouch sourcecaps sox spamassassin speex spell spl spoof-source spreadsheet sql sqlite sqlite3 srt sse-filters ssl stats stencil-buffer stream stroke subp subtitles subversion suid svg svgz svnserve swat symlink sysfs syslog sysvipc szip t1lib t38 taglib tagwriting tcl tcltk tcpd tcpmd5 tcsim teletext tesseract test-programs testbed tetex tex tga theora thesaurus threads threadsafe thumbnail tidy tiff timestats timidity tivo tk tokenizer toolbar tools tos transcode transparent-proxy truetype truetype-fonts tse3 tunepimp twolame type1 type1-fonts udpfromto uml unicode unzip upnp urandom usagi usb userlocales utf8 utils uudeview v4l v4l2 vamp vcd vcdimager vda vdr vfat vhosts vim vim-pager vim-with-x virtual-users virus-scan visualization vlm vmdbmysql vmdbpostgres vnc voice vorbis vorbis-psy vpopmail vst wav wavelan wavpack wddx web webdav wfs wideband wifi wildlsearch winbind winpopup withsamplescripts wma wma123 wmf wmp wordperfect workbench wsconvert wv wxwindows x11vnc x264 xanim xattr xbase xcb xcomposite xerces-c xetex xext xface xforms xft xgetdefault xim xine xinerama xinetd xml xml2 xmlreader xmlrpc xmlwriter xmp xorg xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yaz yiff yv12 zaptel zeo zeroconf zip zlib zoran zrtp zvbi zynaddsubfx" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav charset_lite dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonathan Glines 2008-05-28 23:29:40 UTC
Hmm... I was having the same compile error on my Opteron, but then I re-emerged scim, this time with the gtk flag, and for some reason skim compiled too. I have no idea if it was adding the gtk flag or simply the fact that I re-emerged scim, but now it's working. I hope that helps, even though I have no idea how I got it working. :/
Comment 2 Chen Jie 2008-09-08 06:11:36 UTC
It doesn't work here by re-merge the package.
Comment 3 Pavel Volkov 2008-10-19 08:02:28 UTC
I've got this error too.
Comment 4 Ho Phuong Nam 2008-11-06 03:58:58 UTC
Well I guess I am not the last one yet to have that error.

Comment 5 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-06 06:52:24 UTC
sorry for delay.
I'll check this issue soon.
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-11 22:56:13 UTC
*** Bug 213967 has been marked as a duplicate of this bug. ***
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-12 00:42:22 UTC
doc/de/index.docbook issue is fixed in skim-1.4.5-r1.
but I couldn't reproduce skimpluginmanager issue. Could you try to unmerge first?

# emerge -C skim
# emerge skim

Comment 8 Pavel Volkov 2008-11-12 09:03:22 UTC
Having this on fresh Gentoo, too. skim isn't merged yet.
Comment 9 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-13 01:49:02 UTC
Could anyone put failed log?
Comment 10 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-13 14:28:16 UTC
I prepared skim-1.4.5-r2 in my overlay. It has debian patches. Could you test this ebuild?
http://git.overlays.gentoo.org/gitweb/?p=dev/matsuu.git;a=tree;f=app-i18n/skim
Comment 11 May THO 2008-11-15 23:45:43 UTC
Created attachment 171914 [details, diff]
solves the writeConfig() and force kde 3 kconfig_compiler

I made my own patch which:
- fixes the writeConfig() error
- adds prefix before kconfig_compiler to force kde 3.5 version (I'm compiling with a KDE4 installation)

The compilation stopped further with the error "cannot find -lscim-kdeutils" (see bug #220179). I finally managed to pass this problem:

# manually create a link to the file library
cd /var/tmp/portage/app-i18n/skim-1.4.5/work/skim-1.4.5/utils
ln -s libscim-kdeutils.so.0.1.0 libscim-kdeutils.a
# resume ebuild
ebuild /usr/portage/app-i18n/skim/skim-1.4.5.ebuild merge

I still don't understant why the linker tries to link with 'libscim-kdeutils.a' instead of 'libscim-kdeutils.so.0.1.0'.
Comment 12 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-16 06:16:02 UTC
skim-1.4.5-r2 in cvs with the patch.

and perhaps libscim-kdeutils issue is fixed in new skim-1.4.5-asneeded.patch. Could you test it?
Comment 13 May THO 2008-11-16 07:32:59 UTC
(In reply to comment #12)
> skim-1.4.5-r2 in cvs with the patch.
> 
> and perhaps libscim-kdeutils issue is fixed in new skim-1.4.5-asneeded.patch.
> Could you test it?
> 

You're right, I just tried skim-1.4.5-r2 from your overlay and there is no more error about libscim-kdeutils.
Comment 14 MATSUU Takuto (RETIRED) gentoo-dev 2008-11-16 17:16:02 UTC
in cvs.
Comment 15 Pavel Volkov 2008-11-20 13:13:49 UTC
The overlay URL gives 404. I can't test that one.
skim 1.4.5-r2 from portage causes libscim-kdeutils error.
Why is this bug marked fixed?
Comment 16 Pavel Volkov 2008-11-20 13:15:54 UTC
Oh, I see - it's not SkimPluginManager error anymore.
skim-1.4.5-asneeded.patch lies in my tree, however libscim-kdeutils issue still exists