Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716386 - net-libs/libwebsockets-4.0.0 : /.../vhost.c: error: unused variable p [-Werror=unused-variable]
Summary: net-libs/libwebsockets-4.0.0 : /.../vhost.c: error: unused variable p [-Werro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Toralf Förster
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-05 21:08 UTC by Toralf Förster
Modified: 2020-04-16 06:51 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.79 KB, text/plain)
2020-04-05 21:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,23.00 KB, text/plain)
2020-04-05 21:08 UTC, Toralf Förster
Details
environment (environment,86.03 KB, text/plain)
2020-04-05 21:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.54 KB, application/x-bzip)
2020-04-05 21:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.15 KB, application/x-bzip)
2020-04-05 21:08 UTC, Toralf Förster
Details
net-libs:libwebsockets-4.0.0:20200405-205357.log (net-libs:libwebsockets-4.0.0:20200405-205357.log,60.72 KB, text/plain)
2020-04-05 21:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.19 KB, application/x-bzip)
2020-04-05 21:08 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 2020-04-05 21:08:33 UTC
/var/tmp/portage/net-libs/libwebsockets-4.0.0/work/libwebsockets-4.0.0/lib/core-net/vhost.c: In function lws_create_vhost:
/var/tmp/portage/net-libs/libwebsockets-4.0.0/work/libwebsockets-4.0.0/lib/core-net/vhost.c:481:8: error: unused variable p [-Werror=unused-variable]
  481 |  char *p;
      |        ^
cc1: all warnings being treated as errors

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200405-081627

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun 05 Apr 2020 07:37:51 PM UTC

emerge -qpvO net-libs/libwebsockets
[ebuild  N    ] net-libs/libwebsockets-4.0.0  USE="ipv6 lejp socks5 ssl -access-log -caps -cgi -client -dbus -generic-sessions -http-proxy -http2 -libev -libevent -libressl -libuv -peer-limits -server-status -smtp -sqlite3 -static-libs -threads -zip"
Comment 1 Toralf Förster gentoo-dev 2020-04-05 21:08:36 UTC
Created attachment 630596 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-05 21:08:39 UTC
Created attachment 630598 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-05 21:08:42 UTC
Created attachment 630600 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-05 21:08:45 UTC
Created attachment 630602 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-05 21:08:47 UTC
Created attachment 630604 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-05 21:08:50 UTC
Created attachment 630606 [details]
net-libs:libwebsockets-4.0.0:20200405-205357.log
Comment 7 Toralf Förster gentoo-dev 2020-04-05 21:08:53 UTC
Created attachment 630608 [details]
temp.tbz2
Comment 8 Jaco Kroon 2020-04-06 16:35:11 UTC
https://github.com/warmcat/libwebsockets/pull/1879

Do you need a -r1 or you happy to wait for 4.0.1?
Comment 9 Toralf Förster gentoo-dev 2020-04-06 17:17:13 UTC
(In reply to Jaco Kroon from comment #8)
> https://github.com/warmcat/libwebsockets/pull/1879
> 
> Do you need a -r1 or you happy to wait for 4.0.1?

Hi, the later, in moment just the tinderbox is complaining :-)
Comment 10 Larry the Git Cow gentoo-dev 2020-04-16 06:51:08 UTC
The bug has been closed via the following commit(s):

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

commit 956864f49411b7ac18d385e8652b229b98351086
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-04-12 09:52:35 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-04-16 06:50:58 +0000

    net-libs/libwebsockets: add v4.0.1
    
    Update to latest version and update license.
    
    Closes: https://bugs.gentoo.org/716386
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
    Acked-by: Jaco Kroon <jaco@uls.co.za>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-libs/libwebsockets/Manifest                   |  1 +
 net-libs/libwebsockets/libwebsockets-4.0.1.ebuild | 77 +++++++++++++++++++++++
 2 files changed, 78 insertions(+)