Bug#917675: sfepy: FTBFS: sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token

Lucas Nussbaum lucas at debian.org
Sat Dec 29 21:40:04 GMT 2018


Source: sfepy
Version: 2018.1-4
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20181229 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-AjKZhf/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-amd64-2.7/build/src.linux-amd64-2.7/sfepy/discrete/common/extmods/assemble.o -Lbuild/temp.linux-amd64-2.7 -o /<<PKGBUILDDIR>>/.pybuild/cpython2_2.7/build/sfepy/discrete/common/extmods/assemble.so
> building 'sfepy.discrete.common.extmods.cmesh' extension
> compiling C sources
> C compiler: x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
> 
> compile options: '-D__SDIR__=\"sfepy/discrete/common/extmods\" -DSFEPY_PLATFORM=0 -Dinline=inline -Isfepy/discrete/common/extmods -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c'
> extra options: '-g -O2'
> x86_64-linux-gnu-gcc: build/src.linux-amd64-2.7/sfepy/discrete/common/extmods/cmesh.c
> x86_64-linux-gnu-gcc: sfepy/discrete/common/extmods/geomtrans.c
> <command-line>: warning: missing terminating " character
> <command-line>: warning: missing terminating " character
> In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1822,
>                  from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
>                  from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
>                  from build/src.linux-amd64-2.7/sfepy/discrete/common/extmods/cmesh.c:567:
> /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
>  #warning "Using deprecated NumPy API, disable it with " \
>   ^~~~~~~
> x86_64-linux-gnu-gcc: sfepy/discrete/common/extmods/mesh.c
> <command-line>: warning: missing terminating " character
> sfepy/discrete/common/extmods/mesh.c: In function 'mesh_free':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:78:3: note: in expansion of macro 'free_mem'
>    free_mem(topology->edge_oris);
>    ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:78:3: note: in expansion of macro 'free_mem'
>    free_mem(topology->edge_oris);
>    ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:78:3: note: in expansion of macro 'free_mem'
>    free_mem(topology->edge_oris);
>    ^~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:79:3: note: in expansion of macro 'free_mem'
>    free_mem(topology->face_oris);
>    ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:79:3: note: in expansion of macro 'free_mem'
>    free_mem(topology->face_oris);
>    ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:79:3: note: in expansion of macro 'free_mem'
>    free_mem(topology->face_oris);
>    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c: In function 'conn_alloc':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:217:21: note: in expansion of macro 'alloc_mem'
>      conn->offsets = alloc_mem(uint32, num + 1);
>                      ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:217:21: note: in expansion of macro 'alloc_mem'
>      conn->offsets = alloc_mem(uint32, num + 1);
>                      ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/mesh.c:217:21: note: in expansion of macro 'alloc_mem'
>      conn->offsets = alloc_mem(uint32, num + 1);
>                      ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:223:21: note: in expansion of macro 'alloc_mem'
>      conn->indices = alloc_mem(uint32, n_incident);
>                      ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:223:21: note: in expansion of macro 'alloc_mem'
>      conn->indices = alloc_mem(uint32, n_incident);
>                      ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/mesh.c:223:21: note: in expansion of macro 'alloc_mem'
>      conn->indices = alloc_mem(uint32, n_incident);
>                      ^~~~~~~~~
> sfepy/discrete/common/extmods/mesh.c: In function 'conn_resize':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:107:58: note: in expansion of macro '__SDIR__'
>                             __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                                           ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:245:19: note: in expansion of macro 'realloc_mem'
>    conn->offsets = realloc_mem(conn->offsets, uint32, num + 1);
>                    ^~~~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:107:58: note: in expansion of macro '__SDIR__'
>                             __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                                           ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:245:19: note: in expansion of macro 'realloc_mem'
>    conn->offsets = realloc_mem(conn->offsets, uint32, num + 1);
>                    ^~~~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:107:66: error: expected expression before ')' token
>                             __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                                                   ^
> sfepy/discrete/common/extmods/mesh.c:245:19: note: in expansion of macro 'realloc_mem'
>    conn->offsets = realloc_mem(conn->offsets, uint32, num + 1);
>                    ^~~~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:107:58: note: in expansion of macro '__SDIR__'
>                             __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                                           ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:249:19: note: in expansion of macro 'realloc_mem'
>    conn->indices = realloc_mem(conn->indices, uint32, n_incident);
>                    ^~~~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:107:58: note: in expansion of macro '__SDIR__'
>                             __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                                           ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:249:19: note: in expansion of macro 'realloc_mem'
>    conn->indices = realloc_mem(conn->indices, uint32, n_incident);
>                    ^~~~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:107:66: error: expected expression before ')' token
>                             __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                                                   ^
> sfepy/discrete/common/extmods/mesh.c:249:19: note: in expansion of macro 'realloc_mem'
>    conn->indices = realloc_mem(conn->indices, uint32, n_incident);
>                    ^~~~~~~~~~~
> sfepy/discrete/common/extmods/mesh.c: In function 'conn_free':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:264:4: note: in expansion of macro 'free_mem'
>     free_mem(conn->indices);
>     ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:264:4: note: in expansion of macro 'free_mem'
>     free_mem(conn->indices);
>     ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:264:4: note: in expansion of macro 'free_mem'
>     free_mem(conn->indices);
>     ^~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:265:4: note: in expansion of macro 'free_mem'
>     free_mem(conn->offsets);
>     ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:265:4: note: in expansion of macro 'free_mem'
>     free_mem(conn->offsets);
>     ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:265:4: note: in expansion of macro 'free_mem'
>     free_mem(conn->offsets);
>     ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c: In function 'mesh_build':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:454:10: note: in expansion of macro 'alloc_mem'
>    oris = alloc_mem(uint32, n_incident);
>           ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:454:10: note: in expansion of macro 'alloc_mem'
>    oris = alloc_mem(uint32, n_incident);
>           ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/mesh.c:454:10: note: in expansion of macro 'alloc_mem'
>    oris = alloc_mem(uint32, n_incident);
>           ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:456:5: note: in expansion of macro 'free_mem'
>      free_mem(mesh->topology->face_oris);
>      ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:456:5: note: in expansion of macro 'free_mem'
>      free_mem(mesh->topology->face_oris);
>      ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:456:5: note: in expansion of macro 'free_mem'
>      free_mem(mesh->topology->face_oris);
>      ^~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:459:5: note: in expansion of macro 'free_mem'
>      free_mem(mesh->topology->edge_oris);
>      ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:459:5: note: in expansion of macro 'free_mem'
>      free_mem(mesh->topology->edge_oris);
>      ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:459:5: note: in expansion of macro 'free_mem'
>      free_mem(mesh->topology->edge_oris);
>      ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c: In function 'mesh_intersect':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:652:10: note: in expansion of macro 'alloc_mem'
>    mask = alloc_mem(char, mesh->topology->num[d2]);
>           ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:652:10: note: in expansion of macro 'alloc_mem'
>    mask = alloc_mem(char, mesh->topology->num[d2]);
>           ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/mesh.c:652:10: note: in expansion of macro 'alloc_mem'
>    mask = alloc_mem(char, mesh->topology->num[d2]);
>           ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:735:3: note: in expansion of macro 'free_mem'
>    free_mem(mask);
>    ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:735:3: note: in expansion of macro 'free_mem'
>    free_mem(mask);
>    ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:735:3: note: in expansion of macro 'free_mem'
>    free_mem(mask);
>    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c: In function 'mesh_select_complete':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:855:16: note: in expansion of macro 'alloc_mem'
>    mask->mask = alloc_mem(char, conn->num);
>                 ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:855:16: note: in expansion of macro 'alloc_mem'
>    mask->mask = alloc_mem(char, conn->num);
>                 ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/mesh.c:855:16: note: in expansion of macro 'alloc_mem'
>    mask->mask = alloc_mem(char, conn->num);
>                 ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:859:14: note: in expansion of macro 'alloc_mem'
>    ent_mask = alloc_mem(char, mesh->topology->num[dent]);
>               ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:859:14: note: in expansion of macro 'alloc_mem'
>    ent_mask = alloc_mem(char, mesh->topology->num[dent]);
>               ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/mesh.c:859:14: note: in expansion of macro 'alloc_mem'
>    ent_mask = alloc_mem(char, mesh->topology->num[dent]);
>               ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:879:3: note: in expansion of macro 'free_mem'
>    free_mem(ent_mask);
>    ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/mesh.c:879:3: note: in expansion of macro 'free_mem'
>    free_mem(ent_mask);
>    ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/mesh.c:1:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/mesh.c:879:3: note: in expansion of macro 'free_mem'
>    free_mem(ent_mask);
>    ^~~~~~~~
> x86_64-linux-gnu-gcc: sfepy/discrete/common/extmods/sort.c
> <command-line>: warning: missing terminating " character
> error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D__SDIR__=\"sfepy/discrete/common/extmods\" -DSFEPY_PLATFORM=0 -Dinline=inline -Isfepy/discrete/common/extmods -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c sfepy/discrete/common/extmods/mesh.c -o build/temp.linux-amd64-2.7/sfepy/discrete/common/extmods/mesh.o -MMD -MF build/temp.linux-amd64-2.7/sfepy/discrete/common/extmods/mesh.o.d -g -O2" failed with exit status 1
> sfepy/discrete/common/extmods/sort.c: In function 'int32_sort_rows':
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:69:10: note: in expansion of macro 'alloc_mem'
>    perm = alloc_mem( int32, n_row );
>           ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:69:10: note: in expansion of macro 'alloc_mem'
>    perm = alloc_mem( int32, n_row );
>           ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/sort.h:4,
>                  from sfepy/discrete/common/extmods/sort.c:18:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/sort.c:69:10: note: in expansion of macro 'alloc_mem'
>    perm = alloc_mem( int32, n_row );
>           ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:70:12: note: in expansion of macro 'alloc_mem'
>    perm_i = alloc_mem( int32, n_row );
>             ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:70:12: note: in expansion of macro 'alloc_mem'
>    perm_i = alloc_mem( int32, n_row );
>             ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/sort.h:4,
>                  from sfepy/discrete/common/extmods/sort.c:18:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/sort.c:70:12: note: in expansion of macro 'alloc_mem'
>    perm_i = alloc_mem( int32, n_row );
>             ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:71:15: note: in expansion of macro 'alloc_mem'
>    SWAP_temp = alloc_mem( int32, n_col );
>                ^~~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:104:35: note: in expansion of macro '__SDIR__'
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:71:15: note: in expansion of macro 'alloc_mem'
>    SWAP_temp = alloc_mem( int32, n_col );
>                ^~~~~~~~~
> In file included from sfepy/discrete/common/extmods/sort.h:4,
>                  from sfepy/discrete/common/extmods/sort.c:18:
> sfepy/discrete/common/extmods/common.h:104:43: error: expected expression before ')' token
>      __LINE__, __FUNC__, __FILE__, __SDIR__)
>                                            ^
> sfepy/discrete/common/extmods/sort.c:71:15: note: in expansion of macro 'alloc_mem'
>    SWAP_temp = alloc_mem( int32, n_col );
>                ^~~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:114:3: note: in expansion of macro 'free_mem'
>    free_mem( perm );
>    ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:114:3: note: in expansion of macro 'free_mem'
>    free_mem( perm );
>    ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/sort.h:4,
>                  from sfepy/discrete/common/extmods/sort.c:18:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/sort.c:114:3: note: in expansion of macro 'free_mem'
>    free_mem( perm );
>    ^~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:115:3: note: in expansion of macro 'free_mem'
>    free_mem( perm_i );
>    ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:115:3: note: in expansion of macro 'free_mem'
>    free_mem( perm_i );
>    ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/sort.h:4,
>                  from sfepy/discrete/common/extmods/sort.c:18:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/sort.c:115:3: note: in expansion of macro 'free_mem'
>    free_mem( perm_i );
>    ^~~~~~~~
> <command-line>: error: stray '\' in program
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:116:3: note: in expansion of macro 'free_mem'
>    free_mem( SWAP_temp );
>    ^~~~~~~~
> <command-line>: error: missing terminating " character
> sfepy/discrete/common/extmods/common.h:109:51: note: in expansion of macro '__SDIR__'
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                    ^~~~~~~~
> sfepy/discrete/common/extmods/sort.c:116:3: note: in expansion of macro 'free_mem'
>    free_mem( SWAP_temp );
>    ^~~~~~~~
> In file included from sfepy/discrete/common/extmods/sort.h:4,
>                  from sfepy/discrete/common/extmods/sort.c:18:
> sfepy/discrete/common/extmods/common.h:109:59: error: expected expression before ')' token
>      mem_free_mem(p, __LINE__, __FUNC__, __FILE__, __SDIR__); } while (0)
>                                                            ^
> sfepy/discrete/common/extmods/sort.c:116:3: note: in expansion of macro 'free_mem'
>    free_mem( SWAP_temp );
>    ^~~~~~~~
> Exception in thread Thread-12 (most likely raised during interpreter shutdown):
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
>   File "/usr/lib/python2.7/threading.py", line 754, in run
>   File "/usr/lib/python2.7/multiprocessing/pool.py", line 108, in worker
> <type 'exceptions.TypeError'>: 'NoneType' object is not callable
> E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build 
> dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
> make: *** [debian/rules:7: build] Error 25

The full build log is available from:
   http://aws-logs.debian.net/2018/12/29/sfepy_2018.1-4_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list