Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269187 - app-pda/libopensync-plugin-syncml-0.36 fails to build
Summary: app-pda/libopensync-plugin-syncml-0.36 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
: 278692 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-09 23:51 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-09-19 16:13 UTC (History)
9 users (show)

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


Attachments
Build log (app-pda:libopensync-plugin-syncml-0.36:20090509-210735.log,89.39 KB, text/plain)
2009-05-10 00:02 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-09 23:51:05 UTC
Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.4.0-asneeded, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r2-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.0
Timestamp of tree: Fri, 08 May 2009 09:40:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.51.0.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -Wformat=2 -Wno-error -Wno-pointer-sign -g -ggdb -Wstrict-aliasing=2 -Wno-format-zero-length"
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/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -Wno-error -Wformat=2 -g -ggdb -Wstrict-aliasing=2"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=n"
FEATURES="autoaddcvs autoconfig collision-protect cvs distlocks fixpackages multilib-strict parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-march=barcelona -O2 -ftracer -pipe -ftree-vectorize -g -ggdb"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en it"
MAKEOPTS="-j8 -s"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
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="/media/repos/gentoo-x86-sync"
PORTDIR_OVERLAY="/var/spool/portage/overlays/cross /media/repos/flame/flame-overlay /var/spool/portage/overlays/gnome-perf /var/spool/portage/overlays/layman/x11 /var/spool/portage/overlays/layman/gentopia /var/spool/portage/overlays/layman/dberkholz /var/spool/portage/overlays/layman/x11 /var/spool/portage/overlays/layman/desktop-effects /var/spool/portage/overlays/layman/tante_overlay /var/spool/portage/overlays/layman/gnome /var/spool/portage/overlays/layman/emacs /var/spool/portage/overlays/layman/jokey /var/spool/portage/overlays/layman/java-overlay /var/spool/portage/overlays/layman/ruby /var/spool/portage/overlays/layman/graaff /var/spool/portage/overlays/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext S3TC a52 aac acl acpi4linux alsa amd64 apm audiofile avahi avi bluetooth bzip2 bzlib caps cdda cddb cdio cdr cjk cli crypt css cups custom-cflags custom-cxxflags dbus dlloader dnd dpms dri dts dvd dvdr dvdread emacs emboss fame ffmpeg flac foomaticdb gif gmp gnome gnome-keyring gnutls gpgme gphoto2 gtk gtk2 hal idn ieee1394 imlib imlib2 inotify isdnlog ithreads java5 java6 joystick jpeg kdehiddenvisibility latex libnotify lm_sensors lx700 lzw lzw-tiff maildir matroska midi mmx mmx2 mmxext mng mozsvg mp3 mpeg mpeg4 mpm-threadpool mudflap multilib native network-cron nls no_wxgtk1 noantlr nobcel nobeanutils nobsh nocommonslogging nocommonsnet nodrm nojdepend nojsch nojython nolog4j nomotif nooro noregexp norhino noxalan noxerces nptl nptlonly nsplugin ogg oggvorbis openmp pam pch pdf pdflib pic pmount png ppds pppd pulseaudio qemu-fast reflection rtc session snmp speex spell spl sse sse2 ssl ssse3 startup-notification stencil-buffer subversion svg svgz sysfs syslog tetex theora threads tiff truetype truetype-fonts type1 type1-fonts udev uncompressed-sounds unicode usb userlocales utf8 v4l v4l2 vhosts vorbis wxwindows x11vnc xcb xcomposite xorg xpm xv xvid zlib zvbi" ALSA_CARDS="hda-intel usb-audio mpu401 ice1712" ALSA_PCM_PLUGINS="iec958 plug ioplug hooks empty route asym 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en it" LIRC_DEVICES="kworld" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-10 00:02:49 UTC
Created attachment 190792 [details]
Build log
Comment 2 juantxorena@gmail.com 2009-05-11 13:17:45 UTC
I have the same error, but with gcc-4.3.2-r3, so it's not related to gcc-4.4.
Comment 3 Víctor Ostorga (RETIRED) gentoo-dev 2009-05-11 23:18:22 UTC
Can't reproduce this bug with gcc 4.4.0 

Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.4.0, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5-0.3a i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-0.3a-i686-Intel-R-_Xeon-TM-_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Sun, 10 May 2009 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://gentoo.mirrors.tera-byte.com/ http://gentoo.arcticnetwork.ca/source/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl bash-completion berkdb bzip2 cli cracklib crypt dri fortran gdbm gif gpm iconv ipv6 isdnlog jpeg jpeg2k jpg midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spl ssl sysfs tcpd tiff 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-11 23:29:24 UTC
Okay so not GCC 4.4... somebody has a suggestion on what it _might_ be? :)
Comment 5 Juergen Rose 2009-05-12 15:13:09 UTC
I have the same error with the missing header files:/var/tmp/portage/app-pda/libopensync-plugin-syncml-0.36/work/libopensync-plugin-syncml-0.36/src/syncml_common.h:47:35: error: libsyncml/obex_client.h: No such file or directory
/var/tmp/portage/app-pda/libopensync-plugin-syncml-0.36/work/libopensync-plugin-syncml-0.36/src/syncml_common.h:48:35: error: libsyncml/http_server.h: No such file or directory
/var/tmp/portage/app-pda/libopensync-plugin-syncml-0.36/work/libopensync-plugin-syncml-0.36/src/syncml_common.h:49:35: error: libsyncml/http_client.h: No such file or directory

