coova / coova-chilli

CoovaChilli is an open-source software access controller for captive portal hotspots.
Other
516 stars 258 forks source link

Compilation of release 1.3.2 fails on fedora23 / aarch64 (armv8) #286

Open m-anish opened 7 years ago

m-anish commented 7 years ago

Please have a look at the last few lines of the log here: http://arm.koji.fedoraproject.org/koji/watchlogs?taskID=3741801

This is being compiled on fedora23-aarch64 (armv8) and it fails. The same code compiles on i386 and x86_64.

m-anish commented 7 years ago

The same succeeds on an older linux build (fedora 22) http://arm.koji.fedoraproject.org/kojifiles/work/tasks/1831/3741831/root.log

Perhaps this is a bug elsewhere, but would be great if someone could check the log once :)

sevan commented 7 years ago

Build fails when applying a patch?

patch -p0 < cmdline.patch gcc -DHAVE_CONFIG_H -I. -I.. -I../json -D_GNU_SOURCE -Wall -Werror -fno-builtin -fno-strict-aliasing -fomit-frame-pointer -funroll-loops -pipe -I../bstring -DDEFCHILLICONF='"/etc/chilli.conf"' -DDEFPIDFILE='"/var/run/chilli.pid"' -DDEFSTATEDIR='"/var/run"' -DSBINDIR='"/usr/sbin"' -I../json -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o main-query.o main-query.c patching file cmdline.c Hunk #1 FAILED at 1902. 1 out of 1 hunk FAILED -- saving rejects to file cmdline.c.rej

sevan commented 7 years ago

What does cmdline.c.rej say?