Seahorse 2.26.2 doesn't compile. Since gpgme automatically enables lfs support these days this should be squashed out. Reproducible: Always Steps to Reproduce: 1. compile current gpgme 2. compile current seahorse 3. see compiling failing Actual Results: Compiling fails with: libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../libegg -I../libcryptui -I../libseahorse -D_REENTRANT -DORBIT2=1 -pthread -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/gpgme -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -D_REENTRANT -I/usr/include/gp11 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gcr -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -DDATA_DIR=\"/usr/share\" -DSEAHORSE_GLADEDIR=\"/usr/share/seahorse/glade/\" -DLOCALEDIR=\"/usr/share/locale\" -DEXECDIR=\"/usr/lib/seahorse/\" -DLDAP_DEPRECATED -DLIBCRYPTUI_API_SUBJECT_TO_CHANGE -DGETTEXT_PACKAGE=\"seahorse\" -march=pentium3 -Os -pipe -MT seahorse-gpg-op.lo -MD -MP -MF .deps/seahorse-gpg-op.Tpo -c seahorse-gpg-op.c -fPIC -DPIC -o .libs/seahorse-gpg-op.o In Datei, eingefügt von seahorse-gpg-op.c:23: /usr/include/gpgme/gpgme.h:80:2: Fehler: #error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual. make[2]: *** [seahorse-gpg-op.lo] Fehler 1 make[2]: Leaving directory `/var/tmp/portage/app-crypt/seahorse-2.26.2/work/seahorse-2.26.2/pgp' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/tmp/portage/app-crypt/seahorse-2.26.2/work/seahorse-2.26.2' make: *** [all] Fehler 2 * * ERROR: app-crypt/seahorse-2.26.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 1345: Called gnome2_src_compile * environment, line 1099: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * 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-crypt/seahorse-2.26.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/seahorse-2.26.2/temp/environment'. * >>> Failed to emerge app-crypt/seahorse-2.26.2, Log file: >>> '/var/tmp/portage/app-crypt/seahorse-2.26.2/temp/build.log' * Messages for package app-crypt/seahorse-2.26.2: * * ERROR: app-crypt/seahorse-2.26.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 1345: Called gnome2_src_compile * environment, line 1099: Called die * The specific snippet of code: * emake || die "compile failure" * The die message: * compile failure * * 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-crypt/seahorse-2.26.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-crypt/seahorse-2.26.2/temp/environment'. * Expected Results: Seahorse should compile cleanly Outut of emerge --info goes here: smt ~ # emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-rc7-git2 i686) ================================================================= System uname: Linux-2.6.30-rc7-git2-i686-Mobile_Intel-R-_Celeron-TM-_CPU_733MHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 25 Jun 2009 19:00:01 +0000 app-shells/bash: 4.0_p24 dev-java/java-config: 1.3.7-r1, 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -Os -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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium3 -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://213.186.33.38/gentoo-distfiles/ http://de-mirror.org/distro/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LDFLAGS="-Wl,-O1" LINGUAS="de en" MAKEOPTS="-j1" 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/x11 /usr/local/portage/layman/nx /usr/local/portage/layman/vdr-devel /usr/local/portage/layman/vdr-testing /usr/local/overlays/own /usr/local/overlays/dang" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib ace acl acpi activefilter addbookmarks adns aften afterimage aim aio alias alsa amazon amr amrnb amrwb animgif ao archive ares asyncns audiofile audioscrobbler authfile autoipd automount autoreplace avahi berkdb bl bluetooth bonjour bookmarks branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr cgraph cli cmdctrl cmdsubmenu consolekit corba cracklib crypt cups curl cutterlimit cutterqueue cuttime daap dbus dc1394 ddepgentry deltimeshiftrec device-mapper directfb disk-partition djbfft djvu dolby-record-switch dolbyinrec dri dts dv dvb dvbcompat dvbplayer dvbsetup dvd dvdarchive dvdchapjump dvdnav dvdr dvdread dvlfriendlyfnames dvlrecscriptaddon dvlvidprefer eap-tls eds emboss enca encode esd evas evo exif expat extrafilters faac faad fam fame fastcgi fbcon ffmpeg fftw file-icons firefox flac flash fltk fontconfig fortran fpx ftp fuse gadu gd gdbm ggi gif glib glibc-omitfp glitz gmp gnome gnutls gphoto2 gpm graphtft graphviz groupwise grp gs gsm gstreamer gtk h264 hal hardlinkcutter hdri hog howl howl-compat httpd iconv icu id3 id3tag ieee1394 ifsession imagemagick imlib insecure-savers ipod iptv isdnlog java jingle joystick jpeg jpeg2k jumpplay kde kde4 keyring krb4 ladspa lame ldap libcaca libgcrypt libnotify libsamplerate libsysfs libv4l2 libvisual libwww liemikuutio lirc lircsettings live livebuffer lm_sensors logrotate lua lzma lzo mad madwifi mainmenuhooks matroska md5sum mdnsresponder-compat meanwhile memcache menu-plugin menuorg midi mikmod mixer mjpeg mmap mmx mng mod modplug mp2 mp3 mp3rtp mpeg mplayer msn mudflap musepack musicbrainz mvl nas nautilus ncurses nemesi network nls no-helper nptl nptlonly nsplugin nut nuv nxclient offensive ogg omega openal opengl openmp opensslcrypt osdmaxitems pam pango pcre pdf perl phonon physfs pinplugin plugins png pnm posix postscript ppds pppd prediction premiereepgfix pth pulseaudio pvr pyste python qpak qq qt3 qt3support qt4 quicktime radio rar rdesktop readline realmedia reflection remoteosd rewrite rrdcgi rrdtool rtc rtsp samba sametime sasl sdl sdl-image sdl-sound seamonkey sensord session settime setup-plugin sftp shaper shout sitemisc skins slang slp sndfile socks5 softosd softquota sortrecords sound soundex sourcecaps speex spell spl sqlite srt sse ssl startup-notification stream submenu subtitles svg svga switchtimer syncearly sysfs syslog t1lib taglib tcpd teletext tga theora threads tiff timercmd timerinfo tivo tools transcode transmitter trash-plugin truetype tslib ttxtsubs tv tv_check tv_combiner tv_pick_cgi twolame unicode upnp usb utempter utils v4l v4l2 validinput vcd vcdinfo vcdx vdr vidix vlm volctrl vorbis vorbis-psy vroot wad wareagleicon wavpack weather webdav wifi win32codecs wmf wxwindows x264 x86 xanim xattr xcb xcomposite xext xforms xine xinetd xml xmlrpc xmp xorg xosd xpm xscreensaver xulrunner xv xvid xvmc yaepg yahoo zephyr zeroconf zlib zvbi" 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 joystick void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="dummy fbdev i810 intel v4l vesa vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
how did you build gpgme with lfs support in the first place ?
(In reply to comment #1) > how did you build gpgme with lfs support in the first place ? > I don't think i did something special to gpgme. After a little research i found evidence that lfs support for gpgme is enabled by default on supported systems, see here: http://pyme.sourceforge.net/doc/gpgme/Largefile-Support-_0028LFS_0029.html
in /usr/include/gpgme/gpgme.h, line 78, i've replaced: #if 64 by #if (_FILE_OFFSET_BITS) == (64) and now compile. it's ok to do this?
same error here :'(
(In reply to comment #4) > same error here :'( > With GPGME-1.1.8-r1 it works fine
(In reply to comment #3) > in /usr/include/gpgme/gpgme.h, line 78, i've replaced: > > #if 64 > > by > > #if (_FILE_OFFSET_BITS) == (64) > > and now compile. it's ok to do this? > Don't touch the header file of gpgme yourself, it's more complicated... To be clear and speak with simple words, seahorse compiles correctly with gpgme-1.1.8 because it doesn't match _FILE_OFFSET_BITS macro into gpgme.h, this match is only available since 1.2.0 version, and because gpgme-config and seahorse source code don't define this macro, the compilation fails (with 1.2.0). But _FILE_OFFSET_BITS needs to be defined to 64 on 32 bits system, to be sure that largefile (usually bigger that 2GB) will be handle correctly, otherwises the behaviour of ftell,fseek (or something else of the same family) can be ramdom or in the worst case disastrous. I'll discuss about that with my herd (gnome). However if another dev has a better idea than mine, feel free to commented out this bug.
hey, i have the same error, i did what he said to change line 78, compiled it successfully, then re changed it back to the original... so now is this fine or ....
Modifying the headers might or might not work; seahorse is being build with LFS, just the include orders were wrong, so that the gpgme.h didn't know it. I've fixed it in portage without a bump. If you modified the headers, you might want to re-emerge when this hits the tree.
I reopen, because the current stable is broken, too and gpgme-1.2.0 is about to go stable. Can you fix the 2.24 series, please?
(In reply to comment #9) > I reopen, because the current stable is broken, too and gpgme-1.2.0 is about to > go stable. Can you fix the 2.24 series, please? > ...and seahorse-plugins as well, please?
Stabilization of app-crypt/seahorse-2.26.2 will occur in bug #281427.
why closing this bug while user actually reported something was missing to mark it fixed...
seahorse and seahorse plugins are affected, 2.24 versions fix is not mandatory since it's masked iirc.
*** Bug 281883 has been marked as a duplicate of this bug. ***
Comment #8 suggested that this bug is fixed.
(In reply to comment #15) > Comment #8 suggested that this bug is fixed. > It is for seahorse. It is NOT fixed for seahorse-plugins
Created attachment 202016 [details, diff] LFS patch This patch seems to fix compile issues with LFS in gpgme. The original patch can be found here : http://sisyphus.ru/br/srpm/Sisyphus/seahorse-plugins/patches/0
Fixed without a bump. Thanks for reporting.
Ebuilds are missing "inherit eutils". Please reopen.
Just looked via cvs (thanks to scarabeus for pointing that out), it's all fine now.
reopen per comment 19
+04 Sep 2009; Romain Perier <mrpouet@gentoo.org> + seahorse-plugins-2.26.2.ebuild: + Fix missing inheritance from eutils, per bug #275445. Fixed into the main tree without a bump.
*** Bug 287669 has been marked as a duplicate of this bug. ***