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

Re: [workaround] doxygen segfaults on kfreebsd-*, hppa



On Fri, Aug 20, 2010 at 10:33 AM, Petr Salinger <Petr.Salinger@seznam.cz> wrote:
>> hppa-porters, please take a look whether similar
>> workaround works also for your pet architecture.
>> So far at least clp, soprano, schroot are affected.
>>
>> Dear doxygen maintainer, please apply the workaround bellow,
>> until the real cause is found.
>
> It looks like it affects also other platforms, only likelihood
> is a different. gdcm failed on armel, hppa, kfreebsd-amd64,
> powerpc, s390.
>
> Therefore I suggest:
>
> --- qtools/qthread_unix.cpp
> +++ qtools/qthread_unix.cpp
> @@ -179,6 +179,9 @@
>  int QThread::idealThreadCount()
>  {
>     int cores = -1;
> +#if 1
> +    return -1;
> +#endif
>  #if defined(_OS_MAC_)
>     // Mac OS X
>     cores = MPProcessorsScheduled();
>
> So far no response from doxygen maintainer, any NMUer ?

BTW, I am not even sure this would fix the symptoms. I tried a rebuild
of gdcm using DOT_NUM_THREADS = 1 in the doxygen configuration (which
I would hope would be the old behavior).
It did solve the symptoms on most platforms, except hppa:

https://buildd.debian.org/fetch.cgi?pkg=gdcm&arch=hppa&ver=2.0.16-2&stamp=1282239282&file=log&as=raw

Total:
------
(in = 35718) (out = 17406) (deflated 51%)
[100%] building vtkgdcm.jar
make[3]: Leaving directory
`/build/buildd-gdcm_2.0.16-2-hppa-IM6tJt/gdcm-2.0.16/debian/build-python2.6'
[100%] Built target VTKGDCMJavaJar
make[3]: Entering directory
`/build/buildd-gdcm_2.0.16-2-hppa-IM6tJt/gdcm-2.0.16/debian/build-python2.6'
Scanning dependencies of target vtkgdcmPython
make[3]: Leaving directory
`/build/buildd-gdcm_2.0.16-2-hppa-IM6tJt/gdcm-2.0.16/debian/build-python2.6'
make[3]: Entering directory
`/build/buildd-gdcm_2.0.16-2-hppa-IM6tJt/gdcm-2.0.16/debian/build-python2.6'
[100%] Building CXX object
Utilities/VTK/CMakeFiles/vtkgdcmPython.dir/vtkgdcmPythonInit.cxx.o
Linking CXX shared module ../../bin/libvtkgdcmPython.so
Copy vtkgdcm.py into
/build/buildd-gdcm_2.0.16-2-hppa-IM6tJt/gdcm-2.0.16/debian/build-python2.6/bin
make[3]: Leaving directory
`/build/buildd-gdcm_2.0.16-2-hppa-IM6tJt/gdcm-2.0.16/debian/build-python2.6'
[100%] Built target vtkgdcmPython
make[3]: *** Deleting file `Utilities/doxygen/html/index.html'E:
Caught signal 'Terminated': terminating immediately

make[3]: *** wait: No child processes.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: *** wait: No child processes.  Stop.
make[2]: *** [Utilities/doxygen/CMakeFiles/GDCMDoxygenDoc.dir/all] Error 2
make[1]: *** [all] Terminated
make: *** [debian/build-python2.6-stamp] Terminated
Build killed with signal TERM after 150 minutes of inactivity
────────────────────────────────────────────────────────────────────────────────
Build finished at 20100819-1725
FAILED [dpkg-buildpackage died]



-- 
Mathieu


Reply to: