Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217784 - app-pda/libopensync-plugin-syncml-0.22 fails with libsyncml 0.4.6 installed
Summary: app-pda/libopensync-plugin-syncml-0.22 fails with libsyncml 0.4.6 installed
Status: RESOLVED DUPLICATE of bug 208010
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-15 11:36 UTC by Ruben Faelens
Modified: 2008-05-17 02:40 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 Ruben Faelens 2008-04-15 11:36:37 UTC
libopensync-plugin-syncml depends on libsyncml. It compiles with 'treat warnings as fatal errors'. In syncml-0.4.6, 'smlSessionSetReceivingLimit' is marked deprecated. This generates a warning, and as such: a fatal error.

Reproducible: Always

Steps to Reproduce:
1.Emerge libsyncml-0.4.6
2.Emerge libopensync-plugin-syncml-0.22

Actual Results:  
When emerging libopensync-plugin-syncml-0.22, the following error occurs:
...
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libsyncml-1.0 -I/usr/include/libxml2 -Wall -Werror -I/usr/include/opensync-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libsyncml-1.0 -I/usr/include/libxml2 -O2 -march=pentium4 -fomit-frame-pointer -MT syncml_plugin.lo -MD -MP -MF .deps/syncml_plugin.Tpo -c syncml_plugin.c  -fPIC -DPIC -o .libs/syncml_plugin.o
cc1: warnings being treated as errors
syncml_plugin.c: In function '_manager_event':
syncml_plugin.c:297: warning: 'smlSessionSetReceivingLimit' is deprecated (declared at /usr/include/libsyncml-1.0/libsyncml/sml_session.h:91)
make[2]: *** [syncml_plugin.lo] Error 1
...

Expected Results:  
libopensync-plugin-syncml-0.22 should not treat warnings as errors
OR
libsyncml-0.4.6 should be masked until libopensync-plugin-syncml-0.36 and all dependencies are unmasked.

A patch to ignore the deprecated warning, or a minor patch upstream to work around 'smlSessionSetReceivingLimit' is probably the way to go.
Comment 1 Aurélien Francillon 2008-05-16 12:59:52 UTC
Please some one Mark this as a dupe of bug #208010
Comment 2 Ruben Faelens 2008-05-17 02:40:53 UTC

*** This bug has been marked as a duplicate of bug 208010 ***