Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20352 closed defect (fixed)

beecrypt build failure

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: mf2k (Frank Schima), ryandesign (Ryan Carsten Schmidt), bm55b@…, egan@…
Port: beecrypt

Description

DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_beecrypt/work/beecrypt-4.1.2" && nice -n 10 make all'
make  all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in c++
Making all in lang
/bin/sh ../../libtool --mode=compile --tag=CXX /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../..  -I/opt/local/include -DOPTIMIZE_I386  -pipe -O2 -DNDEBUG -c -o ClassCastException.lo ClassCastException.cxx
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../.. -I/opt/local/include -DOPTIMIZE_I386 -pipe -O2 -DNDEBUG -c ClassCastException.cxx  -fno-common -DPIC -o .libs/ClassCastException.o
/usr/include/c++/4.0.0/cstring:79: error: '::memcpy' has not been declared
/usr/include/c++/4.0.0/cstring:80: error: '::memmove' has not been declared
/usr/include/c++/4.0.0/cstring:81: error: '::strcpy' has not been declared
/usr/include/c++/4.0.0/cstring:82: error: '::strncpy' has not been declared
/usr/include/c++/4.0.0/cstring:83: error: '::strcat' has not been declared
/usr/include/c++/4.0.0/cstring:84: error: '::strncat' has not been declared
/usr/include/c++/4.0.0/cstring:85: error: '::memcmp' has not been declared
/usr/include/c++/4.0.0/cstring:86: error: '::strcmp' has not been declared
/usr/include/c++/4.0.0/cstring:87: error: '::strcoll' has not been declared
/usr/include/c++/4.0.0/cstring:88: error: '::strncmp' has not been declared
/usr/include/c++/4.0.0/cstring:89: error: '::strxfrm' has not been declared
/usr/include/c++/4.0.0/cstring:90: error: '::strcspn' has not been declared
/usr/include/c++/4.0.0/cstring:91: error: '::strspn' has not been declared
/usr/include/c++/4.0.0/cstring:92: error: '::strtok' has not been declared
/usr/include/c++/4.0.0/cstring:93: error: '::memset' has not been declared
/usr/include/c++/4.0.0/cstring:94: error: '::strerror' has not been declared
/usr/include/c++/4.0.0/cstring:95: error: '::strlen' has not been declared
/usr/include/c++/4.0.0/cstring:97: error: '::memchr' has not been declared
/usr/include/c++/4.0.0/cstring: In function 'void* std::memchr(void*, int, size_t)':
/usr/include/c++/4.0.0/cstring:101: error: invalid conversion from 'const void*' to 'void*'
/usr/include/c++/4.0.0/cstring:101: error:   initializing argument 1 of 'void* std::memchr(void*, int, size_t)'
/usr/include/c++/4.0.0/cstring: At global scope:
/usr/include/c++/4.0.0/cstring:103: error: '::strchr' has not been declared
/usr/include/c++/4.0.0/cstring:109: error: '::strpbrk' has not been declared
/usr/include/c++/4.0.0/cstring:115: error: '::strrchr' has not been declared
/usr/include/c++/4.0.0/cstring:121: error: '::strstr' has not been declared
/usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++locale.h: In function 'int std::__convert_from_v(char*, int, const char*, _Tv, int* const&, int)':
/usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++locale.h:64: error: 'strcmp' is not a member of 'std'
/usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++locale.h:66: error: 'strlen' is not a member of 'std'
/usr/include/c++/4.0.0/i686-apple-darwin9/bits/c++locale.h:67: error: 'strcpy' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy<true, std::random_access_iterator_tag>::copy(const _Tp*, const _Tp*, _Tp*)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:300: error: 'memmove' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In static member function 'static _Tp* std::__copy_backward<true, std::random_access_iterator_tag>::copy_b(const _Tp*, const _Tp*, _Tp*)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:425: error: 'memmove' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In function 'void std::fill(unsigned char*, unsigned char*, const unsigned char&)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:577: error: 'memset' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In function 'void std::fill(signed char*, signed char*, const signed char&)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:585: error: 'memset' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In function 'void std::fill(char*, char*, const char&)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:593: error: 'memset' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In function 'bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:885: error: 'memcmp' is not a member of 'std'
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static typename __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(_CharT*, const _CharT*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:186: error: 'memmove' is not a member of 'std'
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static int std::char_traits<char>::compare(const char*, const char*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:253: error: 'memcmp' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static size_t std::char_traits<char>::length(const char*)':
/usr/include/c++/4.0.0/bits/char_traits.h:257: error: 'strlen' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static const char* std::char_traits<char>::find(const char*, size_t, const char&)':
/usr/include/c++/4.0.0/bits/char_traits.h:261: error: invalid conversion from 'const void*' to 'void*'
/usr/include/c++/4.0.0/bits/char_traits.h:261: error:   initializing argument 1 of 'void* std::memchr(void*, int, size_t)'
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static char* std::char_traits<char>::move(char*, const char*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:265: error: 'memmove' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static char* std::char_traits<char>::copy(char*, const char*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:269: error: 'memcpy' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static char* std::char_traits<char>::assign(char*, size_t, char)':
/usr/include/c++/4.0.0/bits/char_traits.h:273: error: 'memset' was not declared in this scope
/usr/include/c++/4.0.0/bits/stl_uninitialized.h: In function 'char* std::uninitialized_copy(const char*, const char*, char*)':
/usr/include/c++/4.0.0/bits/stl_uninitialized.h:119: error: 'memmove' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_uninitialized.h: In function 'wchar_t* std::uninitialized_copy(const wchar_t*, const wchar_t*, wchar_t*)':
/usr/include/c++/4.0.0/bits/stl_uninitialized.h:127: error: 'memmove' is not a member of 'std'
make[3]: *** [ClassCastException.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (11)

comment:1 Changed 15 years ago by guy.kogus@…

I get this error message:

--->  Building beecrypt
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_beecrypt/work/beecrypt-4.1.2" && make all " returned error 2
Command output: /usr/include/c++/4.0.0/bits/stl_algobase.h:577: error: 'memset' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In function 'void std::fill(signed char*, signed char*, const signed char&)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:585: error: 'memset' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In function 'void std::fill(char*, char*, const char&)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:593: error: 'memset' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_algobase.h: In function 'bool std::lexicographical_compare(const unsigned char*, const unsigned char*, const unsigned char*, const unsigned char*)':
/usr/include/c++/4.0.0/bits/stl_algobase.h:885: error: 'memcmp' is not a member of 'std'
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static typename __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::move(_CharT*, const _CharT*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:186: error: 'memmove' is not a member of 'std'
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static int std::char_traits<char>::compare(const char*, const char*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:253: error: 'memcmp' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static size_t std::char_traits<char>::length(const char*)':
/usr/include/c++/4.0.0/bits/char_traits.h:257: error: 'strlen' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static const char* std::char_traits<char>::find(const char*, size_t, const char&)':
/usr/include/c++/4.0.0/bits/char_traits.h:261: error: invalid conversion from 'const void*' to 'void*'
/usr/include/c++/4.0.0/bits/char_traits.h:261: error:   initializing argument 1 of 'void* std::memchr(void*, int, size_t)'
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static char* std::char_traits<char>::move(char*, const char*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:265: error: 'memmove' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static char* std::char_traits<char>::copy(char*, const char*, size_t)':
/usr/include/c++/4.0.0/bits/char_traits.h:269: error: 'memcpy' was not declared in this scope
/usr/include/c++/4.0.0/bits/char_traits.h: In static member function 'static char* std::char_traits<char>::assign(char*, size_t, char)':
/usr/include/c++/4.0.0/bits/char_traits.h:273: error: 'memset' was not declared in this scope
/usr/include/c++/4.0.0/bits/stl_uninitialized.h: In function 'char* std::uninitialized_copy(const char*, const char*, char*)':
/usr/include/c++/4.0.0/bits/stl_uninitialized.h:119: error: 'memmove' is not a member of 'std'
/usr/include/c++/4.0.0/bits/stl_uninitialized.h: In function 'wchar_t* std::uninitialized_copy(const wchar_t*, const wchar_t*, wchar_t*)':
/usr/include/c++/4.0.0/bits/stl_uninitialized.h:127: error: 'memmove' is not a member of 'std'
make[3]: *** [ClassCastException.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

I get the same, on Mac OS X 10.4.11 and 10.5.7, Intel. There is a new version, 4.2.1, available, but I cannot compile it either. I have filed a support request with the developers of beecrypt.

comment:4 Changed 15 years ago by bm55b@…

I have the same error on one of my Macs. I was able to download/unpack/compile both v4.1.2 and v4.2.1 from the command line after installing wget/autoconf/automake with macports. Think the problem is environment related to macports as I have another mac that installs beecrypt cleanly with macports and the software doesn't fail on build from the command line. Still looking...

comment:5 Changed 15 years ago by bm55b@…

Cc: bm55b@… added

Cc Me!

comment:6 Changed 15 years ago by bm55b@…

I updated my Portfile to v4.2.1 and turned off cplusplus and java interface library creation with this Portfile...

PortSystem 1.0
name             beecrypt
version          4.2.1
revision         2
categories       devel
maintainers      nomaintainer
description      cryptography toolkit
long_description \
	BeeCrypt is an ongoing project to provide a strong and \
	fast cryptography toolkit. Includes entropy sources, \
	random generators, block ciphers, hash functions, \
	message authentication codes, multiprecision integer \
	routines, and public key primitives.
homepage         http://sourceforge.net/projects/beecrypt/
platforms        darwin freebsd
master_sites     sourceforge
checksums        md5 8441c014170823f2dff97e33df55af1e

depends_lib      port:icu

configure.args   --without-python --without-cplusplus --without-java

platform puredarwin {
	depends_run-append    bin:python:python24
	configure.args-delete --without-python
	configure.args-append --without-java
}

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

I am surprised that you are able to compile the port, because I was not, and I am currently in conversation with the developer of the software to resolve the issues I am experiencing.

comment:8 Changed 15 years ago by bm55b@…

The 4.2.1 problems that I see that the developer needs to fix are in the Java/Python/C++ interface libraries. It looks like these interfaces don't appear to be needed by most software packages which use beecrypt. Looks like the upstream apps use the plain old 'C' API.

I checked out the code from CVS and some of the C++ problems are addressed on the top of tree. The Java has some autoconf/automake macro problems.

comment:9 Changed 15 years ago by tobypeterson

Cc: egan@… added

comment:10 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

In r57364 I've disabled the C++ and Java stuff while updating to 4.2.1. The port now builds. If the upstream C++ and Java code gets fixed properly, we can re-enable it.

comment:11 Changed 15 years ago by bm55b@…

thanks!

Note: See TracTickets for help on using tickets.