ERRORS: rpm.spec

Elan Ruusamäe glen at pld-linux.org
Tue Jan 10 17:44:43 CET 2017


On 10.01.2017 18:38, Jeffrey Johnson wrote:
>> On Jan 10, 2017, at 11:35 AM, Elan Ruusamäe <glen at pld-linux.org> wrote:
>>
>> On 10.01.2017 18:28, Jeffrey Johnson wrote:
>>> Add —without-java to configure will disable no matter what the default is.
>> ./rpmio/Makefile.am compiles rpmjni.cc with no conditions. at least 5.4.15
>>
> The configure option —without-java is known to work in CVS and in rpm-5.4.17.

same error as with 5.4.15, rpmjni.cc is compiled unconditionally 
(checked sources),
rpm-5.4.17/rpmio/Makefile.am line 201

so if you try with gcc6 you should be getting same error.

>
> Meanwhile:
> 	What is the issue here?
> 	Do you want embedded java or wish java cleanly disabled?

i wished to rebuild rpm with tiny patch, but gcc errors in totally 
unrelated file due gcc 6 on builders.

https://github.com/pld-linux/rpm/commit/e9576b98b1c166be5e164c20df8d8659bb0431be

there shouldn't be any sniff of java/jvm in rpm binary in pld.

-- 
glen



More information about the pld-devel-en mailing list