app-office/orage-4.7.5 fails to build with the current libical-0.44. It seems that it is including the wrong file. see bugs.gentoo.org/show_bug.cgi?id=297401 for info on the libical end. Reproducible: Always Steps to Reproduce: 1.emerge >=dev-libs/libical-0.44 2.emerge =app-office/orage-4.5.7 Actual Results: app-office/orage-4.5.7 fails to build and receives a message that ical.h is deprecated. Expected Results: software compiles and runs. Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-asf1 x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-asf1-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2400-with-gentoo-2.0.1 Timestamp of tree: Sun, 18 Apr 2010 08:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p5 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r2 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA RTCW-ETEULA PUEL dlj-1.1 skype-eula" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8-sse3 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo" CXXFLAGS="-march=k8-sse3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" 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/local/portage/layman/oss-overlay /usr/local/portage/layman/science /usr/local/portage/afrink" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnome gpm gtk hal iconv ipv6 jpeg lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oss oss4 pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell spl sqlite sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vim-syntax vorbis x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid 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 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" DVB_CARDS="or51132" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="pctv" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 228333 [details] build.log for orage see line 389 for the first instance of the deprecation message.
Hi, Does orage work fine with libical-0.43?
(In reply to comment #2) > Hi, > Does orage work fine with libical-0.43? > Builds and runs fine with libical-0.43. Sorry about missing that in the original bug report. It would seem that a DEPEND="<=dev-libs/libical-0.43" would keep 0.44 from being pulled in. It looked like that the *.pc files that libical-0.44 is providing are not correct see the bug that this is depending on.
Ok, thanks. We actually think that the libical version is fine but orage hasn't updated their source to match upstream libical. So, the hack fix is to add "append-flags -I/usr/include/libical" to the orage ebuild. But the proper fix is to alert upstream orage about this issue so they can fix the orage code to include libical/libical.h instead of libical.h (I haven't looked at the sources closely yet, this data could be slightly wrong) If anyone wants to make the orage patch and submit it upstream, that would be great. If not, I can get to it eventually.
+ 19 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> orage-4.7.5.ebuild, + +files/orage-4.7.5-asneeded.patch: + Fix missing depend (and building with) libical-0.44 wrt #316013 by Andrew + Frink. Fix building with (new) xfce4-panel and -Wl,--as-needed. Fix rest + of bogus dependencies.
Another workaround is to build with the version of libical that is shipped with orage, by adding --disable-libical to the XFCONF variable in the ebuild. If the ebuild is intended to build against the external library shouldn't it depend on libical too? Or is this a recursive dependency? (Any tips on how to check that without manually look at all the ebuilds involved?)