Project

General

Profile

Bug #3240

compile error because of openssl with /usr/dports/security/rhash for mysql 8 install

Added by UlasSAYGIN 5 months ago. Updated 5 months ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Other
Target version:
Start date:
05/28/2020
Due date:
% Done:

0%

Estimated time:

Description

Hi,

I am trying to compile mysql 8 on dragonflybsd but i couldnt compile it.
i am using libressl but one of the components asks openssl and it fails to find it.

how can i fix it?

thanks in advance.

=> rhash-1.3.2.patch doesn't seem to exist in /usr/distfiles/.
=> Attempting to fetch https://sourceforge.net/p/rhash/patches/_discuss/thread/271b85e9/0ac7/attachment/rhash-1.3.2.patch
fetch: https://sourceforge.net/p/rhash/patches/_discuss/thread/271b85e9/0ac7/attachment/rhash-1.3.2.patch: size unknown
fetch: https://sourceforge.net/p/rhash/patches/_discuss/thread/271b85e9/0ac7/attachment/rhash-1.3.2.patch: size of remote file is not known
rhash-1.3.2.patch 9021 B 4389 kBps 00s
===> Fetching all distfiles required by rhash-1.3.9 for building
===> Extracting for rhash-1.3.9
===> License MIT accepted by the user
===> rhash-1.3.9 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rhash-1.3.9 for building
=> SHA256 Checksum OK for rhash-1.3.9-src.tar.gz.
=> SHA256 Checksum OK for rhash-1.3.9-nls.patch.
=> SHA256 Checksum OK for rhash-1.3.9-rc-segfault.patch.
=> SHA256 Checksum OK for rhash-1.3.2.patch.
===> Patching for rhash-1.3.9
===> Applying distribution patches for rhash-1.3.9
===> Applying ports patches for rhash-1.3.9
===> rhash-1.3.9 depends on file: /usr/local/lib/libcrypto.so.45 - found
===> Configuring for rhash-1.3.9
Checking for target OS ... DragonFly
Checking for cc version ... gcc 8.3
Checking for linker support for dlopen ... yes
Checking for linker support for --version-script ... yes
Checking for gettext ... no
Checking for OpenSSL ... no

Error: OpenSSL library not found

Check "config.log" if you do not understand why it failed.
===> Script "configure" failed unexpectedly.
Please report the problem to [maintainer] and attach the
"/usr/obj/dports/security/rhash/RHash-1.3.9/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[8]: stopped in /usr/dports/security/rhash
*** Error code 1

Stop.
make[7]: stopped in /usr/dports/security/rhash
*** Error code 1

Stop.
make[6]: stopped in /usr/dports/security/rhash
*** Error code 1

Stop.
make[5]: stopped in /usr/dports/devel/cmake
*** Error code 1

Stop.
make[4]: stopped in /usr/dports/devel/cmake
*** Error code 1

Stop.
make[3]: stopped in /usr/dports/devel/cmake
*** Error code 1

Stop.
make[2]: stopped in /usr/dports/databases/mysql80-server
*** Error code 1

Stop.
make[1]: stopped in /usr/dports/databases/mysql80-server
*** Error code 1

Stop.
make: stopped in /usr/dports/databases/mysql80-server
sd01# cd /usr/dports/security/rhash
sd01# make config

History

#1

Updated by deef 5 months ago

Confirmed, I've hit the same problem. As a workaround, try adding CFLAGS and LDFLAGS to security/rhash/Makefile.DragonFly...

CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}

... or just simply copy security/passivedns/Makefile.DragonFly to security/rhash/Makefile.DragonFly. The build should succeed then.

#2

Updated by tuxillo 5 months ago

The only supported method to update the packages from source is by using dsynth. Anything else is up to the user.

Also available in: Atom PDF