aolserver4-nspostgres FTBFS on trusty-proposed

Bug #1303405 reported by Sebastian Carneiro
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aolserver4-nspostgres (Debian)
Fix Released
Unknown
aolserver4-nspostgres (Ubuntu)
Fix Released
Undecided
Sebastian Carneiro

Bug Description

FTBFS on trusty-proposed with tcl8.5. Log snippet:

CFLAGS="-Wall -g -Wl,--no-as-needed -O2" /usr/bin/make -f debian/Makefile.debian POSTGRES=PG_CONFIG PG_CONFIG=/usr/bin/pg_config ACS=1
make[1]: Entering directory `/build/buildd/aolserver4-nspostgres-4.5+20110709'
i686-linux-gnu-gcc -Wall -g -Wl,--no-as-needed -O2 -DBIND_EMULATION -I/usr/include/postgresql -DFOR_ACS_USE -O2 -Wall -fPIC -g -O2 -fno-unit-at-a-time -pipe -D_FORTIFY_SOURCE=2 -I/usr/include/aolserver4 -I/usr/include/tcl8.5 -DNO_CONST -DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.5\" -DPACKAGE_STRING=\"tcl\ 8.5\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_GETATTR_NP=1 -DGETATTRNP_NOT_DECLARED=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DTCL_SHLIB_EXT=\".so\" -D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H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_TIMEGM=1 -DHAVE_DRAND48=1 -DHAVE_RANDOM=1 -DHAVE_POLL=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -c -o nspostgres.o nspostgres.c
<command-line>:0:0: warning: "PACKAGE_NAME" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "PACKAGE_TARNAME" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "PACKAGE_VERSION" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:0: warning: "PACKAGE_STRING" redefined [enabled by default]
<command-line>:0:0: note: this is the location of the previous definition
In file included from /usr/include/aolserver4/ns.h:62:0,
                 from nspostgres.h:34,
                 from nspostgres.c:32:
/usr/include/aolserver4/nsthread.h:129:17: fatal error: tcl.h: No such file or directory
 #include "tcl.h"
                 ^
compilation terminated.
make[1]: *** [nspostgres.o] Error 1
make[1]: Leaving directory `/build/buildd/aolserver4-nspostgres-4.5+20110709'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Full buildlog: https://launchpad.net/ubuntu/+source/aolserver4-nspostgres/4.5+20110709-1/+build/5436926/+files/buildlog_ubuntu-trusty-i386.aolserver4-nspostgres_4.5%2B20110709-1_FAILEDTOBUILD.txt.gz

Tags: ftbfs

Related branches

Changed in aolserver4-nspostgres (Ubuntu):
assignee: nobody → Sebastian Carneiro (scarneiro)
description: updated
Changed in aolserver4-nspostgres (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aolserver4-nspostgres - 4.5+20110709-1ubuntu1

---------------
aolserver4-nspostgres (4.5+20110709-1ubuntu1) trusty; urgency=low

  * Fixed FTBFS from using deprecated structure access of
    Tcl_interp (LP: #1303405)
    - nspostgres.c: replaces direct access of result field in
      Tlc_interp structure with API functions Tcl_GetStringResult
      and Tcl_SetString.
 -- Sebastian Carneiro <email address hidden> Sat, 05 Apr 2014 00:13:22 -0300

Changed in aolserver4-nspostgres (Ubuntu):
status: New → Fix Released
Changed in aolserver4-nspostgres (Debian):
status: New → 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.