Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 625774

Summary: net-libs/onion-0.8 will not build with USE libevent: /var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller_libevent.c:80:6: error: conflicting types for 'onion_poller_slot_set_type'
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: UNCONFIRMED ---    
Severity: normal CC: deference, jstein
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=770610
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description deference 2017-07-21 01:00:32 UTC
Looks similar to bug 625772.

[ 21%] Building C object src/onion/CMakeFiles/onion_static.dir/poller_libevent.c.o
cd /var/tmp/portage/net-libs/onion-0.8/work/onion-0.8_build/src/onion && /usr/bin/x86_64-pc-linux-gnu-gcc  -DHAVE_GNUTLS -DHAVE_PTHREADS -DHAVE_REDIS -DHAVE_SQLITE3 -DHAVE_WEBDAV -DJPEG_ENABLED -DONION_VERSION=\"0.8.0.GIT\" -DPNG_ENABLED -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200112L -I/var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src -I/var/tmp/portage/net-libs/onion-0.8/work/onion-0.8_build/src -I/usr/include/libxml2   -DNDEBUG -Wall -O2 -fPIC -pipe -O2   -o CMakeFiles/onion_static.dir/poller_libevent.c.o -c /var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller_libevent.c
/var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller_libevent.c:80:6: error: conflicting types for 'onion_poller_slot_set_type'
 void onion_poller_slot_set_type(onion_poller_slot *el, int type){
      ^
In file included from /var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller_libevent.c:29:0:
/var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller.h:52:6: note: previous declaration of 'onion_poller_slot_set_type' was here
 void onion_poller_slot_set_type(onion_poller_slot *el, onion_poller_slot_type_e type);
      ^
make[2]: *** [src/onion/CMakeFiles/onion_static.dir/build.make:783: src/onion/CMakeFiles/onion_static.dir/poller_libevent.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/onion-0.8/work/onion-0.8_build'
make[1]: *** [CMakeFiles/Makefile2:114: src/onion/CMakeFiles/onion_static.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-libs/onion-0.8/work/onion-0.8_build'
make: *** [Makefile:150: all] Error 2

[ebuild   R   ] net-libs/onion-0.8  USE="boehm-gc cxx examples gnutls jpeg libevent* png redis sqlite xml -libev -pam -systemd {-test}"
Comment 1 deference 2017-07-21 01:01:01 UTC
Created attachment 486150 [details]
build.log
Comment 2 deference 2017-07-21 01:01:10 UTC
Created attachment 486152 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2021-11-16 09:29:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8dd816aa3f7badfd2344590522033adc8dde7bc

commit e8dd816aa3f7badfd2344590522033adc8dde7bc
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-11-16 09:26:42 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-11-16 09:29:23 +0000

    package.mask: Last rite net-libs/onion
    
    Bug: https://bugs.gentoo.org/810682
    Bug: https://bugs.gentoo.org/813873
    Bug: https://bugs.gentoo.org/770610
    Bug: https://bugs.gentoo.org/625774
    Bug: https://bugs.gentoo.org/625772
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 profiles/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)