NetBSD Problem Report #35992

From dholland@eecs.harvard.edu  Tue Mar 13 07:21:09 2007
Return-Path: <dholland@eecs.harvard.edu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 9244163B8D9
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 13 Mar 2007 07:21:09 +0000 (UTC)
Message-Id: <20070313071908.26A76FA7C@tanaqui.eecs.harvard.edu>
Date: Tue, 13 Mar 2007 03:19:08 -0400 (EDT)
From: dholland@eecs.harvard.edu
Reply-To: dholland@eecs.harvard.edu
To: gnats-bugs@NetBSD.org
Subject: audio/mikmod build failure
X-Send-Pr-Version: 3.95

>Number:         35992
>Category:       pkg
>Synopsis:       audio/mikmod build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 13 07:25:00 +0000 2007
>Closed-Date:    Mon Jun 02 08:26:19 +0000 2008
>Last-Modified:  Mon Jun 02 08:26:19 +0000 2008
>Originator:     David A. Holland <dholland@eecs.harvard.edu>
>Release:        NetBSD 3.99.5 (-20060129 or thereabouts) (pkgsrc 20070312)
>Organization:
>Environment:


System: NetBSD merlin 3.99.15 NetBSD 3.99.15 (MERLIN) #59: Sun Jan 29 00:23:47 EST 2006  dholland@merlin:/usr/src/sys/arch/i386/compile/MERLIN i386
Architecture: i386
Machine: i386
>Description:

mikmod's configure script falsely believes libmikmod is an out of date
version. This turns out to be because it's also trying to link
libaudiofile, but that isn't buildlinked.

It's not clear to me why this should happen now, since it's been a
while since either package was updated, but it did. It might be
specific to running an ancient current, but that doesn't seem likely.

>How-To-Repeat:

Recompile libmikmod and mikmod with today's pkgsrc.

You may also need

	PKG_OPTIONS.libmikmod=esound oss

in mk.conf.

>Fix:

This makes it build; however, since I think it's getting the
-laudiofile from libmikmod-config, it may be that libmikmod's
buildlink3.mk should be updated instead.

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/mikmod/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile	3 Sep 2006 00:56:28 -0000	1.42
+++ Makefile	13 Mar 2007 07:06:09 -0000
@@ -15,5 +15,6 @@
 GNU_CONFIGURE=		yes

 .include "../../audio/libmikmod/buildlink3.mk"
+.include "../../audio/libaudiofile/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

>Release-Note:

>Audit-Trail:
From: dholland@eecs.harvard.edu (David Holland)
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/35992: audio/mikmod build failure
Date: Tue, 13 Mar 2007 20:48:45 -0400 (EDT)

  > You may also need
  >
  >        PKG_OPTIONS.libmikmod=esound oss
  > 
  > in mk.conf.

 You do.

 This also happens on NetBSD 4.99.9 (20070130) so it's not the old
 -current causing the problem.

 -- 
    - David A. Holland / dholland@eecs.harvard.edu

From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/35992 CVS commit: pkgsrc/audio/libmikmod
Date: Mon,  2 Jun 2008 08:20:05 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Mon Jun  2 08:20:05 UTC 2008

 Modified Files:
 	pkgsrc/audio/libmikmod: Makefile distinfo
 	pkgsrc/audio/libmikmod/patches: patch-ac

 Log Message:
 Fix a configure botchup that breaks the build of mikmod if libmikmod is
 built with esound support. PR 35992.
 PKGREVISION -> 3.


 To generate a diff of this commit:
 cvs rdiff -r1.43 -r1.44 pkgsrc/audio/libmikmod/Makefile
 cvs rdiff -r1.11 -r1.12 pkgsrc/audio/libmikmod/distinfo
 cvs rdiff -r1.7 -r1.8 pkgsrc/audio/libmikmod/patches/patch-ac

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 02 Jun 2008 08:26:19 +0000
State-Changed-Why:
fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.