* Package: sci-chemistry/surf-1.0:0 * Repository: gentoo * Maintainer: sci-chemistry@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking surf-1.0.tar.Z to /var/tmp/portage/sci-chemistry/surf-1.0/work >>> Source unpacked in /var/tmp/portage/sci-chemistry/surf-1.0/work >>> Preparing source in /var/tmp/portage/sci-chemistry/surf-1.0/work ... * Applying surf-1.0-makefile.patch ... [ ok ] * Applying surf-1.0-Wreturn-type.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-chemistry/surf-1.0/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-chemistry/surf-1.0/work ... make -j4 clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o io.o io.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o compute.o compute.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o dual.o dual.c clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -I. -c -o utils.o utils.c io.c:21:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] input_dataset(filename) ^ int io.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] io.c:57:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ io.c:72:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] begin_output_dataset(outfilename) ^ int io.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] io.c:85:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ io.c:90:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] output_dataset() ^ int io.c:100:5: error: call to undeclared function 'write_archive_tri'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] write_archive_tri(&verts[i][0], &verts[i][1], &verts[i][2], (int)ato... ^ io.c:102:1: warning: non-void function does not return a value [-Wreturn-type] } ^ io.c:108:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] write_archive_tri(pt0, pt1, pt2, atype) ^ int io.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] io.c:150:1: warning: non-void function does not return a value [-Wreturn-type] } ^ io.c:155:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] end_output_dataset() ^ int io.c:163:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 8 warnings and 6 errors generated. make: *** [: io.o] Error 1 make: *** Waiting for unfinished jobs.... dual.c:19:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] dualize_hull(atom_id, cons) ^ int dual.c:30:3: error: call to undeclared function 'alloc_fc_verts'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] alloc_fc_verts(); ^ dual.c:31:3: error: call to undeclared function 'alloc_fc_faces'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] alloc_fc_faces(); ^ dual.c:32:3: error: call to undeclared function 'alloc_fc_edges'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] alloc_fc_edges(); ^ compute.c:29:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] init_and_compute() ^ int dual.c:39:5: error: call to undeclared function 'dualize_face_to_point'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] { dualize_face_to_point(atom_id, temp_f, cons); ^ compute.c:44:5: error: call to undeclared function 'compute_extents'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] compute_extents(); ^ dual.c:53:9: error: call to undeclared function 'gen_fc_face'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] gen_fc_face(temp_v, temp_f); ^ dual.c:61:3: error: call to undeclared function 'setup_vert_edge_ptrs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] setup_vert_edge_ptrs(); ^ compute.c:47:5: error: call to undeclared function 'compute_bounding_tetra'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] compute_bounding_tetra(); ^ compute.c:53:8: error: call to undeclared function 'compute_components'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] { compute_components(i, Constraints); ^ compute.c:61:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ compute.c:67:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] compute_extents() ^ int dual.c:65:5: error: call to undeclared function 'find_edge_sphere_intersection'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] find_edge_sphere_intersection(atom_id, &redges[i]); ^ dual.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dualize_hull(atom_id, cons) ^ dual.c:66:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dual.c:72:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] alloc_fc_verts() ^ int dual.c:82:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ dual.c:86:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]compute.c :132:alloc_fc_faces()1 :^ warning: intnon-void function does not return a value in all control paths [-Wreturn-type] } ^ compute.c:138:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] compute_bounding_tetra() ^ int dual.c:117:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ dual.c:124:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] alloc_fc_edges() ^ int dual.c:148:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ dual.c:153:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] setup_vert_edge_ptrs() ^ int dual.c:166:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dual.c:171:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] clean_fc() ^ int compute.c:198:1: warning: non-void function does not return a value [-Wreturn-type] } ^ compute.c:205:1: error: dual.ctype: 183specifier: 1missing,: defaults to 'int';warning: non-voidISO functionC99 doesand not laterreturn doa notvalue support[-Wreturn-type] implicit int [-Werror,-Wimplicit-int] compute_components(atom_id, constraints) ^ int } ^ dual.c:189:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] gen_fc_face(ch_vert, ch_face) ^ int dual.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dual.c:249:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ dual.c:255:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] dualize_face_to_point(atom_id, face_ptr, cons) ^ int compute.c:213:8: error: call to undeclared function 'compute_neighbors'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (!compute_neighbors(atom_id, &num_constraints)) return -1; ^ compute.c:215:3: error: call to undeclared function 'compute_planes'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] compute_planes(atom_id, num_constraints,constraints); ^ compute.c:220:7: error: call to undeclared function 'find_origin'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] if (find_origin(atom_id, constraints, num_constraints)) ^ dual.c:267:3: error: call to undeclared function 'compute_tri_plane_int'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] compute_tri_plane_int(cons[i], cons[j], cons[k], result); ^ dual.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dualize_face_to_point(atom_id, face_ptr, cons) ^ dual.c:278:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dual.c:284:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] dualize_planes_to_points(plane, num_planes) ^ int dual.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dual.c:317:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ dual.c:331:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] find_edge_sphere_intersection(atom_id, edge_ptr) ^ int compute.c:222:5: error: call to undeclared function 'transform_and_add_extents'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] transform_and_add_extents(atom_id, constraints, &num_constraints); ^ dual.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dual.c:393:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dual.c:398:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] print_cell() ^ int dual.c:405:1: warning: non-void function does not return a value [-Wreturn-type] } ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 16 warnings and 20 errors generated. compute.c:227:5: error: call to undeclared function 'dualize_planes_to_points'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] dualize_planes_to_points(constraints, num_constraints); ^ compute.c:230:5: error: call to undeclared function 'init_tet'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] init_tet(); ^ compute.c:233:5: error: call to undeclared function 'complete_hull'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] complete_hull(); ^ compute.c:236:5: error: call to undeclared function 'dualize_hull'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] dualize_hull(atom_id, constraints); ^ compute.c:245:5: error: call to undeclared function 'find_tes_origin'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] find_tes_origin(atom_id, constraints); ^ compute.c:248:5: error: call to undeclared function 'find_components'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] find_components(atom_id, constraints); ^ compute.c:251:5: error: call to undeclared function 'clean_fc'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] clean_fc(); ^ compute.c:252:5: error: call to undeclared function 'meta_clean'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] meta_clean(); ^ compute.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] compute_components(atom_id, constraints) ^ compute.c:254:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ compute.c:263:1: warning: a function definition without a prototype is deprecated in all versionsmake: *** [: dual.o] Error 1 of C and is not supported in C2x [-Wdeprecated-non-prototype] compute_neighbors(i, num_cons) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] utils.c:23:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] find_plane_eq(pt0, pt1, pt2, plane_eq) ^ int utils.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:37:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 6 warnings and 20 errors generated. utils.c:43:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] compute_tri_plane_int(plane0, plane1, plane2, result) ^ int utils.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:71:1: warning: non-void function does not return a value [-Wreturn-type] } ^ utils.c:79:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] find_ray_sphere_int(int_point, ray_pt, ray_dir, center, radius) ^ int utils.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:110:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ utils.c:119:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] find_line_plane_int(int_point, line_pt, line_dir, plane_eq) ^ int utils.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:130:1: warning: non-void function does not return a value [-Wreturn-type] } ^ utils.c:137:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] find_line_seg_plane_int(int_point, point0, point1, plane_eq) ^ int utils.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] utils.c:147:1: warning: non-void function does not return a value [-Wreturn-type] } ^ utils.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] find_angle(p0, p1, plane_eq, org) ^ In file included from utils.c:15: ./surf.h:126:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern double find_angle(); ^ utils.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sph_dist(p0, p1, center) ^ In file included from utils.c:15: ./surf.h:127:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern double sph_dist(); ^ 14 warnings and 5 errors generated. make: *** [: compute.o] Error 1 make: *** [: utils.o] Error 1 * ERROR: sci-chemistry/surf-1.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-chemistry/surf-1.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-chemistry/surf-1.0::gentoo'`. * The complete build log is located at '/var/log/portage/sci-chemistry:surf-1.0:20221003-020730.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-chemistry/surf-1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-chemistry/surf-1.0/temp/environment'. * Working directory: '/var/tmp/portage/sci-chemistry/surf-1.0/work' * S: '/var/tmp/portage/sci-chemistry/surf-1.0/work'