https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297183
Mark Millard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #9 from Mark Millard <[email protected]> ---
From what I see the fatal status is just a consequence of having
DEVELOPER_MODE enabled:
ctx.developer_mode = pkg_object_bool(pkg_config_get("DEVELOPER_MODE"));
and:
libpkg/pkg.c
. . .
int
pkg_addfile_attr(struct pkg *pkg, const char *path, const char *sum,
const char *uname, const char *gname, mode_t perm,
u_long fflags, time_t mtime,
const char *symlink_target, bool check_duplicates)
{
. . .
struct pkg_file *existing = pkg_filev_insert_sorted(&pkg->files, f);
if (existing != NULL) {
pkg_file_free_content(&f);
if (check_duplicates) {
if (ctx.developer_mode) {
pkg_emit_error("duplicate file listing: %s,
fatal (developer mode)", path);
return (EPKG_FATAL);
} else {
pkg_emit_error("duplicate file listing: %s,
ignoring", path);
}
}
return (EPKG_OK);
}
return (EPKG_OK);
. . .
If you can operate with DEVELOPER_MODE disabled, the specific
type of stopping operation behavior should not occur.
--
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.