[csw-maintainers] CSWlibssl1-0-0 missing 64bit lib

Dagobert Michelsen dam at opencsw.org
Thu Mar 21 20:58:24 CET 2013


Hi Yann,

Am 18.03.2013 um 22:17 schrieb Yann Rouillard <yann at pleiades.fr.eu.org>:
> I don't understand why the 64 libs are not included anymore.
> Can you help me on this ?

The problem is that on amd64 the libraries are installed in /opt/csw/lib instead of /opt/csw/lib/64
and therefore the merge does not pick them up. It turns out that --libdir is not passed to configure
and the library directory is "just right" by default on sparcv9. Some experimenting showed that --libdir=lib/64
for 64 bit solves the issue, but the question remained why it works for sparcv9 and didn't work for
amd64 in the first place.

Now look in the profiles used in configure:

"solaris64-x86_64-cc-sunw","cc:-xO3 -m64 -xstrconst -Xa -DL_ENDIAN::-D_REENTRANT::-lsocket -lnsl -lc:SIXTY_FOUR_BIT_LONG RC4_CHUNK BF_PTR DES_PTR DES_INT DES_UNROLL:${x86_64_asm}:elf:dlfcn:solaris-shared:-KPIC:-m64 -G -dy -z text -zdefs -Bdirect -zignore -M/usr/lib/ld/map.pagealign -M/usr/lib/ld/map.noexdata:.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
...
"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",

There we have it: the further is lacking ::/64 at the end leading to the libraries being
installed in wrong directories. I didn't feel like patching configure (feel free to do so
and report upstream) but added --libdir as needed to the Makefile in addition to some
minor tweaks:
  http://sourceforge.net/apps/trac/gar/changeset/20494

I suggest adding tests to the testsuite to see if there are actually files in /opt/csw/(bin|sbin|lib|libexec)/sparcv9 if
OPENCSW_MODE64 in pkginfo contains 64.


Best regards

  -- Dago


> 
> Yann
> 
> ---------- Forwarded message ----------
> From: Jan Holzhueter <jh at opencsw.org>
> Date: 2013/3/18
> Subject: CSWlibssl1-0-0 missing 64bit lib
> To: List for OpenCSW maintainers <maintainers at lists.opencsw.org>, Yann Rouillard <yann at pleiades.fr.eu.org>
> 
> 
> Hi,
> libssl1_0_0-1.0.1e,REV=2013.03.12-SunOS5.10-i386-CSW.pkg seems to miss
> the 64bit lib.
> 
> Greetings
> Jan
> 
> 

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20130321/24586fec/attachment.html>


More information about the maintainers mailing list