Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664776 - dev-libs/zookeeper-c-3.4.10 : src/zookeeper.c:3469:21: error: %d directive writing between 1 and 5 bytes into a region of size between 0 and 127 [-Werror=format-overflow=]
Summary: dev-libs/zookeeper-c-3.4.10 : src/zookeeper.c:3469:21: error: %d directive wr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2018-08-28 17:33 UTC by Toralf Förster
Modified: 2021-04-14 16:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.65 KB, text/plain)
2018-08-28 17:33 UTC, Toralf Förster
Details
dev-libs:zookeeper-c-3.4.10:20180828-163926.log (dev-libs:zookeeper-c-3.4.10:20180828-163926.log,11.26 KB, text/plain)
2018-08-28 17:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,84.26 KB, text/plain)
2018-08-28 17:33 UTC, Toralf Förster
Details
environment (environment,84.15 KB, text/plain)
2018-08-28 17:33 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.53 KB, application/x-bzip)
2018-08-28 17:33 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.29 KB, application/x-bzip)
2018-08-28 17:33 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-28 17:33:02 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./include -I./tests -I./generated -Wall -Werror -O2 -pipe -march=native -c src/zookeeper.c  -fPIC -DPIC -o .libs/zookeeper.o
src/zookeeper.c: In function 'format_endpoint_info':
src/zookeeper.c:3469:21: error: '%d' directive writing between 1 and 5 bytes into a region of size between 0 and 127 [-Werror=format-overflow=]
     sprintf(buf,"%s:%d",addrstr,ntohs(port));
                     ^~
src/zookeeper.c:3469:17: note: directive argument in the range [0, 65535]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20180826-195326

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv dev-libs/zookeeper-c
[ebuild  N    ] dev-libs/zookeeper-c-3.4.10  USE="-doc -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2018-08-28 17:33:05 UTC
Created attachment 545334 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-28 17:33:08 UTC
Created attachment 545336 [details]
dev-libs:zookeeper-c-3.4.10:20180828-163926.log
Comment 3 Toralf Förster gentoo-dev 2018-08-28 17:33:11 UTC
Created attachment 545338 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-28 17:33:14 UTC
Created attachment 545340 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-28 17:33:17 UTC
Created attachment 545342 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-28 17:33:19 UTC
Created attachment 545344 [details]
logs.tbz2
Comment 7 Agostino Sarubbo gentoo-dev 2021-01-25 12:18:43 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 8 Larry the Git Cow gentoo-dev 2021-03-16 13:18:03 UTC
The bug has been referenced in the following commit(s):

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

commit 8e2ea28012b31589b4624d8e324ce2f3de55106a
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2021-03-16 13:16:33 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-03-16 13:17:54 +0000

    package.mask: last-rite dev-libs/zookeeper-c
    
    Bug: https://bugs.gentoo.org/664776
    Bug: https://bugs.gentoo.org/747592
    
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 9 Larry the Git Cow gentoo-dev 2021-04-14 16:12:25 UTC
The bug has been closed via the following commit(s):

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

commit 3b347510c63c07a6c84f294efb288a879801edee
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-04-14 00:11:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-04-14 16:10:48 +0000

    dev-libs/zookeeper-c: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/664776
    Closes: https://bugs.gentoo.org/747592
    Closes: https://bugs.gentoo.org/623328
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Closes: https://github.com/gentoo/gentoo/pull/20372
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/zookeeper-c/Manifest                  |  3 --
 dev-libs/zookeeper-c/metadata.xml              |  8 -----
 dev-libs/zookeeper-c/zookeeper-c-3.4.10.ebuild | 46 --------------------------
 dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild  | 37 ---------------------
 dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild  | 37 ---------------------
 profiles/package.mask                          | 26 ++++++++++++---
 6 files changed, 22 insertions(+), 135 deletions(-)