NetBSD Problem Report #45302
From www@NetBSD.org Sun Aug 28 09:23:16 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id B701463BAC3
for <gnats-bugs@gnats.NetBSD.org>; Sun, 28 Aug 2011 09:23:16 +0000 (UTC)
Message-Id: <20110828092315.B8FAB63B8E2@www.NetBSD.org>
Date: Sun, 28 Aug 2011 09:23:15 +0000 (UTC)
From: degroote@NetBSD.org
Reply-To: degroote@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: audio/libmpdclient does not build correctly in presence of doxygen
X-Send-Pr-Version: www-1.0
>Number: 45302
>Category: pkg
>Synopsis: audio/libmpdclient does not build correctly in presence of doxygen
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 28 09:25:00 +0000 2011
>Closed-Date: Tue Aug 30 18:43:29 +0000 2011
>Last-Modified: Tue Aug 30 18:43:29 +0000 2011
>Originator: Arnaud Degroote
>Release: 5.99.55
>Organization:
>Environment:
NetBSD xena 5.99.55 NetBSD 5.99.55 (XEN3_DOM0) #1: Sat Aug 27 12:18:11 UTC 2011 zul@xena:/home/zul/netbsd-dev/build_temp/objdir/sys/arch/amd64/compile/XEN3_DOM0 amd64
>Description:
The build process of libmpdclient depends on the presence or not of doxygen. In presence of doxygen, the build failed with the following error :
/usr/pkg/bin/doxygen
Doxyfile not found and no input file specified!
Doxygen version 1.6.3
Copyright Dimitri van Heesch 1997-2010
You can use doxygen in a number of ways:
1) Use doxygen to generate a template configuration file:
/usr/pkg/bin/doxygen [-s] -g [configName]
If - is used for configName doxygen will write to standard output.
2) Use doxygen to update an old configuration file:
/usr/pkg/bin/doxygen [-s] -u [configName]
3) Use doxygen to generate documentation using an existing configuration file:
/usr/pkg/bin/doxygen [configName]
If - is used for configName doxygen will read from standard input.
4) Use doxygen to generate a template file controlling the layout of the
generated documentation:
/usr/pkg/bin/doxygen -l layoutFileName.xml
5) Use doxygen to generate a template style sheet file for RTF, HTML or Latex.
RTF: /usr/pkg/bin/doxygen -w rtf styleSheetFile
HTML: /usr/pkg/bin/doxygen -w html headerFile footerFile styleSheetFile [configFile]
LaTeX: /usr/pkg/bin/doxygen -w latex headerFile styleSheetFile [configFile]
6) Use doxygen to generate an rtf extensions file
RTF: /usr/pkg/bin/doxygen -e rtf extensionsFile
If -s is specified the comments in the config file will be omitted.
If configName is omitted `Doxyfile' will be used as a default.
*** Error code 1
If I manually build the doxygen documentation, the install target then failed, because of unexpected file in ${DESTDIR} (all the doxygen documentation).
>How-To-Repeat:
cd devel/doxygen && make install
cd audio/libmpdclient && make install => will fail
>Fix:
The libmpdclient Makefile.am contains a if DOXYGEN / endif block.
The easiest solution on the pkgsrc side is probably to always enforce the doxygen presence (still it does not solve the issue
The correct solution is probably to rely on a configure option, and not on the presence or the absence of doxygen.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Tue, 30 Aug 2011 11:59:03 +0000
State-Changed-Why:
I hope this issue is also fixed for you.
Could you confirm it?
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45302 CVS commit: pkgsrc/audio/libmpdclient
Date: Tue, 30 Aug 2011 11:56:50 +0000
Module Name: pkgsrc
Committed By: obache
Date: Tue Aug 30 11:56:50 UTC 2011
Modified Files:
pkgsrc/audio/libmpdclient: Makefile
Log Message:
Force configure not to detect doxygen.
fixes PR#45302.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/audio/libmpdclient/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Arnaud Degroote <arnaud.degroote@laas.fr>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org,
obache@NetBSD.org, degroote@NetBSD.org
Subject: Re: pkg/45302 (audio/libmpdclient does not build correctly in
presence of doxygen)
Date: Tue, 30 Aug 2011 20:11:29 +0000
On 30/Aug - 11:59, obache@NetBSD.org wrote:
> Synopsis: audio/libmpdclient does not build correctly in presence of doxygen
>
> State-Changed-From-To: open->feedback
> State-Changed-By: obache@NetBSD.org
> State-Changed-When: Tue, 30 Aug 2011 11:59:03 +0000
> State-Changed-Why:
> I hope this issue is also fixed for you.
> Could you confirm it?
>
It fixes my issue. Thanks for the fix. You can close it.
State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 30 Aug 2011 18:43:29 +0000
State-Changed-Why:
Confirmed fixed, thanks.
>Unformatted:
(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.