Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 19:12:38 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Jim Ballantine <j.ballantine@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   security/heimdal generates openssl conflict [was - Re: Installing openssl from ports]
Message-ID:  <514D6AFE.1030708@ShaneWare.Biz>
In-Reply-To: <CADcmFMUj_7qS4mbw2udJXJchyt4-8rStygAZfG-_KAGpRFs3gQ@mail.gmail.com>
References:  <CADcmFMVc%2B1RUpkyoUXosV-S8RaBMhe7R8rLkBY4Gbnun%2BoXDKA@mail.gmail.com> <514C49FD.90700@ShaneWare.Biz> <CADcmFMUj_7qS4mbw2udJXJchyt4-8rStygAZfG-_KAGpRFs3gQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23/03/2013 00:21, Jim Ballantine wrote:

> Both openssl and heimdal install fine from the base system src, it's
> only when I try to install openssl from the ports, with heimdal
> installed by the base system that I get the error.
>
> When I run make install, what I get before the conflict message is:
>
> ===>  Compressing manual pages for openssl-1.0.1_8zopenssl-1.0.1_8
> ===>  Running ldconfig /sbin/ldconfig -m /usr/local/lib Installing
> openssl-1.0.1_8...pkg: openssl-1.0.1_8 conflicts with
> heimdal-1.5.2_4 (installs files into the same place). Problematic
> files: /usr/local/man/man3/DH_generate_key.3.gz
 > *** [fale-pkg] Error code 70

I'll make the subject a bit more descriptive and cc the heimdal
maintainer.

The error appears to be generated by pkg and would indicate that you
have installed heimdal from ports. heimdal uses libcrypto from openssl
and may have been installed as a dependency for another port.

The base system doesn't install into /usr/local and pkg shouldn't
monitor any files installed by the base system, so the conflict with
/usr/local/man/man3/DH_generate_key.3.gz must be from the heimdal port.

I just tried a compile of heimdal within tinderbox where I have set
WITH_OPENSSL_PORT=true and the log for the heimdal indicates that it
deletes man pages installed by security/openssl. So either heimdal
installs a duplicate copy of the openssl man pages or it erroneously
includes the man pages in it's package list generation.

part of tinderbox log -

<snip>
================================================================
====================<phase 7: make package>====================
===>  Building package for heimdal-1.5.2_4
Deleting heimdal-1.5.2_4
================================================================

=== Checking filesystem state
list of files present before this port was installed but missing after
it was deinstalled)
./usr/local/man/man3/DES_cbc_cksum.3.gz missing
<snip>
./usr/local/man/man3/DH_free.3.gz missing
./usr/local/man/man3/DH_generate_key.3.gz missing
./usr/local/man/man3/DH_get_default_method.3.gz missing
<snip>
./usr/local/man/man3/RSA_new.3.gz missing
./usr/local/man/man3/RSA_new_method.3.gz missing
./usr/local/man/man3/RSA_set_method.3.gz missing
Deleting sqlite3-3.7.14.1
Deleting openssl-1.0.1_8
pkg_delete: file '/usr/local/man/man3/DH_generate_key.3.gz' doesn't exist
pkg_delete: file '/usr/local/man/man3/DH_new.3.gz' doesn't exist
pkg_delete: file '/usr/local/man/man3/DH_set_method.3.gz' doesn't exist
<snip>
pkg_delete: file '/usr/local/man/man3/DES_set_odd_parity.3.gz' doesn't exist
pkg_delete: file '/usr/local/man/man3/DES_string_to_key.3.gz' doesn't exist
pkg_delete: couldn't entirely delete package `openssl-1.0.1_8'
(perhaps the packing list is incorrectly specified?)
Deleting libtool-2.4.2
Deleting libXt-1.1.1,1
Deleting db41-4.1.25_4
<snip>





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514D6AFE.1030708>