Your message dated Mon, 24 Aug 2009 19:44:02 +0100
with message-id <[email protected]>
and subject line Package orbit has been removed from Debian
has caused the Debian Bug report #131331,
regarding liborbit-dev: generates invalid code for enum used as union 
discriminator
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
131331: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=131331
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: liborbit-dev
Version: 0.5.13-1
Severity: normal

Hello,

when I use an CORBA <enum_type> as a union discriminator,
orbit-idl silently generates code, which does not compile.

Example: I use the following IDL file:

== testunion.idl starts at next line =================================
module TestUnion {
  interface Frosch {
    union MyUnion switch (enum E2 { A, B }) {
    case A:
      long x;
    case B: 
      string s;
    };

    attribute MyUnion U;
  };
};
== testunion.idl ends at previous line ===============================

Now I call orbit-idl:

    v...@tatonka [~/bugreport/orbit] orbit-idl testunion.idl 
    v...@tatonka [~/bugreport/orbit] grep TestUnion_Frosch_MyUnion_E2 *
    testunion-common.c:static const TestUnion_Frosch_MyUnion_E2 
anon_sublabel_values_array8[] =
    testunion-common.c:   { {(CORBA_TypeCode) & 
TC_TestUnion_Frosch_MyUnion_E2_struct,
    testunion-common.c:   {(CORBA_TypeCode) & 
TC_TestUnion_Frosch_MyUnion_E2_struct,
    testunion-common.c:   (CORBA_TypeCode) & 
TC_TestUnion_Frosch_MyUnion_E2_struct, 0, -1, 0, 0
    testunion-skels.c:       value._d = *((TestUnion_Frosch_MyUnion_E2 *) 
_ORBIT_curptr);
    testunion-stubs.c:          *((TestUnion_Frosch_MyUnion_E2 *) 
_ORBIT_curptr);
    testunion.h:      TestUnion_Frosch_MyUnion_E2 _d;

As you can see, TestUnion_Frosch_MyUnion_E2 is never defined,
but used in severl places.  Consequently the generated files
refuse to compile.

Jochen

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux tatonka 2.4.17 #1 Sat Dec 22 21:25:24 CET 2001 i586
Locale: lang=de...@euro, lc_ctype=de...@euro

Versions of packages liborbit-dev depends on:
ii  indent                        2.2.7-1    C language source code formatting 
ii  libc6                         2.2.4-7    GNU C Library: Shared libraries an
ii  libglib1.2                    1.2.10-3   The GLib library of C routines
ii  libglib1.2-dev                1.2.10-3   Development files for GLib library
ii  liborbit0                     0.5.13-1   Libraries for ORBit - a CORBA ORB
ii  libwrap0-dev                  7.6-9      Wietse Venema's TCP wrappers libra



--- End Message ---
--- Begin Message ---
Version: 0.5.17-11.2+rm

You filled the bug http://bugs.debian.org/131331 in Debian BTS
against the package orbit. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/216903. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply via email to