pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45302: audio/libmpdclient does not build correctly in presence of doxygen



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 28 09:25:00 +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.



Home | Main Index | Thread Index | Old Index