nilp0inter / autofirma-nix

Integración de AutoFirma y herramientas relacionadas en Nix/NixOS
MIT License
16 stars 3 forks source link

Issue building for release `24.05` #34

Open palas opened 3 weeks ago

palas commented 3 weeks ago

I am getting this issue when using the commented out config for 24.05 in the readme:

$ nix log /nix/store/x1z1yw6fhd3g0i8f9mlvslzjigpa43ag-clienteafirma-external-m2-repository-f450ac76094ffe387f6590b9ac61b5ada5a501e7.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/x1z1yw6fhd3g0i8f9mlvslzjigpa43ag-clienteafirma-external-m2-repository-f450ac76094ffe387f6590b9ac61b5ada5a501e7.drv^*'
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/7c2v8isnw07s5zkh5f96562c49dv1sf6-clienteafirma-external-src
source root is clienteafirma-external-src
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] support-libraries                                                  [pom]
[INFO] afirma-lib-oro                                                     [jar]
[INFO] afirma-lib-jmimemagic                                              [jar]
[INFO] afirma-lib-juniversalchardet                                       [jar]
[INFO] afirma-lib-itext                                                   [jar]
[INFO] afirma-lib-itext-android                                           [jar]
[INFO] 
[INFO] ----------------< es.gob.afirma.lib:support-libraries >-----------------
[INFO] Building support-libraries f450ac76094ffe387f6590b9ac61b5ada5a501e7-autofirma-nix [1/6]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] ------------------< es.gob.afirma.lib:afirma-lib-oro >------------------
[INFO] Building afirma-lib-oro f450ac76094ffe387f6590b9ac61b5ada5a501e7-autofirma-nix [2/6]
[INFO]   from afirma-lib-oro/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-surefire-plugin:jar:3.2.5 is missing, no dependency information availab>
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for support-libraries f450ac76094ffe387f6590b9ac61b5ada5a501e7-autofirma-nix:
[INFO] 
[INFO] support-libraries .................................. SUCCESS [  0.002 s]
[INFO] afirma-lib-oro ..................................... FAILURE [  0.075 s]
[INFO] afirma-lib-jmimemagic .............................. SKIPPED
[INFO] afirma-lib-juniversalchardet ....................... SKIPPED
[INFO] afirma-lib-itext ................................... SKIPPED
[INFO] afirma-lib-itext-android ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.197 s
[INFO] Finished at: 2024-10-28T13:12:34Z
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:3.2.5 or one of its dependencies could not be resolved:
[ERROR]         Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.mav>
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

The unstable one compiles fine, but then it doesn't detect the DNIe reader (while Firefox does)

nilp0inter commented 3 weeks ago

Could you please share the input section of your flake to try to reproduce the error?