Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 837164 - net-misc/dropbear-2022.82: error: ‘DROPBEAR_CHANNEL_PRIO_INTERACTIVE’ undeclared (first use in this function)
Summary: net-misc/dropbear-2022.82: error: ‘DROPBEAR_CHANNEL_PRIO_INTERACTIVE’ undecla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL: https://github.com/mkj/dropbear/issue...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-07 18:28 UTC by Conrad Kostecki
Modified: 2022-04-23 23:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2022-04-07 18:28:21 UTC
If DROPBEAR_X11FWD is being set to 1, compilation will fail.

x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -march=native -O2 -pipe -Wno-pointer-sign -fno-strict-overflow  -I./libtomcrypt/src/headers/ -DLOCALOPTIONS_H_EXISTS -I. -I. -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -DDBMULTI_dropbear -DDBMULTI_dbclient -DDBMULTI_dropbearkey -DDBMULTI_dropbearconvert -DDBMULTI_scp -DDROPBEAR_MULTI svr-x11fwd.c -o svr-x11fwd.o
svr-x11fwd.c: In function ‘x11_inithandler’:
svr-x11fwd.c:209:25: error: ‘DROPBEAR_CHANNEL_PRIO_INTERACTIVE’ undeclared (first use in this function)
  209 |         channel->prio = DROPBEAR_CHANNEL_PRIO_INTERACTIVE;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
svr-x11fwd.c:209:25: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:154: svr-x11fwd.o] Error 1
 * ERROR: net-misc/dropbear-2022.82::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-misc/dropbear-2022.82::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/dropbear-2022.82::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/dropbear-2022.82/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dropbear-2022.82/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/dropbear-2022.82/work/dropbear-2022.82'
 * S: '/var/tmp/portage/net-misc/dropbear-2022.82/work/dropbear-2022.82'
Comment 1 Larry the Git Cow gentoo-dev 2022-04-23 21:35:11 UTC
The bug has been closed via the following commit(s):

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

commit 78c789a9d72d495eb4eddcbb8e28883fd976f9d8
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2022-04-23 21:32:06 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2022-04-23 21:34:54 +0000

    net-misc/dropbear: fix compilation with enabled x11
    
    Closes: https://bugs.gentoo.org/837164
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-misc/dropbear/dropbear-2022.82.ebuild          |  1 +
 net-misc/dropbear/files/dropbear-2022.82-x11.patch | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-23 23:26:26 UTC
cheers conikost!