snapcraft requested file bug report

Bug #1829413 reported by Patrick Quentin Armitage
6
This bug affects 1 person
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_script_secure’:
notify.c:934:41: error: ‘magic_desc’ undeclared (first use in this function)
 log_message(LOG_INFO, "magic_desc: %s", magic_desc);
                                         ^
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/quentin/keepalived/github/parts/keepalived/build/lib'
Makefile:322: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/quentin/keepalived/github/parts/keepalived/build/lib'
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@ubuntu-16-04-1:~/keepalived/github$ Sorry, an error occurred in Snapcraft:
Traceback (most recent call last):
  File "<string>", line 5, in <module>
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/snapcraft/cli/snapcraftctl/_runner.py", line 75, in set_version
    _call_function("set-version", {"version": version})
  File "/usr/lib/python3/dist-packages/snapcraft/cli/snapcraftctl/_runner.py", line 104, in _call_function
    with open(call_fifo, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpis97bnmx/function_call'
We would appreciate it if you created a bug report at
https://launchpad.net/snapcraft/+filebug with the above text included.

The version of snapcraft is 2.43.1. It is installed with apt, and is not a snapped version.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.