ERRORS: rpm.spec
Elan Ruusamäe
glen at pld-linux.org
Tue Jan 10 17:23:15 CET 2017
what is this?
i didn't know we have hava Java JNI support?
./configure --help outputs:
--with-java build RPM with java support
--with-jvm=ARG build with JVM embedding library
(no) (location path:
"external:none")
looks like it is not enabled by default? or is?
full build log can be obtained from
http://buildlogs.pld-linux.org//index.php?dist=th&arch=x32&ok=0&name=rpm&id=33897391-b034-4086-98fd-daf0adcdb290&action=tail
On 10.01.2017 18:10, PLD th-x32 builder wrote:
> libtool: compile: x86_64-pld-linux-gnux32-g++ -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=320000 -I/usr/include/db5.2 -I/usr/include/ossp-uuid -I/usr/include/ossp-uuid -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 -mtune=generic -march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -MT rpmjni.lo -MD -MP -MF .deps/rpmjni.Tpo -c rpmjni.cc -fPIC -DPIC -o .libs/rpmjni.o
> In file included from /usr/include/c++/6.3.0/stdlib.h:36:0,
> from ../system.h:196,
> from rpmjni.cc:1:
> /usr/include/c++/6.3.0/cstdlib:143:11: error: '::getenv' has not been declared
> using ::getenv;
> ^~~~~~
> In file included from ../system.h:196:0,
> from rpmjni.cc:1:
> /usr/include/c++/6.3.0/stdlib.h:62:12: error: 'std::getenv' has not been declared
> using std::getenv;
> ^~~~~~
> make[4]: *** [Makefile:2146: rpmjni.lo] Error 1
> make[4]: Leaving directory '/tmp/B.1bBTqf/BUILD/rpm-5.4.15/rpmio'
> make[3]: *** [Makefile:2187: all-recursive] Error 1
--
glen
More information about the pld-devel-en
mailing list