NetBSD Problem Report #39318
From bad@atsec.com Thu Aug 7 23:07:36 2008
Return-Path: <bad@atsec.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 2449863BC47
for <gnats-bugs@gnats.netbsd.org>; Thu, 7 Aug 2008 23:07:36 +0000 (UTC)
Message-Id: <20080807175024.F31408C@nervous-energy.atsec.com>
Date: Thu, 7 Aug 2008 19:50:24 +0200 (MEST)
From: bad@bsd.de
Reply-To: bad@bsd.de
To: gnats-bugs@gnats.NetBSD.org
Subject: hydra-3.5 fails to build with subversion base installed
X-Send-Pr-Version: 3.95
>Number: 39318
>Category: pkg
>Synopsis: security/hydra randomly picks up installed libsvn
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: adrianp
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 07 23:10:01 +0000 2008
>Closed-Date: Sun Aug 31 10:58:52 +0000 2008
>Last-Modified: Sun Aug 31 10:58:52 +0000 2008
>Originator: Christoph Badura
>Release: NetBSD 3.1_STABLE
>Organization:
>Environment:
pkgsrc-2008Q2 around the evening of the branch tagging
System: NetBSD nervous-energy 3.1_STABLE NetBSD 3.1_STABLE (nervous-energy) #4: Fri Jul 25 06:31:02 MEST 2008 root@nervous-energy:/src/sys/arch/i386/compile/nervous-energy i386
Architecture: i386
Machine: i386
>Description:
===> Installing dependencies for hydra-5.3nb1
==========================================================================
The supported build options for hydra are:
gtkfe pgsql svn
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.hydra (not defined)
==========================================================================
Starting hydra auto configuration ...
Checking for openssl (libssl/ssl.h) ...
... found
Checking for Postgres (libpq) ...
... NOT found, module postgres disabled
Checking for SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so) ...
... found
Checking for SAP/R3 (librfc/saprfc.h) ...
... NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp
Checking for libssh (libssh/libssh.h) ...
... found
NOTE: ensure that you have libssh v0.11 installed!! Get it from http://0xbadc0de
.be !
Hydra will be installed into .../bin of: /usr/pkg
(change this by running ./configure --prefix=path)
#
# Note how it randomly picks up SVN (ibsvn_client-1 libapr-0.so libaprutil-0.so)
# and Checking for libssh (libssh/libssh.h) ...
#
gcc -I. -Wall -O2 -c hydra-svn.c -DLIBOPENSSL -DLIBSVN -DLIBSSH -I/usr/pkg/inclu
de -I/usr/pkg/include/subversion-1 -I/usr/pkg/include/subversion-1
hydra-svn.c:17:24: svn_client.h: No such file or directory
hydra-svn.c:18:23: svn_pools.h: No such file or directory
hydra-svn.c:19:24: svn_config.h: No such file or directory
hydra-svn.c:20:25: svn_cmdline.h: No such file or directory
hydra-svn.c:27: error: parse error before '*' token
hydra-svn.c:28: error: parse error before '*' token
hydra-svn.c:34: warning: return type defaults to `int'
hydra-svn.c: In function `my_simple_prompt_callback':
hydra-svn.c:38: error: `svn_auth_cred_simple_t' undeclared (first use in this fu
nction)
hydra-svn.c:38: error: (Each undeclared identifier is reported only once
hydra-svn.c:38: error: for each function it appears in.)
hydra-svn.c:38: error: `ret' undeclared (first use in this function)
hydra-svn.c:38: warning: implicit declaration of function `apr_pcalloc'
[...]
>How-To-Repeat:
check out pkgsrc-2008Q2
install devel/subversion-base
cd security/hydra && make
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->adrianp
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 08 Aug 2008 02:31:49 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Adrian Portelli <adrianp@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39318 CVS commit: pkgsrc/security/hydra
Date: Sun, 31 Aug 2008 10:54:52 +0000 (UTC)
Module Name: pkgsrc
Committed By: adrianp
Date: Sun Aug 31 10:54:52 UTC 2008
Modified Files:
pkgsrc/security/hydra: Makefile distinfo options.mk
pkgsrc/security/hydra/patches: patch-aa patch-ab
Added Files:
pkgsrc/security/hydra/patches: patch-ag
Log Message:
Update to 5.4
- Make this compile on amd64
- Don't silently look for libraries when we don't need them. This should fix
PR 39318
- Add missing depends on apr
Release 5.4
###########
* Fixes to the http modules as some Apache installations are picky
* The MySQL module also works with mysqld-5.0, updated
* Added AS/400 return code checks to pop3 module
* Fixed memory leaks in the http-form module.
* Implemented a proposal by Jean-Baptiste.BEAUFRETON (at) turbomeca.fr to
check for "530 user unknown" message in the ftp module
* Added a performance patch by alejandro.mendiondo (at) baicom.com. This one
needs stability testing!
* Beautification to remove compiler warnings of modern gcc
To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 pkgsrc/security/hydra/Makefile
cvs rdiff -r1.7 -r1.8 pkgsrc/security/hydra/distinfo
cvs rdiff -r1.2 -r1.3 pkgsrc/security/hydra/options.mk
cvs rdiff -r1.3 -r1.4 pkgsrc/security/hydra/patches/patch-aa
cvs rdiff -r1.4 -r1.5 pkgsrc/security/hydra/patches/patch-ab
cvs rdiff -r0 -r1.3 pkgsrc/security/hydra/patches/patch-ag
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: adrianp@NetBSD.org
State-Changed-When: Sun, 31 Aug 2008 10:58:52 +0000
State-Changed-Why:
Fixed with update to 5.4
Thanks for the PR !
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.