Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 889702 - net-analyzer/nfdump-1.7.0.1 fails to compile (DASH-SYSTEM): nfxV3.c:450:85: error: v undeclared (first use in this function)
Summary: net-analyzer/nfdump-1.7.0.1 fails to compile (DASH-SYSTEM): nfxV3.c:450:85: e...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-04 14:33 UTC by Agostino Sarubbo
Modified: 2024-01-17 07:11 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,73.44 KB, text/plain)
2023-01-04 14:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-04 14:33:46 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/nfdump-1.7.0.1 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-04 14:33:48 UTC
Created attachment 847202 [details]
build.log

build log and emerge --info
Comment 2 Kalin KOZHUHAROV 2024-01-17 07:11:39 UTC
I looked at the build.log, this seems like a genuine upstream bug (i.e. not related to dash).

nfxV3.c: In function 'SequencerRun':
nfxV3.c:450:85: error: 'v' undeclared (first use in this function)
  450 | equencer->sequenceTable[i].inputLength, (long long unsigned)v, outLength);
      |                                                             ^

nfxV3.c:450:85: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [Makefile:557: nfxV3.lo] Error 1


Digging the code, I see it fixed in https://github.com/phaag/nfdump/commit/2d50c6789cfe0a4cce4e3b362b3b4fcb77df7fde#diff-b54ef7f297870285048061bf39387128e06f646a2538f90e5027763f33aac638 which is before 1.7.2 (the other stable ebuild in our tree).

So, the way forward is to drop net-analyzer/nfdump-1.7.0.1 and mark this as RESOLVED/OBSOLETE.

BTW, there is nfdump-1.7.3 from a few months ago https://github.com/phaag/nfdump/releases/tag/v1.7.3