Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234385 - app-office/taskjuggler-2.4.1: compilation fails in Examples/FirstProject
Summary: app-office/taskjuggler-2.4.1: compilation fails in Examples/FirstProject
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 280808
Blocks:
  Show dependency tree
 
Reported: 2008-08-10 15:04 UTC by mephinet
Modified: 2009-11-17 14:52 UTC (History)
6 users (show)

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


Attachments
remove ical report creation if USE=-kde (taskjuggler-2.4.1.ebuild.patch,457 bytes, patch)
2008-08-10 15:54 UTC, mephinet
Details | Diff
ebuild for taskjuggler v 2.4.3 (taskjuggler-2.4.3.ebuild,2.32 KB, text/plain)
2009-09-30 20:52 UTC, lalebarde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mephinet 2008-08-10 15:04:59 UTC
Hi,
when trying to emerge app-office/taskjuggler-2.4.1 on a KDE-less system, with use flags: USE="-arts -kde", compilation fails in directory Examples/FirstProject:

Making all in Examples
make[2]: Entering directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples'
Making all in FirstProject
make[3]: Entering directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject'
../../taskjuggler/taskjuggler --debug 1 AccountingSoftware.tjp
TaskJuggler v2.4.1 - A Project Management Software
Processing file '/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject/AccountingSoftware.tjp'
/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject/AccountingSoftware.tjp:311: The program was compiled without KDE support. Therefore ICal support has been disabled.
icalreport
Searching for dependency loops ...
Searching for underspecified tasks ...
make[3]: *** [Calendar.html] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1'
make: *** [all] Error 2

If I comment out the last line of Examples/FirstProject/AccountingSoftware.tjp, which is:
icalreport "Calendar.ics"
make finishes without errors - so my first guess is that some use-flag-dependent sed-script will be necessary here...

$ emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz
Timestamp of tree: Sun, 10 Aug 2008 08:19:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
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="-O3 -pipe -fomit-frame-pointer -march=nocona"
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/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 bash-completion battery bbdb berkdb bluetooth branding bzip2 cairo cdr chroot cli cpufreq cracklib crypt cups cvs dbus dmx doc dri dts dvd dvdr dvdread emacs emboss encode evo fam gdbm gif glibc-omitfp glitz gpm gsf gtk hal iconv isdnlog jpeg laptop libedit libnotify lm_sensors mad midi mikmod mktemp mmx mp3 mpeg mudflap multilib ncurses network-cron nls nonfsv4 nptl nptlonly nvidia offensive ogg opengl openmp pae pam pcmcia pcre pcsc-lite pdf perl png postgres ppds pppd python qt4 quicktime readline reflection sdl session smartcard spell spl sqlite sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora tiff tk toolkit-scroll-bars trayicon truetype unicode usb vorbis wifi xine xinerama xml xorg xscreensaver xulrunner xv xvmc 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 mmap_emul 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="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 mephinet 2008-08-10 15:54:32 UTC
Created attachment 162625 [details, diff]
remove ical report creation if USE=-kde

The attached patch against the ebuild file adds a sed line which removes the ical report creation from the examples if the KDE use flag is not set.
This fixes the problem for me, resulting in a successful merge.
Comment 2 Radoslaw Szkodzinski 2008-10-17 16:22:42 UTC
Confirming the bug and the patch. Please apply.
Comment 3 Bastien Lacoste 2008-10-20 07:17:39 UTC
Confirming the same bug on gnome.
Comment 4 Matthew Gregory Sr. 2009-03-16 15:43:30 UTC
problem confirmed on amd64

