Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713988 - net-misc/openr2-1.3.0 : r2chan.c: error: overflow in conversion from long unsigned int to int changes value from 2147801634 to -21
Summary: net-misc/openr2-1.3.0 : r2chan.c: error: overflow in conversion from long uns...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PMASKED
Depends on: 914477
Blocks:
  Show dependency tree
 
Reported: 2020-03-22 13:36 UTC by Toralf Förster
Modified: 2023-12-16 08:28 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.13 KB, text/plain)
2020-03-22 13:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,272.93 KB, text/plain)
2020-03-22 13:36 UTC, Toralf Förster
Details
environment (environment,59.23 KB, text/plain)
2020-03-22 13:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.76 KB, application/x-bzip)
2020-03-22 13:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.22 KB, application/x-bzip)
2020-03-22 13:36 UTC, Toralf Förster
Details
net-misc:openr2-1.3.0:20200322-132218.log (net-misc:openr2-1.3.0:20200322-132218.log,11.03 KB, text/plain)
2020-03-22 13:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.50 KB, application/x-bzip)
2020-03-22 13:37 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 2020-03-22 13:36:42 UTC
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -Iopenr2 -std=c99 -pedantic -Werror -Wwrite-strings -Wunused-variable -Wstrict-prototypes -Wmissing-prototypes -DREVISION=\0\ -D__OR2_COMPILING_LIBRARY__ -fvisibility=hidden -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c r2chan.c  -fPIC -DPIC -o .libs/libopenr2_la-r2chan.o
r2chan.c: In function __openr2_chan_new_from_fd:
r2chan.c:53:22: error: overflow in conversion from long unsigned int to int changes value from 2147801634 to -2147165662 [-Werror=overflow]
   53 |  res = ioctl(chanfd, OR2_HW_OP_CHANNO, &channo);
      |                      ^~~~~~~~~~~~~~~~
r2chan.c:63:22: error: overflow in conversion from long unsigned int to int changes value from 3230194181 to -1064773115 [-Werror=overflow]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Mar 22 12:18:34 UTC 2020
/var/db/repos/musl	Sun Mar 22 03:12:57 UTC 2020

emerge -qpvO net-misc/openr2
[ebuild  N    ] net-misc/openr2-1.3.0
Comment 1 Toralf Förster gentoo-dev 2020-03-22 13:36:45 UTC
Created attachment 624450 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-22 13:36:48 UTC
Created attachment 624452 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-22 13:36:50 UTC
Created attachment 624454 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-22 13:36:53 UTC
Created attachment 624456 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-22 13:36:56 UTC
Created attachment 624458 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-22 13:36:58 UTC
Created attachment 624460 [details]
net-misc:openr2-1.3.0:20200322-132218.log
Comment 7 Toralf Förster gentoo-dev 2020-03-22 13:37:01 UTC
Created attachment 624462 [details]
temp.tbz2
Comment 8 Joonas Niilola gentoo-dev 2023-09-21 08:19:35 UTC
Last-rited, please see bug #914477.