bug#63068: What I was trying to do

2023-05-05 Thread Simon Tournier
Hi,

A quick answer for one specific question. :-)

On Fri, 5 May 2023 at 08:32, Giovanni Biscuolo  wrote:

> How can I "force" the build of a package already stored in /gnu/store?

See option --check.

For the rest, I will give a look later, but do not hold your breathe. ;-)

Cheers,
simon





bug#63068: What I was trying to do

2023-05-04 Thread Giovanni Biscuolo
Hello Julian and Simon,

I'm trying to test this patch but I find a problem with package version
specification

Simon Tournier  writes:

> Hi,
>
> On Fri, 28 Apr 2023 at 22:36, Julian Flake  wrote:
>
>> $ guix shell --with-version=maven=3.9.1 maven

If I try to _build_ maven with my current guix specifying a version I
get this:

--8<---cut here---start->8---

$ LC_ALL=C guix build -n --no-substitutes maven --with-version=maven=3.8.6
guix build: warning: could not find version 3.8.6 of 'maven' upstream
The following derivations would be built:

--8<---cut here---end--->8---

Am I doing something wrong?

> Just to be sure, are you using the Guix where you applied the patch?
>
> I mean, from the Guix repository where you applied you patch, I am
> expecting:
>
> $ ./pre-inst-env guix shell --with-version=maven=3.9.1 maven

I applied the patch and in my guix dev env I try to build maven:

--8<---cut here---start->8---

giovanni@roquette [genv]\:  ./pre-inst-env guix build -n --no-substitutes maven
/gnu/store/9cx7sijbc9n1fvq528qysh33v6aqb3d9-maven-3.8.6

--8<---cut here---end--->8---

How can I "force" the build of a package already stored in /gnu/store?

Obviously building with --with-version does not work here, also:

--8<---cut here---start->8---

giovanni@roquette [genv]\: ./pre-inst-env guix build -n --no-substitutes maven 
--with-version=maven=3.8.6
guix build: warning: could not find version 3.8.6 of 'maven' upstream
/gnu/store/9cx7sijbc9n1fvq528qysh33v6aqb3d9-maven-3.8.6

--8<---cut here---end--->8---

[...]

What am I missing?

Thanks! Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures


signature.asc
Description: PGP signature


bug#63068: What I was trying to do

2023-05-03 Thread Julian Flake

Hi,


$ guix shell --with-version=maven=3.9.1 maven


Just to be sure, are you using the Guix where you applied the 
patch?


No, the proposed patch is just an untested guess. I didn't test 
the patch yet, because I didn't manage to build (make) my guix 
working copy yet.


Best Regards,
Julian

On Wed, May 03 2023, Simon Tournier wrote:


Hi,

On Fri, 28 Apr 2023 at 22:36, Julian Flake 
 wrote:



$ guix shell --with-version=maven=3.9.1 maven


Just to be sure, are you using the Guix where you applied the 
patch?


I mean, from the Guix repository where you applied you patch, I 
am

expecting:

$ ./pre-inst-env guix shell --with-version=maven=3.9.1 maven

If that’s the case, it means the issue is elsewhere. :-)

Cheers,
simon



--
Dipl.-Inf. Julian Flake

Universität Koblenz
Fachbereich Informatik
Institut für Softwaretechnik
Postfach 20 16 02 | D-56016 Koblenz

Tel.: +49 261 287 2787
E-Mail: fl...@uni-koblenz.de
Website: https://www.uni-koblenz.de/~flake





bug#63068: What I was trying to do

2023-05-03 Thread Simon Tournier
Hi,

On Fri, 28 Apr 2023 at 22:36, Julian Flake  wrote:

> $ guix shell --with-version=maven=3.9.1 maven

Just to be sure, are you using the Guix where you applied the patch?

I mean, from the Guix repository where you applied you patch, I am
expecting:

$ ./pre-inst-env guix shell --with-version=maven=3.9.1 maven

If that’s the case, it means the issue is elsewhere. :-)

Cheers,
simon





bug#63068: What I was trying to do

2023-04-28 Thread Julian Flake

What I tried is

$ guix shell --with-version=maven=3.9.1 maven

(or any other version that exists) and got:

guix shell: warning: could not find version 3.9.1 of 'maven' 
upstream


The patch above resolves the origin uri in gnu/packages/maven.scm 
(definition of maven-pom) to something available, 
e.g. https://dlcdn.apache.org/maven/maven-3/3.9.1/source/apache-maven-3.9.1-src.tar.gz