<div dir="ltr">HI Dago,<br><div class="gmail_extra"><br><div class="gmail_quote">2013/3/21 Dagobert Michelsen <span dir="ltr"><<a href="mailto:dam@opencsw.org" target="_blank">dam@opencsw.org</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div style="word-wrap:break-word"><div><div>"solaris64-sparcv9-cc-sunw","cc:-xtarget=ultra -m64 -Qoption cg -xregs=no%appl -xO5 -xstrconst -xdepend -xspace -Xa -DB_ENDIAN::-D_REENTRANT:ULTRASPARC:-lsocket -lnsl -lc:BN_LLONG RC4_CHUNK DES_INT DES_PTR DES_RISC1 DES_UNROLL=BF_PTR:${sparcv9_asm}:dlfcn:solaris-shared:-KPIC:-m64 -G -dy -z text -zdefs -Bdirect -zignore -M/usr/lib/ld/map.pagealign:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR):/usr/ccs/bin/ar rs::/64",</div>




</div><div><br></div><div>There we have it: the further is lacking ::/64 at the end leading to the libraries being</div><div>installed in wrong directories. I didn't feel like patching configure (feel free to do so</div>




<div>and report upstream) but added --libdir as needed to the Makefile in addition to some</div><div>minor tweaks:</div><div>  <a href="http://sourceforge.net/apps/trac/gar/changeset/20494" target="_blank">http://sourceforge.net/apps/trac/gar/changeset/20494</a></div>




</div></blockquote><div><br></div><div>Thanks a lot for the help !</div><div>That works a like a charm.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div style="word-wrap:break-word"><div><div><div><br></div><div>I suggest adding tests to the testsuite to see if there are actually files in /opt/csw/(bin|sbin|lib|libHi Yann,</div></div></div></div></blockquote><div><br>




</div><div>Yes that's a good idea.</div><div style>I added the test in gar: <a href="http://sourceforge.net/apps/trac/gar/changeset/20521">http://sourceforge.net/apps/trac/gar/changeset/20521</a></div><div style><br>

</div><div style>There is a problem when several packages are built from one recipe: BUILD64 can be enabled to produce the 64 bits libraries, but one of the package could contains only 32 bits executables by choice.</div>

<div style>I found for example the a52dec package which has this problem.<br></div><div style><br></div><div style>For now, the test only checks missing executables if isaexec is enabled, but it can be improved if I can know if BUILD64 or BUILD64_LIBS_ONLY has been used in the recipe. </div>

<div style>Is this possible to add this information in OPENCSW_MODE64 ?</div><div style><br></div><div style>Yann</div></div></div></div>