Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704180 - net-libs/libwebsockets-3.2.1 : /.../vhost.c:714:3: error: p undeclared (first use in this function)
Summary: net-libs/libwebsockets-3.2.1 : /.../vhost.c:714:3: error: p undeclared (first...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-12-29 13:59 UTC by Toralf Förster
Modified: 2020-01-06 15:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.20 KB, text/plain)
2019-12-29 13:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,56.21 KB, text/plain)
2019-12-29 13:59 UTC, Toralf Förster
Details
environment (environment,90.10 KB, text/plain)
2019-12-29 13:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.70 KB, application/x-bzip)
2019-12-29 14:00 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.36 KB, application/x-bzip)
2019-12-29 14:00 UTC, Toralf Förster
Details
net-libs:libwebsockets-3.2.1:20191229-130811.log (net-libs:libwebsockets-3.2.1:20191229-130811.log,25.41 KB, text/plain)
2019-12-29 14:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.61 KB, application/x-bzip)
2019-12-29 14:00 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 2019-12-29 13:59:47 UTC
/var/tmp/portage/net-libs/libwebsockets-3.2.1/work/libwebsockets-3.2.1/lib/core-net/vhost.c: In function ‘lws_create_vhost’:
/var/tmp/portage/net-libs/libwebsockets-3.2.1/work/libwebsockets-3.2.1/lib/core-net/vhost.c:714:3: error: ‘p’ undeclared (first use in this function)
  714 |   p = getenv("socks_proxy");
      |   ^
/var/tmp/portage/net-libs/libwebsockets-3.2.1/work/libwebsockets-3.2.1/lib/core-net/vhost.c:714:3: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20191227-172117

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

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 29 Dec 2019 10:26:03 +0000

emerge -qpvO net-libs/libwebsockets
[ebuild  N    ] net-libs/libwebsockets-3.2.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 2019-12-29 13:59:50 UTC
Created attachment 601692 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-29 13:59:53 UTC
Created attachment 601694 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-29 13:59:57 UTC
Created attachment 601696 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-29 14:00:00 UTC
Created attachment 601698 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-29 14:00:04 UTC
Created attachment 601700 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-29 14:00:08 UTC
Created attachment 601702 [details]
net-libs:libwebsockets-3.2.1:20191229-130811.log
Comment 7 Toralf Förster gentoo-dev 2019-12-29 14:00:11 UTC
Created attachment 601704 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-06 15:40:32 UTC
The bug has been closed via the following commit(s):

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

commit cb92583c481458b0214c12ae99806664bc9441f4
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2020-01-06 10:51:59 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-01-06 15:40:19 +0000

    net-libs/libwebsockets: Fix compile issue (#704180)
    
    Closes: https://bugs.gentoo.org/704180
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/gentoo/pull/14262
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 ...kets-3.2.1-socks5-noclient-compilefailure.patch | 29 ++++++++++++++++++++++
 net-libs/libwebsockets/libwebsockets-3.2.1.ebuild  |  1 +
 2 files changed, 30 insertions(+)