Package: eclipse-titan
Version: 6.2.0-1
Severity: important

upstream eclipse-titan enforces that the gcc version used to build it is 
identical
to the gcc version that is used to compile code generated by the eclipse titan 
ttcn3
compiler.

So whenever a new build of eclipse-titan happens in the debian archive, it will 
work
for some time, until somebody updates the gcc version, at which point 
compilation will
fail.

Right now, in "unstable", eclipse-titan-6.2.0 was apparently built using 
gcc-6.3.0,
but "unstable" contains gcc-7.2.0 as default gcc version.

Building any TTCN-3 project thus renders the following error messages during 
copilation:

g++  -c -DLINUX -I/usr/include -I/usr/include/titan -I/usr/include/titan -Wall 
-fPIC   -o GGSN_Tests.o GGSN_Tests.cc
In file included from /usr/include/titan/TTCN3.hh:42:0,
                 from GGSN_Tests.hh:19,
                 from GGSN_Tests.cc:11:
/usr/include/titan/cversion.h:7:2: error: #error The version of GCC does not 
match the expected version (GCC 6.3.0)
 #error The version of GCC does not match the expected version (GCC 6.3.0)
  ^~~~~

$ gcc --version
gcc (Debian 7.2.0-11) 7.2.0

I was building http://git.osmocom.org/osmo-ttcn3-hacks/tree/ggsn_tests for the 
above output, but it will
happen for any TTCN-3 project as the core include file TTCN3.hh refers to the 
include file with that
statement

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages eclipse-titan depends on:
ii  default-jdk   2:1.8-59
ii  expect        5.45-8
ii  libc6         2.24-17
ii  libgcc1       1:7.2.0-11
ii  libncurses5   6.0+20170902-1
ii  libpcap-dev   1.8.1-5
ii  libpcre3-dev  2:8.39-5
ii  libsctp-dev   1.0.17+dfsg-1+b1
ii  libssl-dev    1.1.0f-5
ii  libssl1.1     1.1.0f-5
ii  libstdc++6    7.2.0-11
ii  libtinfo5     6.0+20170902-1
ii  libxml2       2.9.4+dfsg1-5
ii  libxml2-dev   2.9.4+dfsg1-5
ii  make          4.1-9.1
ii  perl          5.26.0-8
ii  python        2.7.14-1

eclipse-titan recommends no packages.

eclipse-titan suggests no packages.

-- no debconf information

Reply via email to