freeze.c:689:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’ In file included from freeze.c:1: freeze.h:20:33: error: ‘FILE’ {aka ‘struct _IO_FILE’} has no member named ‘_cnt’ # define putc(x, p) (--(p)->_cnt < 0 ? _flsbuf((unsigned char) (x), (p)) : (int) (*(p)->_ptr++ = (unsigned char) (x))) ^~ freeze.c:710:2: note: in expansion of macro ‘putc’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_libressl_20181019-202112 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) [2] ruby25 (with Rubygems) * emerge -qpvO app-arch/freeze [ebuild N ] app-arch/freeze-2.5.0-r1
Created attachment 552112 [details] emerge-info.txt
Created attachment 552114 [details] app-arch:freeze-2.5.0-r1:20181021-142122.log
Created attachment 552116 [details] emerge-history.txt
Created attachment 552118 [details] environment
Created attachment 552120 [details] etc.portage.tbz2
Created attachment 552122 [details] temp.tbz2
Things changed around getc and putc, so this may be glibc-2.28 related. From the release notes: >* The stdio functions 'getc' and 'putc' are no longer defined as macros. > This was never required by the C standard, and the macros just expanded > to call alternative names for the same functions. If you hoped getc and > putc would provide performance improvements over fgetc and fputc, instead > investigate using (f)getc_unlocked and (f)putc_unlocked, and, if > necessary, flockfile and funlockfile.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8352d7d051806d3a3df3c6b00ec47af166b7f01 commit b8352d7d051806d3a3df3c6b00ec47af166b7f01 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2019-01-05 11:33:01 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2019-01-05 11:33:27 +0000 app-arch/freeze: Assigning package to amavisd-new maintainers (since that is the only reverse dependency of it) Bug: https://bugs.gentoo.org/669206 Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> app-arch/freeze/metadata.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=185658bff21832b12c76e6e74fe9a7d1c6ea71cf commit 185658bff21832b12c76e6e74fe9a7d1c6ea71cf Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2019-01-05 16:11:31 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2019-01-05 16:12:01 +0000 mail-filter/amavisd-new: new revision sans the app-arch/freeze dependency. The app-arch/freeze package fails to build with a modern compiler and glibc. It's probably time to lay this package to rest. The last upstream release is from circa 1999. Fedora has some patches against it, but an email from the author (in the Fedora RPM) suggests that even he thinks the package is dead. While it's fun to see a long list of supported file types in amavisd, I've never actually seen one of these archives in real life. The recent build failures are due to some code quality issues; so even if it's possible to patch them, one has to ask: do we want to be feeding this unmaintained program untrusted input from the network? With all things considered, its removal is for the best. Bug: https://bugs.gentoo.org/669206 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 .../{amavisd-new-2.11.1-r2.ebuild => amavisd-new-2.11.1-r3.ebuild} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
To satisfy my own curiosity I made the build failure go away, but a million other scary code quality issues remain. I don't think this is worth saving. Feel free to mask when that new revision of amavisd-new is stable (and don't hesitate to call for stabilization if I forget).
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7adcc87c864b6b017eb87e8b1eb28760cb81b255 commit 7adcc87c864b6b017eb87e8b1eb28760cb81b255 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2019-02-24 01:41:01 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2019-02-24 01:41:01 +0000 package.mask: mask app-arch/freeze for removal Bug: https://bugs.gentoo.org/669206 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca14d145f771fb8c26f40a260550484c3cfef85e commit ca14d145f771fb8c26f40a260550484c3cfef85e Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2019-02-24 01:39:22 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2019-02-24 01:39:22 +0000 mail-filter/amavisd-new: Remove old Bug: https://bugs.gentoo.org/669206 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> mail-filter/amavisd-new/Manifest | 1 - .../amavisd-new/amavisd-new-2.11.0-r3.ebuild | 180 --------------------- 2 files changed, 181 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c791dd30761dd791e078f0418504d4f644708503 commit c791dd30761dd791e078f0418504d4f644708503 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2019-03-29 10:09:45 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-03-29 10:10:15 +0000 app-arch/freeze: Remove last-rited pkg Closes: https://bugs.gentoo.org/669206 Signed-off-by: Michał Górny <mgorny@gentoo.org> app-arch/freeze/Manifest | 1 - app-arch/freeze/files/freeze-2.5.0-gentoo.patch | 55 ------------------------- app-arch/freeze/freeze-2.5.0-r1.ebuild | 44 -------------------- app-arch/freeze/metadata.xml | 12 ------ profiles/package.mask | 5 --- 5 files changed, 117 deletions(-)