emerge --info:
=========================================================================
mythtv taskjuggler # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r2-matt-amd64-mythtv x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-matt-amd64-mythtv-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-glibc2.2.5
Timestamp of tree: Wed, 11 Mar 2009 17:45:03 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -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/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks fixpackages notitles parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US en_US.UTF8 en_US.utf-8"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/gnome /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext R X X509 a52 aac aalib acl acpi activefilter addbookmarks ads alias alsa amd64 amr amrnb amrwb animgif ao apache2 artworkextra async asyncns atm audacious autoipd automount autoreplace avahi bash-completion bashlogger bcmath beagle berkdb bidi bl blender-game bluetooth bookmarks branding bsf bzip2 cairo calendar caps ccache cdda cddb cdio cdparanoia cdr cgraph chicken cli cln cmdctrl cmdsubmenu connectionstatus contactnotes cpudetection cracklib crypt cscope cups cupsddk curl curlwrappers custom-cflags custom-cxxflags custom-optimization cutterlimit cutterqueue cuttime daap dbus ddepgentry default device-mapper dga dhcp dia dirac directfb disk-partition divx djvu dmx dolbyinrec dri dtaus dts dv dvb dvd dvdarchive dvdchapjump dvdr dvdread dvi dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer dxr3 eap-tls eds elf emboss encaga encode epiphany escreen esd etwin evo examples extra extras fam fastbuild fat fbcon ffmpeg fftw firefox flac flatfile fltk flup fluxbox fontconfig fortran fpx freetds ftp fuse fusion gadu galago gcj gcrypt gd gdbm gedit geldkarte geoip ggi gif glib glitz gmedia gmp gniac gnome gnome-keyring gnome-print gnutls gphoto2 gpm graphtft graphviz groupwise gs gsl gsm gstreamer gtk gtk2 gtkhtml guile hal hardlinkcutter hash hbci hddtemp hdri hfs highlight history howl-compat hpn iconv icu ieee1394 imagemagick imap imlib immqt inkjar ipod iptv ipv6 irc isdnlog ithreads ithreds jabber jack java javamail jbig jfs jingle jms jmx joystick jpeg jpeg2k jumpplay justify kerberos ladspa lapack latex lcms ldap libcaca libffi libnotify libsamplerate libssh2 libwww liemikuutio lirc lircsettings live livebuffer lm_sensors logitech-mouse logrotate lua mad mailwrapper mainmenuhooks mbox md5sum mdnsresponder-compat menuorg mhash midi mikmod mime mmap mmx mmxext mng mod_python modperl modplug mono motif mozdom mp2 mp3 mp4 mpeg mpi mplayer mppe-mppc mssql mtp mudflap multilib musepack musicbrainz mysql mzscheme nas nautilus ncurses nemesi netbeans netmeeting network network-cron networking networkmanager nextaw nls nntp nodrm noepg nowlistening nptl nptlonly nsplugin ntfs ntlm_unsupported_patch nvtv objc objc++ objc-gc ocaml octave odbc offensive ofx ogg openal openexr opengl openid openmp openntpd oscar osdmaxitems overlays pam parse-clocks passwdqc pch pcre pdf perl pgsql php pic pike pinplugin plotutils plugins png pnm portaudio postgres postscript povray ppds pppd proxy_http pulseaudio pyste python q32 qt3 qt3support qt4 quicktime quotas quotes radius rar readline realmedia redland reflection reiser4 reiserfs remote replytolist restrict-javascript rle samba sasl scanner schroedinger script scrobbler sdl seamonkey sendmail sensord session settime sftp slang slp smi smp sms smux sndfile sni snmp soap socks5 sortrecords soundex speex spell spl sqlite srp sse sse2 ssl startup-notification statistics subtitles suid svg swat switchtimer sysfs syslog t1lib tcl tcpd tdfx texteffect tga theora threads tiff timercmd timerinfo timidity tk tls toolbar tools tordns tracker translator truetype tta unicode urandom usb utempter v4l v4l2 validinput vcd vdr vhook vhosts vim vim-pager vim-sintax vim-syntax vim-with-x visualization volctrl vorbis wareagleicon wavpack webdav webdav-serf webpresence winbind winpopup wma wmf wmp wxwindows x264 xattr xcb xchatdccserver xcomposite xfce xfs xft xine xinetd xml xmldoclet xmlreader xmlrpc xmlwriter xorg xpm xprint xscreensaver xsl xtended xulrunner xv xvid xvmc yaepg yahoo yaz ziffy zip zlib" ALSA_CARDS="hda-intel" 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="cern_meta imagemap log_forensic proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http substitute version mime mime_magic mem_cache log_config status speling setenvif rewrite include headers filter file_cache ext_filter expires env disk_cache dir deflate dav_lock dav_fs dav cache autoindex authz_user authz_owner authz_host alias actions auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile info logio negotiation unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US en_US.UTF8 en_US.utf-8" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
====================================================================

