[Pkg-ace-devel] Bug#823592: Bug#823592: ace: FTBFS on kfreebsd: OS_NS_stdlib.h:150:15: error: expected unqualified-id before 'const'
Johnny Willemsen
jwillemsen at remedy.nl
Fri May 6 10:51:47 UTC 2016
Hi,
Could someone check if atop if maybe a define on kfreebsd? That could
explain these strange unexpected errors.
Johnny Willemsen
Remedy IT
Postbus 81 | 6930 AB Westervoort | The Netherlands
http://www.remedy.nl
On 05/06/2016 12:08 PM, Andreas Beckmann wrote:
> Source: ace
> Version: 6.3.3+dfsg-1
> Severity: important
>
> Hi,
>
> the current version of ace FTBFS on kfreebsd, the previous one (6.2.8+dfsg-1)
> still built there successfully:
>
> https://buildd.debian.org/status/fetch.php?pkg=ace&arch=kfreebsd-amd64&ver=6.3.3%2Bdfsg-1&stamp=1447670276
> https://buildd.debian.org/status/fetch.php?pkg=ace&arch=kfreebsd-i386&ver=6.3.3%2Bdfsg-1&stamp=1447670429
>
> g++ -fvisibility=hidden -fvisibility-inlines-hidden -Wnon-virtual-dtor -O3 -pthread -DACE_VERSIONED_SO=2 -fno-strict-aliasing -Wall -W -Wpointer-arith -pipe -D_FORTIFY_SOURCE=2 -DACE_LACKS_LINUX_NPTL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DNDEBUG -I/«BUILDDIR»/ace-6.3.3+dfsg -DACE_NDEBUG -D__ACE_INLINE__ -I/«BUILDDIR»/ace-6.3.3+dfsg -DACE_HAS_IPV6 -DACE_BUILD_DLL -c -fPIC -o .shobj/Local_Name_Space.o Local_Name_Space.cpp
> In file included from /usr/include/sys/kglue/sys/param.h:143:0,
> from /usr/include/sys/kern/param.h:1,
> from /usr/include/osreldate.h:1,
> from /usr/include/i386-kfreebsd-gnu/bits/param.h:36,
> from /usr/include/i386-kfreebsd-gnu/sys/param.h:31,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/os_include/os_limits.h:33,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Default_Constants.h:28,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Log_Msg.h:22,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Log_Category.h:17,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Malloc.h:22,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Malloc_T.h:16,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Local_Name_Space.h:18,
> from Local_Name_Space.cpp:1:
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:150:15: error: expected unqualified-id before 'const'
> void *atop (const char *s);
> ^
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:150:15: error: expected ')' before 'const'
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:150:15: error: expected ')' before 'const'
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:150:15: error: expected initializer before 'const'
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:157:15: error: expected unqualified-id before 'const'
> void *atop (const wchar_t *s);
> ^
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:157:15: error: expected ')' before 'const'
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:157:15: error: expected ')' before 'const'
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.h:157:15: error: expected initializer before 'const'
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.inl:110:9: error: expected unqualified-id before '(' token
> ACE_OS::atop (const char *s)
> ^
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.inl:110:15: error: expected primary-expression before 'const'
> ACE_OS::atop (const char *s)
> ^
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_stdlib.inl:110:15: error: expected ')' before 'const'
> In file included from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Thread_Mutex.h:29:0,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Log_Category.h:18,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Malloc.h:22,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Malloc_T.h:16,
> from /«BUILDDIR»/ace-6.3.3+dfsg/ace/Local_Name_Space.h:18,
> from Local_Name_Space.cpp:1:
> /«BUILDDIR»/ace-6.3.3+dfsg/ace/OS_NS_Thread.h:699:18: error: 'ACE_hthread_t' has not been declared
> ACE_hthread_t thr_handle);
> [...]
>
>
> If that is not trivially fixable, please request decrufting
> of the outdated binary packages.
>
> Andreas
>
> _______________________________________________
> Pkg-ace-devel mailing list
> Pkg-ace-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ace-devel
>
More information about the Pkg-ace-devel
mailing list