[gnet-dev] with one-line fix, gnet-1.1.8 builds RPMs cleanly on redhat 8.0



Dear Gnet folks,

I just wanted to post a quick note on the packaging.
This looks great and things look really good.

On redhat 8.0, rpm is split into rpm and rpmbuild.
One can build binary rpms from a tar.gz file by
running "rpmbuild -ta gnet-1.1.8.tar.gz".

You have everything set up exactly right for this to
work, except, by turning on debugging, the rpmbuild does
not get through the "make".
These warnings are interpreted as errors.

inetaddr.c:1938: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_is_multicast':
inetaddr.c:1967: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_hash':
inetaddr.c:2031: warning: const qualifier ignored on asm
inetaddr.c:2032: warning: const qualifier ignored on asm
inetaddr.c: In function `gnet_inetaddr_new_any':
inetaddr.c:2192: warning: con

Simply removing the "--enable-debugging=yes" line from
the file "gnet.spec.in" will cause the tar.gz files
created by "make dist" to work correctly on redhat 8.0,
giving warnings, but not treating the warnings as fatal.

My applogies if someone is working on fixing the warnings,
but I thought I'd post a note since I was so pleased at
how easy it was to get things working.

Thanks for making Gnet!!

   --pehr











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