bugzilla-daemon at mindrot.org
2014-Jul-25 19:24 UTC
[Bug 2259] New: Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Bug ID: 2259 Summary: Checking for external _res fails Product: Portable OpenSSH Version: 6.6p1 Hardware: Other OS: Other Status: NEW Severity: minor Priority: P5 Component: Build system Assignee: unassigned-bugs at mindrot.org Reporter: sconeu at yahoo.com I'm not familiar enough with autoconf to edit the configure.ac file, but... The location in configure.ac is around line 3902 In the configure script, when it checks to see if _res is an extern, there are two problems: 1. There is no ac_WHATEVER variable to control it and override it. 2. Because the extern reference to _res is unused, the linker on some systems may elide it, causing an erroneous definition of HAS__RES_EXTERN The test should be coded in "configure" as follows: /* ... confdefs.h */ #include <stdio.h> #if HAVE_SYS_TYPES_H # include <sys/types.h> #endif #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> extern struct __res_state _res; int main () { struct __res_state *volatile p = &_res; /* force resolution of _res */ return 0; } -- You are receiving this mail because: You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-May-08 04:17 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |dtucker at zip.com.au Assignee|unassigned-bugs at mindrot.org |dtucker at zip.com.au -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-May-08 04:18 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 --- Comment #1 from Darren Tucker <dtucker at zip.com.au> --- Created attachment 2618 --> https://bugzilla.mindrot.org/attachment.cgi?id=2618&action=edit updated check for _res Here's the autoconf implementation of your suggestion. Could you please confirm it does what you want? (You'll need to run "autoreconf" after applying the patch to rebuild configure). -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2015-May-08 04:19 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2360 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2015-Aug-12 01:00 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2443 --- Comment #2 from Damien Miller <djm at mindrot.org> --- Move unfinished bugs from 6.9 (how did I miss these?) to 7.1 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2015-Aug-21 10:56 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2451 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=2451 [Bug 2451] Bugs intended to be fixed in 7.2 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2015-Aug-21 10:58 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2443 | Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=2443 [Bug 2443] Bugs intended to be fixed for OpenSSH 7.1 -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2015-Sep-04 03:39 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 --- Comment #3 from Darren Tucker <dtucker at zip.com.au> --- sconeu: could you please confirm whether or not the patch resolves the problem you are seeing? Thanks. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2015-Sep-04 03:39 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|2360 | Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=2360 [Bug 2360] Bugs intended to be fixed in 6.9 -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2015-Sep-08 15:01 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 --- Comment #4 from sconeu at yahoo.com --- That works, thanks. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2015-Sep-11 03:14 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED --- Comment #5 from Darren Tucker <dtucker at zip.com.au> --- Thanks. Patch applied and will be in 7.2p1. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2016-Aug-02 00:41 UTC
[Bug 2259] Checking for external _res fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2259 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Damien Miller <djm at mindrot.org> --- Close all resolved bugs after 7.3p1 release -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.