| Summary: | mysql-5.1.7_beta fails to build | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Chris Fairles <chris.fairles> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Potential patch that fixes it. | ||
Created attachment 93883 [details, diff]
Potential patch that fixes it.
This isn't a "correct" fix but it works (I think). The correct fix is to make the proper prototypes for the overloaded operator but my C++ needs a bit of work so I just copied the definitions to right above the function that uses them and was erroring.
|
then mv -f ".deps/lgman.Tpo" ".deps/lgman.Po"; else rm -f ".deps/lgman.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../../../.. -I../../../../../storage/ndb/src/kernel/blocks/dblqh -I. -I../../../../../include -I../../../../../storage/ndb/include -I../../../../../storage/ndb/src/kernel/vm -I../../../../../storage/ndb/src/kernel/error -I../../../../../storage/ndb/src/kernel -I../../../../../storage/ndb/include/kernel -I../../../../../storage/ndb/include/transporter -I../../../../../storage/ndb/include/debugger -I../../../../../storage/ndb/include/mgmapi -I../../../../../storage/ndb/include/mgmcommon -I../../../../../storage/ndb/include/ndbapi -I../../../../../storage/ndb/include/util -I../../../../../storage/ndb/include/portlib -I../../../../../storage/ndb/include/logger -DDBUG_OFF -O3 -march=k8 -ftracer -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -MT pgman.o -MD -MP -MF ".deps/pgman.Tpo" -c -o pgman.o pgman.cpp; \ then mv -f ".deps/pgman.Tpo" ".deps/pgman.Po"; else rm -f ".deps/pgman.Tpo"; exit 1; fi pgman.cpp: In member function 'bool Pgman::process_lcp(Signal*)': pgman.cpp:1185: error: no match for 'operator<<' in 'ndbout << ptr' ../../../../../storage/ndb/include/util/NdbOut.hpp:88: note: candidates are: NdbOut& NdbOut::operator<<(NdbOut& (*)(NdbOut&))../../../../../storage/ndb/include/util/NdbOut.hpp:58: note: NdbOut& NdbOut::operator<<(Int8) ../../../../../storage/ndb/include/util/NdbOut.hpp:59: note: NdbOut& NdbOut::operator<<(Uint8) ../../../../../storage/ndb/include/util/NdbOut.hpp:60: note: NdbOut& NdbOut::operator<<(Int16) ../../../../../storage/ndb/include/util/NdbOut.hpp:61: note: NdbOut& NdbOut::operator<<(Uint16) ../../../../../storage/ndb/include/util/NdbOut.hpp:62: note: NdbOut& NdbOut::operator<<(Int32) ../../../../../storage/ndb/include/util/NdbOut.hpp:63: note: NdbOut& NdbOut::operator<<(Uint32) ../../../../../storage/ndb/include/util/NdbOut.hpp:64: note: NdbOut& NdbOut::operator<<(Int64) ../../../../../storage/ndb/include/util/NdbOut.hpp:65: note: NdbOut& NdbOut::operator<<(Uint64) ../../../../../storage/ndb/include/util/NdbOut.hpp:66: note: NdbOut& NdbOut::operator<<(long unsigned int) ../../../../../storage/ndb/include/util/NdbOut.hpp:67: note: NdbOut& NdbOut::operator<<(const char*) ../../../../../storage/ndb/include/util/NdbOut.hpp:68: note: NdbOut& NdbOut::operator<<(const unsigned char*)../../../../../storage/ndb/include/util/NdbOut.hpp:69: note: NdbOut& NdbOut::operator<<(BaseString&) ../../../../../storage/ndb/include/util/NdbOut.hpp:70: note: NdbOut& NdbOut::operator<<(const void*) ../../../../../storage/ndb/include/util/NdbOut.hpp:71: note: NdbOut& NdbOut::operator<<(float) ../../../../../storage/ndb/include/util/NdbOut.hpp:72: note: NdbOut& NdbOut::operator<<(double) ./dbtup/Dbtup.hpp:2841: note: NdbOut& operator<<(NdbOut&, const Dbtup::Tablerec&) ./dbtup/tuppage.hpp:256: note: NdbOut& operator<<(NdbOut&, const Tup_fixsize_page&) ./dbtup/tuppage.hpp:255: note: NdbOut& operator<<(NdbOut&, const Tup_varsize_page&) ../../../../../storage/ndb/include/kernel/AttributeDescriptor.hpp:234: note: NdbOut& operator<<(NdbOut&, const AttributeDescriptor&) diskpage.hpp:234: note: NdbOut& operator<<(NdbOut&, const File_formats::Undofile::Zero_page&) diskpage.hpp:233: note: NdbOut& operator<<(NdbOut&, const File_formats::Datafile::Zero_page&) diskpage.hpp:232: note: NdbOut& operator<<(NdbOut&, const File_formats::Zero_page_header&) ../../../../../storage/ndb/include/kernel/NodeState.hpp:268: note: NdbOut& operator<<(NdbOut&, const NodeState&) ../../../../../storage/ndb/include/kernel/NodeInfo.hpp:66: note: NdbOut& operator<<(NdbOut&, const NodeInfo&)../../../../../storage/ndb/include/transporter/TransporterDefinitions.hpp:124: note: NdbOut& operator<<(NdbOut&, SignalHeader&) ../../../../../storage/ndb/include/kernel/kernel_types.h:70: note: NdbOut& operator<<(NdbOut&, const Local_key&) make[6]: *** [pgman.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[6]: Leaving directory `/var/tmp/portage/mysql-5.1.7_beta/work/mysql/storage/ndb/src/kernel/blocks' make[5]: *** [all-recursive] Error 1 Portage 2.1.1_pre4-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) ================================================================= System uname: 2.6.17-gentoo-r4 x86_64 AMD Sempron(tm) Processor 3000+ Gentoo Base System version 1.12.1 Last Sync: Wed, 09 Aug 2006 15:00:05 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=k8 -ftracer -fomit-frame-pointer -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -march=k8 -ftracer -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo" LINGUAS="" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/xgl-coffee" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X avi berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd eds elibc_glibc emboss encode ffmpeg firefox foomaticdb fortran gif gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly nsplugin opengl pam pcre pdflib perl png postgres pppd python qt quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_fglrx video_cards_radeon xinerama xorg xpm xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Trying with -j1 just incase its a race condition.