Bugzilla – Bug 3702
SimpleCA build fails on HP-UX/IA-64 platform
Last modified: 2008-08-11 15:51:11
You need to log in before you can comment on or make changes to this bug.
During work on #3234 it turned out that SimpleCA did not built. The problem was with incorrect settings of autotools and related files (ltconfig, ltmain.sh and aclocal.m4). I am attaching the patches which fixes it. These patches were prepared and tested against HP-UX 11.22 running on HP-UX/IA-64 platform.
Created an attachment (id=674) [details] patch against gsi/simple_ca/setup/template/aclocal.m4 file
Created an attachment (id=675) [details] patch against gsi/simple_ca/setup/template/ltmain.sh file
Created an attachment (id=676) [details] patch against gsi/simple_ca/template/ltconfig file
Tech Coordinator, We would like to commit this patch to CVS (globus_4_0_branch and HEAD). We would do some simple testing after the commit, like testing on HPUX and one Linux platform. Please let us know if you have any concerns about the patch. Thanks!
I looked at the patches but did not get a chance to test it yet. It looks good to me. Mats: Unless Sam or Von have any issues with it, I think you can go ahead and commit the patches and do the tests you mentioned. Thanks.
These patches all involve build functionality that I don't fully understand, but I don't see any security implications.
I was looking at the package in order to commit these, but I see a problem: the patches are all against files generated by the autotools. I'm not sure why we keep autogenerated files in CVS in the first place, but patching them is the wrong fix. Next time somebody bootstraps that package and commits the changes, your fixes will be lost. A better fix would be to make sure the package is bootstrapped together with all the other packages, and that the Globus autotools works correctly (probably already true, as all the native packages work on the platform).
I see. I will resume work on fixing this bug. I am just wondering whether only these files are autogenerated or entire template/ subdirectory as well.
They (hopefully) used the Globus autotools (packaging/source-trees/autotools/bin/) if you are using make-packages.pl). Try to bootstrap the template package with the GNU autotools from globus_4_0_branch, and then create and test the parent package. If this solves your problem, let me know, and I will do the same and commit all the needed changes.
I have tested this component using the CVS code from globus_4_0_branch branch. The component builds and SimpleCA is generated correctly. ($G_L/setup/globus/setup-simple-ca).
The simple ca package has been bootstrapped with a newer set of autotools, and commited to both globus_4_0_branch and head. Chris, please verify that it works on hpux.
Using the code from globus_4_0_branch it builds. It means it works on HP-UX