Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911630 - net-misc/ntp-4.2.8_p17[snmp -ssl] - [...] from ntpSnmpSubagentObject.c:20: ../include/ntp_md5.h:33:41: error: conflicting types for 'EVP_MD_CTX'; have 'MD5_CTX' {aka 'isc_md5_t'}
Summary: net-misc/ntp-4.2.8_p17[snmp -ssl] - [...] from ntpSnmpSubagentObject.c:20: .....
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-02 18:25 UTC by ernsteiswuerfel
Modified: 2023-08-02 18:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (ntp-4.2.8_p17:20230802-125513.log,206.59 KB, text/plain)
2023-08-02 18:25 UTC, ernsteiswuerfel
Details
emerge --info (file_911630.txt,6.33 KB, text/plain)
2023-08-02 18:26 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-08-02 18:25:34 UTC
Created attachment 866876 [details]
build.log

Fails to build with USE='snmp' when USE='-ssl' is set too.

[...]
make[3]: Entering directory '/var/tmp/portage/net-misc/ntp-4.2.8_p17/work/ntp-4.2.8p17/ntpsnmpd'
powerpc-unknown-linux-gnu-cc -DHAVE_CONFIG_H -I. -I..  -I../ntpq -I../include -I../libntp/lib/isc/include -I../libntp/lib/isc/pthreads/include -I../libntp/lib/isc/unix/include -I../sntp/libopts -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I. -I/usr/include   -D_GNU_SOURCE -O2 -mcpu=7450 -mtune=7450 -pipe -fno-strict-aliasing -O2 -mcpu=7450 -mtune=7450 -pipe -ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow   -Wstrict-prototypes  -O2 -mcpu=7450 -mtune=7450 -pipe -c -o netsnmp_daemonize.o netsnmp_daemonize.c
powerpc-unknown-linux-gnu-cc -DHAVE_CONFIG_H -I. -I..  -I../ntpq -I../include -I../libntp/lib/isc/include -I../libntp/lib/isc/pthreads/include -I../libntp/lib/isc/unix/include -I../sntp/libopts -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I. -I/usr/include   -D_GNU_SOURCE -O2 -mcpu=7450 -mtune=7450 -pipe -fno-strict-aliasing -O2 -mcpu=7450 -mtune=7450 -pipe -ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow   -Wstrict-prototypes  -O2 -mcpu=7450 -mtune=7450 -pipe -c -o ntpsnmpd.o ntpsnmpd.c
powerpc-unknown-linux-gnu-cc -DHAVE_CONFIG_H -I. -I..  -I../ntpq -I../include -I../libntp/lib/isc/include -I../libntp/lib/isc/pthreads/include -I../libntp/lib/isc/unix/include -I../sntp/libopts -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I. -I/usr/include   -D_GNU_SOURCE -O2 -mcpu=7450 -mtune=7450 -pipe -fno-strict-aliasing -O2 -mcpu=7450 -mtune=7450 -pipe -ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow   -Wstrict-prototypes  -O2 -mcpu=7450 -mtune=7450 -pipe -c -o ntpSnmpSubagentObject.o ntpSnmpSubagentObject.c
powerpc-unknown-linux-gnu-cc -DHAVE_CONFIG_H -I. -I..  -I../ntpq -I../include -I../libntp/lib/isc/include -I../libntp/lib/isc/pthreads/include -I../libntp/lib/isc/unix/include -I../sntp/libopts -DNETSNMP_REMOVE_U64 -Ulinux -Dlinux=linux -I. -I/usr/include   -D_GNU_SOURCE -O2 -mcpu=7450 -mtune=7450 -pipe -fno-strict-aliasing -O2 -mcpu=7450 -mtune=7450 -pipe -ffunction-sections -fdata-sections -Wall -Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Winit-self -Wstrict-overflow   -Wstrict-prototypes  -O2 -mcpu=7450 -mtune=7450 -pipe -c -o ntpsnmpd-opts.o ntpsnmpd-opts.c
../config.status --file=ntpsnmpd.1+:./ntpsnmpd.man.in
In file included from ../include/ntp_stdlib.h:14,
                 from ../include/ntp.h:13,
                 from ntpSnmpSubagentObject.c:20:
../include/ntp_md5.h:33:41: error: conflicting types for 'EVP_MD_CTX'; have 'MD5_CTX' {aka 'isc_md5_t'}
   33 |   typedef MD5_CTX                       EVP_MD_CTX;
      |                                         ^~~~~~~~~~
In file included from /usr/include/openssl/ossl_typ.h:16,
                 from /usr/include/net-snmp/library/scapi.h:14,
                 from /usr/include/net-snmp/snmpv3_api.h:29,
                 from /usr/include/net-snmp/net-snmp-includes.h:35,
                 from ./ntp_snmp.h:14,
                 from ntpSnmpSubagentObject.c:18:
/usr/include/openssl/types.h:104:30: note: previous declaration of 'EVP_MD_CTX' with type 'EVP_MD_CTX' {aka 'struct evp_md_ctx_st'}
  104 | typedef struct evp_md_ctx_st EVP_MD_CTX;
      |                              ^~~~~~~~~~
config.status: creating ntpsnmpd.1+
make[3]: *** [Makefile:800: ntpSnmpSubagentObject.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv ntpsnmpd.1+ ntpsnmpd.1
make[3]: Leaving directory '/var/tmp/portage/net-misc/ntp-4.2.8_p17/work/ntp-4.2.8p17/ntpsnmpd'
make[2]: *** [Makefile:591: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-misc/ntp-4.2.8_p17/work/ntp-4.2.8p17/ntpsnmpd'
make[1]: *** [Makefile:664: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/ntp-4.2.8_p17/work/ntp-4.2.8p17'
make: *** [Makefile:596: all] Error 2
 * ERROR: net-misc/ntp-4.2.8_p17::gentoo failed (compile phase):
 *   emake failed
Comment 1 ernsteiswuerfel archtester 2023-08-02 18:26:07 UTC
Created attachment 866877 [details]
emerge --info