snapcraft requested file bug report
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
When trying to build the keepalived snap on Xenial, following a compile failure snapcraft produced the following:
notify.c: In function ‘check_
notify.c:934:41: error: ‘magic_desc’ undeclared (first use in this function)
log_message(
notify.c:934:41: note: each undeclared identifier is reported only once for each function it appears in
notify.c:935:15: warning: declaration of ‘magic_desc’ shadows previous non-variable [-Wshadow]
const char *magic_desc = magic_file(magic, real_file_path ? real_file_path : script->args[0]);
^
Makefile:413: recipe for target 'notify.o' failed
make[2]: *** [notify.o] Error 1
make[2]: Leaving directory '/home/
Makefile:322: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/
Makefile:430: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Failed to run 'make -j1' for 'keepalived': Exited with code 2.
Verify that the part is using the correct parameters and try again.
quentin@
Traceback (most recent call last):
File "<string>", line 5, in <module>
File "/usr/lib/
return self.main(*args, **kwargs)
File "/usr/lib/
rv = self.invoke(ctx)
File "/usr/lib/
return _process_
File "/usr/lib/
return ctx.invoke(
File "/usr/lib/
return callback(*args, **kwargs)
File "/usr/lib/
_call_
File "/usr/lib/
with open(call_fifo, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpis97bn
We would appreciate it if you created a bug report at
https:/
The version of snapcraft is 2.43.1. It is installed with apt, and is not a snapped version.