Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720020 - net-libs/libwebsockets-4.0.1 : /.../vhost.c: error: unused variable p [-Werror=unused-variable]
Summary: net-libs/libwebsockets-4.0.1 : /.../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: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-29 15:08 UTC by Toralf Förster
Modified: 2020-05-12 13:57 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.66 KB, text/plain)
2020-04-29 15:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,314.15 KB, text/plain)
2020-04-29 15:08 UTC, Toralf Förster
Details
environment (environment,88.33 KB, text/plain)
2020-04-29 15:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.79 KB, application/x-bzip)
2020-04-29 15:09 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.49 KB, application/x-bzip)
2020-04-29 15:09 UTC, Toralf Förster
Details
net-libs:libwebsockets-4.0.1:20200429-150056.log (net-libs:libwebsockets-4.0.1:20200429-150056.log,61.66 KB, text/plain)
2020-04-29 15:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.04 KB, application/x-bzip)
2020-04-29 15:09 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-29 15:08:51 UTC
/var/tmp/portage/net-libs/libwebsockets-4.0.1/work/libwebsockets-4.0.1/lib/core-net/vhost.c: In function lws_create_vhost:
/var/tmp/portage/net-libs/libwebsockets-4.0.1/work/libwebsockets-4.0.1/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_desktop-libressl-20200419-214828

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.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) *
Available Rust versions:
  [1]   rust-1.42.0 *
  [2]   rust-bin-1.43.0
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 29 Apr 2020 01:38:45 PM UTC
/var/db/repos/libressl	Sat 11 Apr 2020 05:02:25 AM UTC

emerge -qpvO net-libs/libwebsockets
[ebuild  N    ] net-libs/libwebsockets-4.0.1  USE="dbus ipv6 lejp libressl socks5 ssl -access-log -caps -cgi -client -generic-sessions -http-proxy -http2 -libev -libevent -libuv -peer-limits -server-status -smtp -sqlite3 -static-libs -threads -zip"
Comment 1 Toralf Förster gentoo-dev 2020-04-29 15:08:54 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.1_desktop-libressl-20200419-214828 (see bug 716386)
Comment 2 Toralf Förster gentoo-dev 2020-04-29 15:08:56 UTC
Created attachment 635186 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-29 15:08:59 UTC
Created attachment 635188 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-29 15:09:02 UTC
Created attachment 635190 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-29 15:09:05 UTC
Created attachment 635192 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-29 15:09:10 UTC
Created attachment 635194 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-29 15:09:14 UTC
Created attachment 635196 [details]
net-libs:libwebsockets-4.0.1:20200429-150056.log
Comment 8 Toralf Förster gentoo-dev 2020-04-29 15:09:17 UTC
Created attachment 635198 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2020-05-12 13:57:36 UTC
The bug has been closed via the following commit(s):

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

commit e7cc544fb599cc222e3bd56de8fb13fb6caf7f79
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-05-05 10:24:30 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-05-12 13:57:11 +0000

    net-libs/libwebsockets: change of IUSE flags
    
    Closes: https://bugs.gentoo.org/720926
    Closes: https://bugs.gentoo.org/720020
    
    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>
    Closes: https://github.com/gentoo/gentoo/pull/15637
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-libs/libwebsockets/libwebsockets-4.0.7.ebuild | 12 +++++++++---
 net-libs/libwebsockets/metadata.xml               |  1 +
 2 files changed, 10 insertions(+), 3 deletions(-)