Besides ocaml and haskell general axceptions we need to handle a few corner cases. See http://mschwendt.fedorapeople.org/staticbugstat.html
Also, the core logic is plain wrong. We require static libs to live in a -static package, but GL allows either -static or -devel. In both cases -static should be provided. And why is this test restricted to the C/C++ plugin? All kinds of languages produces static archives, this test should be generic.
Logic updated and test moved to generic in d159729a5359a0895fc21838. Plugins still needed.
Fixed in 73a1b28eb596868bf2b0555e