Summary: | app-pda/libopensync-plugin-syncml-0.36 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo PDA project <pda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | betelgeuse, esigra, eXt, gentoo.cart9, juantxorena, niteblade, robin, ruepel, vostorga |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2009-05-09 23:51:05 UTC
Created attachment 190792 [details]
Build log
I have the same error, but with gcc-4.3.2-r3, so it's not related to gcc-4.4. 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 Okay so not GCC 4.4... somebody has a suggestion on what it _might_ be? :) 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? I have the same error with openobex-1.3, the stable one. (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? 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? (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... :( I suggest to add something similar to DEPEND="<app-pda/libsyncml-0.5.0" to this ebuild. (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?]" *** Bug 278692 has been marked as a duplicate of this bug. *** |