T7755: Add clang dependency to build hsflowd - #1019
Merged
Merged
Conversation
|
👍 |
sever-sever
approved these changes
Aug 28, 2025
sever-sever
left a comment
Member
There was a problem hiding this comment.
Fixes build hsflowd
Before fix
clang -std=gnu99 -I. -I../json -I../sflow -fPIC -g -O2 -D_GNU_SOURCE -DHSP_VERSION=2.1.14 -DPROCFS=/proc -DSYSFS=/sys -DETCFS=/etc -DVARFS=/var -DUTHEAP -DHSP_OPTICAL_STATS -DHSP_MOD_DIR=/etc/hsflowd/modules -Wall -Wstrict-prototypes -Wunused-value -Wunused-function -DSFL_USE_SFDG -DSFL_USE_32BIT_INDEX -c mod_json.c
make[1]: clang: No such file or directory
make[1]: *** [Makefile:498: mod_json.o] Error 127
make[1]: Leaving directory '/vyos/work/tmp/vpp-ipsec-fix/vyos-build/scripts/package-build/hsflowd/host-sflow/src/Linux'
make: *** [Makefile:16: hsflowd] Error 2
Failed to build package host-sflow: Command 'make deb FEATURES='PCAP DROPMON DBUS PSAMPLE VPP'' returned non-zero exit status 2.
I: Cleaned up build dependency packages
dmbaturin
approved these changes
Aug 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change summary
The Clang compiler is required to build the hsflowd package. It will be added as a dependency of the hsflowd package only.
Types of changes
Related Task(s)
https://vyos.dev/T7755
Related PR(s)
Checklist: