=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/binpatch", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for binpatch-1.0 gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o binpatch binpatch.c binpatch.c: In function 'main': binpatch.c:160:13: error: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] 160 | if (lseek(f, cmp_off, SEEK_SET) == -1) | ^~~~~ | fseek binpatch.c:162:13: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 162 | if (read(f, buf, lget) != lget) | ^~~~ | fread binpatch.c:168:13: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 168 | if (write(f, put, lput) != lput) | ^~~~~ | fwrite binpatch.c:170:13: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 170 | if (close(f) != 0) | ^~~~~ | pclose *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/binpatch *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/pkgtools/binpatch