<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>227051</bug_id>
          
          <creation_ts>2008-06-14 21:32 0000</creation_ts>
          <short_desc>app-crypt/rainbowcrack-1.2-r1 fails to build</short_desc>
          <delta_ts>2008-06-20 14:31:16 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>bugs@dev.gentooexperimental.org</reporter>
          <assigned_to>dragonheart@gentoo.org</assigned_to>
          <cc>crypto@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>bugs@dev.gentooexperimental.org</who>
            <bug_when>2008-06-14 21:32:35 0000</bug_when>
            <thetext>&gt;&gt;&gt; Compiling source in /var/tmp/portage/app-crypt/rainbowcrack-1.2-r1/work/rainbowcrack-1.2-src/src ...
x86_64-pc-linux-gnu-g++ Public.cpp ChainWalkContext.cpp HashAlgorithm.cpp HashRoutine.cpp RainbowTableGenerate.cpp -lssl -O2 -pipe -o rtgen
In file included from Public.cpp:11:
Public.h:25: error: &apos;u_int64_t&apos; does not name a type
Public.h:26: error: &apos;u_int64_t&apos; does not name a type
Public.h:37: error: &apos;u_int64_t&apos; was not declared in this scope
Public.h:38: error: &apos;u_int64_t&apos; was not declared in this scope
Public.cpp:113: error: redefinition of &apos;std::string uint64tostr&apos;
Public.h:37: error: &apos;std::string uint64tostr&apos; previously declared here
Public.cpp:113: error: &apos;u_int64_t&apos; was not declared in this scope
Public.cpp:126: error: redefinition of &apos;std::string uint64tohexstr&apos;
Public.h:38: error: &apos;std::string uint64tohexstr&apos; previously declared here
Public.cpp:126: error: &apos;u_int64_t&apos; was not declared in this scope
In file included from ChainWalkContext.h:11,
                 from ChainWalkContext.cpp:11:
Public.h:25: error: &apos;u_int64_t&apos; does not name a type
Public.h:26: error: &apos;u_int64_t&apos; does not name a type
Public.h:37: error: &apos;u_int64_t&apos; was not declared in this scope
Public.h:38: error: &apos;u_int64_t&apos; was not declared in this scope
In file included from ChainWalkContext.cpp:11:
ChainWalkContext.h:30: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:31: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:34: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:37: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:56: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:61: error: &apos;u_int64_t&apos; has not been declared
ChainWalkContext.h:68: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.cpp:31: error: &apos;u_int64_t CChainWalkContext::m_nPlainSpaceUpToX [257]&apos; is not a static member of &apos;class CChainWalkContext&apos;
ChainWalkContext.cpp:32: error: &apos;u_int64_t CChainWalkContext::m_nPlainSpaceTotal&apos; is not a static member of &apos;class CChainWalkContext&apos;
ChainWalkContext.cpp:35: error: &apos;u_int64_t CChainWalkContext::m_nReduceOffset&apos; is not a static member of &apos;class CChainWalkContext&apos;
ChainWalkContext.cpp: In static member function &apos;static bool CChainWalkContext::LoadCharset(std::string)&apos;:
ChainWalkContext.cpp:119: error: &apos;memcpy&apos; was not declared in this scope
ChainWalkContext.cpp: In static member function &apos;static bool CChainWalkContext::SetPlainCharset(std::string, int, int)&apos;:
ChainWalkContext.cpp:165: error: &apos;m_nPlainSpaceUpToX&apos; was not declared in this scope
ChainWalkContext.cpp:178: error: &apos;m_nPlainSpaceTotal&apos; was not declared in this scope
ChainWalkContext.cpp: In static member function &apos;static bool CChainWalkContext::SetRainbowTableIndex(int)&apos;:
ChainWalkContext.cpp:188: error: &apos;m_nReduceOffset&apos; was not declared in this scope
ChainWalkContext.cpp: At global scope:
ChainWalkContext.cpp:303: error: no &apos;u_int64_t CChainWalkContext::GetPlainSpaceTotal()&apos; member function declared in class &apos;CChainWalkContext&apos;
ChainWalkContext.cpp: In static member function &apos;static void CChainWalkContext::Dump()&apos;:
ChainWalkContext.cpp:339: error: &apos;m_nPlainSpaceTotal&apos; was not declared in this scope
ChainWalkContext.cpp:342: error: &apos;m_nReduceOffset&apos; was not declared in this scope
ChainWalkContext.cpp: In member function &apos;void CChainWalkContext::GenerateRandomIndex()&apos;:
ChainWalkContext.cpp:348: error: &apos;m_nIndex&apos; was not declared in this scope
ChainWalkContext.cpp:349: error: &apos;m_nPlainSpaceTotal&apos; was not declared in this scope
ChainWalkContext.cpp: At global scope:
ChainWalkContext.cpp:352: error: prototype for &apos;void CChainWalkContext::SetIndex(u_int64_t)&apos; does not match any in class &apos;CChainWalkContext&apos;
ChainWalkContext.h:61: error: candidate is: void CChainWalkContext::SetIndex(int)
ChainWalkContext.cpp: In member function &apos;void CChainWalkContext::SetHash(unsigned char*)&apos;:
ChainWalkContext.cpp:359: error: &apos;memcpy&apos; was not declared in this scope
ChainWalkContext.cpp: In member function &apos;void CChainWalkContext::IndexToPlain()&apos;:
ChainWalkContext.cpp:367: error: &apos;m_nIndex&apos; was not declared in this scope
ChainWalkContext.cpp:367: error: &apos;m_nPlainSpaceUpToX&apos; was not declared in this scope
ChainWalkContext.cpp:374: error: &apos;m_nIndex&apos; was not declared in this scope
ChainWalkContext.cpp:374: error: &apos;m_nPlainSpaceUpToX&apos; was not declared in this scope
ChainWalkContext.cpp: In member function &apos;void CChainWalkContext::HashToIndex(int)&apos;:
ChainWalkContext.cpp:438: error: &apos;m_nIndex&apos; was not declared in this scope
ChainWalkContext.cpp:438: error: &apos;m_nReduceOffset&apos; was not declared in this scope
ChainWalkContext.cpp:438: error: &apos;m_nPlainSpaceTotal&apos; was not declared in this scope
ChainWalkContext.cpp: At global scope:
ChainWalkContext.cpp:441: error: no &apos;u_int64_t CChainWalkContext::GetIndex()&apos; member function declared in class &apos;CChainWalkContext&apos;
ChainWalkContext.cpp: In member function &apos;bool CChainWalkContext::CheckHash(unsigned char*)&apos;:
ChainWalkContext.cpp:491: error: &apos;memcmp&apos; was not declared in this scope
In file included from HashAlgorithm.cpp:9:
Public.h:25: error: &apos;u_int64_t&apos; does not name a type
Public.h:26: error: &apos;u_int64_t&apos; does not name a type
Public.h:37: error: &apos;u_int64_t&apos; was not declared in this scope
Public.h:38: error: &apos;u_int64_t&apos; was not declared in this scope
In file included from ChainWalkContext.h:11,
                 from RainbowTableGenerate.cpp:18:
