Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2022 04:51:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 261137] devel/cppunit: does (randomly) fail to build
Message-ID:  <bug-261137-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261137

            Bug ID: 261137
           Summary: devel/cppunit: does (randomly) fail to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: pmc@citylink.dinoex.sub.org
          Assignee: bdrewery@FreeBSD.org
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
 Attachment #230941 text/plain
         mime type:

Created attachment 230941
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230941&action=
=3Dedit
cppunit.log

Compiling devel/cppunit with DOXYGEN=3DON, these errors were received:=20

pkg-static: Unable to access file
/var/local/ports/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cpp=
unit/html/dir_000001_000008.html:No
such file or directory
pkg-static: Unable to access file
/var/local/ports/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cpp=
unit/html/dir_000003_000008.html:No
such file or directory
pkg-static: Unable to access file
/var/local/ports/usr/ports/devel/cppunit/work/stage/usr/local/share/doc/cpp=
unit/html/dir_000008_000005.html:No
such file or directory

(Full log is attached)

Further analysis shows that the port does compile to random filenames,
dependent on which type of filesystem it is compiled on.

One time I get these files (that works):
work/cppunit-1.14.0/doc/html/dir_000001_000002.html=20
work/cppunit-1.14.0/doc/html/dir_000001_000005.html=20
work/cppunit-1.14.0/doc/html/dir_000001_000006.html=20
work/cppunit-1.14.0/doc/html/dir_000001_000008.html=20
work/cppunit-1.14.0/doc/html/dir_000003_000008.html=20
work/cppunit-1.14.0/doc/html/dir_000008_000005.html=20
work/cppunit-1.14.0/doc/html/dir_000010_000000.html=20

the other time I get these files (that does not work):
work/cppunit-1.14.0/doc/html/dir_000001_000002.html=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
work/cppunit-1.14.0/doc/html/dir_000001_000005.html=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
work/cppunit-1.14.0/doc/html/dir_000001_000006.html=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
work/cppunit-1.14.0/doc/html/dir_000001_000007.html=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
work/cppunit-1.14.0/doc/html/dir_000003_000006.html=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
work/cppunit-1.14.0/doc/html/dir_000006_000005.html=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
work/cppunit-1.14.0/doc/html/dir_000010_000000.html=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20


To reproduce the behaviour:

$ cd /usr/ports/devel/cppunit
$ make clean; make
$ cd work/cppunit-1.14.0/include
$ mv cppunit .cppunit ; mkdir cppunit

$ for i in `ls .cppunit`; do
> ( cd .cppunit ; cp -R $i ../cppunit )
> done

$ cd ../doc ; rm -r html
$ make
$ ls html/dir_0000*
html/dir_000001_000002.html     html/dir_000003_000006.html
html/dir_000001_000005.html     html/dir_000006_000005.html
html/dir_000001_000006.html     html/dir_000010_000000.html
html/dir_000001_000007.html

$ cd ../include
$ rm -r cppunit; mkdir cppunit
$ for i in `ls .cppunit | sort -r`; do
> ( cd .cppunit ; cp -R $i ../cppunit )
> done

$ cd ../doc ; rm -r html
$ make
$ ls html/dir_0000*
html/dir_000001_000002.html     html/dir_000003_000008.html
html/dir_000001_000005.html     html/dir_000008_000005.html
html/dir_000001_000006.html     html/dir_000010_000000.html
html/dir_000001_000008.html


The meaningful thing in this command sequence is the "sort -r": these output
files obtain different names depdendent on the *raw directory order* of the
source files (which is dependent on the filesystem type and other subtle
conditions).

Anyway, what the port does at that place is:
$ cd /usr/ports/devel/cppunit/work/cppunit-1.14.0/doc; make -n
"/usr/local/bin/doxygen"

so this should probably be a defect at doxygen (on feature "DIRECTORY_GRAPH=
").

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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