Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278494 - sys-fs/ecryptfs-utils-76 fails to build with =>app-crypt/gpgme-1.2.0
Summary: sys-fs/ecryptfs-utils-76 fails to build with =>app-crypt/gpgme-1.2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 277890
  Show dependency tree
 
Reported: 2009-07-20 18:54 UTC by ecroy
Modified: 2009-09-06 00:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ecroy 2009-07-20 18:54:26 UTC
On my ~x86 system ecryptfs-utils-76 fails to compile due to 
_FILE_OFFSET_BITS = 64 being not defined (as required by /usr/include/gpgme/gpgme.h:80)

Reproducible: Always

Steps to Reproduce:
1.emerge ecryptfs-utils
2.
3.

Actual Results:  
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -O2 -march=native -pipe -fomit-frame-pointer -msse4.1 -ftree-vectorize -MT libecryptfs_key_mod_passphrase_la-ecryptfs_key_mod_passphrase.lo -MD -MP -MF .deps/libecryptfs_key_mod_passphrase_la-ecryptfs_key_mod_passphrase.Tpo -c ecryptfs_key_mod_passphrase.c  -fPIC -DPIC -o .libs/libecryptfs_key_mod_passphrase_la-ecryptfs_key_mod_passphrase.o   
In file included from ecryptfs_key_mod_gpg.c:30:                                                                                                                                                               
/usr/include/gpgme/gpgme.h:80:2: error: #error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.                                           
make[3]: *** [libecryptfs_key_mod_gpg_la-ecryptfs_key_mod_gpg.lo] Error 1                                                                                                                                      
make[3]: *** Waiting for unfinished jobs....                                                                                                                                                                   

Expected Results:  
ecryptfs-utils being emerged without error

Using
CFLAGS="-D_FILE_OFFSET_BITS=64" emerge ecryptfs-utils
works around the problem and compilation finishes just fine.

My emerge --info:

Portage 2.2_rc33 (default/linux/x86/2008.0, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30 i686)                                               
=================================================================                                                                  
System uname: Linux-2.6.30-i686-Intel-R-_Core-TM-2_Duo_CPU_T9400_@_2.53GHz-with-gentoo-2.0.1                                       
Timestamp of tree: Mon, 20 Jul 2009 08:30:01 +0000                                                                                 
ccache version 2.4 [disabled]                                                                                                      
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r1
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.30
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -msse4.1 -ftree-vectorize"
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/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j4"
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/sunrise /usr/local/portage/layman/kde-testing /usr/local/portage/layman/gnash-cvs /usr/local/portage/mine"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa berkdb bittorrent bluetooth bzip2 cairo cdaudio cdda cddb cdparanoia cli consolekit cracklib crypt cups dbus desktopglobe dri dvb dvd ebook emulation encode extraengine ffmpeg fftw firefox flac fortran ftp gd gdbm geolocation gif gimp git glitz gmp google-gadgets gpg gphoto2 gps gsm hal iconv id3 id3tag ieee1394 isdnlog java java5 java6 jpeg kde kde4 kdehiddenvisibility kdeprefix kipi kvm lame laptop latex libsamplerate matroska mbrola midi mmx mmxext mng mp2 mp3 mp4 mpeg msn mudflap musepack musicbrainz mysql ncurses network networkmanager nls nptl nptlonly nsplugin ofx ogg openexr opengl openmp openssl oscar pam parallel pcre pdf perl plotutils png policykit postscript pppd pulseaudio python qt-webkit qt3 qt3support qt4 quicktime rar readline redland reflection replaygain rss samba sdl semantic-desktop session sha512 smp sms solver speex spell spl sql sqlite sqlite3 sse sse2 sse3 ssl ssse3 stream subversion svg sysfs taglib tcpd teletext theora tiff truetype tunepimp unicode usb v4l v4l2 vde vdpau visualization vlm vorbis webkit win32codecs x264 x86 xcomposite xml xorg xvid yahoo 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="fbdev nv vesa vga nvidia v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-07-20 20:10:11 UTC
This is of course an upstream bug of sys-fs/ecryptfs-utils,
as stated in NEWS of gpgme at v0.4.5 (2004-03-07).
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-06 00:32:11 UTC
Fixed in sys-fs/ecryptfs-utils-79.