Another update:

As a workaround, I had to set the dependency version directly in the 
build.gradle files that declare a dependency on com.fasterxml.*.

This is ugly, obviously.  But at least I can continue to work for a bit.

Please let me know if this helps to diagnose the issue.

Thank you.

***************

  implementation 'com.fasterxml.woodstox:woodstox-core:6.5.1'

  implementation 'com.fasterxml.jackson.core:jackson-annotations:2.16.1'
  implementation 'com.fasterxml.jackson.core:jackson-core:2.16.1'
  implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
  implementation 
'com.fasterxml.jackson.dataformat:jackson-dataformat-smile:2.16.1'
  implementation 
'com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.16.1'

  testImplementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'

 solr/api/build.gradle
 solr/core/build.gradle
 solr/modules/analytics/build.gradle
 solr/modules/hadoop-auth/build.gradle
 solr/modules/jwt-auth/build.gradle
 solr/solrj/build.gradle

Isabelle Giguère
Computational Linguist & Java Developer
Linguiste informaticienne & développeur java


________________________________
De : Isabelle Giguere <igigu...@opentext.com.INVALID>
Envoyé : 4 avril 2024 11:07
À : dev solr <dev@solr.apache.org>
Objet : [EXTERNAL] - Re: Unable to build tag releases/solr/9.5.0

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe. If you feel that the email is suspicious, please report it using 
PhishAlarm.


Update:
Now I can't build Solr 10 either.  Sigh.
A different set of dependencies are not found.

Isabelle Giguère
Computational Linguist & Java Developer
Linguiste informaticienne & développeur java


________________________________
De : Isabelle Giguere <igigu...@opentext.com.INVALID>
Envoyé : 4 avril 2024 11:00
À : dev solr <dev@solr.apache.org>
Objet : [EXTERNAL] - Unable to build tag releases/solr/9.5.0

CAUTION: This email originated from outside of the organization. Do not click 
links or open attachments unless you recognize the sender and know the content 
is safe. If you feel that the email is suspicious, please report it using 
PhishAlarm.

Hello devs;

I checked out tag releases/solr/9.5.0
https://urldefense.com/v3/__https://github.com/apache/solr/tree/releases/solr/9.5.0__;!!Obbck6kTJA!dcoAF-UKamfM_TjL0JigHKfNW5yxuHNADSc1WlNaiDspwRH3aHCUya546M_OSXh4GrYyCMe6KqdOlIMLco_UuP0WKb8$
 
<https://urldefense.com/v3/__https://github.com/apache/solr/tree/releases/solr/9.5.0__;!!Obbck6kTJA!erRb-h3GocG_SIUbfNXU1efyLVJ23pIUTa_jfEIuVdvaGc4E8GD1vWPRnV3VCbjPo17wzeTGAIXdKCzlEh3Ceg6bEGs$>

I'm trying to build locally:
./gradlew build --write-locks

The build fails very fast:

*****
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':solr:webapp:renderSiteJavadoc'.
> Could not resolve all task dependencies for configuration 
> ':solr:webapp:solrCore'.
   > Could not find com.fasterxml.woodstox:woodstox-core:.
     Required by:
         project :solr:webapp > project :solr:core

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at 
> https://urldefense.com/v3/__https://help.gradle.org__;!!Obbck6kTJA!dcoAF-UKamfM_TjL0JigHKfNW5yxuHNADSc1WlNaiDspwRH3aHCUya546M_OSXh4GrYyCMe6KqdOlIMLco_UQC2VPQI$
>  
> <https://urldefense.com/v3/__https://help.gradle.org__;!!Obbck6kTJA!erRb-h3GocG_SIUbfNXU1efyLVJ23pIUTa_jfEIuVdvaGc4E8GD1vWPRnV3VCbjPo17wzeTGAIXdKCzlEh3Cof7iuPw$>.
******

Adding com.fasterxml.woodstox:woodstox-core:6.5.1to versions.props ends with an 
"invalid constraint" error message

I tried adding debugging options as suggested:
./gradlew --write-locks build --debug --stacktrace --scan

The debug output (debug-build.txt in the zip) shows that 
com.fasterxml.woodstox:woodstox-core is resolved, at some point:

line 82410:Using com.fasterxml.woodstox:woodstox-core:6.5.1 from Maven 
repository 'MavenRepo'
line 89932:Using com.fasterxml.woodstox:woodstox-core:6.5.1 from Maven 
repository 'MavenRepo'

And then it fails, line 101479 ... etc.

Even though my stack trace is not the same as the issue here 
(https://urldefense.com/v3/__https://discuss.gradle.org/t/gradle-run-could-not-resolve-all-dependencies/21803/7__;!!Obbck6kTJA!dcoAF-UKamfM_TjL0JigHKfNW5yxuHNADSc1WlNaiDspwRH3aHCUya546M_OSXh4GrYyCMe6KqdOlIMLco_UxmdI7PM$
 
<https://urldefense.com/v3/__https://discuss.gradle.org/t/gradle-run-could-not-resolve-all-dependencies/21803/7__;!!Obbck6kTJA!erRb-h3GocG_SIUbfNXU1efyLVJ23pIUTa_jfEIuVdvaGc4E8GD1vWPRnV3VCbjPo17wzeTGAIXdKCzlEh3CRlKI7rw$>),
 I did try the suggested solutions, but I still have the same problem.

Solr 10 (main branch) is building on my environment (but I can't use that, I 
need the latest release).

Any thoughts ?

***********

OS :Oracle Linux 9.3

java --version
openjdk 11.0.22 2024-01-16 LTS
OpenJDK Runtime Environment (Red_Hat-11.0.22.0.7-2.0.1) (build 11.0.22+7-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-11.0.22.0.7-2.0.1) (build 11.0.22+7-LTS, 
mixed mode, sharing)



Isabelle Giguère
Computational linguist & Java developer  |  Engineering
Linguiste informaticienne & développeur java  |  Engineering

Phone:  (514) 908 5406 ext. 75125
Website:        https://www.opentext.com/


[https://mimage.opentext.com/alt_content/binary/images/email-signature/ot2023-corporate-email-signature-370x70-fy24-2-retina.png]<https://www.opentext.com/>

This email message is confidential, may be privileged, and is intended for the 
exclusive use of the addressee. Any other person is strictly prohibited from 
disclosing or reproducing it. If the addressee cannot be reached or is unknown 
to you, please inform the sender by return email and delete this email message 
and all copies immediately.

Reply via email to