Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2012 07:40:08 GMT
From:      Michael Fausten <ports@michael-fausten.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/171699: audio/murmur: Change didn't note in Makefile
Message-ID:  <201209170740.q8H7e8nu067970@red.freebsd.org>
Resent-Message-ID: <201209170750.q8H7o90E054339@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         171699
>Category:       ports
>Synopsis:       audio/murmur: Change didn't note in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 17 07:50:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Michael Fausten
>Release:        FreeBSD 8.3
>Organization:
pw Internet
>Environment:
FreeBSD michael-fausten.de 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I tried to run audio/murmur, so I did an install:

# cd /usr/ports/audio/murmur && make install clean

Installation progress went well. As I tried to start murmur by

# /usr/local/etc/rc.d/murmur start

I got:

Starting murmur.
<W>2012-09-15 13:16:36.355 Initializing settings from /usr/local/etc/murmur.ini (basepath /usr/local/etc)
<W>2012-09-15 13:16:36.355 Binding to address 0.0.0.0
<W>2012-09-15 13:16:36.356 OpenSSL: OpenSSL 0.9.8q 2 Dec 2010
<W>2012-09-15 13:16:36.358 SSL: Adding recommended CA UTN-USERFirst-Client Authentication and Email
<W>2012-09-15 13:16:36.359 ServerDB: Openend SQLite database /usr/home/michael/murmur/murmur.sqlite
<F>2012-09-15 13:16:36.359 SQL Error [CREATE TABLE IF NOT EXISTS `meta` (`keystring` TEXT PRIMARY KEY, `value` TEXT)]: unable to open database file Unable to fetch row

After trying several things to fix the problem, I asked the forums.freebsd.org.

It turned out that it's a bug, because the pkg-install file was not correct executed. In http://svnweb.freebsd.org/ports?view=revision&revision=284162 the second argument got changed from PRE-INSTALL to POST-INSTALL, but this change is not reflected in the Makefile.

The thread in forum: http://forums.freebsd.org/showthread.php?t=34571
>How-To-Repeat:
# cd /usr/ports/audio/murmur && make install
# /usr/local/etc/rc.d/murmur start
>Fix:
Leave the /usr/local/etc/murmur.ini file as default. Then:

# sh /usr/ports/audio/murmur/pkg-install murmur POST-INSTALL

Daemon will start successfully.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209170740.q8H7e8nu067970>