hboutemy opened a new pull request, #189:
URL: https://github.com/apache/maven-artifact-plugin/pull/189

   currently, missing reference files are reported as "size mismatch" with a 
`diffoscope` command that does not have any meaning
   
   ```
   [INFO] --- artifact:3.6.0:compare (default-cli) @ gson-extras ---
   [INFO] Reference buildinfo file not found: it will be generated from 
downloaded reference artifacts
   [WARNING] Reference artifact not found 
com.google.code.gson:gson-extras:pom:2.13.2
   [WARNING] Reference artifact not found 
com.google.code.gson:gson-extras:jar:2.13.2
   [WARNING] Reference artifact not found 
com.google.code.gson:gson-extras:jar:sources:2.13.2
   [INFO] Minimal buildinfo generated from downloaded artifacts: 
/tmp/gson-2.13.2/extras/target/reference/gson-extras-2.13.2.buildinfo
   [ERROR] size mismatch gson-extras-2.13.2.pom: investigate with diffoscope 
extras/target/reference/com.google.code.gson/gson-extras-2.13.2.pom 
extras/pom.xml
   [ERROR] size mismatch gson-extras-2.13.2.jar: investigate with diffoscope 
extras/target/reference/com.google.code.gson/gson-extras-2.13.2.jar 
extras/target/gson-extras-2.13.2.jar
   [ERROR] size mismatch gson-extras-2.13.2-sources.jar: investigate with 
diffoscope 
extras/target/reference/com.google.code.gson/gson-extras-2.13.2-sources.jar 
extras/target/gson-extras-2.13.2-sources.jar
   [ERROR] Reproducible Build output summary: 0 files ok, 3 different
   [ERROR] see diff extras/target/reference/gson-extras-2.13.2.buildinfo 
extras/target/gson-extras-2.13.2.buildinfo
   [ERROR] see also 
https://maven.apache.org/guides/mini/guide-reproducible-builds.html
   [INFO] Reproducible Build output comparison saved to 
/tmp/gson-2.13.2/extras/target/gson-extras-2.13.2.buildcompare
   [INFO] Aggregate buildcompare copied to 
/tmp/gson-2.13.2/target/gson-parent-2.13.2.buildcompare
   ```
   
   much more useful to explicit missing reference file with info of the missing 
file in remote repository and where the file has been produced in the rebuild:
   
   ```
   ERROR] missing reference file mismatch gson-extras-2.13.2.pom: investigate 
with wget 
https://repo.maven.apache.org/maven2/com/google/code/gson/gson-extras/2.13.2/gson-extras-2.13.2.pom;
 ls -l extras/pom.xml
   [ERROR] missing reference file mismatch gson-extras-2.13.2.jar: investigate 
with wget 
https://repo.maven.apache.org/maven2/com/google/code/gson/gson-extras/2.13.2/gson-extras-2.13.2.jar;
 ls -l extras/target/gson-extras-2.13.2.jar
   [ERROR] missing reference file mismatch gson-extras-2.13.2-sources.jar: 
investigate with wget 
https://repo.maven.apache.org/maven2/com/google/code/gson/gson-extras/2.13.2/gson-extras-2.13.2-sources.jar;
 ls -l extras/target/gson-extras-2.13.2-sources.jar
   [ERROR] [Reproducible Builds] rebuild comparison result: 0 files match, 3 
differ, 3 missing
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to