bugzilla-daemon at mindrot.org
2003-May-02 22:51 UTC
[Bug 553] configure fails to acknowledge availability of utimes()
http://bugzilla.mindrot.org/show_bug.cgi?id=553 Summary: configure fails to acknowledge availability of utimes() Product: Portable OpenSSH Version: older versions Platform: HPPA OS/Version: HP-UX Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: dwyatt at kohlmansystems.com Running configure for OpenSSH-3.6.1p2 indicates that utimes() is not found. This leads to a type conflict error which prevents Making the package. The problem did not exist under 3.6p1 and all previous versions that I've built. It appears to be a result of a new automake version, but that is only wild speculation. Changing line 6187 in the configure file from 'char utimes ();' to 'int utimes ();' appears to provide a workaround so that OpenSSH can be configured and built. I'm working under HP-UX 10.20 using Gcc 3.0 and mostly Gnu tools. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-May-03 00:11 UTC
[Bug 553] configure fails to acknowledge availability of utimes()
http://bugzilla.mindrot.org/show_bug.cgi?id=553 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From dtucker at zip.com.au 2003-05-03 10:11 ------- The test (trimmed) fragments from configure: 3.6.1p1 (autoconf 2.53): char utimes (); char (*f) (); int main () { #if defined (__stub_utimes) || defined (__stub___utimes) choke me #else f = utimes; #endif return 0; } 3.6.1p2 (autoconf 2.57): char utimes (); #if defined (__stub_utimes) || defined (__stub___utimes) choke me #else char (*f) () = utimes; #endif int main () { return f != utimes; return 0; } I'll upgrade autoconf on my HP (11.00) and see if I can reproduce the problem. On a slightly related note, do we need to check for utimes() twice? There's a specific check for it, then it's also in the main AC_CHECK_FUNCS list. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-May-03 00:54 UTC
[Bug 553] configure fails to acknowledge availability of utimes()
http://bugzilla.mindrot.org/show_bug.cgi?id=553 ------- Additional Comments From tim at multitalents.net 2003-05-03 10:54 ------- It would be nice to see the section of config.log where the test fails on HP. Re: "utimes also in the main AC_CHECK_FUNCS list", it was probably an oversite on my part. If you yank it out of the AC_CHECK_FUNCS section, you'll have to add a HAVE_UTIMES template to acconfig.h ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-May-03 01:24 UTC
[Bug 553] configure fails to acknowledge availability of utimes()
http://bugzilla.mindrot.org/show_bug.cgi?id=553 ------- Additional Comments From dtucker at zip.com.au 2003-05-03 11:24 ------- Created an attachment (id=281) --> (http://bugzilla.mindrot.org/attachment.cgi?id=281&action=view) config.log.gz from HP-UX 11.00 Full log attached. The failing piece is: configure:6109: result: yes configure:6175: checking for utimes configure:6225: gcc -o conftest -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -D_HP UX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 conftest.c -lz -lnsl -lxnet -ls ec >&5 configure:6250: conflicting types for `utimes' /usr/include/sys/time.h:484: previous declaration of `utimes' configure:6228: $? = 1 configure: failed program was: ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-May-11 00:39 UTC
[Bug 553] configure fails to acknowledge availability of utimes()
http://bugzilla.mindrot.org/show_bug.cgi?id=553 ------- Additional Comments From dtucker at zip.com.au 2003-05-11 10:39 ------- I was about to submit a bug report to the autoconf folks, but before I did I pulled the latest autoconf CVS tree (it calls itself 2.57a). This problem appears to be fixed there. I rebuilt configure with it and then rebuilt OpenSSH on HP-UX 11.00, which worked OK. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-May-12 16:23 UTC
[Bug 553] configure fails to acknowledge availability of utimes()
http://bugzilla.mindrot.org/show_bug.cgi?id=553 pere at hungry.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pere at hungry.com ------- Additional Comments From pere at hungry.com 2003-05-13 02:23 ------- I see the same problem on HP/UX 11.00 on parisc and 11.22 on ia64 using the native compiler. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2003-May-13 00:26 UTC
[Bug 553] configure fails to acknowledge availability of utimes()
http://bugzilla.mindrot.org/show_bug.cgi?id=553 ------- Additional Comments From dtucker at zip.com.au 2003-05-13 10:26 ------- Created an attachment (id=291) --> (http://bugzilla.mindrot.org/attachment.cgi?id=291&action=view) configure from 3.6.1p2 rebuilt with autoconf-2.57a Updated configure, just replace configure from 3.6.1p2 then "make distclean && ./configure && make". This works for me (11.00 w/gcc), I'd be interested in other versions/configurations. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.