MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0014386 | CMake | CMake | public | 2013-09-03 03:36 | 2015-01-05 08:38 | |||||
Reporter | Tomas Kislan | |||||||||
Assigned To | ||||||||||
Priority | normal | Severity | block | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | Unix | OS | HP-UX | OS Version | B.11.31 ia64 | |||||
Product Version | CMake 2.8.11.2 | |||||||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | |||||||
Summary | 0014386: Broken build (proposing fix) | |||||||||
Description | Last build version for HP-UX is 2.8.2, which is kinda outdated and I wanted new one. When building from source, it fails: clag@migs01a:~/projects/tomas/cmake-2.8.11.2$ aCC --version aCC: HP C/aC++ B3910B A.06.20 [May 13 2008] clag@migs01a:~/projects/tomas/cmake-2.8.11.2$ uname -a HP-UX migs01a B.11.31 U ia64 0841004181 unlimited-user license "/home/clag/projects/tomas/cmake-2.8.11.2/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c", line 2058: error 0002513: a value of type "struct timeval" cannot be assigned to an entity of type "timestruc_t" tstamp.atime = times[0]; ^ "/home/clag/projects/tomas/cmake-2.8.11.2/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c", line 2059: error 0002513: a value of type "struct timeval" cannot be assigned to an entity of type "timestruc_t" tstamp.mtime = times[1]; ^ "/home/clag/projects/tomas/cmake-2.8.11.2/Utilities/cmlibarchive/libarchive/archive_write_disk_posix.c", line 2060: error 0002513: a value of type "struct timeval" cannot be assigned to an entity of type "timestruc_t" tstamp.ctime = times[2]; http://pubs.opengroup.org/onlinepubs/7908799/xsh/systime.h.html [^] http://kerneldox.com/kdox-linux/d1/d70/structtimestruc__t.html#aa44f56f3d402c81d1403dfe7b385e0e0 [^] Those are different structs, one has tv_nsec while other have tv_usec I manage to build it after I changed those 3 lines to: tstamp.atime.tv_sec = times[0].tv_sec; tstamp.atime.tv_nsec = times[0].tv_usec * 1000; tstamp.mtime.tv_sec = times[1].tv_sec; tstamp.mtime.tv_nsec = times[1].tv_usec * 1000; tstamp.ctime.tv_sec = times[2].tv_sec; tstamp.ctime.tv_nsec = times[2].tv_usec * 1000; | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | ||||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ![]() https://public.kitware.com/Bug/file/4869/cmake-hp-ux-test.txt | |||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2013-09-03 03:36 | Tomas Kislan | New Issue | ||||||||
2013-09-03 04:20 | Tomas Kislan | Note Added: 0033773 | ||||||||
2013-09-03 04:30 | Rolf Eike Beer | Note Added: 0033774 | ||||||||
2013-09-03 04:53 | Tomas Kislan | File Added: cmake-hp-ux-test.txt | ||||||||
2013-09-03 06:39 | Tomas Kislan | Note Added: 0033776 | ||||||||
2013-09-03 07:03 | Tomas Kislan | Note Edited: 0033776 | bug_revision_view_page.php?bugnote_id=33776#r1255 | |||||||
2013-09-03 10:45 | Tomas Kislan | Note Added: 0033778 | ||||||||
2013-09-23 08:53 | Brad King | Note Added: 0033863 | ||||||||
2013-09-27 09:11 | Brad King | Relationship added | duplicate of 0014027 | |||||||
2014-06-10 08:48 | Brad King | Note Added: 0036149 | ||||||||
2014-06-10 08:48 | Brad King | Status | new => resolved | |||||||
2014-06-10 08:48 | Brad King | Resolution | open => fixed | |||||||
2014-06-10 08:48 | Brad King | Fixed in Version | => CMake 3.0 | |||||||
2014-06-10 08:48 | Brad King | Target Version | => CMake 3.0 | |||||||
2015-01-05 08:38 | Robert Maynard | Note Added: 0037563 | ||||||||
2015-01-05 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|