Control: reassign -1 libevent-dev
Control: affects -1 src:lua-event
Control: tags -1 -patch

On Thu, Jul 27, 2017 at 03:59:06PM +0200, Balint Reczey wrote:
> Source: lua-event
> Version: 0.4.3-2
> Severity: important
> User: rbal...@ubuntu.com
> Usertags: libevent-20170726
> Tags: patch
> 
> Dear Maintainer,
> 
> During test rebuilds for the upcoming libevent transition [1] your package 
> found
> to be failing to build [2] with libevent-dev 2.1.8-stable-2 from experimental:
> 
> ...
> Testing creating base object: OK
> libevent backend: epoll
> **************************************************
> libtool --silent --tag=CC --mode=link cc -g -O2
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
> -I/usr//include/lua5.1 -I include  -Wall -Wextra -Wl,--no-add-needed \
> -static -o /<<PKGBUILDDIR>>/5.1-event/app-static -I . -I
> /<<PKGBUILDDIR>>/5.1-event/ \
> /usr/share/dh-lua/test/5.1/app.c 
> /<<PKGBUILDDIR>>/5.1-event/liblua5.1-event.la \
> -Wl,-z,relro -levent -lcrypto -L/usr//lib/x86_64-linux-gnu -llua5.1 -lm -ldl
> /usr/bin/ld: cannot find -lcrypto
> collect2: error: ld returned 1 exit status
> /usr/share/dh-lua/make/dh-lua.Makefile.single:453: recipe for target
> '/<<PKGBUILDDIR>>/5.1-event/app-static' failed
> make[2]: *** [/<<PKGBUILDDIR>>/5.1-event/app-static] Error 1
> /usr/share/dh-lua/make/dh-lua.Makefile.multiple:12: recipe for target
> 'test' failed
> make[1]: *** [test] Error 1
> dh_auto_test: make --no-print-directory -f
> /usr/share/dh-lua/make/dh-lua.Makefile.multiple test returned exit
> code 2
> debian/rules:4: recipe for target 'build' failed
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> --------------------------------------------------------------------------------
> Build finished at 2017-06-29T05:21:44Z
> ...
> 
> The package builds with libssl-dev added as a build-dependency.

This would only be a workaround, the actual bug is that libevent-dev 
lacks a dependency on libssl-dev:

$ pkg-config libevent --libs --static
-levent -lcrypto
$ 

> Cheers,
> Balint
>...

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

Reply via email to