+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/deforaos-asm-0.2.3nb6/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/deforaos-asm-0.2.3nb6/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for deforaos-asm-0.2.3nb6 ./pkgconfig.sh -P "/opt/local" -- "Asm.pc" sed -e s;@PACKAGE@;Asm; -e s;@VERSION@;0.2.3; -e s;@PREFIX@;/opt/local; -e s;@RPATH@;-Wl,-R${libdir}; -- Asm.pc.in ./gtkdoc.sh -P "/opt/local" -- "gtkdoc/Asm.types" gtkdoc-scan --module=Asm --source-dir=include --output-dir=doc/gtkdoc include/Asm/asm.h:0: warning: partial declaration (enum) : typedef enum _AsmPluginType { APT_ARCH = 0, APT_FORMAT } AsmPluginType; /* functions */ Asm * asm_new(char const * arch, char const * format); void asm_delete(Asm * a); /* accessors */ /* detection */ char const * asm_get_arch(Asm * a); int asm_set_arch(Asm * a, char const * arch); char const * asm_get_format(Asm * a); int asm_set_format(Asm * a, char const * format); /* functions */ AsmFunction * asm_set_function(Asm * a, char const * name, off_t offset, ssize_t size); /* sections */ AsmSection * asm_set_section(Asm * a, unsigned int flags, char const * name, off_t offset, ssize_t size, off_t base); /* useful */ /* detection */ int asm_guess_arch(Asm * a); int asm_guess_format(Asm * a); /* common */ int asm_close(Asm * a); /* assemble */ int asm_assemble(Asm * a, AsmPrefs * prefs, char const * infile, char const * outfile); int asm_assemble_string(Asm * a, AsmPrefs * prefs, char const * outfile, char const * string); int asm_open_assemble(Asm * a, char const * outfile); int asm_instruction(Asm * a, char const * name, unsigned int operands_cnt, ...); /* deassemble */ AsmCode * asm_deassemble(Asm * a, char const * buffer, size_t size, AsmArchInstructionCall ** calls, size_t * calls_cnt); AsmCode * asm_open_deassemble(Asm * a, char const * filename, int raw); /* plug-in helpers */ int asm_plugin_list(AsmPluginType type, int decode); #endif /* !DEVEL_ASM_COMMON_H */ ./gtkdoc.sh -P "/opt/local" -- "gtkdoc/tmpl.stamp" gtkdoc-mktmpl --module=Asm --output-dir=tmpl ./gtkdoc.sh[51]: gtkdoc-mktmpl: not found [No such file or directory] gtkdoc.sh: gtkdoc/tmpl.stamp: Could not create documentation ./gtkdoc.sh -P "/opt/local" -- "gtkdoc/sgml.stamp" gtkdoc-mkdb --module=Asm --output-dir=xml --output-format=xml --tmpl-dir=tmpl unknown:0: warning: Value descriptions for AsmArchEndian are missing in source code comment block. unknown:0: warning: Value descriptions for AsmArchOperandType are missing in source code comment block. unknown:0: warning: Value descriptions for AsmElementType are missing in source code comment block. ./gtkdoc.sh -P "/opt/local" -- "gtkdoc/html.stamp" mkdir -m 0755 -p -- gtkdoc/html gtkdoc-mkhtml Asm ../Asm-docs.xml warning: failed to load external entity "../xml/annotation-glossary.xml" Warning: multiple "IDs" for constraint linkend: get-filename. Warning: multiple "IDs" for constraint linkend: get-function-by-id. Warning: multiple "IDs" for constraint linkend: get-string-by-id. Warning: multiple "IDs" for constraint linkend: write. Warning: multiple "IDs" for constraint linkend: read. Warning: multiple "IDs" for constraint linkend: seek. Warning: multiple "IDs" for constraint linkend: init. Warning: multiple "IDs" for constraint linkend: destroy. Warning: multiple "IDs" for constraint linkend: decode. Warning: multiple "IDs" for constraint linkend: get-filename. Warning: multiple "IDs" for constraint linkend: read. Warning: multiple "IDs" for constraint linkend: seek. Warning: multiple "IDs" for constraint linkend: write. Warning: multiple "IDs" for constraint linkend: get-function-by-id. Warning: multiple "IDs" for constraint linkend: get-string-by-id. Warning: multiple "IDs" for constraint linkend: decode. Warning: multiple "IDs" for constraint linkend: init. Warning: multiple "IDs" for constraint linkend: destroy. Warning: multiple "IDs" for constraint linkend: decode. Warning: multiple "IDs" for constraint linkend: destroy. Warning: multiple "IDs" for constraint linkend: get-filename. Warning: multiple "IDs" for constraint linkend: get-function-by-id. Warning: multiple "IDs" for constraint linkend: get-string-by-id. Warning: multiple "IDs" for constraint linkend: init. Warning: multiple "IDs" for constraint linkend: read. Warning: multiple "IDs" for constraint linkend: seek. Warning: multiple "IDs" for constraint linkend: write. gtkdoc-fixxref --module=Asm --module-dir=html --html-dir=/opt/local/share/gtk-doc/html html/Asm-arch.html:534: warning: no link for: "AsmArchPluginHelper" -> (AsmArchPluginHelper). html/Asm-arch.html:547: warning: no link for: "AsmArchInstruction" -> (AsmArchInstruction). html/Asm-arch.html:548: warning: no link for: "AsmArchInstructionCall" -> (AsmArchInstructionCall). cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o amd64.o -c amd64.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o arm.o -c arm.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o dalvik.o -c dalvik.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o i386.o -c i386.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o i386_real.o -c i386_real.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o i486.o -c i486.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o i586.o -c i586.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o i686.o -c i686.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o java.o -c java.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o mips.o -c mips.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o sparc.o -c sparc.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o sparc64.o -c sparc64.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o template.o -c template.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o yasep.o -c yasep.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o yasep16.o -c yasep16.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o yasep32.o -c yasep32.c cc -shared -o amd64.so amd64.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o arm.so arm.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o armeb.o -c armeb.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o armel.o -c armel.c cc -shared -o dalvik.so dalvik.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o i386.so i386.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o i386_real.so i386_real.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o i486.so i486.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o i586.so i586.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o i686.so i686.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o java.so java.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o mips.so mips.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o mipseb.o -c mipseb.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o mipsel.o -c mipsel.c cc -shared -o sparc.so sparc.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o sparc64.so sparc64.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o template.so template.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o yasep.so yasep.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o yasep16.so yasep16.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o yasep32.so yasep32.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o armeb.so armeb.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o armel.so armel.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o mipseb.so mipseb.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -shared -o mipsel.so mipsel.o -W `pkg-config --libs libSystem` -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o dex.o -c dex.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o elf.o -c elf.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o elf/common.o -c elf/common.c cc -I ../../include `pkg-config --cflags libSystem` -fPIC -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/usr/include -o elf/elf32.o -c elf/elf32.c In file included from elf/elf32.c:22: elf/elf.c: In function 'elf32_init': elf/elf.c:45:2: error: unknown type name 'Elf_Ehdr'; did you mean 'Elf64_Ehdr'? 45 | Elf_Ehdr hdr; | ^~~~~~~~ | Elf64_Ehdr elf/elf.c:51:13: error: request for member 'e_ident' in something not a structure or union 51 | memcpy(&hdr.e_ident, ELFMAG, SELFMAG); | ^ elf/elf.c:52:5: error: request for member 'e_ident' in something not a structure or union 52 | hdr.e_ident[EI_CLASS] = ELFCLASS; | ^ elf/elf.c:52:26: error: 'ELFCLASS' undeclared (first use in this function); did you mean 'ELFCLASS32'? 52 | hdr.e_ident[EI_CLASS] = ELFCLASS; | ^~~~~~~~ | ELFCLASS32 elf/elf.c:52:26: note: each undeclared identifier is reported only once for each function it appears in elf/elf.c:53:5: error: request for member 'e_ident' in something not a structure or union 53 | hdr.e_ident[EI_DATA] = ea->endian; | ^ elf/elf.c:54:5: error: request for member 'e_ident' in something not a structure or union 54 | hdr.e_ident[EI_VERSION] = EV_CURRENT; | ^ elf/elf.c:57:6: error: request for member 'e_type' in something not a structure or union 57 | hdr.e_type = _htob16(ET_REL); | ^ elf/elf.c:58:6: error: request for member 'e_machine' in something not a structure or union 58 | hdr.e_machine = _htob16(ea->machine); | ^ elf/elf.c:59:6: error: request for member 'e_version' in something not a structure or union 59 | hdr.e_version = _htob32(EV_CURRENT); | ^ elf/elf.c:60:6: error: request for member 'e_ehsize' in something not a structure or union 60 | hdr.e_ehsize = _htob16(sizeof(hdr)); | ^ elf/elf.c:61:6: error: request for member 'e_shentsize' in something not a structure or union 61 | hdr.e_shentsize = _htob16(sizeof(Elf_Shdr)); | ^ In file included from elf/common.h:25, from elf/elf.h:20, from elf/elf32.c:20: elf/elf.c:61:36: error: 'Elf_Shdr' undeclared (first use in this function); did you mean 'Elf64_Shdr'? 61 | hdr.e_shentsize = _htob16(sizeof(Elf_Shdr)); | ^~~~~~~~ ../../include/Asm.h:38:23: note: in definition of macro '_htob16' 38 | # define _htob16(a) (a) | ^ In file included from elf/elf32.c:22: elf/elf.c:62:6: error: request for member 'e_shstrndx' in something not a structure or union 62 | hdr.e_shstrndx = _htob16(SHN_UNDEF); | ^ elf/elf.c:66:6: error: request for member 'e_type' in something not a structure or union 66 | hdr.e_type = _htol16(ET_REL); | ^ elf/elf.c:67:6: error: request for member 'e_machine' in something not a structure or union 67 | hdr.e_machine = _htol16(ea->machine); | ^ elf/elf.c:68:6: error: request for member 'e_version' in something not a structure or union 68 | hdr.e_version = _htol32(EV_CURRENT); | ^ elf/elf.c:69:6: error: request for member 'e_ehsize' in something not a structure or union 69 | hdr.e_ehsize = _htol16(sizeof(hdr)); | ^ elf/elf.c:70:6: error: request for member 'e_shentsize' in something not a structure or union 70 | hdr.e_shentsize = _htol16(sizeof(Elf_Shdr)); | ^ elf/elf.c:71:6: error: request for member 'e_shstrndx' in something not a structure or union 71 | hdr.e_shstrndx = _htol16(SHN_UNDEF); | ^ elf/elf.c: In function 'elf32_section': elf/elf.c:87:2: error: unknown type name 'Elf_Shdr'; did you mean 'Elf64_Shdr'? 87 | Elf_Shdr * p; | ^~~~~~~~ | Elf64_Shdr elf/elf.c:98:12: warning: assignment to 'Elf32_Shdr *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] 98 | elf->esSZ = p; | ^ elf/elf.c:99:4: warning: assignment to 'int *' from incompatible pointer type 'Elf32_Shdr *' [-Wincompatible-pointer-types] 99 | p = &elf->esSZ[elf->esSZ_cnt++]; | ^ elf/elf.c:102:3: error: request for member 'sh_name' in something not a structure or union 102 | p->sh_name = ss; | ^~ elf/elf.c:103:3: error: request for member 'sh_type' in something not a structure or union 103 | p->sh_type = esv->type; | ^~ elf/elf.c:104:3: error: request for member 'sh_flags' in something not a structure or union 104 | p->sh_flags = esv->flags; | ^~ elf/elf.c:110:3: error: request for member 'sh_offset' in something not a structure or union 110 | p->sh_offset = offset; | ^~ elf/elf.c:111:3: error: request for member 'sh_link' in something not a structure or union 111 | p->sh_link = SHN_UNDEF; /* FIXME */ | ^~ elf/elf32.c: At top level: elf/elf32.c:26:27: error: unknown type name 'Elf_Ehdr'; did you mean 'Elf64_Ehdr'? 26 | static void _swap_32_ehdr(Elf_Ehdr * ehdr); | ^~~~~~~~ | Elf64_Ehdr elf/elf32.c:27:27: error: unknown type name 'Elf_Phdr'; did you mean 'Elf64_Phdr'? 27 | static void _swap_32_phdr(Elf_Phdr * phdr); | ^~~~~~~~ | Elf64_Phdr elf/elf32.c:28:27: error: unknown type name 'Elf_Shdr'; did you mean 'Elf64_Shdr'? 28 | static void _swap_32_shdr(Elf_Shdr * shdr); | ^~~~~~~~ | Elf64_Shdr elf/elf32.c:33:53: error: unknown type name 'Elf_Ehdr'; did you mean 'Elf64_Ehdr'? 33 | char const * elf32_detect(AsmFormatPlugin * format, Elf_Ehdr * ehdr) | ^~~~~~~~ | Elf64_Ehdr elf/elf32.c: In function 'elf32_decode': elf/elf32.c:212:3: warning: implicit declaration of function '_swap_32_ehdr' [-Wimplicit-function-declaration] 212 | _swap_32_ehdr(&ehdr); | ^~~~~~~~~~~~~ elf/elf32.c: In function '_decode32_shdr': elf/elf32.c:278:4: warning: implicit declaration of function '_swap_32_shdr' [-Wimplicit-function-declaration] 278 | _swap_32_shdr(*shdr + i); | ^~~~~~~~~~~~~ elf/elf32.c: In function '_decode32_addr': elf/elf32.c:300:4: warning: implicit declaration of function '_swap_32_phdr'; did you mean '_destroy_32_phdr'? [-Wimplicit-function-declaration] 300 | _swap_32_phdr(&phdr); | ^~~~~~~~~~~~~ | _destroy_32_phdr elf/elf32.c: At top level: elf/elf32.c:398:27: error: unknown type name 'Elf_Ehdr'; did you mean 'Elf64_Ehdr'? 398 | static void _swap_32_ehdr(Elf_Ehdr * ehdr) | ^~~~~~~~ | Elf64_Ehdr elf/elf32.c:417:27: error: unknown type name 'Elf_Phdr'; did you mean 'Elf64_Phdr'? 417 | static void _swap_32_phdr(Elf_Phdr * phdr) | ^~~~~~~~ | Elf64_Phdr elf/elf32.c:431:27: error: unknown type name 'Elf_Shdr'; did you mean 'Elf64_Shdr'? 431 | static void _swap_32_shdr(Elf_Shdr * shdr) | ^~~~~~~~ | Elf64_Shdr *** [elf/elf32.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/devel/deforaos-asm/work/Asm-0.2.3/src/format 1 error bmake[2]: stopped in /home/pbulk/build/devel/deforaos-asm/work/Asm-0.2.3/src/format *** [subdirs] Error code 2 bmake[1]: stopped in /home/pbulk/build/devel/deforaos-asm/work/Asm-0.2.3/src 1 error bmake[1]: stopped in /home/pbulk/build/devel/deforaos-asm/work/Asm-0.2.3/src *** [subdirs] Error code 2 bmake: stopped in /home/pbulk/build/devel/deforaos-asm/work/Asm-0.2.3 1 error bmake: stopped in /home/pbulk/build/devel/deforaos-asm/work/Asm-0.2.3 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/deforaos-asm *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/devel/deforaos-asm