Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 147923
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Fernando J. Pereda (RETIRED) <ferdy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Marco Squarcina <lavish@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nbsmtp-fix.patch Fix nbsmtp compilation patch Charlie Shepherd (RETIRED) 2006-09-17 09:56 0000 259 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 147923 depends on: Show dependency tree
Bug 147923 blocks: 155708
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-17 06:19 0000
[...]
cc -Wall -pedantic -DPACKAGE_NAME=\"nbsmtp\" -DPACKAGE_TARNAME=\"nbsmtp\"
-DPACKAGE_VERSION=\"1.00\" -DPACKAGE_STRING=\"nbsmtp\ 1.00\"
-DPACKAGE_BUGREPORT=\"nbsmtp@ferdyx.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_NETDB_H=1
-DHAVE_NETINET_IN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_CTYPE_H=1 -DHAVE_SYSLOG_H=1
-DHAVE_STRING_H=1 -DHAVE_PWD_H=1 -D_GNU_SOURCE=1 -DHAVE_STDLIB_H=1
-DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STRFTIME=1
-DHAVE_VPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1
-DHAVE_STRDUP=1 -DHAVE_STRCASESTR=1 -DHAVE_ASPRINTF=1 -DHAVE_MEMSET=1
-DHAVE_GETOPT=1 -DHAVE_STRSEP=1 -DHAVE_SSL=1 -DHAVE_OPENSSL_CRYPTO_H=1
-DHAVE_OPENSSL_X509_H=1 -DHAVE_OPENSSL_PEM_H=1 -DHAVE_OPENSSL_SSL_H=1
-DHAVE_OPENSSL_ERR_H=1 -DHAVE_OPENSSL_MD5_H=1 -DHAVE_LIBSSL=1
-DHAVE_LIBCRYPTO=1 -DHAVE_CRYPTO_CLEANUP_ALL_EX_DATA=1  -DSYSCONFDIR=\"/etc\" 
-O2 -march=pentium4 -pipe -fomit-frame-pointer   -c -o hmac_md5.o hmac_md5.c
In file included from hmac_md5.c:8:
/usr/include/openssl/md5.h:108: error: expected declaration specifiers or 

------- Comment #1 From Marco Squarcina 2006-09-17 06:19:01 0000 -------
[...]
cc -Wall -pedantic -DPACKAGE_NAME=\"nbsmtp\" -DPACKAGE_TARNAME=\"nbsmtp\"
-DPACKAGE_VERSION=\"1.00\" -DPACKAGE_STRING=\"nbsmtp\ 1.00\"
-DPACKAGE_BUGREPORT=\"nbsmtp@ferdyx.org\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STDIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_NETDB_H=1
-DHAVE_NETINET_IN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_CTYPE_H=1 -DHAVE_SYSLOG_H=1
-DHAVE_STRING_H=1 -DHAVE_PWD_H=1 -D_GNU_SOURCE=1 -DHAVE_STDLIB_H=1
-DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STRFTIME=1
-DHAVE_VPRINTF=1 -DHAVE_GETHOSTBYNAME=1 -DHAVE_GETHOSTNAME=1 -DHAVE_SOCKET=1
-DHAVE_STRDUP=1 -DHAVE_STRCASESTR=1 -DHAVE_ASPRINTF=1 -DHAVE_MEMSET=1
-DHAVE_GETOPT=1 -DHAVE_STRSEP=1 -DHAVE_SSL=1 -DHAVE_OPENSSL_CRYPTO_H=1
-DHAVE_OPENSSL_X509_H=1 -DHAVE_OPENSSL_PEM_H=1 -DHAVE_OPENSSL_SSL_H=1
-DHAVE_OPENSSL_ERR_H=1 -DHAVE_OPENSSL_MD5_H=1 -DHAVE_LIBSSL=1
-DHAVE_LIBCRYPTO=1 -DHAVE_CRYPTO_CLEANUP_ALL_EX_DATA=1  -DSYSCONFDIR=\"/etc\" 
-O2 -march=pentium4 -pipe -fomit-frame-pointer   -c -o hmac_md5.o hmac_md5.c
In file included from hmac_md5.c:8:
/usr/include/openssl/md5.h:108: error: expected declaration specifiers or
‘...’ before ‘size_t’
/usr/include/openssl/md5.h:110: error: expected declaration specifiers or
‘...’ before ‘size_t’
hmac_md5.c: In function ‘hmac_md5’:
hmac_md5.c:35: error: too many arguments to function ‘MD5_Update’
hmac_md5.c:70: error: too many arguments to function ‘MD5_Update’
hmac_md5.c:71: error: too many arguments to function ‘MD5_Update’
hmac_md5.c:78: error: too many arguments to function ‘MD5_Update’
hmac_md5.c:79: error: too many arguments to function ‘MD5_Update’
make: *** [hmac_md5.o] Error 1

!!! ERROR: mail-mta/nbsmtp-1.00 failed

My emerge --info:
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 17 Sep 2006 10:30:06 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.28-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
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/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa bash-completion berkdb bitmap-fonts cairo cli crypt
dlloader dri dvd elibc_glibc fortran gdbm gpm input_devices_keyboard
input_devices_mouse isdnlog jpeg kernel_linux libg++ linguas_en madwifi mmx mp3
ncurses nls nptl nptlonly nsplugin opengl pam pcre png ppds pppd python
readline reflection session spl sse sse2 ssl svg tcpd truetype truetype-fonts
type1-fonts udev unicode userland_GNU video_cards_radeon vorbis xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

Cheers

------- Comment #2 From Francisco J. Vázquez 2006-09-17 06:30:13 0000 -------
An easy way to solve it is to include string.h before openssl/md5 in
hmac_md5.c.

------- Comment #3 From Charlie Shepherd (RETIRED) 2006-09-17 09:56:14 0000 -------
Same here. Attached patch does what Francisco advises, fixes compilation here.

------- Comment #4 From Charlie Shepherd (RETIRED) 2006-09-17 09:56:58 0000 -------
Created an attachment (id=97261) [details]
Fix nbsmtp compilation

Patch to fix compilation

------- Comment #5 From Fernando J. Pereda (RETIRED) 2006-09-17 10:14:31 0000 -------
Sorry for the delay guys. Fixed in >=mail-mta/nbsmtp-1.00-r2

Thanks.

- ferdy

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug