Source: drizzle
Version: 2010.03.1347-1
Severity: serious
Tags: patch

Hi,

drizzle FTBFS on armel, mips, and sh4.
mipsel does not yet build, but should become the same error.
  https://buildd.debian.org/pkg.cgi?pkg=drizzle

-----
/bin/bash ./libtool --silent --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H   -I. -I. -ggdb3   -pipe -std=gnu++0x  -O3 -Werror
-pedantic -Wall -Wundef -Wshadow  -fdiagnostics-show-option  -Wformat
-fno-strict-aliasing -Wno-strict-aliasing -Wextra -Woverloaded-virtual
-Wnon-virtual-dtor -Wctor-dtor-privacy -Wno-long-long
-Wmissing-declarations -Wno-redundant-decls    -Wno-effc++ -Wno-shadow
-Wno-missing-braces  -Wno-error  -c -o
drizzled/message/drizzled_message_libdrizzledmessage_la-statement_transform.lo
`test -f 'drizzled/message/statement_transform.cc' || echo
'./'`drizzled/message/statement_transform.cc
drizzled/message/statement_transform.cc: In function
'drizzled::message::TransformSqlError
drizzled::message::transformFieldDefinitionToSql(const
drizzled::message::Table_Field&, std::string&,
drizzled::message::TransformSqlVariant)':
drizzled/message/statement_transform.cc:1211: error: 'printf' was not
declared in this scope
make[4]: *** 
[drizzled/message/drizzled_message_libdrizzledmessage_la-statement_transform.lo]
Error 1
make[4]: Leaving directory
`/build/buildd-drizzle_2010.03.1347-1-armel-z7BbhA/drizzle-2010.03.1347'
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [override_dh_auto_build] Error 2
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rule
-----

printf and other (stderr etc) is used in some source code. However,
these became build error,
because "cstdio" is not incude in these.

I made patch to fix this problem. Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

Attachment: drizzle-2010.03.1347_ftbfs.diff
Description: application/octetstream

Reply via email to