#206 Gentoo - Package triggers severe warnings

open
nobody
core (32)
9
2012-03-21
2012-02-26
Charles
No

Hello,

I'm a gentoo user, and just recently installed clucene in prep for beginning to use it with my new dovecot server.

On installation of the stable package dev-cpp/clucene-2.3.3.4-r1, I get the following post-install warning:

QA: other
QA Notice: Package triggers severe warnings which indicate that it
may exhibit random runtime failures.
/var/tmp/portage/dev-cpp/clucene-2.3.3.4-r1/work/clucene-core-2.3.3.4/src/core/CLucene/index/DocumentsWriter.cpp:129:33: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’
Please do not file a Gentoo bug and instead report the above QA
issues directly to the upstream developers of this software.
Homepage: http://clucene.sourceforge.net/

So, here I am, reporting the bug upstream as requested by the gentoo devs...

Discussion

  • Charles
    Charles
    2012-03-21

    And no one cares??

    Getting the same error when updating on gentoo from 2.3.3.4-r1 to 2.3.3.4-r2...

     
  • Charles
    Charles
    2012-03-21

    • priority: 5 --> 9
     
  • Veit Jahns
    Veit Jahns
    2012-03-21

    No. Just a small team also busy with other projects. But I'm sorry for letting you wait. I will take a look in the next days.

     
  • Charles
    Charles
    2012-09-17

    Hi idolum,

    No problem, I understand this is free software, I just wish I had the skills to fix this myself and contrib the code...

    So, did you ever get a chance to take a look at this? I had some delays rolling out our new server, but I'll probably be getting to this part (enabling full text search) sometime in the next month or two, and I just updated clucene again and am still getting the same warning.

    Since I'm not a programmer, I'm a bit leery of installing software that will be critical to my servers daily operations when it triggers severe warnings like this upon install.

    Thanks again,

    Charles

     
  • Veit Jahns
    Veit Jahns
    2012-09-17

    Hi Charles,

    thanks for the reminder and sorry. I just forgot this issue. I pushed a fix to the master branch right now. The warning should disapear.

    Best regards,

    Veit

     
  • Charles
    Charles
    2012-09-17

    Thanks idolum!

    A follow-up question though... I heard a rumour that clucene project was shutting down, and merging with lucene++ - any truth to that? Also, isn't lucene++ (Apache Lucene) java based? It appears from their web page that it is, and all I can say to that is 'yuck'... ;)

    Anyway, thanks again for fixing this!

    Charles

     
  • Veit Jahns
    Veit Jahns
    2012-09-17

    You are welcome!

    More or less it's true. About a year ago we started to make Lucene++ to the new CLucene version, as Lucene++ (also written in C++) is a port of a newer Apache Lucene version (written in Java) as the one CLucene is a port of. But we did not want to simply merge them, but to adapt Lucene++ to the "design principles" of CLucene. E.g., Lucene++ makes heavy use of shared pointers. And in CLucene we wanted to reduce this usage in favor of performance. But this not finished and I cannot say when it will finished. Nevertheless, the new version of CLucene (if any) will be also C++ and not Java.

    Best regards,

    Veit