Port-powerpc archive

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

Re: devel/doxygen broken on macppc-current?



On Tue, 26 Jul 2016, John D. Baker wrote:

> The resulting core file produces:
> 
> Core was generated by `doxygen'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x01b8532c in QTime::currentTime(QTime*) ()
> (gdb) bt
> #0  0x01b8532c in QTime::currentTime(QTime*) ()
> #1  0x01b85470 in QTime::start() ()
> #2  0x0182e8b4 in initDoxygen() ()
> #3  0x01c0d1ac in main ()

I just rebuilt "devel/doxygen" and in the final link step noticed this:

[...]
[100%] Linking CXX executable ../bin/doxygen
../lib/libqtools.a(qdatetime.cpp.o): In function `QTime::currentTime(QTime*)':
/var/tmp/pkgsrc/devel/doxygen/work/doxygen-1.8.11/qtools/qdatetime.cpp:899: warning: warning: reference to compatibility gettimeofday(); include <sys/time.h> to generate correct reference
[100%] Built target doxygen
=> Unwrapping files-to-be-installed.
[...]

Looking at the referenced file shows just such an inclusion, and the line
number referenced is in an OS-specific code block protected by:

  #elif defined(_OS_UNIX_) || defined(_OS_MAC_)

and so forth.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index