Estou tentando construir / usr / ports / sysutils / e2fsprogs / no FreeBSD. Para isso, estou seguindo os passos abaixo:
Quando faço isso, estou ficando abaixo do erro:
root@pod1229-client98:/usr/ports/sysutils/e2fsprogs # make clean patch DISABLE_VULNERABILITIES=yes
===> Cleaning for e2fsprogs-1.42.10
===> License GPLv2 accepted by the user
===> Found saved configuration for e2fsprogs-1.42.10
===> e2fsprogs-1.42.10 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by e2fsprogs-1.42.10 for building
===> Extracting for e2fsprogs-1.42.10
=> SHA256 Checksum OK for e2fsprogs-1.42.10.tar.xz.
===> Patching for e2fsprogs-1.42.10
===> Applying FreeBSD patches for e2fsprogs-1.42.10
File to patch: /data/usr/ports/sysutils/e2fsprogs/files/patch-misc__mke2fs.c
No such line 551 in input file, ignoring
1 out of 1 hunks failed--saving rejects to /data/usr/ports/sysutils/e2fsprogs/files/patch-misc__mke2fs.c.rej
=> Patch patch-misc__mke2fs.c failed to apply cleanly.
=> Patch(es) patch-350897 patch-e2fsck__unix.c patch-lib__ext2fs__ext2_fs.h patch-lib__ext2fs__tdb.c patch-lib__ext2fs__tst_bitops.c patch-lib__uuid__gen_uuid.c patch-misc__Makefile.in applied cleanly.
*** Error code 1
Stop.
'make clean patch' para em 'File to patch'.Ideally ele deve pegar patches no diretório de arquivos. Mas isso não está acontecendo.
Se eu fornecer o arquivo de patch criado por 'make patch', mesmo assim, a compilação falhará. Alguma idéia O que estou fazendo errado?
Criação de patches:
root@pod1229-client98:/usr/ports/sysutils/e2fsprogs # make makepatch
/usr/bin/diff -ud misc/mke2fs.c.orig misc/mke2fs.c > /data/usr/ports/sysutils/e2fsprogs/files/patch-misc__mke2fs.c
root@pod1229-client98:/usr/ports/sysutils/e2fsprogs #
conteúdo do patch.
--- misc/mke2fs.c.orig 2017-09-07 17:08:40 UTC
+++ misc/mke2fs.c
@@ -552,7 +552,7 @@
io_channel_set_blksize(fs->io, fs->blocksize);
free(buf);
if (retval)
- fprintf(stderr, _("Warning: could not erase sector %d: %s\n"),
+ fprintf(stderr, _("Warning: satpal could not erase sector %d: %s\n"),
sect, error_message(retval));
}