[Pkg-ace-devel] Did some experimenting

Pau Garcia i Quiles pgquiles at elpauer.org
Fri Dec 11 15:14:32 UTC 2009


Hello Johnny,

This is still ongoing work but I don't want you to waste your time
removing duplicates:

Makefile.am files are generated by MWC/MPC, therefore modifying
Makefile.am gets nothing done, meaning commit 88107 to ACE trunk is
useless.

I have looked into ACE_wrappers/TAO/tao/tao.mpc but there are no
direct references to the pidl files, just lines like this:

    CONV_FRAME.pidl >> AnyTypeCode/CONV_FRAMEA.h AnyTypeCode/CONV_FRAMEA.cpp

It seems like MWC/MPC are outputting the pidl filename twice for every
pidl because the pidl files are found twice, once in
ACE_wrappers/TAO/tao/tao.mpc and another one in
ACE_wrappers/TAO/MPC/config/pidl.mpb. After applying this patch, the
.pidl files are listed only once in ACE_wrappers/TAO/tao/tao.mpc. It's
still building, though:

diff -rupd ACE_wrappers.orig/TAO/tao/tao.mpc ACE_wrappers/TAO/tao/tao.mpc
--- ACE_wrappers.orig/TAO/tao/tao.mpc   2009-12-11 15:50:14.297360952 +0100
+++ ACE_wrappers/TAO/tao/tao.mpc        2009-12-11 16:04:17.529383426 +0100
@@ -1,6 +1,6 @@
 //$Id: tao.mpc 79930 2007-11-05 03:06:19Z jtc $

