Re: N00b questions - I need help getting started on packaging.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/14/20 4:53 PM, Mat Booth wrote:
>
> Patches are probably needed because Lucene and JavaCC dependencies are
> newer in Fedora than expected by Derby. Where possible we generally
> try to carry only the latest version of libraries in order to avoid a
> combinatorial explosion of things we'd otherwise need to package.
> Packages should be patched such that they work with the version
> available in Fedora. Updating a project to the latest version of one
> of its dependencies are patches that are good candidates to be sent
> upstream.


Thanks every one for your help so far.

Now that I understand the patches at
<https://src.fedoraproject.org/rpms/derby/pull-request/1#request_diff>

I have updated these, I wrote a spec file.


I'm getting a compile error :

> optional:
>     [javac] Compiling 15 source files to
> /home/vagrant/rpmbuild/BUILD/derby-10.15.2.0/db-derby-10.15.2.0-src/classes/optional
>     [javac] error: the unnamed module reads package
> org.apache.lucene.analysis.standard from both lucene.analyzers.common
> and lucene.core
>     [javac] error: module lucene.analyzers.common reads package
> org.apache.lucene.analysis.standard from both lucene.analyzers.common
> and lucene.core
>     [javac] error: module lucene.core reads package
> org.apache.lucene.analysis.standard from both lucene.analyzers.common
> and lucene.core
>     [javac] error: module lucene.queryparser reads package
> org.apache.lucene.analysis.standard from both lucene.core and
> lucene.analyzers.common
>     [javac] error: module json.simple reads package
> org.apache.lucene.analysis.standard from both lucene.analyzers.common
> and lucene.core
>     [javac]
> /home/vagrant/rpmbuild/BUILD/derby-10.15.2.0/db-derby-10.15.2.0-src/java/org.apache.derby.optionaltools/module-info.java:60:
> error: module org.apache.derby.optionaltools reads package
> org.apache.lucene.analysis.standard from both lucene.analyzers.common
> and lucene.core
>     [javac] module org.apache.derby.optionaltools
>     [javac] ^
>     [javac] 6 errors
>
> BUILD FAILED
> /home/vagrant/rpmbuild/BUILD/derby-10.15.2.0/db-derby-10.15.2.0-src/build.xml:1082:
> Compile failed; see the compiler error output for details.

Which is probably because I messed up something related to path or
definition of where java should look for dependancies.

Anybody willing to give me a clue or two on how to fix this ?


Tia

Ludovic

-- 
https://www.hirlimann.net/Ludovic/carnet/


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux