Bug 434350
| Summary: | aget failed massrebuild attempt for GCC 4.3 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jesse Keating <jkeating> |
| Component: | aget | Assignee: | Orphan Owner <extras-orphan> |
| Status: | CLOSED CANTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dcantrell, ian, jonstanley |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-04-08 21:37:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 432425 | ||
|
Description
Jesse Keating
2008-02-22 16:03:10 UTC
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 upstream developer. 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
null pointer.
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. |