View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000790 | Pgpool-II | Bug | public | 2023-03-22 17:32 | 2023-05-22 11:47 |
| Reporter | leimaohui | Assigned To | t-ishii | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Product Version | 4.4.1 | ||||
| Target Version | 4.4.3 | Fixed in Version | 4.4.3 | ||
| Summary | 0000790: compile error with musl | ||||
| Description | The following error occurs when build pgpool-II with musl libc (git://git.musl-libc.org/musl). ----------------------------------------------------------------------------------------- read.c: In function 'read_until_ready_for_query': read.c:53:24: error: storage size of 'timeoutval' isn't known 53 | struct timeval timeoutval; | ^~~~~~~~~~ read.c:54:9: error: unknown type name 'fd_set' 54 | fd_set readmask; | ^~~~~~ The following patch can fix this bug. But I'm not sure if I should paste my patch here: ----------------------------------------------------------------------------------------- src/tools/pgproto/read.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/pgproto/read.c b/src/tools/pgproto/read.c index c7fb548..4efe641 100644 --- a/src/tools/pgproto/read.c +++ b/src/tools/pgproto/read.c @@ -19,6 +19,7 @@ #include "../../include/config.h" #include "pgproto/pgproto.h" #include <unistd.h> +#include <sys/select.h> #include <stdlib.h> #include <stdio.h> #include <string.h> -- 2.34.1 | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2023-03-22 17:32 | leimaohui | New Issue | |
| 2023-03-22 20:49 | t-ishii | Assigned To | => t-ishii |
| 2023-03-22 20:49 | t-ishii | Status | new => assigned |
| 2023-03-22 21:00 | t-ishii | Note Added: 0004306 | |
| 2023-05-22 11:47 | administrator | Status | assigned => closed |
| 2023-05-22 11:47 | administrator | Fixed in Version | => 4.4.3 |
| 2023-05-22 11:47 | administrator | Target Version | => 4.4.3 |