1.06.17 break include path with 0.9.x version

Bug #134529 reported by mariodebian
4
Affects Status Importance Assigned to Milestone
xmlrpc-c (Ubuntu)
Fix Released
Low
Jérémie Corbier

Bug Description

I'm using this lib to create a simple XMLRPC server to work in a thin client contoller.

My main .c file contains:

#include <xmlrpc.h>
#include <xmlrpc_abyss.h>

When I go to compile with a simple Makefile I obtain this error:

tcosxmlrpc.c:34:26: error: xmlrpc_abyss.h: No such file or directory

Old version:

$ ls /usr/include/*xmlrpc* -1
/usr/include/xmlrpc_abyss.h
/usr/include/xmlrpc_cgi.h
/usr/include/xmlrpc_client.h
/usr/include/xmlrpc.h

New version:

xmlrpc_cgi.h -> xmlrpc-c/server_cgi.h
xmlrpc_client.h -> xmlrpc-c/client.h
xmlrpc.h -> xmlrpc-c/oldxmlrpc.h
xmlrpc_server_abyss.h -> xmlrpc-c/server_abyss.h
xmlrpc_server.h -> xmlrpc-c/server.h
xmlrpc_server_w32httpsys.h -> xmlrpc-c/server_w32httpsys.h

I have automated package build of my app with pbuilder and only in gutsy fails to build (debian etch, debian sid, and others ubuntu's works ok)

Please preserve include files names between versions.

PD.- Sources: http://trac.tcosproject.org/browser/trunk/tcosmonitor/xmlrpc
(see Makefile or tcosxmlrpc.c)

Revision history for this message
Jérémie Corbier (jcorbier) wrote :

Hi! Really sorry for the inconvenience. Someone screwed up big time on this one. Did you try to build your application with the updated paths? I am trying to figure out whether there were any API changes between 0.9.x and this new version... I could not decide if it is the case by looking at the Changelog.

Revision history for this message
mariodebian (mariodebian) wrote : Re: [Bug 134529] Re: 1.06.17 break include path with 0.9.x version

El vie, 24-08-2007 a las 23:50 +0000, Jérémie Corbier escribió:
> Hi! Really sorry for the inconvenience. Someone screwed up big time on
> this one. Did you try to build your application with the updated paths?
> I am trying to figure out whether there were any API changes between
> 0.9.x and this new version... I could not decide if it is the case by
> looking at the Changelog.
>

Hi again.

I have made a small and ugly check in Makefile/C code to include correct
file:

http://trac.tcosproject.org/changeset/439

With this all seems to compile and work again.

Perhaps someone can give some errors if not know about new version paths
or includes.

Where I can see Build-deps of all Ubuntu/Debian packages with
libxmlrpc-c3-dev to check more errors?

--
http://soleup.eup.uva.es/mariodebian

Revision history for this message
Jérémie Corbier (jcorbier) wrote :

It looks like only two packages build-depend on libxmlrpc-c3-dev: openser-xmlrpc-module and libapache2-mod-xmlrpc2.

Changed in xmlrpc-c:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
mariodebian (mariodebian) wrote :

El lun, 27-08-2007 a las 18:03 +0000, Jérémie Corbier escribió:
> It looks like only two packages build-depend on libxmlrpc-c3-dev:
> openser-xmlrpc-module and libapache2-mod-xmlrpc2.
>
> ** Changed in: xmlrpc-c (Ubuntu)
> Importance: Undecided => Low
> Status: New => Confirmed
>

Hi again!!!

libapache2-mod-xmlrpc2 seems to compile well in my gutsy pbuilder
updated environment (use apache2 and not abyss web server API)

openser fails with same error that my package:

gcc -fPIC -DPIC -Wall -g -O2 -g -Wcast-align -DNAME='"openser"'
-DVERSION='"1.2.1-notls"' -DARCH='"i386"' -DOS='"linux"'
-DCOMPILER='"gcc 4.1.3"' -D__CPU_i386 -D__OS_linux -D__SMP_yes
-DCFG_DIR='"/etc/openser/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
-DSTATISTICS -DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
-I/usr/local/include -I/usr/local/include/xmlrpc-c
-I/usr/include/xmlrpc-c -c mi_xmlrpc.c -o mi_xmlrpc.o
mi_xmlrpc.c:44:26: error: xmlrpc_abyss.h: No such file or directory
mi_xmlrpc.c: In function 'mod_child_init':
mi_xmlrpc.c:162: warning: implicit declaration of function
'xmlrpc_server_abyss_init_registry'
mi_xmlrpc.c:172: error: 'xmlrpc_server_abyss_rpc2_handler' undeclared
(first use in this function)
mi_xmlrpc.c:172: error: (Each undeclared identifier is reported only
once
mi_xmlrpc.c:172: error: for each function it appears in.)
mi_xmlrpc.c:178: error: 'xmlrpc_server_abyss_default_handler' undeclared
(first use in this function)
make[2]: *** [mi_xmlrpc.o] Error 1
make[2]: Leaving directory `/tmp/buildd/openser-1.2.1/modules/mi_xmlrpc'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/tmp/buildd/openser-1.2.1'
make: *** [build-stamp] Error 2
pbuilder: Failed autobuilding of package
---------------------------------------------

Perhaps you must alert openser mantainers/authors to update __OR__
provide a symbolic link in libxmlrpc-c3-dev package:

/usr/include/xmlrpc_abyss.h -> /usr/include/xmlrpc_server_abyss.h

Gretings and thanks for your work.

--
http://soleup.eup.uva.es/mariodebian

Changed in xmlrpc-c:
assignee: nobody → jcorbier
status: Confirmed → In Progress
Revision history for this message
Jérémie Corbier (jcorbier) wrote :

xmlrpc-c (1.06.17-0ubuntu4) gutsy; urgency=low

  * libxmlrpc-c3-dev:
    -> Fix header file transition link: the legacy name for
      /usr/include/xmlrpc-c/server_abyss.h is xmlrpc_abyss.h, not
      xmlrpc_server_abyss.h (LP: #134529).
    -> Ship xmlrpc and its documentation (LP: #134985).

 -- Jeremie Corbier <email address hidden> Mon, 27 Aug 2007 15:44:57 -0700

Changed in xmlrpc-c:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.