Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741344 - net-fs/libnfs-4.0.0 fails o build due to -Werror: libnfs-sync.c:184:53: error: unused parameter 'data' [-Werror=unused-parameter]
Summary: net-fs/libnfs-4.0.0 fails o build due to -Werror: libnfs-sync.c:184:53: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2020-09-08 22:46 UTC by Sergei Trofimovich (RETIRED)
Modified: 2020-12-13 19:21 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich (RETIRED) gentoo-dev 2020-09-08 22:46:40 UTC
Probably a matter of missing --disable-werror supported by configure.ac.

$ LANG=C CFLAGS="-O2 -Wextra" CXXFLAGS="-O2 -Wextra" e libnfs-4.0.0.ebuild clean install
...
libnfs-zdr.c: In function 'libnfs_zdr_bytes':
libnfs-zdr.c:162:74: error: unused parameter 'maxsize' [-Werror=unused-parameter]
  162 | bool_t libnfs_zdr_bytes(ZDR *zdrs, char **bufp, uint32_t *size, uint32_t maxsize)
      |                                                                 ~~~~~~~~~^~~~~~~
...
Comment 1 Larry the Git Cow gentoo-dev 2020-12-13 19:21:48 UTC
The bug has been closed via the following commit(s):

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

commit dcc4ed17e7f2275d8f12612f248c1c5125ad2138
Author:     Peter Alfredsen <crabbedhaloablution@icloud.com>
AuthorDate: 2020-12-13 18:35:28 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-12-13 19:12:47 +0000

    net-fs/libnfs: add --disable-werror
    
    Closes: https://bugs.gentoo.org/741344
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/18641

 net-fs/libnfs/libnfs-4.0.0.ebuild | 1 +
 net-fs/libnfs/libnfs-9999.ebuild  | 1 +
 2 files changed, 2 insertions(+)