On Sun, 2008-11-16 at 17:08 +1100, Aníbal Monsalve Salazar wrote:
> On Fri, Nov 14, 2008 at 11:18:55AM -0430, Jose Luis Rivas wrote:
> >On Fri, Nov 14, 2008 at 04:55:55PM +1100, Anibal Monsalve Salazar wrote:
> >>On Fri, Nov 14, 2008 at 05:23:19AM +0000, José Fonseca wrote:
> >>>> The package can be found on mentors.debian.net:
> >>>> - URL: http://mentors.debian.net/debian/pool/main/e/esmtp
> >>>> - Source repository: deb-src http://mentors.debian.net/debian unstable 
> >>>> main contrib non-free
> >>>> - dget http://mentors.debian.net/debian/pool/main/e/esmtp/esmtp_1.0-1.dsc
> >>>>
> >>>> I would be glad if someone uploaded this package for me.
> >>> I've re-uploaded the package to mentors.debian.net.
> >>
> >>It FTBFS with pbuilder.
> >>
> >>i486-linux-gnu-gcc -DSYSCONFDIR=\"/etc\" -Wall -g -O2 -I/usr/include  
> >>-Wl,--as-needed -L/lib -o esmtp lexer.o local.o main.o message.o parser.o 
> >>rfc822.o smtp.o  -L/usr/lib -lesmtp -lssl -lcrypto -lpthread -ldl -lpthread
> >>/usr/bin/ld: cannot find -lssl
> >>collect2: ld returned 1 exit status
> >>make[2]: *** [esmtp] Error 1
> >>make[2]: Leaving directory `/tmp/buildd/esmtp-1.0'
> >>make[1]: *** [all] Error 2
> >>make[1]: Leaving directory `/tmp/buildd/esmtp-1.0'
> >>make: *** [build-stamp] Error 2
> >>dpkg-buildpackage: failure: debian/rules build gave error exit status 2
> >>pbuilder: Failed autobuilding of package
> >
> >It seems to me that you need libssl-dev as Build-Depends. Thing that
> >you are missing in your packaging...
> 
> After adding libssl-dev to the Build-Depends list, it fails the piuparts
> install test.
> 
> piuparts -p -N --bindmount /srv/debian --bindmount 
> /home/anibal/public_html/debian -m file:/srv/debian -m 
> file:/home/anibal/public_html/debian -m http://elida.v7w.com/debian 
> /home/anibal/elida/result/esmtp/esmtp_1.0-1_i386.deb
> [...]
>   Setting up libssl0.9.8 (0.9.8g-14) ...
>   Setting up libesmtp5 (1.0.4-2) ...
>   Setting up esmtp (1.0-1) ...
>   dpkg: error processing esmtp (--configure):
>    subprocess post-installation script returned error exit status 10
>   Errors were encountered while processing:
>    esmtp
>   E: Sub-process /usr/bin/dpkg returned an error code (1)
> 12m9.8s ERROR: Command failed (status=100): ['chroot', '/tmp/tmpUUoHl1', 
> 'apt-get', '-yf', '--no-remove', 'install']
> 
> esmtp_1.0-1_i386.deb doesn't install because the post-installation
> script returned error exit status 10.

Anibal,

Thanks for the feedback.

libssl is pulled in by libesmtp-dev's /usr/bin/libesmtp-config script.
I'll try to use LIBS and avoid linking libssl as suggested on this
thread before.

I'll also fix the post-inst script exit code problem and make a new set
of packages. I'll keep you posted.

Jose


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to