pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54894: openssl-1.1.1d fails to configure on Solaris 10



>Number:         54894
>Category:       pkg
>Synopsis:       openssl-1.1.1d fails to configure on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 25 08:25:00 +0000 2020
>Originator:     Hiroshi Hakoyama
>Release:        pkgsrc current
>Organization:
Nagano University
>Environment:
SunOS ec21 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Blade-1000
>Description:
openssl-1.1.1d fails to configure on Solaris 10.

make configure
....
===> Configuring for openssl-1.1.1dnb2
Operating system: sun4u-whatever-solaris2
WARNING! Falling down to 'solaris-sparcv8-gcc'.
...

---------------------------------------------

OS should be 'solaris-sparcv9-gcc'.
/usr/pkgsrc/security/openssl/work/openssl-1.1.1d/config guesses the OS. 

There is a line in the config:

GCCVER=`sh -c "gcc -dumpversion" 2>/dev/null`

However, $GCCVER is 0.

sh -c "/usr/pkgsrc/security/openssl/work/.cwrapper/bin/gcc -dumpversion"
<unset_progname>: CWRAPPERS_CONFIG_DIR is missing from environment

This probably causes the result $GCCVER=0.

$GCCVER should be 43 or 55 in my case.

If I run the config on my shell environment, I can get the right value.

sh -c "gcc -dumpversion"
5.5.0




>How-To-Repeat:
cd /usr/pkgsrc/security/openssl
make configure


>Fix:



Home | Main Index | Thread Index | Old Index