Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 753509 - net-proxy/haproxy-2.3.0: hpack-tbl-t.h:105:23: error: ‘VAR_ARRAY’ undeclared here (not in a function)
Summary: net-proxy/haproxy-2.3.0: hpack-tbl-t.h:105:23: error: ‘VAR_ARRAY’ undeclared ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL: https://github.com/haproxy/haproxy/pu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-07 19:03 UTC by Samuel Bernardo
Modified: 2020-11-09 11:35 UTC (History)
3 users (show)

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


Attachments
build log (build.log,585.16 KB, text/x-log)
2020-11-07 19:03 UTC, Samuel Bernardo
Details
emerge info (emerge.info,9.62 KB, text/plain)
2020-11-07 19:04 UTC, Samuel Bernardo
Details
emerge -pqv (emerge.pqv,347 bytes, text/plain)
2020-11-07 19:04 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2020-11-07 19:03:52 UTC
Created attachment 670352 [details]
build log

In file included from gen-enc.c:18:
../../include/haproxy/hpack-tbl-t.h:105:23: error: ‘VAR_ARRAY’ undeclared here (not in a function)
  105 |  struct hpack_dte dte[VAR_ARRAY]; /* dynamic table entries */
      |                       ^~~~~~~~~
make: *** [<builtin>: gen-enc.o] Error 1
Comment 1 Samuel Bernardo 2020-11-07 19:04:18 UTC
Created attachment 670355 [details]
emerge info
Comment 2 Samuel Bernardo 2020-11-07 19:04:31 UTC
Created attachment 670358 [details]
emerge -pqv
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2020-11-09 08:38:45 UTC
Thanks!
This has been fixed in git now and there is a PR for upstream at https://github.com/haproxy/haproxy/pull/942
Comment 4 Christian Bricart 2020-11-09 10:30:34 UTC
confirm fixed compile for 2.3.0

but this also affects =net-proxy/haproxy-2.2.5 - whis should also be patched.
Comment 5 Christian Ruppert (idl0r) gentoo-dev 2020-11-09 11:35:15 UTC
You're right. 2.2.5 has been fixed as well now. Thanks!