On 2016-11-23 02:11:36, David Meier <[email protected]> wrote:
> On 11/22/16 10:28, Bryan Linton wrote:
> >
> >It won't build for me on i386.  I'm not sure if it may be a
> >problem with my system, or if it's i386 itself.
> 
> I've now set up a VM with i386-current to build it,
> and got a similar error. I've added:
> BUILD_DEPENDS =         audio/dumb
> to the Makefile. Now it builds here on i386.
> 
> Ok?
> 

The good news is that it builds successfully now, the bad news is
that it dumps core with an mprotect error.  "wxallowed" is set on
/usr/local from where it runs.

The last few lines from ags:

Preparing graphics mode screen
Initializing colour conversion
Mouse control: on, base: 1.000000, speed: 1.000000
Check for preload image
Initialize sprites
Set up screen
Initialize game settings
Cannot open translation: default.tra
Prepare to start game
Mouse confined: (0,0)-(1599,1199) (1600x1200)
Audio is processed on the main thread
Checking replay status
Engine initialization complete
Starting game
allegro-error: mprotect failed during stretched blit!: Not supported
Shutting down Allegro due to signal #11
zsh: segmentation fault (core dumped)  ags

% which ags
/usr/local/bin/ags

% mount
/dev/sd1a on / type ffs (local)
mfs:42673 on /tmp type mfs (asynchronous, local, nodev, nosuid,
size=524288 512-blocks)
/dev/sd1d on /usr type ffs (local, nodev, softdep)
/dev/sd1e on /usr/X11R6 type ffs (local, nodev, softdep)
/dev/sd1f on /usr/local type ffs (local, nodev, wxallowed, softdep)
/dev/sd1g on /usr/obj type ffs (local, nodev, nosuid, wxallowed, softdep)
/dev/sd1h on /usr/src type ffs (local, nodev, nosuid, softdep)
/dev/sd1i on /var type ffs (local, nodev, nosuid)
/dev/sd1k on /home type ffs (NFS exported, local, nodev, nosuid, softdep)

(Hopefully) the relevant lines from ktrace:
% kdump -f ktrace.out |grep -C5 mprotect | tail -20
 18275 ags      RET   kbind 0
--
 18275 ags      RET   kbind 0
 18275 ags      CALL  kbind(0xcf7e9c58,12,0xb4bbe835d930fe69)
 18275 ags      RET   kbind 0
 18275 ags      CALL  kbind(0xcf7e9c78,12,0xb4bbe835d930fe69)
 18275 ags      RET   kbind 0
 18275 ags      CALL  
mprotect(0x7ed6c000,0x1800,0x7<PROT_READ|PROT_WRITE|PROT_EXEC>)
 18275 ags      RET   mprotect -1 errno 91 Not supported
 18275 ags      CALL  kbind(0xcf7e9c78,12,0xb4bbe835d930fe69)
 18275 ags      RET   kbind 0
 18275 ags      CALL  writev(2,0xcf7e9bb8,4)
 18275 ags      STRU  struct iovec [4] { base=0x231b2754, len=53 } { 
base=0x2b7c1bc0, len=2 } { base=0xcf7e9bd9, len=13 } { base=0x2b7c082b, len=1 }
 18275 ags      GIO   fd 2 wrote 53 bytes
       "allegro-error: mprotect failed during stretched blit!"
 18275 ags      GIO   fd 2 wrote 2 bytes
       ": "
 18275 ags      GIO   fd 2 wrote 13 bytes
       "Not supported"
 18275 ags      GIO   fd 2 wrote 1 bytes

If I can provide any further information, please let me know.

-- 
Bryan

Reply via email to