Project

General

Profile

Actions

Bug #3240

closed

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

Added by UlasSAYGIN over 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
DPorts
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.
make8: stopped in /usr/dports/security/rhash
  • Error code 1
Stop.
make7: stopped in /usr/dports/security/rhash
  • Error code 1
Stop.
make6: stopped in /usr/dports/security/rhash
  • Error code 1
Stop.
make5: stopped in /usr/dports/devel/cmake
  • Error code 1
Stop.
make4: stopped in /usr/dports/devel/cmake
  • Error code 1
Stop.
make3: stopped in /usr/dports/devel/cmake
  • Error code 1
Stop.
make2: stopped in /usr/dports/databases/mysql80-server
  • Error code 1
Stop.
make1: 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

Actions #1

Updated by deef over 4 years 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.

Actions #2

Updated by tuxillo over 4 years ago

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

Actions #3

Updated by daftaupe almost 2 years ago

  • Category changed from Other to DPorts
Actions #4

Updated by daftaupe almost 2 years ago

  • Status changed from New to Closed

Closing as we're on a different set of dports now. Reopen if issues are still present with the current set.

Actions

Also available in: Atom PDF