Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 870523

Summary: sys-apps/vbetool-1.1-r1:0 - vbetool.c: error: incompatible integer to pointer conversion passing
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 1.2.2
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-apps:vbetool-1.1-r1:20220916-193637.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-09-16 19:37:48 UTC
      deprecated in all versions of C [-Wstrict-prototypes]
int do_get_panel_id();
                   ^
                    void
vbetool.c:120:11: error: incompatible integer to pointer conversion passing
      'int' to parameter of type 'void *' [-Wint-conversion]
                        munmap(0xc0000, 64*1024);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220916-040004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3.90

  HEAD of ::gentoo
commit 4970711ac45f120d8ee6888ddfe7102a6e2a4b44
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 19:16:48 2022 +0000

    2022-09-16 19:16:47 UTC

emerge -qpvO sys-apps/vbetool
[ebuild  N    ] sys-apps/vbetool-1.1-r1
Comment 1 Toralf Förster gentoo-dev 2022-09-16 19:37:49 UTC
Created attachment 806398 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 19:37:51 UTC
Created attachment 806401 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-16 19:37:52 UTC
Created attachment 806404 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-16 19:37:53 UTC
Created attachment 806407 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-16 19:37:54 UTC
Created attachment 806410 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 19:37:55 UTC
Created attachment 806413 [details]
sys-apps:vbetool-1.1-r1:20220916-193637.log
Comment 7 Toralf Förster gentoo-dev 2022-09-16 19:37:56 UTC
Created attachment 806416 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-09-28 20:44:08 UTC
The bug has been closed via the following commit(s):

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

commit 948dbb676ad148f1b0288d8a95de6f8c19dd486c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-28 19:58:42 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-28 20:43:18 +0000

    sys-apps/vbetool: add 1.2.2
    
    This fork is ~13 years old but it fixes our clang16 issues and
    several distros are using it, let's take it (albeit unsure how
    useful this package still is, don't use myself).
    
    dev.g.o tarball is a checkout of upstream v1.2.2 tag with no changes.
    
    Closes: https://bugs.gentoo.org/787245
    Closes: https://bugs.gentoo.org/870523
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 sys-apps/vbetool/Manifest                         |  1 +
 sys-apps/vbetool/files/vbetool-1.2.2-libx86.patch |  7 +++++
 sys-apps/vbetool/vbetool-1.2.2.ebuild             | 31 +++++++++++++++++++++++
 3 files changed, 39 insertions(+)