[Pkg-ace-devel] Did some experimenting

Pau Garcia i Quiles pgquiles at elpauer.org
Sun Dec 13 15:19:02 UTC 2009


On Sun, Dec 13, 2009 at 9:05 AM, Thomas Girard <thomas.g.girard at free.fr> wrote:

>> 1. Try building tests and examples. The fact that ACE and TAO build
>> now does not mean it runs fine. I only use a small part of ACE (timers
>> and sockets), thus I cannot vouch for the correctness of the binaries
>> being generated now.
>
> As far as I recall, there was no test run in the build. I agree that to
> improve package quality we should include a test phase, but building is
> very long, and packages have been RC for a while already. So I suggest
> we upload a fix for them, then think about a test method. What do you
> think? Johnny, are tests run when RPM are built?

OK

> To reduce the difference with the regular build mechanism, we have two
> scripts:
>  1. debian/cmp-installation.sh

I'll give it a run on testing, sid and karmic and will post the results.

>  2. the script available from thread (1) -- it needs to be added to our
>    build scripts.

Where should it be added and what should we do with the results we get
from the builder machines?

> I'm rebuilding the 5.6.3 packages right now.
>
> Your name and email are missing from debian/changelog and debian/rules;
> I'll add them.
>
> Thanks for your work, Pau.

Thank you.

One more thing: while ACE now builds on Squeeze and Sid, it does not
on Lenny :-( I'm just speculating but I'd say this is because Lenny
has libtool 1.5.26 and autoupdate is not properly updating obsolete
macros. The error I'm seeing is the well-known BUILD_TESTS is not
defined:

tests/ORB_Local_Config/Two_DLL_ORB/Makefile.am:19:   The usual way to
define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
tests/ORB_Local_Config/Two_DLL_ORB/Makefile.am:19:   to `configure.ac'
and run `aclocal' and `autoconf' again.
tests/ORB_Local_Config/Two_DLL_ORB/Makefile.am:19:   If
`AC_PROG_LIBTOOL' is in `configure.ac', make sure
tests/ORB_Local_Config/Two_DLL_ORB/Makefile.am:19:   its definition is
in aclocal's search path.
tests/Object_Loader/Makefile.am:71: Libtool library used but `LIBTOOL'
is undefined
tests/Object_Loader/Makefile.am:71:   The usual way to define
`LIBTOOL' is to add `AC_PROG_LIBTOOL'
tests/Object_Loader/Makefile.am:71:   to `configure.ac' and run
`aclocal' and `autoconf' again.
tests/Object_Loader/Makefile.am:71:   If `AC_PROG_LIBTOOL' is in
`configure.ac', make sure
tests/Object_Loader/Makefile.am:71:   its definition is in aclocal's
search path.
tests/POA/Explicit_Activation/Alt_Resources/Makefile.am:22: Libtool
library used but `LIBTOOL' is undefined
tests/POA/Explicit_Activation/Alt_Resources/Makefile.am:22:   The
usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
tests/POA/Explicit_Activation/Alt_Resources/Makefile.am:22:   to
`configure.ac' and run `aclocal' and `autoconf' again.
tests/POA/Explicit_Activation/Alt_Resources/Makefile.am:22:   If
`AC_PROG_LIBTOOL' is in `configure.ac', make sure
tests/POA/Explicit_Activation/Alt_Resources/Makefile.am:22:   its
definition is in aclocal's search path.
tests/POA/Generic_Servant/Makefile.am:47: Libtool library used but
`LIBTOOL' is undefined
tests/POA/Generic_Servant/Makefile.am:47:   The usual way to define
`LIBTOOL' is to add `AC_PROG_LIBTOOL'
tests/POA/Generic_Servant/Makefile.am:47:   to `configure.ac' and run
`aclocal' and `autoconf' again.
tests/POA/Generic_Servant/Makefile.am:47:   If `AC_PROG_LIBTOOL' is in
`configure.ac', make sure
tests/POA/Generic_Servant/Makefile.am:47:   its definition is in
aclocal's search path.
tests/Smart_Proxies/Collocation/Makefile.am:19: Libtool library used
but `LIBTOOL' is undefined
tests/Smart_Proxies/Collocation/Makefile.am:19:   The usual way to
define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
tests/Smart_Proxies/Collocation/Makefile.am:19:   to `configure.ac'
and run `aclocal' and `autoconf' again.
tests/Smart_Proxies/Collocation/Makefile.am:19:   If `AC_PROG_LIBTOOL'
is in `configure.ac', make sure
tests/Smart_Proxies/Collocation/Makefile.am:19:   its definition is in
aclocal's search path.
tests/TransportCurrent/lib/Makefile.am:19: Libtool library used but
`LIBTOOL' is undefined
tests/TransportCurrent/lib/Makefile.am:19:   The usual way to define
`LIBTOOL' is to add `AC_PROG_LIBTOOL'
tests/TransportCurrent/lib/Makefile.am:19:   to `configure.ac' and run
`aclocal' and `autoconf' again.
tests/TransportCurrent/lib/Makefile.am:19:   If `AC_PROG_LIBTOOL' is
in `configure.ac', make sure
tests/TransportCurrent/lib/Makefile.am:19:   its definition is in
aclocal's search path.
Makefile.am:18: BUILD_EXAMPLES does not appear in AM_CONDITIONAL
Makefile.am:22: BUILD_TESTS does not appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1
make: *** [autotools-stamp] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Even if I modify patch 14-autoconf-tao to use AC_PROG_LIBTOOL instead
of LT_INIT, I'm seeing the errors:

Makefile.am:18: BUILD_EXAMPLES does not appear in AM_CONDITIONAL
Makefile.am:22: BUILD_TESTS does not appear in AM_CONDITIONAL

Some magic is still needed for Lenny :-/

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)



More information about the Pkg-ace-devel mailing list