Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > linux.debian.maint.java > #13086

Re: Building jackson-core 3.0.0

From Mechtilde Stehmann <mechtilde@debian.org>
Newsgroups linux.debian.maint.java
Subject Re: Building jackson-core 3.0.0
Date 2025-10-19 12:50 +0200
Message-ID <LHz97-6lmX-9@gated-at.bofh.it> (permalink)
References <LHirD-69XW-5@gated-at.bofh.it> <LHyd3-6kKV-5@gated-at.bofh.it> <LHyd3-6kKV-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

as addition:

I find the following file:

cat jackson-core-3.0.0/debian/libjackson2-core-java.substvars
#List of dependencies for libjackson2-core-java, generated for use by 
debian/control
maven:DocOptionalDepends=
maven:Depends=libfastdoubleparser-java (>= ${revision})
maven:OptionalDepends=
maven:CompileDepends=libbuild-helper-maven-plugin-java (>= 3.3.0), 
libmaven-jar-plugin-java (>= 3.3.0), libmaven-shade-plugin-java (>= 
3.6.0), libreplacer-java (>= 1.5.3)

There I found "(>= ${revision})". How can I control this variable?

Regards

Mechtilde

Am 19.10.25 um 11:47 schrieb Mechtilde Stehmann:
> Hello all,
> hello Pierre,
> 
> Am 18.10.25 um 22:30 schrieb Pierre Gruet:
>> Hello Mechtilde,
>>
>>
>> Le 18/10/2025 à 18:56, Mechtilde Stehmann a écrit :
>>> Hello,
>>>
>>> I started to finish building version 3.0.0.
>>>
>>> This was started 2 weeks ago on salsa.debian.org.
>>>
>>> I uploaded my results at salsa.debian.org/mechtilde/jackson-core
>>>
>>> I added some new dependencies. I ended at this part:
>>>
>>> [ERROR] Failed to execute goal org.apache.maven.plugins:maven- 
>>> compiler- plugin:3.13.0:compile (default-compile) on project jackson- 
>>> core: Compilation failure: Compilation failure:
>>> [ERROR] /build/reproducible-path/jackson-core-3.0.0/src/main/java/ 
>>> tools/ jackson/core/json/JsonParserBase.java:[93,49] cannot find symbol
>>> [ERROR]   symbol:   variable PackageVersion
>>> [ERROR]   location: class tools.jackson.core.json.JsonParserBase
>>> [ERROR] /build/reproducible-path/jackson-core-3.0.0/src/main/java/ 
>>> tools/ jackson/core/json/JsonGeneratorBase.java:[173,49] cannot find 
>>> symbol
>>> [ERROR]   symbol:   variable PackageVersion
>>> [ERROR]   location: class tools.jackson.core.json.JsonGeneratorBase
>>> [ERROR] /build/reproducible-path/jackson-core-3.0.0/src/main/java/ 
>>> tools/ jackson/core/json/JsonFactory.java:[258,16] cannot find symbol
>>> [ERROR]   symbol:   variable PackageVersion
>>> [ERROR]   location: class tools.jackson.core.json.JsonFactory
>>> [ERROR] -> [Help 1]
>>>
>>> I have no idea to fix it. Any hint helps
>>
>> I started from your repository and changed the name of the version 
>> file in debian/rules, from
>> VERSION_FILE=src/main/java/com/fasterxml/jackson/core/json/ 
>> PackageVersion.java
>> to
>> VERSION_FILE=src/main/java/tools/jackson/core/json/PackageVersion.java
> 
> This works. I only found a file PackageVersion.java.in and didn't know 
> that I have to use it in this way.
> 
>> Then the Java build is OK but there is a failure in dh_builddeb:
>>     dh_builddeb
>> dpkg-deb: error: parsing file 'debian/libjackson2-core-java/DEBIAN/ 
>> control' near line 7 package 'libjackson2-core-java':
>>   'Depends' field, reference to 'libfastdoubleparser-java': version 
>> '=': version number does not start with digit
>>
>> No idea why a version number of "=" lands in
>>      debian/libjackson2-core-java/DEBIAN/control
>> this is very weird.
> 
> That is also wired for me. I also tested to set a min version into 
> debian/control. But I get the same error message.
> 
> I updated my repo at salsa.debian.org/mechtilde/jackson-core
> 
> Maybe some other people have some ideas.
> 
>>> Regards
>>>
>>> Mechtilde
>>
>> All the best,
>>
> 
> Regards
> 

-- 
Mechtilde Stehmann
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

Building jackson-core 3.0.0 Mechtilde Stehmann <mechtilde@debian.org> - 2025-10-18 19:00 +0200
  Re: Building jackson-core 3.0.0 Mechtilde Stehmann <mechtilde@debian.org> - 2025-10-19 11:50 +0200
    Re: Building jackson-core 3.0.0 Mechtilde Stehmann <mechtilde@debian.org> - 2025-10-19 12:50 +0200

csiph-web