Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14839 - New code: libesmtp-1.0.ebuild (Stable release)
Summary: New code: libesmtp-1.0.ebuild (Stable release)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-31 06:06 UTC by Rigo
Modified: 2003-05-05 17:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
libesmtp-1.0.ebuild (libesmtp-1.0.ebuild,1018 bytes, text/x-ebuild)
2003-01-31 06:07 UTC, Rigo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rigo 2003-01-31 06:06:10 UTC
*  net-libs/libesmtp 
      Latest version available: 1.0 
      Latest version installed: 1.0 
      Size of downloaded files:  [no/bad digest] 
      Homepage:    http://www.stafford.uklinux.net/libesmtp/ 
      Description: libESMTP is a library that implements the client side of the SMTP 
protocol
Comment 1 Rigo 2003-01-31 06:07:30 UTC
Created attachment 7779 [details]
libesmtp-1.0.ebuild

Tested with gcc 3.2.1/openssl-0.9.7
Comment 2 Marc Chabrol 2003-03-10 15:12:47 UTC
Emerging libesmpt-1.0 on my Gentoo 1.2 gives an error in the configure process:

checking for library containing lt_dlsym... no
configure: error: libltdl not found (available from http://www.gnu.org/software/libtool/)

!!! ERROR: net-libs/libesmtp-1.0 failed.
!!! Function src_compile, Line -18, Exitcode 1
!!! configure failed

A quick vi of the config.log shows the following:

configure:5612: gcc -o conftest -std=c99 -pedantic -march=i686 -O3 -pipe   conftest.c -lltdl   1>&5
cc1: unknown C standard `c99'
configure: failed program was:
#line 5601 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char lt_dlsym();

int main() {
lt_dlsym()
; return 0; }

I think gcc 2.95.3 should use -std=c9x instead of -std=c99 based on the documentation: 

http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_2.html#SEC6

For reference, my emerge info:

Portage 2.0.47-r8 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(tm) XP 1600+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Lin
ux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
 pdflib quicktime spell truetype xml2 xmms xv alsa arts berkdb bonobo cdr esd gd
bm gif gnome gnome-libs gpm gtk gtkhtml guile imlib java kde ldap libwww motif m
ozilla nls oggvorbis opengl pam perl png python qt readline scanner sdl slang ss
l svga tcltk tcpd tetex tiff X pda"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync2.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 Spider (RETIRED) gentoo-dev 2003-03-10 17:25:59 UTC
sounds plausible yes, seems this package has been broken upstream *sighs*

reassigning to gnome for now, My own life is delaying any developerwork
Comment 4 foser (RETIRED) gentoo-dev 2003-05-05 17:52:45 UTC
libesmtp 1.0 has been ~ in the tree for a while 

if #2 is still a problem please open a new bug about it and we'll look into it.