Bug 217668 - www/hiawatha 10.5 won't start if compiled with mbedtls 2.40
Summary: www/hiawatha 10.5 won't start if compiled with mbedtls 2.40
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-09 17:19 UTC by Martin MATO
Modified: 2017-03-12 23:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (tijl)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin MATO 2017-03-09 17:19:45 UTC
Greeting
www/Hiawatha won't start if compiled with security/mbedtls (which is the default option)
because mbedtls-2.40 is not compiled with a particular flag:

root@xxxxx:~ # service hiawatha onestart
Starting hiawatha.
mbed TLS was compiled without the required MBEDTLS_THREADING_PTHREAD compiler flag.
/usr/local/etc/rc.d/hiawatha: WARNING: failed to start hiawatha

workaround: unticking the MBEDTLS option and recompiling the port do the trick...  

tested on AMD64/CURRENT and i386/9.3 at this time. 

nota: security/mbedtls does not have any options configurable so it can't be compiled with the particulary flag.
should i create a PR for this also?

Regards

Martin MATO
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-03-12 21:30:58 UTC
A commit references this bug:

Author: tijl
Date: Sun Mar 12 21:30:16 UTC 2017
New revision: 436028
URL: https://svnweb.freebsd.org/changeset/ports/436028

Log:
  Enable thread safety for www/hiawatha.

  PR:		217668

Changes:
  head/security/mbedtls/Makefile
  head/security/mbedtls/files/patch-config.h
Comment 2 Martin MATO 2017-03-12 23:54:06 UTC
Yes, it's fixed.
For information, I had to force a recompilation of hiawatha after the update of mbedtls-2.4.2_1 for this to work.

Thank you very much for your work.

regards
Martin MATO