Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233007 - multisync-0.83_pre20050414-r5 does not compile with openobex-1.3
Summary: multisync-0.83_pre20050414-r5 does not compile with openobex-1.3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-26 16:33 UTC by Juergen Rose
Modified: 2009-10-13 11:28 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/irmc_sync/config.log (config.log,34.45 KB, text/plain)
2008-07-26 19:49 UTC, Juergen Rose
Details
configure patch for openobex test (p,1.09 KB, patch)
2009-03-14 19:51 UTC, Seth Robertson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2008-07-26 16:33:10 UTC
checking for sdp_connect in -lsdp... yes
checking for correct SDP lib version... checking for OBEX_Init in -lopenobex... yes
checking for working openobex... configure: error: You must have openobex 0.9.8 or openobex >= 1.0.0 installed.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/irmc_sync/config.log
 * 
 * ERROR: app-pda/multisync-0.83_pre20050414-r5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3832:  Called run_compile
 *             environment, line 3688:  Called econf
 *               ebuild.sh, line  538:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed

On my system openobex-1.3 is installed since the beginning (13 month ago).


Reproducible: Always




root@condor:/root(167)# emerge --info
Portage 2.2_rc3 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Sat, 26 Jul 2008 15:30:02 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -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/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/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="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="C"
LDFLAGS=""
LINGUAS="de fr"
MAKEOPTS="-j1"
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/layman/arcon /usr/local/portage/layman/science /usr/local/portage/layman/sajinet /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 imagemagick imap innodb ipv6 irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libsamplerate lirc lm_sensors lua lzo lzw mad maildir math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl openmp pae pam pcre pda pdf perl plotutils plugins png posix postgres postscript pppd preview-latex proj projectx pstricks python qhull quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl stlport subtitles subversion suexec svg t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode userlocales utempter v4l2 vorbis wmf wxwindows xattr xemacs xext xine xml xmlreader xmlrpc xorg xpm xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wormo (RETIRED) gentoo-dev 2008-07-26 19:21:46 UTC
Please attach the config.log mentioned in your build failure:

/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/irmc_sync/config.log


Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-26 19:23:42 UTC
Sure this isn't a local problem? Does revdep-rebuild help? -r4 and -r5 do not differ wrt. OpenOBEX.
Comment 3 Juergen Rose 2008-07-26 19:49:42 UTC
Created attachment 161440 [details]
/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/irmc_sync/config.log
Comment 4 Juergen Rose 2008-07-26 20:00:56 UTC
I also did 'revdep-rebuild', but for some days, perhaps since gentoolkit-0.2.4_rc5 it is rather useless. revdep-rebuild does not find any package which should be rebuild.

root@condor:/root(194)# revdep-rebuild  -v
 * Configuring search environment for revdep-rebuild
 * Temporary files are located in /tmp/revdep-rebuild-root

revdep-rebuild environment:
SEARCH_DIRS="/bin
/lib
/lib32
/lib64
/opt/bin"
SEARCH_DIRS_MASK="/lib/modules
/lib64/modules
/opt/blackdown-jdk-1.4.2.03
/opt/emul-linux-x86-java-1.6.0.07
/opt/sun-jdk-1.5.0.15
/opt/sun-jdk-1.6.0.07
/usr/lib/libswt-awt-gtk-3347.so
/usr/lib64/codecs
/usr/lib64/libswt-awt-gtk-3347.so"
LD_LIBRARY_MASK="libjava.so
libjawt.so
libjvm.so
libodbc.so
libodbcinst.so"
PORTAGE_ROOT="/"
EMERGE_OPTIONS=""
ORDER_PKGS="1"
FULL_LD_PATH="1"

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 

 * Dynamic linking on your system is consistent... All done. 

I.e., /usr/bin, /usr/lib does not more belong to SEARCH_DIRS, but there are set
in /etc/revdep-rebuild/99revdep-rebuild.
Comment 5 Juergen Rose 2008-07-26 20:29:10 UTC
I found at http://bugs.gentoo.org/show_bug.cgi?id=232270 a patch for gentoolkit, which solved my problem with the small SEARCH_DIRS. But performing revdep-rebuild again, it tries only to build plplot for dev-lang/gdl and nothing else.

And emerging multisync-0.83_pre20050414-r5 fails again with:

