FS#38844 - [openssl] missing /usr/{lib,lib64}/libssl.a and libcrypto.a

Attached to Project: Arch Linux
Opened by Stanley Lan (teetee1) - Saturday, 08 February 2014, 19:32 GMT
Last edited by Pierre Schmitz (Pierre) - Sunday, 09 February 2014, 12:39 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: without libssl.a and libcrypto.a the open grid scheduler won't compile. Those two files are used as static library files

--
# SECURE
set SEC = 1
set SECFLAGS = "-DSECURE -I$OPENSSL_HOME/include"
set SECLIB = ""
set SECLIBS_STATIC = "$OPENSSL_HOME/lib64/libssl.a $OPENSSL_HOME/lib64/libcrypto.a"
set KLFLAGS = "-L$OPENSSL_HOME/lib64 -lkrb5 -lz"
--

error:
gcc: error: /usr/lib64/libssl.a: No such file or directory
gcc: error: /usr/lib64/libcrypto.a: No such file or directory
../daemons/shepherd/Makefile:92: recipe for target 'sge_shepherd' failed


Additional info:
* package version(s): 1.0.1.f-1
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Sunday, 09 February 2014, 12:39 GMT
Reason for closing:  Upstream
Comment by Pierre Schmitz (Pierre) - Sunday, 09 February 2014, 10:33 GMT
I could not find the open grid package in our repos. In general we don't support static linking.
Comment by Stanley Lan (teetee1) - Sunday, 09 February 2014, 12:20 GMT
Thank you very much for the reply. I guess those static libs were excluded starting this version (1.0.0.f_1) since the same error did not occur in the earlier version.

The open grid scheduler(ogs) is the community version of the Sun Grid Engine after it got bought by Oracle and was turned into a commercial product like everything else in Oracle so ogs became the popular choice among admins in HPC(High-Performance Computing) clusters.

I will be looking into solutions of downgrading openssl and/or compile 1.0.0.f_1 from the source.
Comment by Pierre Schmitz (Pierre) - Sunday, 09 February 2014, 12:25 GMT
It's not related to the openssl package directly. Static libs were droped from Arch when pacman made !staticlibs the default. See https://projects.archlinux.de/svntogit/packages.git/commit/trunk?h=packages/pacman&id=a4296319fdd5c6aeaa60bacf532fe57dd87688a3

So add "options=(staticlibs)" to the PKGBUILD.
Comment by Stanley Lan (teetee1) - Sunday, 09 February 2014, 12:34 GMT
Thanks for the info. I should have searched more thoroughly before I ask as the following ticket described the same thing:
https://bugs.archlinux.org/task/37464

I will look into modifying PKGBUILD file.

Thanks again.
Comment by Pierre Schmitz (Pierre) - Sunday, 09 February 2014, 12:39 GMT
Fine, I'll close this bug then. I keep an eye on these reports though. But in general upstream software should dynamically link to openssl.

Loading...