Bug 171699

Summary: audio/murmur: Change didn't note in Makefile
Product: Ports & Packages Reporter: Michael Fausten <ports>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Michael Fausten 2012-09-17 08:50:09 UTC
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

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.
How-To-Repeat: # cd /usr/ports/audio/murmur && make install
# /usr/local/etc/rc.d/murmur start
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-17 08:50:57 UTC
Maintainer of audio/murmur,

Please note that PR ports/171699 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171699

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-09-17 08:51:01 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Pawel Pekala freebsd_committer freebsd_triage 2012-11-13 21:56:48 UTC
State Changed
From-To: feedback->closed

Fixed. Thanks!