Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670322 - dev-ruby/curb-0.9.6 : curb_errors.c:337:5: error: duplicate case value
Summary: dev-ruby/curb-0.9.6 : curb_errors.c:337:5: error: duplicate case value
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 675306 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-11-04 21:58 UTC by Toralf Förster
Modified: 2019-01-13 07:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.33 KB, text/plain)
2018-11-04 21:58 UTC, Toralf Förster
Details
dev-ruby:curb-0.9.6:20181104-212615.log (dev-ruby:curb-0.9.6:20181104-212615.log,15.13 KB, text/plain)
2018-11-04 21:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,160.92 KB, text/plain)
2018-11-04 21:58 UTC, Toralf Förster
Details
environment (environment,160.40 KB, text/plain)
2018-11-04 21:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.53 KB, application/x-bzip)
2018-11-04 21:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.36 KB, application/x-bzip)
2018-11-04 21:58 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-11-04 21:58:38 UTC
x86_64-pc-linux-gnu-gcc -I. -I/usr/include/ruby-2.3.0/x86_64-linux -I/usr/include/ruby-2.3.0/ruby/backward -I/usr/include/ruby-2.3.0 -I. -DRUBY_EXTCONF_H=\"curb_config.h\"    -O2 -pipe -march=native -fPIC -o curb_errors.o -c curb_errors.c
curb_errors.c: In function ‘rb_curl_easy_error’:
curb_errors.c:337:5: error: duplicate case value
     case CURLE_SSL_CACERT:              /* 60 - problem with the CA cert (path?) */
     ^~~~
curb_errors.c:310:5: note: previously used here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl-abi32+64_20181101-210320

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpvO dev-ruby/curb
[ebuild  N    ] dev-ruby/curb-0.9.6  USE="-doc -test" RUBY_TARGETS="ruby23 -ruby24 -ruby25"
Comment 1 Toralf Förster gentoo-dev 2018-11-04 21:58:41 UTC
Created attachment 554086 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-04 21:58:45 UTC
Created attachment 554088 [details]
dev-ruby:curb-0.9.6:20181104-212615.log
Comment 3 Toralf Förster gentoo-dev 2018-11-04 21:58:47 UTC
Created attachment 554090 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-11-04 21:58:50 UTC
Created attachment 554092 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-11-04 21:58:53 UTC
Created attachment 554094 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-04 21:58:55 UTC
Created attachment 554096 [details]
logs.tbz2
Comment 7 Hans de Graaff gentoo-dev Security 2018-11-05 06:40:20 UTC
This happens due to this change in curl 7.62.0: https://github.com/curl/curl/pull/2901
Comment 8 Larry the Git Cow gentoo-dev 2018-11-27 06:41:01 UTC
The bug has been closed via the following commit(s):

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

commit 6df5baf7b12c43c14e6c14669ab9d0ed6881035e
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2018-11-27 06:40:46 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-11-27 06:40:46 +0000

    dev-ruby/curb: add 0.9.7
    
    Fixes: https://bugs.gentoo.org/670322
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-ruby/curb/Manifest          |  1 +
 dev-ruby/curb/curb-0.9.7.ebuild | 45 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
Comment 9 Hans de Graaff gentoo-dev Security 2019-01-13 07:53:58 UTC
*** Bug 675306 has been marked as a duplicate of this bug. ***
Comment 10 Hans de Graaff gentoo-dev Security 2019-01-13 07:55:20 UTC
The old incompatible versions have now been removed.