Package Base Details: sheepshaver-git

Git Clone URL: (read-only, click to copy)
Submitter: grawity
Maintainer: grawity
Last Packager: grawity
Votes: 1
Popularity: 0.034880
First Submitted: 2018-10-31 23:14
Last Updated: 2019-08-26 11:35

Latest Comments

sricks3 commented on 2020-03-31 10:36

@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

@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

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().
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

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

DonJaime commented on 2019-12-26 11:48

With the latest version of the PKGBUILD (pkgrel=2) I get a core dump:

Process 5228 (SheepShaver) of user 1000 dumped core. Stack trace of thread 5228:

0 0x00000000780c0dcd n/a (SheepShaver + 0x78dcd)
1 0x00000000780873ef n/a (SheepShaver + 0x3f3ef)
2 0x00007f46c1b31930 __restore_rt ( + 0x14930)
3 0x0000000078077a80 n/a (SheepShaver + 0x2fa80)
4 0x000000007805fcd7 n/a (SheepShaver + 0x17cd7)
5 0x00000000780614b8 n/a (SheepShaver + 0x194b8)
6 0x00007f46c159a153 __libc_start_main ( + 0x27153)
7 0x000000007805fa7e n/a (SheepShaver + 0x17a7e)

This happens immediately if I start SheepShaver, and when I hit 'Start' if I run SheepShaverGUI.

Kramlat commented on 2019-08-18 01:17

yes it works (sort of) though I have a few other things I recommend:
--enable-addressing=direct \ <-- disable the need for root
--enable-standalone-gui \ <-- this will allow for one to wrap the emulator with a script so that we can have for an example, boot chimes.
here is the updated PKGBUILD:

Maintainer: Eric DeStefano <eric at ericdestefano dot com>

pkgdesc="An Open Source PowerMac Emulator"
depends=('gtk2' 'sdl' 'vde2')

pkgver() {
cd macemu
echo "r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"

build() {
cd macemu/SheepShaver/src/Unix
./ \
--prefix=/usr \
--enable-addressing=direct \
--enable-standalone-gui \
--enable-sdl-audio \
--enable-sdl-video \
--enable-tuntap \
--with-bincue \
--with-vdeplug \
make -j1
cd Linux/NetDriver
make -j1

package() {
install -Dm755 macemu/SheepShaver/src/Unix/SheepShaver "$pkgdir"/usr
install -Dm755 macemu/SheepShaver/src/Unix/SheepShaverGUI "$pkgdir"/usr
/bin/SheepShaverGUI # Kramlat: Added external config tool
install -Dm755 macemu/SheepShaver/src/Unix/Linux/NetDriver/sheep_net.ko "$pkgdir"/usr/lib/modules/SheepNet/sheep_net.ko #
Kramlat: Added SheepNet to silence warning if you want to actually use it

mkdir -p "$pkgdir"/usr/share/doc
cp -a macemu/SheepShaver/doc/Linux "$pkgdir"/usr/share/doc/SheepShaver

install -Dm644 SheepShaver.desktop "$pkgdir"/usr/share/applications/SheepShaver.desktop
install -Dm644 SheepShaver.png "$pkgdir"/usr/share/pixmaps/SheepShaver.png
install -Dm644 SheepShaver.sysctl "$pkgdir"/etc/sysctl.d/90-SheepShaver.conf

vim: ts=2:sw=2:et:

grawity commented on 2019-08-15 12:48

Been a long time since I touched this program at all. Does it still work?

It might be possible to build sheep_net, yes (assuming it's still compatible with current kernels), but I would much prefer a mechanism that doesn't require having to load custom drivers – i.e. attaching to standard tap or macvtap interfaces, either directly or via vde2. (And it looks like ether_unix.cpp supports both methods.)

Kramlat commented on 2019-08-15 12:41

wouldn't it be possible to run make -j1 in macemu/SheepShaver/src/Unix/Linux/NetDriver then install sheep_net.ko into /lib/modules/SheepShaver and thus build a working sheep_net driver?