Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271451 - mail-client/evolution-2.26.2: no pst import plugin available
Summary: mail-client/evolution-2.26.2: no pst import plugin available
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 317443 (view as bug list)
Depends on: 272008
Blocks: gnome2.26
  Show dependency tree
 
Reported: 2009-05-27 19:48 UTC by Jeremy Sermersheim
Modified: 2010-05-17 16:46 UTC (History)
1 user (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 Jeremy Sermersheim 2009-05-27 19:48:10 UTC
when emerging evolution with the pst USE flag enabled no plugin is created.  from the configure phase here's the output received:

USE="pst" emerge -1 =mail-client/evolution-2.26.2
...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --without-kde-applnk-path --enable-plugins=experimental --with-weather --enable-nss --enable-smime --enable-mono --enable-nntp --enable-dbus --enable-audio-inline --enable-exchange --enable-pst-import --enable-pilot-conduits --disable-profiling --enable-python --with-openldap --without-krb5 --without-krb4 --enable-nss=yes
...
warning: libpst was not found, pst-import plugin will not be built.                                                    
you are probably missing libpst-devel package.

I have the latest version of libpst from the portage tree (although there is a new forked version that the evolution team appeared to have performed development against 0.6.17 (http://www.go-evolution.org/Libpst))
[I--] [ ~] net-mail/libpst-0.5.3 (0)

Reproducible: Always

Steps to Reproduce:
1. USE="pst" emerge -1 =mail-client/evolution-2.26.2
2. run evolution
3. import file and look for pst capability




ignyter ~ # emerge --info           
Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64)
=================================================================                                         
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.0.1       
Timestamp of tree: Wed, 27 May 2009 14:30:01 +0000                                                        
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                 
ccache version 2.4 [enabled]                                                                              
app-shells/bash:     4.0_p24                                                                              
dev-java/java-config: 2.1.8                                                                               
dev-lang/python:     2.6.2                                                                                
dev-util/ccache:     2.4-r8                                                                               
dev-util/cmake:      2.6.4                                                                                
sys-apps/baselayout: 2.0.1                                                                                
sys-apps/openrc:     0.4.3-r2                                                                             
sys-apps/sandbox:    1.9                                                                                  
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                                    
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="amd64 ~amd64"                                                                            
CBUILD="x86_64-pc-linux-gnu"                                                                              
CFLAGS="-march=native -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/share/config/kdm /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"                                                        
CXXFLAGS="-march=native -O2 -pipe"                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                       
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                           
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                  
LANG="en_US.utf8"                                                                                                      
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"                                                          
LINGUAS="en en_US"                                                                                                     
MAKEOPTS="-s -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="/dev/shm"                                                                                              
PORTDIR="/usr/portage"                                                                                                 
PORTDIR_OVERLAY="/usr/portage/local/layman/jokey /usr/portage/local/layman/java-overlay /usr/portage/local/layman/sunrise /usr/portage/local/portage"                                                                                         
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                         
USE="7zip X a52 aac aalib acl acpi ada aiglx alsa amd64 artswrappersuid audiofile bash-completion berkdb branding browserplugin bzip2 cairo canvas caps cdda cdr cjk cli commercial consolekit cracklib crypt css cups dbus dcraw dga dirac divx4linux djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi eds emboss emerald encode esd evo exif exscalibar fam fat ffmpeg flac foomatic-db fortran freetype fuse gcj gdbm gif gimp gimpprint glitz glut gnome gnutls gphoto2 gpm gsm gstreamer gtk hal iconv ieee1394 ipod isdnlog java jfs joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdgraphics kig-scripting kipi ladspa lame lcd lcms ldap libcaca libnotify libv4l2 lirc live lm_sensors logitech-mouse mad mbox mbrola midi mikmod mmx mono moznocompose moznoirc moznomail mozsvg mp3 mp3rtp mpeg mtp mudflap multilib musicbrainz nautilus ncurses nforce2 nls nntp nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis ole on-the-fly-crypt openexr opengl openmp pam pam_chroot pam_timestamp pcre pda pdf perforce perl php pmu png ppds pppd pwdb python qt qt3 qt3support qt4 quicktime raw rdesktop readline reflection reiserfs remote rtsp ruby samba scanner sdl session shout skins smp sms sndfile soundtouch speedo speex spell spl sql sqlite sse sse2 ssl ssse3 startup-notification stats stream subversion svg symlink sysfs tcpd theora threads tiff truetype udev unichrome unicode unzip usb v4l v4l2 vcd vdpau vim-pager visualization vlm vorbis wxwindows x264 xcb xcomposite xfs xine xinerama xml xml2 xorg xprint xscreensaver xulrunner xv xvid xvmc zip 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="dummy fbdev nv nvidia nouveau v4l vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2009-07-22 10:45:25 UTC
Does this work better when you have net-mail/libpst-0.6.38 installed? 
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-22 23:30:57 UTC
Ok, I was fixing the automagic-plugins patch tonight and with net-mail/libpst-0.6.37, I get a nice compilation error:

make[4]: entrant dans le répertoire « /var/tmp/portage/mail-client/evolution-2.26.3/work/evolution-2.26.3/plugins/pst-import »
../../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I -I../.. -DGETTEXT_PACKAGE="\"evolution-2.26\"" -DLOCALEDIR="\"\""  -DORBIT2=1 -pthread -I/usr/include/evolution-data-server-2.26 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/libsoup-2.4 -I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libgtkhtml-3.14 -I/usr/include/enchant -I/usr/include/libgtkhtml-3.14/editor -I/usr/include/nss -I/usr/include/nspr     -I/usr/include/libpst-2      -O2 -march=native -ftree-vectorize -pipe -g -Wall -Wmissing-prototypes  -Wno-sign-compare -MT pst-importer.lo -MD -MP -MF .deps/pst-importer.Tpo -c -o pst-importer.lo pst-importer.c
pst-importer.c:69:27: erreur: libpst/define.h : Aucun fichier ou dossier de ce type
pst-importer.c:78: erreur: expected declaration specifiers or ‘...’ before ‘pst_desc_ll’
pst-importer.c:79: erreur: expected declaration specifiers or ‘...’ before ‘pst_desc_ll’
pst-importer.c: In function ‘pst_import_file’:
pst-importer.c:452: erreur: ‘pst_desc_ll’ undeclared (first use in this function)
pst-importer.c:452: erreur: (Each undeclared identifier is reported only once
pst-importer.c:452: erreur: for each function it appears in.)
pst-importer.c:452: erreur: ‘d_ptr’ undeclared (first use in this function)
pst-importer.c:475: erreur: too few arguments to function ‘pst_parse_item’
pst-importer.c:488: erreur: too many arguments to function ‘pst_import_folders’
pst-importer.c: Hors de toute fonction :
pst-importer.c:499: erreur: expected declaration specifiers or ‘...’ before ‘pst_desc_ll’
pst-importer.c: In function ‘pst_import_folders’:
pst-importer.c:501: erreur: ‘pst_desc_ll’ undeclared (first use in this function)
pst-importer.c:501: erreur: ‘d_ptr’ undeclared (first use in this function)
pst-importer.c:504: erreur: ‘topitem’ undeclared (first use in this function)
pst-importer.c:509: erreur: too many arguments to function ‘pst_process_item’
pst-importer.c: Hors de toute fonction :
pst-importer.c:543: erreur: expected declaration specifiers or ‘...’ before ‘pst_desc_ll’
pst-importer.c: In function ‘pst_process_item’:
[snip]
pst-importer.c:1340: erreur: used struct type value where scalar is required
pst-importer.c:1341: erreur: incompatible type for argument 2 of ‘e_cal_component_set_location’
pst-importer.c:1408: erreur: used struct type value where scalar is required
pst-importer.c:1420: erreur: invalid operands to binary != (have ‘pst_string’ and ‘int’)
pst-importer.c: In function ‘pst_init’:
pst-importer.c:1709: attention : implicit declaration of function ‘DEBUG_ENT’
pst-importer.c: In function ‘get_pst_rootname’:
pst-importer.c:1740: erreur: too few arguments to function ‘pst_parse_item’
pst-importer.c:1752: erreur: invalid operands to binary == (have ‘pst_string’ and ‘void *’)
pst-importer.c:1759: erreur: incompatible type for argument 1 of ‘g_strdup’
make[4]: *** [pst-importer.lo] Erreur 1

my take is to disable this stuff unless someone comes up with a patch.
Comment 3 Pacho Ramos gentoo-dev 2009-07-23 10:39:44 UTC
Fedora has also dropped its support recently in 2.26:
%changelog
* Fri Jul 10 2009 Matthew Barnes <mbarnes@redhat.com> - 2.26.3-2.fc11
- Drop libpst requirement until its API stablizes.

Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-07-23 21:08:05 UTC
Fixed in 2.26* by disabling the plugin. I'll close this LATER, please reopen when libpst API stabilizes, we will have to try again with 2.28.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-27 12:45:47 UTC
*** Bug 317443 has been marked as a duplicate of this bug. ***
Comment 6 Alex Buell 2010-05-17 13:49:06 UTC
Can we try libpst with Evolution 2.28.x or 2.30.x? I have a huge amount of messages in some Exchange .PSF files waiting to be imported into Evolution. 

Also, can this bug get re-assigned to the trackers for Gnome 2.28 or 2.30?
Comment 7 Pacho Ramos gentoo-dev 2010-05-17 13:51:04 UTC
(In reply to comment #4)
> Fixed in 2.26* by disabling the plugin. I'll close this LATER, please reopen
> when libpst API stabilizes, we will have to try again with 2.28.
> 

Did its API finally stabilize?
Comment 8 Alex Buell 2010-05-17 15:07:01 UTC
There is libpst 0.6.45 available upstream, and unfortunately development seems to have ceased on this library. 

There's a most illuminating discussion on using this package with Evolution at http://bugs.launchpad.net/debian/+source/libpst/+bug/317602 and also
http://bugzilla.gnome.org/show_bug.cgi?id=208426

After reading all that above, I'm pretty sure we need libpst 0.6.24 to have a successful build. Perhaps I should ask to have that added to the repository and test. To have it working with libpst 0.6.27, it needs a small patch.

libpst >= 0.6.29 changed its API and would need fixing upstream. :S

Also, the PST use flag seems to have been removed from the ebuilds. 
Comment 9 Alex Buell 2010-05-17 15:10:58 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=603234 reports a successful outcome for 2.28.x. Please can we get this up and running? 
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-05-17 15:50:36 UTC
Please do not re-add people that removed themselves from CC, it's impolite.

pst plugin was removed because libpst API is unstable. If upstream disappeared, then bad luck, you are free to contact libpst upstream or fork the project to make it suitable for inclusion again.

About bugs in other distros, I didn't even read it as evolution upstream acknowledged the libpst API problem and simply stopped development on the plugin until it is API stable.
Comment 11 Alex Buell 2010-05-17 16:46:44 UTC
http://git.gnome.org/browse/evolution/commit?id=fd66fd1800b1f32f1de9f0b19749a11e7f8377b6 

This one adapts for use with libpst 0.6.41, which we do have in the repository.