Summary: | app-portage/portage-utils: qcheck appends 'u' to modified entries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John <dev-jay> |
Component: | [OLD] Core system | Assignee: | Portage Utils Team <portage-utils> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=466492 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
John
2015-04-30 14:21:52 UTC
please show the exact output/files you're referring to For example, when I ran qcheck --update --all, in file /var/db/pkg/net-ftp/pure-ftpd-1.0.36/CONTENTS, the entry for /etc/conf.d/pure-ftpd was modified to contain: obj /etc/conf.d/pure-ftpd 7de23f6274f399bbeb392cce74b69b37 1428138576u Also, an extra line MD5-DIGEST: /etc/conf.d/pure-ftpd was printed for pure-ftpd. These 'u' suffixes at the end of the line are not recognized by portage and create emerge error messages like: !!! Parse error in '/var/db/pkg/net-ftp/pure-ftpd-1.0.36/CONTENTS' !!! line 9: Unrecognized CONTENTS entry When looking at the code in qcheck.c, one can see something like if (state->qc_update) fprintf(fpx, "obj %s %s %"PRIu64"u\n", e->name, e->digest, (uint64_t)st.st_mtime); which would explain the behavior. looks like the change that went in for bug 466492 broke all PRIu64 instances :/ should be fixed by: http://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=7eb77555f12823a7b5763122b6817fb66eb2a89f which will be in the next release |