Red Hat Bugzilla – Bug 434350
aget failed massrebuild attempt for GCC 4.3
Last modified: 2013-01-09 22:08:23 EST
This is an automatically filed bug for a failed rebuild attempt for GCC 4.3.
Please verify why this build failed and fix it.
Exit code was 1, check the build.log for the failed buildArch task.
Head.c: In function 'http_head_req':
Head.c:55: warning: implicit declaration of function 'hstrerror'
Head.c:58: error: 'struct hostent' has no member named 'h_addr'
it's times like this when i wish i knew c++...
current status: no clue what's causing that error. i've contacted the current
man netdb.h says:
The <netdb.h> header shall define the hostent structure that includes
at least the following members:
char *h_name Official name of the host.
char **h_aliases A pointer to an array of pointers to
alternative host names, terminated by a
int h_addrtype Address type.
int h_length The length, in bytes, of the address.
char **h_addr_list A pointer to an array of pointers to network
addresses (in network byte order) for the host,
terminated by a null pointer.
This isn't c++, this is just using struct members that aren't guaranteed to
exist. There needs to be a configure test or something here and #ifdefs, or
refactoring of the code.
I and a friend tried for a while a week or two ago to fix it and this is what we
found, although we didn't get it to work.
There doesn't really seem to be much of a desire for this package, and there
haven't been updates for a while. I haven't heard back from the developer, so I
think I'm going to reorphan this.
Ok, I'm going to block it from dist-f9, so that it has to be fixed before it
comes back into the distro.