patch applied and resultant failure:
====================================================================
mythtv htdocs # mkdir /usr/local/portage/app-office
mythtv htdocs # cd /usr/local/portage/app-office/
mythtv app-office # rsync -av --progress /usr/portage/app-office/taskjuggler .
sending incremental file list
taskjuggler/
taskjuggler/ChangeLog
        2170 100%    0.00kB/s    0:00:00 (xfer#1, to-check=5/7)
taskjuggler/Manifest
        1601 100%    1.53MB/s    0:00:00 (xfer#2, to-check=4/7)
taskjuggler/metadata.xml
         312 100%  304.69kB/s    0:00:00 (xfer#3, to-check=3/7)
taskjuggler/taskjuggler-2.2.0-r1.ebuild
        2186 100%    2.08MB/s    0:00:00 (xfer#4, to-check=2/7)
taskjuggler/taskjuggler-2.3.0.ebuild
        2183 100%    2.08MB/s    0:00:00 (xfer#5, to-check=1/7)
taskjuggler/taskjuggler-2.4.1.ebuild
        2311 100%    2.20MB/s    0:00:00 (xfer#6, to-check=0/7)

sent 11193 bytes  received 130 bytes  22646.00 bytes/sec
total size is 10763  speedup is 0.95
mythtv app-office # cd taskjuggler/
mythtv taskjuggler # ls
ChangeLog  metadata.xml                 taskjuggler-2.3.0.ebuild
Manifest   taskjuggler-2.2.0-r1.ebuild  taskjuggler-2.4.1.ebuild
mythtv taskjuggler # ls
ChangeLog  metadata.xml                 taskjuggler-2.3.0.ebuild
Manifest   taskjuggler-2.2.0-r1.ebuild  taskjuggler-2.4.1.ebuild
mythtv taskjuggler # wget -O 
wget: option requires an argument -- 'O'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
mythtv taskjuggler # wget -O taskjuggler-2.4.1.ebuild.patch 'http://bugs.gentoo.org/attachment.cgi?id=162625'
--2009-03-16 11:39:41--  http://bugs.gentoo.org/attachment.cgi?id=162625
Resolving bugs.gentoo.org... 85.17.225.94
Connecting to bugs.gentoo.org|85.17.225.94|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 457 [text/plain]
Saving to: `taskjuggler-2.4.1.ebuild.patch'

100%[=====================================================================>] 457         --.-K/s   in 0s      

2009-03-16 11:39:42 (57.6 MB/s) - `taskjuggler-2.4.1.ebuild.patch' saved [457/457]

mythtv taskjuggler # patch -p0 taskjuggler-2.4.1.ebuild.patch 
^C
mythtv taskjuggler # patch -p0 < taskjuggler-2.4.1.ebuild.patch 
patching file /usr/portage/app-office/taskjuggler/taskjuggler-2.4.1.ebuild
Hunk #1 succeeded at 63 (offset 5 lines).
mythtv taskjuggler # ebuild taskjuggler-2.4.1.ebuild digest
>>> Creating Manifest for /usr/local/portage/app-office/taskjuggler
  digest.assumed                 2
   taskjuggler-2.2.0-r1::taskjuggler-2.2.0.tar.bz2
   taskjuggler-2.3.0::taskjuggler-2.3.0.tar.bz2
mythtv taskjuggler # emerge -uDvNa taskjuggler

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

Calculating dependencies... done!
[ebuild  N    ] app-office/taskjuggler-2.4.1  USE="-arts -kde" 0 kB [1]

Total: 1 package (1 new), Size of downloads: 0 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

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

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-office/taskjuggler-2.4.1 from unknown repo
 * taskjuggler-2.4.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking taskjuggler-2.4.1.tar.bz2 to /var/tmp/portage/app-office/taskjuggler-2.4.1/work
>>> Source unpacked in /var/tmp/portage/app-office/taskjuggler-2.4.1/work
>>> Compiling source in /var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1 ...
 * econf: updating taskjuggler-2.4.1/admin/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating taskjuggler-2.4.1/admin/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-kde-support=no --without-arts --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
<****snip shortened****>
Making all in FirstProject
make[3]: Entering directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject'
../../taskjuggler/taskjuggler --debug 1 AccountingSoftware.tjp
TaskJuggler v2.4.1 - A Project Management Software
Processing file '/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject/AccountingSoftware.tjp'
/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject/AccountingSoftware.tjp:311: The program was compiled without KDE support. Therefore ICal support has been disabled.
icalreport
Searching for dependency loops ...
Searching for underspecified tasks ...
make[3]: *** [Calendar.html] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples/FirstProject'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1/Examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/taskjuggler-2.4.1/work/taskjuggler-2.4.1'
make: *** [all] Error 2
 * 
 * ERROR: app-office/taskjuggler-2.4.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2852:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake 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/app-office/taskjuggler-2.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/taskjuggler-2.4.1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 * 

>>> Failed to emerge app-office/taskjuggler-2.4.1, Log file:

>>>  '/var/tmp/portage/app-office/taskjuggler-2.4.1/temp/build.log'
==================================================================
Comment 5 Erik Mackdanz gentoo-dev 2009-06-26 02:39:46 UTC
Mephinet's patch fixed the build for me (after also altering the Manifest of course).
Comment 6 mephinet 2009-09-18 12:45:51 UTC
Dear Michael, dear devs,

after one year of staging, isn't this patch worth being applied?
I just installed taskjuggler on another machine and had a failed build because of this issue...
Comment 7 Soren Harward 2009-09-19 01:42:46 UTC
Maintainers, please fix the ebuild with mephinet's patch.
Comment 8 lalebarde 2009-09-30 20:11:30 UTC
Same issue for me with xfce4.

# uname -a
Linux MYPC 2.6.29-gentoo-r5 #3 SMP Thu Aug 27 14:02:14 CEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux

USE="X -gtk -gnome -kde xfce xfce4 qt3 qt4 a52 aac aalib acl acpi alsa apm bash-completion battery bluetooth bcmath berkdb bzip2 -cairo calendar cdparanoia cdr clamav dga dts dv dvb dvd dvdnav dvdr dvdread -emboss exif fbcon fftw flac ftp gd ginac gphoto2 graphviz hal hardened icq idn ieee1394 imagemagick imap imlib jack javascript joystick jpeg2k kerberos krb4 libwww lirc lm_sensors -matrox mhash midi mjpeg msn mysql mysqli nas nls nocd nsplugin ofx openal pcmcia pda pdf plotutils portaudio posix profile -rage128 samba scanner sharedmem slang slp sound source startup-notification svg test tetex tiff tokenizer unicode usb v4l v4l2 vcd videos vorbis wifi win32codecs xscreensaver xvid yahoo -3dfx"

The patch as it is did not work for me. Analysing the emerge log, it is not called. Analysing the ebuild, a src_unpack or a epatch call is missing. While I have to modifying the ebuild and remaking the manifest, instead of calling the patch, I prefer putting directly in the ebuild the patch content, since there are other sed.

Here is an extract of the modified ebuild :

src_compile() {
    # 'db2html' does not know '--xencoding utf8' and is called 'docbook2html' in gentoo
    # also 'db2ps --pdf' should be 'docbook2pdf' and 'db2ps' should be 'docbook2ps'
    # see http://lists.suse.com/archive/taskjuggler-devel/2005-Mar/0011.html
    sed -i -e 's/--xencoding utf-8//g' docs/en/Makefile.*
    sed -i -e 's/db2ps --pdf/docbook2pdf/g' docs/en/Makefile.*
    sed -i -e 's/db2ps/docbook2ps/g' docs/en/Makefile.*

    #Modif lalebarde 2009-09-30 for bug 234385
    # don't build docs, fails in docbook2html and docbook2pdf...
    use kde || sed -i -e 's/ docs / /g' Makefile
    # bug 234385
    use kde || sed -i -e 's/^icalreport /#icalreport /g' Examples/*/*.tjp
    #End Modif lalebarde 2009-09-30 for bug 234385

    # Need to fake out QT or we'll get sandbox probles
    # from http://www.gentoo.org/cgi-bin/viewcvs.cgi/dev-db/tora/tora-1.3.13.ebuild?r1=1.2&r2=1.3
    REALHOME="$HOME"

______________________________________________________________________________

Remark : I don't know why there is not a condition on the use kde on the firdt line of the patch like in the second one. I looks to me preferable to add it, but I may be wrong.


Comment 9 lalebarde 2009-09-30 20:52:26 UTC
Created attachment 205732 [details]
ebuild for taskjuggler v 2.4.3

quote taskjuggler changelog for 2.4.3 : "iCal support can now be disabled by con?guring with --with-ical-support=no for distros that no longer  ship with KDEPIM3 packages."
This ebuild use a "use kde" condition to apply the appropriate econf command. So, should work for everybody.
Comment 10 lalebarde 2009-09-30 21:18:15 UTC
I just re-emerged it with the kde use flag.
It installs in addition the following dependencies :
kde-base/libkmime-3.5.10
kde-base/ktnef-3.5.10
kde-base/libkcal-3.5.10
kde-base/libkdepim-3.5.10
If you can afford 14Mb of additional sources, you would gain the taskjuggler GUI : TaskJugglerUI
Definetely, I put : app-office/taskjuggler kde
in my  /etc/portage/package.use
It works for me.
Comment 11 mephinet 2009-10-01 07:52:02 UTC
(In reply to comment #10)
> If you can afford 14Mb of additional sources, you would gain the taskjuggler
> GUI : TaskJugglerUI

I guess the reason why we see this quite often is because IMHO the use flag is not correct - even users that do not want KDE integration will probably want the GUI.
After all, the kde use flag means: "Adds support for kde-base/kde (K Desktop Enviroment)"
Whereas we would either need a "ui" flag "Enable the graphical user interface", as e.g app-emulation/uae has,
or (which I'd prefer) have a "minimal" flag which disables the GUI when set, as e.g. sci-geosciences/gpsd has.
In any case, building the GUI should be enabled by default...
Any objections?
Comment 12 lalebarde 2009-10-03 09:29:23 UTC
(In reply to comment #11)
> I guess the reason why we see this quite often is because IMHO the use flag is
> not correct - even users that do not want KDE integration will probably want
> the GUI.

It may be false since GUI is really comfort for taskjuggler. I had only 14Mb of dependencies because I have both xfce and kde. But probably dependencies are higher for someone not having kde.

> After all, the kde use flag means: "Adds support for kde-base/kde (K Desktop
> Enviroment)"
> Whereas we would either need a "ui" flag "Enable the graphical user interface",
> In any case, building the GUI should be enabled by default...
> Any objections?
Dependencies are actually kde dependencies. One may prefer choose a scheduler fitted to Gnome or other. In this extent, the kde use flag is more accurate than the ui one, IMO.

Besides, it would be interresting to add use flags for contribs, especially the Python Front-End : [url]http://www.taskjuggler.org/contrib.php[/url]

Comment 13 Anthony Staines 2009-10-26 09:40:28 UTC
Fixed by upstream

See the note here 
http://groups.google.com/group/taskjuggler-announce/browse_thread/thread/93d4880f2eb1688c


cp /usr/portage/app-office/taskjuggler/taskjuggler-2.4.1.ebuild /usr/portage/app-office/taskjuggler/taskjuggler-2.4.3.ebuild digest
  
ebuild /usr/portage/app-office/taskjuggler/taskjuggler-2.4.3.ebuild digest

emerge taskjuggler

works for me!
Comment 14 Anthony Staines 2009-10-26 09:50:57 UTC
This works fine on both amd64 and x86