Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664500

Summary: net-misc/ptpd-2.3.1-r1 : /.../ossl_typ.h:114:30: error: conflicting types for EVP_MD_CTX
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Jan Breuer <honza.breuer>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/9786
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-misc:ptpd-2.3.1-r1:20180824-083815.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-08-24 17:51:20 UTC
                 from /usr/include/net-snmp/net-snmp-includes.h:78,
                 from dep/net.c:73:
/usr/include/openssl/ossl_typ.h:114:30: error: conflicting types for ‘EVP_MD_CTX’
 typedef struct env_md_ctx_st EVP_MD_CTX;
                              ^~~~~~~~~~
In file included from dep/../ptpd.h:153,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_libressl_20180816-174630

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1
 [3] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpv net-misc/ptpd
[ebuild  N    ] net-misc/ptpd-2.3.1-r1  USE="pcap snmp statistics -debug -experimental -ntp -slave-only"
Comment 1 Toralf Förster gentoo-dev 2018-08-24 17:51:22 UTC
Created attachment 544806 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-24 17:51:26 UTC
Created attachment 544808 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-24 17:51:29 UTC
Created attachment 544810 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-24 17:51:32 UTC
Created attachment 544812 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-24 17:51:35 UTC
Created attachment 544814 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-24 17:51:37 UTC
Created attachment 544816 [details]
net-misc:ptpd-2.3.1-r1:20180824-083815.log
Comment 7 Toralf Förster gentoo-dev 2018-08-24 17:51:40 UTC
Created attachment 544818 [details]
temp.tbz2
Comment 8 Jan Breuer 2018-08-26 21:59:04 UTC
Upstream bug report: https://github.com/ptpd/ptpd/issues/54
Comment 9 Larry the Git Cow gentoo-dev 2018-09-16 19:54:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfb687613954e39c24ebb2247f06eda67afbc7b9

commit bfb687613954e39c24ebb2247f06eda67afbc7b9
Author:     Jan Breuer <honza.breuer@gmail.com>
AuthorDate: 2018-09-15 21:47:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-09-16 19:54:21 +0000

    net-misc/ptpd: Fix conflicting types for EVP_MD_CTX
    
    Closes: https://bugs.gentoo.org/664500
    Package-Manager: Portage-2.3.40, Repoman-2.3.9
    Closes: https://github.com/gentoo/gentoo/pull/9786

 .../ptpd-2.3.1-fix-libressl-compatibility.patch    | 24 ++++++++
 net-misc/ptpd/files/ptpd-2.3.1-fix-snmp.patch      | 12 ++++
 net-misc/ptpd/ptpd-2.3.1-r2.ebuild                 | 66 ++++++++++++++++++++++
 3 files changed, 102 insertions(+)