Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223019 - app-pda/libopensync-plugin-evolution2-0.22 fails to compile.
Summary: app-pda/libopensync-plugin-evolution2-0.22 fails to compile.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 02:03 UTC by Xavian-Anderson Macpherson
Modified: 2008-11-15 09:40 UTC (History)
1 user (show)

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


Attachments
All in one file. (bopensync-plugin-evolution2-0.22-x86_64-config+build-logs_emergeinfo_environment-2008.05.20_18:54:42,112.69 KB, text/plain)
2008-05-21 02:04 UTC, Xavian-Anderson Macpherson
Details
Patch for Makfile.am (libopensync-plugin-evolution2-0.22-makefile.am.patch,443 bytes, patch)
2008-06-03 23:29 UTC, Andre Lammel
Details | Diff
New ebuild (libopensync-plugin-evolution2-0.22.ebuild,834 bytes, text/plain)
2008-06-03 23:29 UTC, Andre Lammel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavian-Anderson Macpherson 2008-05-21 02:03:17 UTC
/usr/include/evolution-data-server-2.22/libical/ical.h:30:2: error: #warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
make[2]: *** [evolution2_ecal.lo] Error 1
make[2]: *** [evolution2_ebook.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-pda/libopensync-plugin-evolution2-0.22/work/libopensync-plugin-evolution2-0.22/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/libopensync-plugin-evolution2-0.22/work/libopensync-plugin-evolution2-0.22'
make: *** [all] Error 2
 * 
 * ERROR: app-pda/libopensync-plugin-evolution2-0.22 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  246:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed

Shingoshi
Comment 1 Xavian-Anderson Macpherson 2008-05-21 02:04:23 UTC
Created attachment 153813 [details]
All in one file.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-21 02:59:51 UTC
(In reply to comment #1)
> Created an attachment (id=153813) [edit]
> All in one file.

You're still doing it! Please post the emerge --info and the actual error IN A COMMENT, not in an attachment.

As an additional suggestion, please try to describe the appropriate error message in the Summary. Reopen this bug when you have at least added a COMMENT with emerge --info.
Comment 3 Xavian-Anderson Macpherson 2008-05-21 05:16:10 UTC
If you don't want the report, that's fine by me. Because it's not my software that's buggy. So just leave it the way it is.

Good luck.
Comment 4 Iain Buchanan 2008-05-30 07:00:49 UTC
Hmm, can someone please re-open this?

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/opensync-1.0 -DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/evolution-data-server-2.22 -I/usr/include/libxml2 -Wall -Werror -Wno-return-type -O2 -march=i686 -pipe -MT evolution2_sync.lo -MD -MP -MF .deps/evolution2_sync.Tpo -c evolution2_sync.c  -fPIC -DPIC -o .libs/evolution2_sync.o
In file included from /usr/include/evolution-data-server-2.22/libecal/e-cal-component.h:28,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal-recur.h:27,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal.h:29,
                 from evolution2_sync.h:7,
                 from evolution2_ebook.c:21:
/usr/include/evolution-data-server-2.22/libical/ical.h:30:2: error: #warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
In file included from /usr/include/evolution-data-server-2.22/libecal/e-cal-component.h:28,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal-recur.h:27,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal.h:29,
                 from evolution2_sync.h:7,
                 from evolution2_sync.c:21:
/usr/include/evolution-data-server-2.22/libical/ical.h:30:2: error: #warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
In file included from /usr/include/evolution-data-server-2.22/libecal/e-cal-util.h:25,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal.h:30,
                 from evolution2_sync.h:7,
                 from evolution2_ebook.c:21:
/usr/include/evolution-data-server-2.22/libical/ical.h:30:2: error: #warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
In file included from /usr/include/evolution-data-server-2.22/libecal/e-cal-component.h:28,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal-recur.h:27,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal.h:29,
                 from evolution2_sync.h:7,
                 from evolution2_ecal.c:21:
/usr/include/evolution-data-server-2.22/libical/ical.h:30:2: error: #warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
In file included from /usr/include/evolution-data-server-2.22/libecal/e-cal-util.h:25,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal.h:30,
                 from evolution2_sync.h:7,
                 from evolution2_ecal.c:21:
/usr/include/evolution-data-server-2.22/libical/ical.h:30:2: error: #warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
In file included from /usr/include/evolution-data-server-2.22/libecal/e-cal-util.h:25,
                 from /usr/include/evolution-data-server-2.22/libecal/e-cal.h:30,
                 from evolution2_sync.h:7,
                 from evolution2_sync.c:21:
/usr/include/evolution-data-server-2.22/libical/ical.h:30:2: error: #warning "Please ensure that the memory returned by the functions mentioned at http://bugzilla.gnome.org/show_bug.cgi?id=516408#c1 are free'ed"
make[2]: *** [evolution2_ebook.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [evolution2_ecal.lo] Error 1
make[2]: *** [evolution2_sync.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-pda/libopensync-plugin-evolution2-0.22/work/libopensync-plugin-evolution2-0.22/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/libopensync-plugin-evolution2-0.22/work/libopensync-plugin-evolution2-0.22'
make: *** [all] Error 2
 * 
 * ERROR: app-pda/libopensync-plugin-evolution2-0.22 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  106:  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-pda/libopensync-plugin-evolution2-0.22/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-pda/libopensync-plugin-evolution2-0.22/temp/environment'.
 * 


emerge --info
$ emerge --info
Portage 2.1.5.2 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.25-tuxonice-r4 i686)
=================================================================
System uname: 2.6.25-tuxonice-r4 i686 Intel(R) Core(TM)2 Duo CPU T9500 @ 2.60GHz
Timestamp of tree: Thu, 29 May 2008 04:46:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
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.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/config"
CONFIG_PROTECT_MASK="/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="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/ http://ftp.swin.edu.au/gentoo/"
LANG="en_AU"
LC_ALL="en_AU"
LDFLAGS=""
LINGUAS="en_AU en en_GB en_US"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-synce-overlay"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X aac acl acpi aiglx alsa avahi berkdb bzip2 cli cracklib crypt cups dbus dri esd ffmpeg fortran gdbm gnome gpm gtk hal iconv ipv6 isdnlog jpeg libnotify midi mpeg mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection samba session smb spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en en_GB en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I can't change the summary either :)

thanks.
Comment 5 Andre Lammel 2008-06-03 23:28:27 UTC
The compile failes because the build uses "-Werror" in CFLAGS. The compile failure
is then triggered because of a warning in /usr/include/evolution-data-server-2.22/libical/ical.h. 

So, for now, until this is fixed/whatever, i have made a new ebuild and a patch to
Makefile.am in this package. Both are attached and work just fine on my machine here.

Cheers, Andre
Comment 6 Andre Lammel 2008-06-03 23:29:19 UTC
Created attachment 155455 [details, diff]
Patch for Makfile.am
Comment 7 Andre Lammel 2008-06-03 23:29:52 UTC
Created attachment 155457 [details]
New ebuild
Comment 8 Andre Lammel 2008-06-03 23:32:57 UTC
Just replace the ebuild and put the patch into the appropriate ${FILESDIR}

Have fun!
Comment 9 Federico Ferri (RETIRED) gentoo-dev 2008-11-15 09:39:36 UTC
patch to makefile.am doesn't fix
Comment 10 Federico Ferri (RETIRED) gentoo-dev 2008-11-15 09:40:16 UTC
fixed app-pda/libopensync-plugin-evolution2-0.22 in CVS