Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 686420

Summary: net-analyzer/hydra USE=subversion - In file included from /usr/include/subversion-1/svn_client.h:34, from hydra-svn.c:9: /usr/include/apr-1/apr.h:632:2: error: #error no decision has been made on APR_PATH_MAX for your platform
Product: Gentoo Linux Reporter: Hank Leininger <hlein>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/vanhauser-thc/thc-hydra/pull/419
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Fix APR_PATH_MAX error when USE=subversion is enabled

Description Hank Leininger 2019-05-20 22:49:07 UTC
Created attachment 577440 [details, diff]
Fix APR_PATH_MAX error when USE=subversion is enabled

When USE="subversion" is set, compilation of hydra-svn.c fails with (at least) Subversion 1.12.0:

In file included from /usr/include/subversion-1/svn_client.h:34,
from hydra-svn.c:9:
/usr/include/apr-1/apr.h:632:2: error: #error no decision has been made on APR_PATH_MAX for your platform
#error no decision has been made on APR_PATH_MAX for your platform
^~~~~

I encountered this the other day, and upstream accepted my fix:

https://github.com/vanhauser-thc/thc-hydra/pull/419

Because I don't know how long it will be before there is another release and an ebuild bump, I will attach the patch that I submitted to upstream; adding it to PATCHES= in the ebuild is sufficient for USE="subversion" to build.
Comment 1 Larry the Git Cow gentoo-dev 2020-07-29 09:45:20 UTC
The bug has been closed via the following commit(s):

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

commit 407982e18b554dd91ce521982662840e3f7cae9f
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-07-29 09:38:55 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-07-29 09:44:59 +0000

    net-analyzer/hydra: Old
    
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Closes: https://bugs.gentoo.org/665942
    Closes: https://bugs.gentoo.org/686420
    Closes: https://bugs.gentoo.org/697580
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/hydra/Manifest                        |   2 -
 net-analyzer/hydra/files/hydra-8.0-configure.patch |  44 ---------
 net-analyzer/hydra/files/hydra-8.4-configure.patch |  48 ----------
 net-analyzer/hydra/hydra-8.1.ebuild                |  98 --------------------
 net-analyzer/hydra/hydra-8.9.1.ebuild              | 103 ---------------------
 5 files changed, 295 deletions(-)