Summary: | net-misc/seafile-6.2.4 - http-tx-mgr.c: In function ‘curl_error_to_http_task_error’: http-tx-mgr.c:1115:5: error: duplicate case value | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominik Kriegner <dominik.kriegner> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, kroemmelbein, slawomir.nizio |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/12339 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge-info |
Created attachment 560060 [details]
emerge-info
It is fixed upstream from version 6.2.7 https://github.com/haiwen/seafile/commit/c0a03e27e55253ccdded7fc4a3936c06428e5f5e Older versions does not compile with >=curl-7.62.0 according to similar bug report in NixOS https://github.com/NixOS/nixpkgs/issues/51238#issuecomment-443028077 I can confirm this issue. I have renamed the ebuild in my local overlay for net-misc/seafile and net-misc/seafile-client and both packages build succesfull. Testes with now actual upstream version 6.2.11: [ebuild R ~] net-misc/seafile-6.2.11::mylocal PYTHON_TARGETS="python2_7" 0 KiB [ebuild R ~] net-misc/seafile-client-6.2.11::mylocal USE="-shibboleth -test" 0 KiB Since I do not use the software myself atm, I can not test if there is still runtime errors or other issues. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5894fc45cc687fd59118ac043fd320f6956a60 commit fc5894fc45cc687fd59118ac043fd320f6956a60 Author: Denis Efremov <efremov@linux.com> AuthorDate: 2019-06-27 09:28:05 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-07-15 17:24:38 +0000 net-misc/seafile: version bump to 6.2.11 Closes: https://bugs.gentoo.org/674638 Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Denis Efremov <efremov@linux.com> Signed-off-by: Michał Górny <mgorny@gentoo.org> net-misc/seafile/Manifest | 1 + net-misc/seafile/seafile-6.2.11.ebuild | 42 ++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) |
Created attachment 560058 [details] build.log seafile-6.2.4 fails to compile. likely due to an update of net-misc/curl (fails on my systems with curl-7.63.0-r1) # emerge -pqv '=net-misc/seafile-6.2.4::gentoo' [ebuild UD] net-misc/seafile-6.2.4 [6.2.9] PYTHON_TARGETS="python2_7" A trivial bump to seafile-6.2.9/seafile-client-6.2.9 fixes the issue. libsearpc might also need to be looked at since build files indicate a change of the required version, but I do not understand the naming of releases of libsearpc... Here the error (log attached): x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR=\"/usr/share/seafile\" -DPACKAGE_DATA_DIR=\""/usr/share/seafile"\" -DSEAFILE_CLIENT -I../include -I../lib -I../lib -I../common -pthread -I/usr/inc lude/searpc -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -march=native -O2 -p ipe -c -o seafile-session.o seafile-session.c http-tx-mgr.c: In function ‘curl_error_to_http_task_error’: http-tx-mgr.c:1115:5: error: duplicate case value case CURLE_SSL_CACERT: ^~~~ http-tx-mgr.c:1113:5: note: previously used here case CURLE_PEER_FAILED_VERIFICATION: ^~~~ make[2]: *** [Makefile:610: http-tx-mgr.o] Error 1