Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931632 - sys-process/atop-2.10.0-r1[modules] fails to compile with GCC-14: error: a function declaration without a prototype
Summary: sys-process/atop-2.10.0-r1[modules] fails to compile with GCC-14: error: a fu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard: fixed in 2.11.0
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-05-09 14:05 UTC by NHO
Modified: 2024-11-01 16:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,23.88 KB, text/x-log)
2024-05-09 14:06 UTC, NHO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2024-05-09 14:05:54 UTC
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1041:11: error: a function declaration without a prototype is deprecated in all versions of C
      [-Werror,-Wstrict-prototypes]
 1041 | gctaskexit()
      |           ^
      |            void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1075:11: error: a function declaration without a prototype is deprecated in all versions of C
      [-Werror,-Wstrict-prototypes]
 1075 | gcsockinfo()
      |           ^
      |            void
/var/tmp/portage/sys-process/atop-2.10.0-r1/work/netatop-3.1/module/netatop.c:1285:11: error: a function declaration without a prototype is deprecated in all versions of C
      [-Werror,-Wstrict-prototypes]
 1285 | gctaskinfo()
      |           ^
      |            void

and so on

Reproducible: Always
Comment 1 NHO 2024-05-09 14:06:53 UTC
Created attachment 892615 [details]
build.log
Comment 2 Larry the Git Cow gentoo-dev 2024-08-11 21:14:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c0eea4331717f129cfb1f4d333b56e9c24de4b

commit 64c0eea4331717f129cfb1f4d333b56e9c24de4b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-11 21:12:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-11 21:14:21 +0000

    sys-process/atop: add 2.11.0
    
    Closes: https://bugs.gentoo.org/931632
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-process/atop/Manifest                          |   2 +
 sys-process/atop/atop-2.11.0.ebuild                | 117 +++++++++++++++++++++
 sys-process/atop/files/atop-2.11.0-build.patch     |  35 ++++++
 .../atop/files/atop-2.11.0-respect-opt.patch       |  11 ++
 4 files changed, 165 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-11-01 16:07:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=622eaca5cfa12ff8a45fe6e69bc4a954e32aa6e3

commit 622eaca5cfa12ff8a45fe6e69bc4a954e32aa6e3
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-01 15:53:56 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-01 16:07:04 +0000

    sys-process/atop: drop 2.9.0-r1, 2.10.0-r1
    
    Bug: https://bugs.gentoo.org/931632
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-process/atop/Manifest                          |   3 -
 sys-process/atop/atop-2.10.0-r1.ebuild             | 122 ---------------------
 sys-process/atop/atop-2.9.0-r1.ebuild              | 118 --------------------
 sys-process/atop/files/atop-2.10.0-ldflags.patch   |  20 ----
 .../files/atop-2.10.0-respect-PKG_CONFIG.patch     |  14 ---
 .../atop/files/atop-2.10.0-respect-opt.patch       |  12 --
 sys-process/atop/files/atop-2.6.0-build.patch      |  27 -----
 .../atop/files/atop-2.9.0-netatop-makefile.patch   |  42 -------
 8 files changed, 358 deletions(-)