FS#35398 - [dsniff] unable to find the correct version of libnids during build

Attached to Project: Community Packages
Opened by Evan Teitelman (paradoxial) - Tuesday, 21 May 2013, 12:47 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 24 May 2013, 09:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
By default, makepkg sets 'CPPFLAGS' to '-D_FORTIFY_SOURCE=2' (this
variable is also exported at some point). For some reason, this seems to
inhibit the dniff configure script's ability to detect the correct version of
libids. When the 'CPPFLAGS' variable is unset or cleared, the configure script
is able to detect libnids.

Additional info:
Build output:
checking for libnids... yes
checking whether libnids version is good... no
configure: error: libnids version 1.13 or greater required
==> ERROR: A failure occurred in build().
Aborting...

I am using the current version of libnids (1.24-2) from the community
repository.

I am using the current version of the dsniff PKGBUILD file from the abs.

Steps to reproduce:
Obtain the dsniff PKGBUILD file.
Run makepkg.

Possible solution:
Change the PKGBUILD's call to the configure script to the following.

CPPFLAGS= LDFLAGS="-lresolv -lglib-2.0 -lgthread-2.0 $LDFLAGS" ./configure --prefix=/usr
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 24 May 2013, 09:31 GMT
Reason for closing:  Fixed
Comment by Evan Teitelman (paradoxial) - Tuesday, 21 May 2013, 12:50 GMT
Title should be '[dsniff] is unable to find the correct version of libnids during build.' Sorry about that.

Loading...