Re: FreeBSD Port: devel/cmake probably LibreOffice 3.1.1 build error (resolved)

2020-05-12 Thread David Gessel

Those of us without build machines are taking a bit of a rear guard on finding 
some of the quirks.

I suggested to Bernard that the occasionally recurring message in UPDATING 
warrants a recurrence:

The port has been updated to the latest stable version 3.1.1 of LibreSSL.
  The shared library versions of the libraries have been bumped.

  After upgrading, manually update all packages that depend on any of the
  libraries provided by LibreSSL (libssl, libcrypto and libtls) since the
  versions of these libraries have changed. Normally, you can obtain the
  list of dependent software by running the following command:

  # pkg info -r libressl

  Then you should rebuild all ports depending on libressl to avoid dangling
  shared library dependencies. Poudriere and pkg handle this correctly,
  portmaster and portupgrade users can use the following to rebuild all
  dependent ports.

  Portmaster users:
  portmaster -r libressl
  Portupgrade users:
  portupgrade -fr security/libressl


On 2020-05-12 18:16, Adriaan de Groot wrote:

On Tuesday, 12 May 2020 16:52:36 CEST David Gessel wrote:

/usr/local/lib/libcurl.so: undefined reference to `X509_get_pubkey'
/usr/local/lib/libcurl.so: undefined reference to `RSA_flags'
c++: error: linker command failed with exit code 1 (use -v to see
invocation)

Hi David,

That looks to me like libcurl is still using the ssl libraries from *before*
the libressl update -- I see you have already found what I would have
recommended, which is to rebuild libcurl. That's something we (packager hat
on) don't see much because all our builds happen cleanly in poudriere (so a
new libcurl would already have been built in any experiments I do).

[ade]


Re: FreeBSD Port: devel/cmake probably LibreOffice 3.1.1 build error (resolved)

2020-05-12 Thread Adriaan de Groot
On Tuesday, 12 May 2020 16:52:36 CEST David Gessel wrote:
> /usr/local/lib/libcurl.so: undefined reference to `X509_get_pubkey'
> /usr/local/lib/libcurl.so: undefined reference to `RSA_flags'
> c++: error: linker command failed with exit code 1 (use -v to see
> invocation)

Hi David,

That looks to me like libcurl is still using the ssl libraries from *before* 
the libressl update -- I see you have already found what I would have 
recommended, which is to rebuild libcurl. That's something we (packager hat 
on) don't see much because all our builds happen cleanly in poudriere (so a 
new libcurl would already have been built in any experiments I do).

[ade]

signature.asc
Description: This is a digitally signed message part.


FreeBSD Port: devel/cmake probably LibreOffice 3.1.1 build error (resolved)

2020-05-12 Thread David Gessel

Adriaan,

I ran into a build error with cmake-3.17.2 after updating security/libressl to 
3.1.1 and I'm suspicious the two are related as:



/usr/local/lib/libcurl.so: undefined reference to `X509_get_pubkey'
/usr/local/lib/libcurl.so: undefined reference to `RSA_flags'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
--- bin/ctest ---
*** [bin/ctest] Error code 1

make[3]: stopped in /var/ports/usr/ports/devel/cmake/work/cmake-3.17.2
1 error

make[3]: stopped in /var/ports/usr/ports/devel/cmake/work/cmake-3.17.2
--- Source/CMakeFiles/ctest.dir/all ---
*** [Source/CMakeFiles/ctest.dir/all] Error code 2

make[2]: stopped in /var/ports/usr/ports/devel/cmake/work/cmake-3.17.2
/usr/local/lib/python3.7/importlib/__init__.py:127: RemovedInSphinx40Warning: 
sphinx.util.pycompat.htmlescape is deprecated. Check CHANGES for Sphinx API 
modifications.
  return _bootstrap._gcd_import(name[level:], package, level)
/usr/local/lib/python3.7/importlib/__init__.py:127: RemovedInSphinx40Warning: 
sphinx.builders.qthelp.QtHelpBuilder is deprecated. Check CHANGES for Sphinx 
API modifications.
  return _bootstrap._gcd_import(name[level:], package, level)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/index.rst:45: WARNING: 
toctree contains reference to nonexisting document 'manual/cmake-gui.1'
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/command/message.rst:74: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/command/set.rst:47: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/command/set.rst:50: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/command/set.rst:53: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/command/set.rst:56: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/command/set.rst:61: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/command/set.rst:65: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/manual/cmake-file-api.7.rst:1023:
 WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/manual/cmake-generators.7.rst:20:
 WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/variable/CMAKE_EDIT_COMMAND.rst:4:
 WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/variable/CMAKE_EDIT_COMMAND.rst:7:
 WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/variable/CMAKE_GENERATOR.rst:9:
 WARNING: cmake:manual reference target not found: cmake-gui(1)
/var/ports/usr/ports/devel/cmake/work/cmake-3.17.2/Help/manual/cmake.1.rst:53: 
WARNING: cmake:manual reference target not found: cmake-gui(1)
A failure has been detected in another branch of the parallel make

make[3]: stopped in /var/ports/usr/ports/devel/cmake/work/cmake-3.17.2
--- Utilities/Sphinx/CMakeFiles/documentation.dir/all ---
*** [Utilities/Sphinx/CMakeFiles/documentation.dir/all] Error code 2


FreeBSD 11.3-RELEASE-p8 #0 r360490


My clue is the undefined reference to RSA flags.

Building archivers/libarchive ftp/curl first resolved and cmake built 
successfully.