Public.h:25: error: &apos;u_int64_t&apos; does not name a type
Public.h:26: error: &apos;u_int64_t&apos; does not name a type
Public.h:37: error: &apos;u_int64_t&apos; was not declared in this scope
Public.h:38: error: &apos;u_int64_t&apos; was not declared in this scope
In file included from RainbowTableGenerate.cpp:18:
ChainWalkContext.h:30: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:31: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:34: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:37: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:56: error: &apos;u_int64_t&apos; does not name a type
ChainWalkContext.h:61: error: &apos;u_int64_t&apos; has not been declared
ChainWalkContext.h:68: error: &apos;u_int64_t&apos; does not name a type
RainbowTableGenerate.cpp: In function &apos;int main(int, char**)&apos;:
RainbowTableGenerate.cpp:113: error: &apos;strcmp&apos; was not declared in this scope
RainbowTableGenerate.cpp:115: error: &apos;atoi&apos; was not declared in this scope
RainbowTableGenerate.cpp:128: error: &apos;atoi&apos; was not declared in this scope
RainbowTableGenerate.cpp:207: error: &apos;u_int64_t&apos; was not declared in this scope
RainbowTableGenerate.cpp:207: error: expected `;&apos; before &apos;nIndex&apos;
RainbowTableGenerate.cpp:208: error: &apos;nIndex&apos; was not declared in this scope
RainbowTableGenerate.cpp:222: error: &apos;nIndex&apos; was not declared in this scope
RainbowTableGenerate.cpp:222: error: &apos;class CChainWalkContext&apos; has no member named &apos;GetIndex&apos;
make: *** [rtgen] Error 1
 *
 * ERROR: app-crypt/rainbowcrack-1.2-r1 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 unknown
Timestamp of tree: Fri, 13 Jun 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -pipe&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc&quot;
CONFIG_PROTECT_MASK=&quot;/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://216.165.129.134/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/&quot;
LANG=&quot;en_US&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://208.71.112.51/gentoo-portage&quot;
USE=&quot;X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib&quot; ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; APACHE2_MODULES=&quot;actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;vga&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jackdachef@gmail.com</who>
            <bug_when>2008-06-19 18:31:14 0000</bug_when>
            <thetext>this seems to be an error specific to =gcc-4.3* ,
I got the same error, afaik,

it built fine with =gcc-4.2*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2008-06-20 14:31:16 0000</bug_when>
            <thetext>please confirm fix - cheers Daniel.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>