Package Base Details: sheepshaver-git

Git Clone URL: https://aur.archlinux.org/sheepshaver-git.git (read-only, click to copy)
Keywords: emulator macos system-9
Submitter: grawity
Maintainer: Menelkir
Last Packager: Menelkir
Votes: 5
Popularity: 0.79
First Submitted: 2018-10-31 23:14 (UTC)
Last Updated: 2024-03-25 13:30 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

SunBey commented on 2020-06-24 12:00 (UTC) (edited on 2020-06-24 12:05 (UTC) by SunBey)

There is still a failure direct at the beginning: ==> Starting prepare()... patching file SheepShaver/src/video.cpp Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file SheepShaver/src/video.cpp.rej ==> ERROR: A failure occurred in prepare(). Aborting...

If you do it by hand it has the same failure when you say "y" to booth patch questions as by Whovian9369.

So for me it is still not working.

aviallon commented on 2020-06-20 17:30 (UTC) (edited on 2021-03-26 11:26 (UTC) by aviallon)

Updated per @syntobu's remarks. Thanks for the heads up. Do not hesitate to flag the package out of date if there is an issue.

GWTRC commented on 2020-06-17 22:18 (UTC)

@queueRAM: I'm having the same issue Whovian9369 was having. How do I apply that patch?

queueRAM commented on 2020-06-05 17:29 (UTC)

@veridiam: sheepshaver crashes for me with direct addressing. it works fine for me using real addressing with --enable-addressing=real

@Whovian9369: this is the risk taken building from git. you may use this patch to allow it to build. correctness still to be checked:

diff --git a/SheepShaver/src/video.cpp b/SheepShaver/src/video.cpp
index d0eda93d..60ef8c13 100644
--- a/SheepShaver/src/video.cpp
+++ b/SheepShaver/src/video.cpp
@@ -736,7 +736,7 @@ static int16 VideoStatus(uint32 pb, VidLocals *csSave)

                case cscGetNextResolution: {
                        D(bug("GetNextResolution \n"));
-                       int work_id = ReadMacInt32(param + csPreviousDisplayModeID);
+                       unsigned int work_id = ReadMacInt32(param + csPreviousDisplayModeID);
                        switch (work_id) {
                                case kDisplayModeIDCurrent:
                                        work_id = csSave->saveData;

Whovian9369 commented on 2020-05-20 05:19 (UTC)

I'm getting an issue too, annoyingly.

../video.cpp: In function ‘bool VideoSnapshot(int, int, uint8*)’:
../video.cpp:127:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  127 |   uint8 *screen = (uint8 *)private_data->saveBaseAddr;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../video.cpp: In function ‘int16 VideoStatus(uint32, VidLocals*)’:
../video.cpp:744:10: error: narrowing conversion of ‘kDisplayModeIDFindFirstResolution’ from ‘unsigned int’ to ‘int’ [-Wnarrowing]
  744 |     case kDisplayModeIDFindFirstResolution:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:200: obj/video.o] Error 1

The repo (both a self clone and via the AUR package) gives that error when I try to build it, sadly. Anyone happen to know?

<deleted-account> commented on 2020-04-13 03:16 (UTC)

@DonJaime did you manage to find a resolution to your issue? I've run into the same segfault on both AMD and Intel systems

sricks3 commented on 2020-03-31 10:36 (UTC)

@grawity: Yep, my bad. I've installed base-devel, and now it appears to build successfully. Thanks!

grawity commented on 2020-03-31 07:30 (UTC) (edited on 2020-03-31 07:31 (UTC) by grawity)

@sricks3: It sounds like you're missing pkg-config or pkgconf.

Arch Linux packaging policy assumes that all packages in the base-devel group will always be installed when building packages, and allows omitting them from makedepends.

That being said, I haven't actually rebuilt this package myself for years so I don't know if the latest Git master works or not.

sricks3 commented on 2020-03-31 00:22 (UTC)

I'm getting an error when trying to install on Manjaro (let me know if it's not ok to ask about non-Arch distros here):

...
checking for pthread_mutexattr_settype... yes
checking for pthread_mutexattr_setpshared... yes
checking for sem_init... yes
./configure: line 6167: syntax error near unexpected token `0.7'
./configure: line 6167: `  PKG_PROG_PKG_CONFIG(0.7)'
==> ERROR: A failure occurred in build().
    Aborting...
Error making: sheepshaver-git

Has anyone else gotten this or have any idea what to do about it?

encelo commented on 2020-03-15 14:37 (UTC)

It seems the package needs autoconf and automake to be in the makedepends array.