1 message in net.sourceforge.lists.courier-maildrop[maildropl] Problems building rpm's o...
FromSent OnAttachments
Gregers PetersenSep 17, 2003 2:37 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Problems building rpm's of 1.6.1.Actions...
From:Gregers Petersen (linu@gpweb.dk)
Date:Sep 17, 2003 2:37:44 am
List:net.sourceforge.lists.courier-maildrop

Hello.

I downloaded the new version 1.6.1 (tar.bz2-file) of maildrop. But when I try to make a rpm out of it, it just fails. I have looked at the error message, and to me it looks like that "min" is defined both as a variable and a function, and thats what turns out to give me the error message. When runnning "rpm -ta maildrop-1.6.1.tar.bz2" it returns:

mio.h:80: previous declaration of `MioStdio min' mio.h:80: previous non-function declaration `MioStdio min' /usr/include/g++-3/stl_algobase.h:91: conflicts with function declaration `template <class _Tp> const _Tp &min (const _Tp &, const _Tp &)' /usr/include/g++-3/stl_algobase.h:103: `template <class _Tp, class _Compare> const _Tp &min (const _Tp &, const _Tp &, _Compare)' redeclared as different kind of symbol mio.h:80: previous declaration of `MioStdio min' mio.h:80: previous non-function declaration `MioStdio min' /usr/include/g++-3/stl_algobase.h:103: conflicts with function declaration `template <class _Tp, class _Compare> const _Tp &min (const _Tp &, const _Tp &, _Compare)' /usr/include/g++-3/stl_algobase.h: In function `bool lexicographical_compare (const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)': /usr/include/g++-3/stl_algobase.h:442: no match for call to `(MioStdio) (const size_t &, const size_t &)' /usr/include/g++-3/stl_algobase.h: In function `int __lexicographical_compare_3way (const unsigned char *, const unsigned char *, const unsigned char *, const unsigned char *)': /usr/include/g++-3/stl_algobase.h:490: no match for call to `(MioStdio) (const ptrdiff_t &, const ptrdiff_t &)' make[2]: *** [maildir.o] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/maildrop-1.6.1/maildrop' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/maildrop-1.6.1/maildrop' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.89873 (%build)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.89873 (%build)

Any ideas of what is going wrong on my system (Red Hat 7.3)?