Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 765115 - games-emulation/hatari-2.2.1-r1 : /.../floppy_ipf.c: error: too few arguments to function CAPSLockImageMemory
Summary: games-emulation/hatari-2.2.1-r1 : /.../floppy_ipf.c: error: too few arguments...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-01-12 16:14 UTC by Toralf Förster
Modified: 2021-06-02 02:38 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.56 KB, text/plain)
2021-01-12 16:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,175.31 KB, text/plain)
2021-01-12 16:14 UTC, Toralf Förster
Details
environment (environment,131.29 KB, text/plain)
2021-01-12 16:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.30 KB, application/x-bzip)
2021-01-12 16:14 UTC, Toralf Förster
Details
games-emulation:hatari-2.2.1-r1:20210112-141959.log (games-emulation:hatari-2.2.1-r1:20210112-141959.log,96.66 KB, text/plain)
2021-01-12 16:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.06 KB, application/x-bzip)
2021-01-12 16:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,35.42 KB, application/x-bzip)
2021-01-12 16:14 UTC, Toralf Förster
Details
fix build with USE=capsimage patch (0001-games-emulation-hatari-fix-build-with-USE-capsimage.patch,2.67 KB, patch)
2021-01-12 22:43 UTC, Ionen Wolkens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-01-12 16:14:02 UTC
      |                                                                 ^~~~~~~~~
      |                                                                 )
/var/tmp/portage/games-emulation/hatari-2.2.1-r1/work/hatari-2.2.1/src/floppy_ipf.c:483:7: error: too few arguments to function ‘CAPSLockImageMemory’
  483 |  if ( CAPSLockImageMemory ( ImageId , pImageBuffer , (CapsULong)ImageSize , DI_LOCK_MEMREF ) == imgeOk )
      |       ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/caps5/CapsLibAll.h:9,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20210107-192316

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.9 (fallback)
  [3]   python3.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Jan 12 01:35:27 PM UTC 2021

emerge -qpvO games-emulation/hatari
[ebuild  N    ] games-emulation/hatari-2.2.1-r1  USE="capsimage png readline sdl2 udev zlib -microphone -portmidi" PYTHON_SINGLE_TARGET="python3_8 (-python3_6) -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-01-12 16:14:03 UTC
Created attachment 682522 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-12 16:14:05 UTC
Created attachment 682525 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-01-12 16:14:07 UTC
Created attachment 682528 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-01-12 16:14:08 UTC
Created attachment 682531 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-01-12 16:14:09 UTC
Created attachment 682534 [details]
games-emulation:hatari-2.2.1-r1:20210112-141959.log
Comment 6 Toralf Förster gentoo-dev 2021-01-12 16:14:10 UTC
Created attachment 682537 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-01-12 16:14:12 UTC
Created attachment 682540 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-01-12 22:43:24 UTC
Created attachment 682588 [details, diff]
fix build with USE=capsimage patch
Comment 9 Larry the Git Cow gentoo-dev 2021-06-02 02:38:11 UTC
The bug has been closed via the following commit(s):

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

commit f161975e2a310eec02789128306f8bfb54af35a8
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-06-01 11:59:26 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-06-02 02:20:51 +0000

    games-emulation/hatari: add 2.3.1
    
    - removed upstreamed joystick patch
    - replaced default-rom patch by using /etc/hatari.cfg, effective even
      if user has their own .cfg in $HOME unless overrides same option
    - removed libsdl1 support, upstream advises against using and it'll
      be removed entirely next version
    - added python3_10 (haven't managed to find issues)
    - the python-ui frontend was previously missing gtk+:3[introspection]
      dep and, rather than add unconditionally, introducing USE=gui
    - plus other small adjustments/fixes
    
    bug 739146 config-file test failure was caused by the default-rom patch
    
    Closes: https://bugs.gentoo.org/739146
    Closes: https://bugs.gentoo.org/765004
    Closes: https://bugs.gentoo.org/765115
    Closes: https://github.com/gentoo/gentoo/pull/20905
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-emulation/hatari/Manifest                    |  1 +
 .../files/hatari-2.3.1-caps5-include-path.patch    | 18 +++++
 .../hatari-2.3.1-cmake-include-checksym.patch      | 12 +++
 games-emulation/hatari/hatari-2.3.1.ebuild         | 90 ++++++++++++++++++++++
 4 files changed, 121 insertions(+)