-project(TAO) : acelib, install, tao_output, taodefaults, pidl,
extra_core, tao_versioning_idl_defaults, gen_ostream, corba_e_micro,
corba_e_compact, core_minimum_corba, tao_no_iiop {
+project(TAO) : acelib, install, tao_output, taodefaults, extra_core,
tao_versioning_idl_defaults, gen_ostream, corba_e_micro,
corba_e_compact, core_minimum_corba, tao_no_iiop {
   sharedname   = TAO
   dynamicflags = TAO_BUILD_DLL



On Fri, Dec 11, 2009 at 3:23 PM, Pau Garcia i Quiles
<pgquiles at elpauer.org> wrote:
> Hello,
>
> More duplicates in TAO/tao/Makefile.am:
>
> CharSeq.pidl
> CONV_FRAME.pidl
> Current.pidl
> DoubleSeq.pidl
> FloatSeq.pidl
> GIOP.pidl
> IIOP_Endpoints.pidl
> IIOP.pidl
> IOP.pidl
> LongDoubleSeq.pidl
> LongLongSeq.pidl
> LongSeq.pidl
> Messaging_PolicyValue.pidl
> Messaging_SyncScope.pidl
> ObjectIdList.pidl
> OctetSeq.pidl
> orb_types.pidl
> ParameterMode.pidl
> PI_Forward.pidl
> Policy_Current.pidl
> Policy_Forward.pidl
> Policy_Manager.pidl
> PortableInterceptor.pidl
> Services.pidl
> ShortSeq.pidl
> StringSeq.pidl
> TAO.pidl
> TimeBase.pidl
> ULongLongSeq.pidl
> ULongSeq.pidl
> UShortSeq.pidl
> WCharSeq.pidl
> WStringSeq.pidl
> IOP_IOR.pidl
> PI/ClientRequestInfo.pidl
> PI/ClientRequestInterceptor.pidl
> PI/Interceptor.pidl
> PI/InvalidSlot.pidl
> PI/ORBInitInfo.pidl
> PI/ORBInitializer.pidl
> PI/PICurrent.pidl
> PortableServer/AdapterActivator.pidl
> PortableServer/ForwardRequest.pidl
> PortableServer/IdAssignmentPolicy.pidl
> PortableServer/IdUniquenessPolicy.pidl
> PortableServer/ImplicitActivationPolicy.pidl
> PortableServer/LifespanPolicy.pidl
> PortableServer/POA.pidl
> PortableServer/POAManager.pidl
> PortableServer/POAManagerFactory.pidl
> PortableServer/PS_Current.pidl
> PortableServer/PortableServer.pidl
> PortableServer/PortableServer_include.pidl
> PortableServer/RequestProcessingPolicy.pidl
> PortableServer/ServantActivator.pidl
> PortableServer/ServantLocator.pidl
> PortableServer/ServantManager.pidl
> PortableServer/ServantRetentionPolicy.pidl
> PortableServer/ThreadPolicy.pidl
> CSD_Framework/CSD_Framework.pidl
> Compression/Compression.pidl
> DynamicAny/DynamicAny.pidl
> IFR_Client/IFR_Base.pidl
> IFR_Client/IFR_Basic.pidl
> IFR_Client/IFR_Components.pidl
> IFR_Client/IFR_Extended.pidl
> ObjRefTemplate/Default_ORT.pidl
> ObjRefTemplate/ObjectReferenceTemplate.pidl
> ObjRefTemplate/ObjectReferenceTemplate_include.pidl
> IORInterceptor/IORInfo.pidl
> IORInterceptor/IORInterceptor.pidl
> IORManipulation/IOR.pidl
> IORTable/IORTable.pidl
> ImR_Client/ImplRepo.pidl
> ImR_Client/ServerObject.pidl
> PI_Server/PI_Server_include.pidl
> PI_Server/ServerRequestInfo.pidl
> RTCORBA/RTCORBA.pidl
> RTCORBA/RTCORBA_include.pidl
> RTPortableServer/RTPortableServer.pidl
> RTPortableServer/RTPortableServer_include.pidl
> PI/PIForwardRequest.pidl
> PI/PI_include.pidl
> PI/ProcessingModePolicy.pidl
> PI/RequestInfo.pidl
> BiDir_GIOP/BiDirPolicy.pidl
> CodecFactory/IOP_Codec.pidl
> CodecFactory/IOP_Codec_include.pidl
> RTScheduling/RTScheduler.pidl
> RTScheduling/RTScheduler_include.pidl
>
> In TAO/orbsvcs/orbsvcs/Makefile.am:
>
> Event/event_skel_export.h is listed twice in two separate places
>
> (some of them may not be in trunk but only in 5.6.3)
>
> Good news: if I run 'autoupdate' and remove all those duplicates, I am
> able to regenerate the 5.6.3 packages with the latest autotools
> (autoconf 2.64, automake 1.11, libtool 2.2.6a, bash 4.0 and /bin/sh ->
> /bin/dash).
>
> IMHO 'autoupdate' should be part of the 'bootstrap' script, ran just
> before autoreconf.
>
> On Fri, Dec 11, 2009 at 10:00 AM, Johnny Willemsen <jwillemsen at remedy.nl> wrote:
>> Hi
>>
>> BooleanSeq.pidl is listed twice in tao/tao/makefile.am, I correct this now
>> on svn head.
>>
>> Johnny
>>
>>> > libtool: install: warning: relinking `libTAO_ZlibCompressor.la'
>>> > (cd /tmp/buildd/ace/ace-5.6.3/objdir/TAO/tao; /bin/bash ../libtool
>>> > --tag=CXX --mode=relink g++ -W -Wall -Wpointer-arith
>>> > -fvisibility=hidden -fvisibility-inlines-hidden -g -O2 -O2 -pthread
>>> > -release 1.6.3 -L/lib -Wl,-Bsymbolic-functions -o
>>> > libTAO_ZlibCompressor.la -rpath /usr/lib
>>> > libTAO_ZlibCompressor_la-ZlibCompressor.lo
>>> > libTAO_ZlibCompressor_la-ZlibCompressor_Factory.lo
>>> > libTAO_Compression.la libTAO.la ../../ace/libACE.la -lz
>>> > -inst-prefix-dir /tmp/buildd/ace/ace-5.6.3/debian/tmp)
>>> > g++ -shared -nostdlib
>>> > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crti.o
>>> > /usr/lib/gcc/i486-linux-gnu/4.4.1/crtbeginS.o
>>> > .libs/libTAO_ZlibCompressor_la-ZlibCompressor.o
>>> > .libs/libTAO_ZlibCompressor_la-ZlibCompressor_Factory.o  -L/lib
>>> > -L/tmp/buildd/ace/ace-5.6.3/debian/tmp/usr/lib -L/usr/lib
>>> > -lTAO_Compression -lTAO -lACE -lz -L/usr/lib/gcc/i486-linux-gnu/4.4.1
>>> > -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib -L/lib/../lib
>>> > -L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.4.1/../../..
>>> > -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i486-linux-gnu/4.4.1/crtendS.o
>>> > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/crtn.o  -pthread
>>> > -Wl,-Bsymbolic-functions -Wl,-soname
>>> > -Wl,libTAO_ZlibCompressor-1.6.3.so -o
>>> > .libs/libTAO_ZlibCompressor-1.6.3.so
>>> > /usr/bin/install -c .libs/libTAO_ZlibCompressor-1.6.3.soT
>>> > /tmp/buildd/ace/ace-5.6.3/debian/tmp/usr/lib/libTAO_ZlibCompressor-
>>> 1.6.3.so
>>> > (cd /tmp/buildd/ace/ace-5.6.3/debian/tmp/usr/lib && { ln -s -f
>>> > libTAO_ZlibCompressor-1.6.3.so libTAO_ZlibCompressor.so || { rm -f
>>> > libTAO_ZlibCompressor.so && ln -s libTAO_ZlibCompressor-1.6.3.so
>>> > libTAO_ZlibCompressor.so; }; })
>>> > /usr/bin/install -c .libs/libTAO_ZlibCompressor.lai
>>> > /tmp/buildd/ace/ace-5.6.3/debian/tmp/usr/lib/libTAO_ZlibCompressor.la
>>> > libtool: install: warning: remember to run `libtool --finish
>>> /usr/lib'
>>> > test -z "/usr/include/tao" || /bin/mkdir -p
>>> > "/tmp/buildd/ace/ace-5.6.3/debian/tmp/usr/include/tao"
>>> >  /usr/bin/install -c -m 644
>>> > ../../../ACE_wrappers/TAO/tao/Abstract_Servant_Base.h
>>> > ../../../ACE_wrappers/TAO/tao/Abstract_Servant_Base.inl
>>> > ../../../ACE_wrappers/TAO/tao/Acceptor_Filter.h
>>> > ../../../ACE_wrappers/TAO/tao/Acceptor_Impl.cpp
>>> > ../../../ACE_wrappers/TAO/tao/Acceptor_Impl.h
>>> > ../../../ACE_wrappers/TAO/tao/Acceptor_Registry.h
>>> > ../../../ACE_wrappers/TAO/tao/Acceptor_Registry.inl
>>> > ../../../ACE_wrappers/TAO/tao/Adapter.h
>>> > ../../../ACE_wrappers/TAO/tao/Adapter_Factory.h
>>> > ../../../ACE_wrappers/TAO/tao/Adapter_Registry.h
>>> > ../../../ACE_wrappers/TAO/tao/Allocator.h
>>> > ../../../ACE_wrappers/TAO/tao/AnyTypeCode_Adapter.h
>>> > ../../../ACE_wrappers/TAO/tao/Any_Insert_Policy_T.h
>>> > ../../../ACE_wrappers/TAO/tao/Arg_Traits_T.h
>>> > ../../../ACE_wrappers/TAO/tao/Argument.h
>>> > ../../../ACE_wrappers/TAO/tao/Array_Traits_T.h
>>> > ../../../ACE_wrappers/TAO/tao/Array_VarOut_T.cpp
>>> > ../../../ACE_wrappers/TAO/tao/Array_VarOut_T.h
>>> > ../../../ACE_wrappers/TAO/tao/Array_VarOut_T.inl
>>> > ../../../ACE_wrappers/TAO/tao/Asynch_Queued_Message.h
>>> > ../../../ACE_wrappers/TAO/tao/Asynch_Reply_Dispatcher_Base.h
>>> > ../../../ACE_wrappers/TAO/tao/Asynch_Reply_Dispatcher_Base.inl
>>> > ../../../ACE_wrappers/TAO/tao/Auto_Functor.h
>>> > ../../../ACE_wrappers/TAO/tao/BD_String_Argument_T.cpp
>>> > ../../../ACE_wrappers/TAO/tao/BD_String_Argument_T.h
>>> > ../../../ACE_wrappers/TAO/tao/BD_String_Argument_T.inl
>>> > ../../../ACE_wrappers/TAO/tao/Base_Transport_Property.h
>>> > ../../../ACE_wrappers/TAO/tao/Base_Transport_Property.inl
>>> > ../../../ACE_wrappers/TAO/tao/Basic_Argument_T.cpp
>>> > ../../../ACE_wrappers/TAO/tao/Basic_Argument_T.h
>>> > ../../../ACE_wrappers/TAO/tao/Basic_Argument_T.inl
>>> > ../../../ACE_wrappers/TAO/tao/Basic_Arguments.h
>>> > ../../../ACE_wrappers/TAO/tao/Basic_Types.h
>>> > ../../../ACE_wrappers/TAO/tao/BiDir_Adapter.h
>>> > ../../../ACE_wrappers/TAO/tao/Bind_Dispatcher_Guard.h
>>> > ../../../ACE_wrappers/TAO/tao/Bind_Dispatcher_Guard.inl
>>> > ../../../ACE_wrappers/TAO/tao/Block_Flushing_Strategy.h
>>> > ../../../ACE_wrappers/TAO/tao/Blocked_Connect_Strategy.h
>>> > ../../../ACE_wrappers/TAO/tao/BooleanSeq.pidl
>>> > ../../../ACE_wrappers/TAO/tao/BooleanSeq.pidl
>>> > '/tmp/buildd/ace/ace-5.6.3/debian/tmp/usr/include/tao/.'
>>> > /usr/bin/install: will not overwrite just-created
>>> > `/tmp/buildd/ace/ace-
>>> 5.6.3/debian/tmp/usr/include/tao/./BooleanSeq.pidl'
>>> > with `../../../ACE_wrappers/TAO/tao/BooleanSeq.pidl'
>>> > make[4]: *** [install-nobase_includeHEADERS] Error 1
>>> > make[4]: Leaving directory `/tmp/buildd/ace/ace-5.6.3/objdir/TAO/tao'
>>> > make[3]: *** [install-am] Error 2
>>> > make[3]: Leaving directory `/tmp/buildd/ace/ace-5.6.3/objdir/TAO/tao'
>>> > make[2]: *** [install] Error 2
>>> > make[2]: Leaving directory `/tmp/buildd/ace/ace-5.6.3/objdir/TAO/tao'
>>> > make[1]: *** [install-recursive] Error 1
>>> > make[1]: Leaving directory `/tmp/buildd/ace/ace-5.6.3/objdir/TAO'
>>> > make: *** [install] Error 2
>>> > dpkg-buildpackage: error: fakeroot debian/rules binary gave error
>>> exit status 2
>>> >
>>>
>>> If I run 'autoupdate' in ACE_wrappers and ACE_wrappers/TAO before
>>> bootstrap, I reach this point too. Using autoconf 2.64, automake 1.11,
>>> libtool 2.2.6a, bash 4.00 and /bin/sh -> /bin/dash. Interesting. And
>>> this error seems to be because BooleanSeq.pidl is listed twice in the
>>> install list, I'll look into that today.
>>>
>>> --
>>> Pau Garcia i Quiles
>>> http://www.elpauer.org
>>> (Due to my workload, I may need 10 days to answer)
>>>
>>> _______________________________________________
>>> Pkg-ace-devel mailing list
>>> Pkg-ace-devel at lists.alioth.debian.org
>>> http://lists.alioth.debian.org/mailman/listinfo/pkg-ace-devel
>>
>>
>
>
>
> --
> Pau Garcia i Quiles
> http://www.elpauer.org
> (Due to my workload, I may need 10 days to answer)
>



-- 
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