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

Bug 625772

Summary: net-libs/onion-0.8 will not build with USE libev: /var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller_libev.c:78:6: error: conflicting types for 'onion_poller_slot_set_type'
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: RESOLVED FIXED    
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 00:58:28 UTC
[ 21%] Building C object src/onion/CMakeFiles/onion_static.dir/poller_libev.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_libev.c.o -c /var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller_libev.c
/var/tmp/portage/net-libs/onion-0.8/work/onion-0.8/src/onion/poller_libev.c:78: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_libev.c:28: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_libev.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 libev* png redis sqlite xml -libevent -pam -systemd {-test}"
Comment 1 deference 2017-07-21 00:58:40 UTC
Created attachment 486146 [details]
build.log
Comment 2 deference 2017-07-21 00:58:50 UTC
Created attachment 486148 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2021-11-16 09:29:32 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(+)
Comment 4 Larry the Git Cow gentoo-dev 2021-12-16 17:22:04 UTC
The bug has been closed via the following commit(s):

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

commit 60ca91cb31d2dec2048ea26b5318228f6b109d07
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2021-12-16 17:21:03 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2021-12-16 17:21:03 +0000

    net-libs/onion: treeclean
    
    Closes: https://bugs.gentoo.org/625772
    Closes: https://bugs.gentoo.org/625774
    Closes: https://bugs.gentoo.org/770610
    Closes: https://bugs.gentoo.org/813873
    Closes: https://bugs.gentoo.org/810682
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 net-libs/onion/Manifest           |  1 -
 net-libs/onion/files/protos.patch | 28 ---------------
 net-libs/onion/metadata.xml       | 17 ----------
 net-libs/onion/onion-0.8.ebuild   | 71 ---------------------------------------
 net-libs/onion/onion-9999.ebuild  | 69 -------------------------------------
 profiles/package.mask             |  6 ----
 6 files changed, 192 deletions(-)