And I really don't have these header files. Could it be that they disappeared with openobex-1.5?
Comment 6 juantxorena@gmail.com 2009-05-16 10:00:45 UTC
I have the same error with openobex-1.3, the stable one.
Comment 7 Rüpel 2009-05-18 14:01:31 UTC
(In reply to comment #4)
> Okay so not GCC 4.4... somebody has a suggestion on what it _might_ be? :)

Yeah well. Those missing headers are from libsyncml, which was updated from 0.4.6 to 0.5.2. recently. When I look into my /var/log/portage files for libsyncml, it seems, those files were there in libsyncml-0.4.6 - and are not with libsyncml-0.5.2. Have a look at my unmerge-log after upgrading from 0.4.6 to 0.5.2

No package files given... Grabbing a set.
--- replaced obj /usr/lib/pkgconfig/libsyncml-1.0.pc
--- replaced dir /usr/lib/pkgconfig
--- replaced obj /usr/lib/libsyncml.so.0.0.0
--- replaced sym /usr/lib/libsyncml.so.0
--- replaced sym /usr/lib/libsyncml.so
--- replaced dir /usr/lib
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/syncml.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_transport.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_session.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_parse.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_notification.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_md5.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_manager.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_error.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_elements.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_ds_server.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_devinf_obj.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_devinf.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_defines.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_command.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_base64.h
--- replaced obj /usr/include/libsyncml-1.0/libsyncml/sml_auth.h
<<<          obj /usr/include/libsyncml-1.0/libsyncml/obex_server.h
<<<          obj /usr/include/libsyncml-1.0/libsyncml/obex_client.h
<<<          obj /usr/include/libsyncml-1.0/libsyncml/http_server.h
<<<          obj /usr/include/libsyncml-1.0/libsyncml/http_client.h
--- replaced dir /usr/include/libsyncml-1.0/libsyncml
--- replaced dir /usr/include/libsyncml-1.0
--- replaced dir /usr/include
<<<          obj /usr/bin/syncml-obex-client
<<<          obj /usr/bin/syncml-http-server
<<<          obj /usr/bin/syncml-http-client
--- replaced dir /usr/bin
--- replaced dir /usr
>>> Regenerating /etc/ld.so.cache...

Don't ask me about API-changes in libraries I don't know, but that smells fishy... ;(

Or am I missing something?
Comment 8 Rüpel 2009-05-19 08:22:41 UTC
I've digged a bit more into the syncml website (though I still don't understand the structure of the project with libs and plugins and ... anyways).

Reading through the Release Notes of libopensync 0.38
http://opensync.org/wiki/opensync-0.38-notes
you discover
--
Syncml migrated to new high level API of libsyncml (thanks a lot to Michael Bell for his great work on syncml)
--

That looks cool. So I'd bet updating the whole libopensync-plugin-* family of ebuilds from 0.36 to 0.38 should solve the problem. Now who's going to do that?
Comment 9 Rüpel 2009-05-25 14:31:07 UTC
(In reply to comment #8)
> So I'd bet updating the whole libopensync-plugin-* family of
> ebuilds from 0.36 to 0.38 should solve the problem.

Seems that does *not* do the trick. There are even more API changes in newer versions of libsyncml, that break the libopensync-plugin. Even 0.38 (the latest tag) fails to compile against libsyncml 0.5.2. 

See for instance:
(someone complains about the API change at libsyncml)
http://libsyncml.opensync.org/ticket/204
(the corresponding fix got checked in in november)
http://opensync.org/changeset/3837/plugins/syncml/src/syncml_callbacks.c
(revision 3837 that is - release 0.38 (the latest) is based on revision 3722)

So, yeah, well. Waiting for upstream to tag a new release, I guess... :(
Comment 10 Matthias Schwarzott gentoo-dev 2009-06-03 11:00:04 UTC
I suggest to add something similar to
DEPEND="<app-pda/libsyncml-0.5.0"
to this ebuild.
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2009-09-19 16:05:17 UTC
(In reply to comment #10)
> I suggest to add something similar to
> DEPEND="<app-pda/libsyncml-0.5.0"
> to this ebuild.
> 

0.36 now pulls in:
-       >=app-pda/libsyncml-0.4.6"
+       ~app-pda/libsyncml-0.4.6[obex?,http?]"
Comment 12 Petteri Räty (RETIRED) gentoo-dev 2009-09-19 16:13:19 UTC
*** Bug 278692 has been marked as a duplicate of this bug. ***