Re: buildworld fails after patch (FreeBSD-SA-06:23.openssl)



On Fri, Sep 29, 2006 at 05:40:36PM +0200, Uwe Doering wrote:
[...]
The same happened on my workstation, which runs 4.11. The cause of this
problem is that the openssl sources under '/usr/src' apparently use some
include files installed under '/usr/include/openssl' instead of those in
the '/usr/src' tree.

The fix for me was to copy the '*.h' files that changed into
'/usr/include/openssl' by hand. Afterwards things worked as expected.
This is of course just a workaround. The proper fix would be to modify
the respective makefiles to add all the directories where there are
header files to the list of include directories given to 'cc' with '-I'
options. This apparently hasn't been done so far. At least not completely.

No. The correct way is to either do a full build (aka buildworld),
or a partial build by first installing headers, and then doing the
library build.


Cheers,
--
Ruslan Ermilov
ru@xxxxxxxxxxx
FreeBSD committer

Attachment: pgpvyEEUj01xD.pgp
Description: PGP signature



Relevant Pages

  • 2.6.20-mm1
    ... The ext4 devel tree was added, then got dropped again due to various ... I'm not sure that all the necessary XFS-related fixes made it into the ... ACPI fix ... I2C tree updates ...
    (Linux-Kernel)
  • 2.6.24-rc8-mm1
    ... git-newsetup is dropped due to conflicts with git-x86 ... git-block is dropped due to conflicts with the IDE tree ... See the `hot-fixes' directory for any important updates to this patchset. ... Fix git-audit-master.patch ...
    (Linux-Kernel)
  • 2.6.24-rc3-mm2
    ... See the `hot-fixes' directory for any important updates to this patchset. ... To fetch an -mm tree using git, ... If you hit a bug in -mm and it is not obvious which patch caused it, ... Fix git-acpi ...
    (Linux-Kernel)
  • 2.6.17-rc4-mm2
    ... please test this tree and report the results. ... expect it to fix quite a few things. ... See the `hot-fixes' directory for any important updates to this patchset. ... ARM driver fix ...
    (Linux-Kernel)
  • 2.6.24-rc3-mm1
    ... Added new git tree git-lblnet.patch: ... See the `hot-fixes' directory for any important updates to this patchset. ... If you hit a bug in -mm and it is not obvious which patch caused it, ... Fix git-acpi versus driver tree ...
    (Linux-Kernel)