libtool: link: x86_64-pc-linux-gnu-ar cru .libs/libevolution2_sync.a  evolution_sync.o evolution_ebook.o evolution_ecal.o evolution_etodo.o xml.o gui.o support.o interface.o callbacks.o
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libevolution2_sync.a
libtool: link: ( cd ".libs" && rm -f "libevolution2_sync.la" && ln -s "../libevolution2_sync.la" "libevolution2_sync.la" )
make[2]: Leaving directory `/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/evolution2_sync/src'
make[2]: Entering directory `/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/evolution2_sync'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/evolution2_sync'
make[1]: Leaving directory `/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/evolution2_sync'
 * Building irmc_sync
 * econf: updating multisync/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating multisync/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --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 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
...
checking for sdp_connect in -lsdp... yes
checking for correct SDP lib version... checking for OBEX_Init in -lopenobex... yes
checking for working openobex... configure: error: You must have openobex 0.9.8 or openobex >= 1.0.0 installed.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/irmc_sync/config.log
Comment 6 Kristian Karl 2008-09-09 18:33:27 UTC
I have exactly the same problem. Any solutions?
Comment 7 Jan Schubert 2008-10-01 13:34:51 UTC
same here (for -r4 and r5)
Comment 8 Juergen Rose 2008-12-15 11:53:20 UTC
Any news?
Comment 9 Alessandro Candini 2009-03-03 20:22:31 UTC
Today (3rd of March 2009) bluez-utils-3.36 went stable in the portage tree and with revdep-rebuild I encountered this same problem.Any ideas?
Comment 10 Seth Robertson 2009-03-14 19:51:07 UTC
Created attachment 184982 [details, diff]
configure patch for openobex test

The problem is the configure test for the appropriate compatibility is missing a definition for NULL.  Adding #include <stdlib.h> allows the tests to succeed on their own merits.
Comment 11 Seth Robertson 2009-03-14 20:10:15 UTC
Sorry, the patch I just uploaded was for plugins/irmc_sync/configure*, not the top level configure*

You do not need to patch configure, only configure.in...on my system at least.
Comment 12 Jan Schubert 2009-03-16 21:09:30 UTC
The patch seems to work for me, thx.

Now, I ran into the next issue:

[...]
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\"/usr/share/multisync\" -I../../../src/libversit -I.. -DORBIT2=1 -pthread -D_REENTRANT -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -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/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -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 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/directfb -I/usr/include/libpng12 -I../include -I../../../include -Werror -march=prescott -O2 -pipe -fomit-frame-pointer -DLDAP_DEPRECATED -I/usr/kde/3.5/include -I/usr/kde/3.5/include -I/usr/kde/3.5/include -I/usr/kde/3.5/include -I/usr/kde/3.5/include -I/usr/kde/3.5/include -MT xml.lo -MD -MP -MF .deps/xml.Tpo -c xml.c  -fPIC -DPIC -o .libs/xml.o
cc1: warnings being treated as errors
gui.c: In function 'messageBox':
gui.c:23: error: format not a string literal and no format arguments
make[2]: *** [gui.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/xml.Tpo .deps/xml.Plo
mv -f .deps/ldap_plugin.Tpo .deps/ldap_plugin.Plo
make[2]: Leaving directory `/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/ldap_plugin/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/multisync-0.83_pre20050414-r5/work/multisync/plugins/ldap_plugin'
make: *** [all] Error 2
 *
 * ERROR: app-pda/multisync-0.83_pre20050414-r5 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 3778:  Called run_compile
 *             environment, line 3628:  Called die
Comment 13 Roumano 2009-03-23 18:54:10 UTC
This patch is working for me.
You can remove the ldap userflag for this package : it's works.
Comment 14 Cedric Laczny 2009-07-03 07:28:49 UTC
Hi, I encountered the very same problem and it got fixed following the solution by peter green (msg #10) in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519638
It works for me with app-pda/multisync-0.83_pre20050414-r5  USE="bluetooth irmc kde -evo -gnokii -ldap -nokia6600 -pda"
However, I don't know if this is a good idea (good programming) to work it around like this.
Comment 15 Samuli Suominen (RETIRED) gentoo-dev 2009-10-13 11:28:50 UTC
Removed from tree (see bug 279384).