On Mar 16, 2016, at 12:12 PM, Elan Ruusamäe wrote: > On 15.03.2016 22:27, Jeff Johnson wrote: >> There is a snapshot release of rpm-5.4.16 now available at >> >> >> http://rpm5.org/files/rpm/rpm-5.4/SNAPSHOT/rpm-5.4.16-0.20160315.src.rpm > > have not yet researched from what this error comes, maybe quicklier just to > ask: >
Yes. There is a recent API change in libtomcrypt (like last few months) The older name is LTC_LTC_PKCS_1_V1_5 There is an attempt to "fix" the issue like this #if defined(LTC_LTC_PKCS_1_V1_5) int _padding = LTC_LTC_PKCS_1_V1_5; /* XXX RSA */ #else int _padding = LTC_PKCS_1_V1_5; /* XXX RSA */ #endif but LTC_LTC_PKCS_1_V1_5 may not be defined (its an enum) I'll devise a better test for portability ... meanwhile use LTC_LTC_PKCS_1_V1_5 insead Thanks for the report. > > libtool: compile: ccache gcc -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I../build > -I../lib -I../lib -I../rpmdb -I../rpmio -I../misc -I../lua/local > -I../lua/local -I../lua -I../lua -DRPM_OS_LINUX=040116 -DLTM_DESC -DUSE_LTM > -I/usr/include/db5.2 -I/usr/include/ossp-uuid -I/usr/include/ossp-uuid > -fopenmp -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 > -fno-debug-types-section -fvar-tracking-assignments -g2 > -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 > -fPIC -march=x86-64 -gdwarf-4 -fno-debug-types-section > -fvar-tracking-assignments -g2 -D_GNU_SOURCE -D_REENTRANT -MT rpmltc.lo -MD > -MP -MF .deps/rpmltc.Tpo -c rpmltc.c -fPIC -DPIC -o .libs/rpmltc.o > rpmltc.c: In function 'rpmltcVerify': > rpmltc.c:385:20: error: 'LTC_PKCS_1_V1_5' undeclared (first use in this > function) > int _padding = LTC_PKCS_1_V1_5; /* XXX RSA */ > ^ > rpmltc.c:385:20: note: each undeclared identifier is reported only once for > each function it appears in > rpmltc.c: In function 'rpmltcSign': > rpmltc.c:454:20: error: 'LTC_PKCS_1_V1_5' undeclared (first use in this > function) > int _padding = LTC_PKCS_1_V1_5; /* XXX RSA */ > ^ > Makefile:2155: recipe for target 'rpmltc.lo' failed > make[4]: *** [rpmltc.lo] Error 1 > > -- > glen > > _______________________________________________ > pld-devel-en mailing list > pld-devel-en@lists.pld-linux.org > http://lists.pld-linux.org/mailman/listinfo/pld-devel-en _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en