ports/185785: audio/sdl_mixer on amd64 does not work, when installed via pkg, but works when installed directly via ports

Anton Shterenlikht mexas at bris.ac.uk
Tue Jan 14 22:30:00 UTC 2014


>Number:         185785
>Category:       ports
>Synopsis:       audio/sdl_mixer on amd64 does not work, when installed via pkg, but works when installed directly via ports
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 14 22:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 11.0-CURRENT amd64
>Organization:
University of Bristol	
>Environment:
System: FreeBSD mech-aslap33.men.bris.ac.uk 11.0-CURRENT FreeBSD 11.0-CURRENT #8 r257910: Fri Dec 27 23:46:32 GMT 2013 root at mech-aslap33.men.bris.ac.uk:/usr/obj/usr/src/sys/MINKY amd64


	
>Description:

When sdl_mixer is installed on amd64 -current via pkgng,
it gives errors, e.g.:

sdl_mixer:

$ monsterz
/usr/local/share/monsterz/monsterz.py: could not open data from `/usr/local/share/monsterz'.
Traceback (most recent call last):
  File "/usr/local/share/monsterz/monsterz.py", line 1994, in <module>
    main()
  File "/usr/local/share/monsterz/monsterz.py", line 1983, in main
    data = Data(sharedir)
  File "/usr/local/share/monsterz/monsterz.py", line 305, in __init__
    pygame.mixer.music.load(join(dir, 'sound', 'music.s3m'))
pygame.error: Unrecognized music format
$

games/monsterz indirectly depends on audio/sdl_mixer.

I've the default /etc/pkg/FreeBSD.conf and 
/usr/local/etc/pkg.conf:

# cat /etc/pkg/FreeBSD.conf 
# $FreeBSD: head/etc/pkg/FreeBSD.conf 257668 2013-11-05 02:22:04Z bdrewery $
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
# 

# cat /usr/local/etc/pkg.conf
# System-wide configuration file for pkg(8)
# For more information on the file format and
# options please refer to the pkg.conf(5) man page

# Configuration options
#PKG_DBDIR          : /var/db/pkg
#PKG_CACHEDIR       : /var/cache/pkg
#PORTSDIR           : /usr/ports
#PUBKEY             : /etc/ssl/pkg.conf
#HANDLE_RC_SCRIPTS  : NO
#ASSUME_ALWAYS_YES  : NO
#SYSLOG             : YES
#SHLIBS             : NO
#AUTODEPS           : NO
#PORTAUDIT_SITE     : http://portaudit.FreeBSD.org/auditfile.tbz
#PKG_PLUGINS_DIR    : /usr/local/lib/pkg/plugins
#PKG_ENABLE_PLUGINS : YES
#PLUGINS            : [commands/mystat]
#REPO_AUTOUPDATE    : YES
ALIAS              : {
  all-depends: query %dn-%dv,
  annotations: info -A,
  build-depends: info -qd,
  download: fetch,
  iinfo: info -i -g -x,
  isearch: search -i -g -x,
  leaf: query -e "%a == 0" "%n-%v",
  leaf: query -e "%a == 0" "%n-%v",
  list: info -ql,
  origin: info -qo,
  provided-depends: info -qb,
  raw: info -R,
  required-depends: info -qr,
  shared-depends: info -qB,
  show: info -f -k,
  size: info -sq,
  }
# 

When installed via ports directly,
there is no problem.

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list