sutils
sutils copied to clipboard
pkgbuild for mpr fails due to build error
heres the actual error
[#] Making package: sutils-git 1f35ea442016.04.11-1 (Sun 15 May 2022 11:58:15 AM IST)
[#] Checking for missing dependencies...
[#] Retrieving sources...
[->] Updating sutils git repo...
Fetching origin
[#] Validating source files with md5sums...
sutils ... Skipped
[#] Extracting sources...
[->] Creating working copy of sutils git repo...
[#] Starting pkgver()...
[#] Removing existing $pkgdir/ directory...
[#] Starting build()...
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -std=c99 -pedantic -Wall -Wextra -I/usr/include -D_POSIX_C_SOURCE=200112L -Os -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/usr/lib -s -o essid essid.c
essid.c: In function ‘main’:
essid.c:65:5: error: format not a string literal and no format arguments [-Werror=format-security]
65 | sprintf(request.ifr_name, interface);
| ^~~~~~~
cc1: some warnings being treated as errors
make: *** [Makefile:27: essid] Error 1
[!] A failure occurred in build().
Aborting...
, i am trying to package sutils for MPR aka makedeb.org. the installation is failing due to the build process having some errors. any possible fix to overcome this issue is appreciated.