all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tracker & Gnome
@ 2018-10-08  5:45 Brett Gilio
  2018-10-08 10:30 ` Nils Gillmann
  0 siblings, 1 reply; 12+ messages in thread
From: Brett Gilio @ 2018-10-08  5:45 UTC (permalink / raw)
  To: guix-devel@gnu.org

Hi all.

I am still fairly new to the concept of packaging for Guix. I 
also, from
time to time, enjoy hacking on GNOME components. One of the 
components
that I am currently lacking is tracker-sparql-2.0. I am pretty 
certain
this is due to the tracker package being out-of-date. Do you all 
have
any insights on how I could go about upgrading this component in 
the
gnome package? Is there perhaps a reason why it has not been 
upgraded,
stability or such?

Best


-- 
Brett M. Gilio
Free Software Foundation, Member
https://parabola.nu | https://emacs.org

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08  5:45 Tracker & Gnome Brett Gilio
@ 2018-10-08 10:30 ` Nils Gillmann
  2018-10-08 13:50   ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Nils Gillmann @ 2018-10-08 10:30 UTC (permalink / raw)
  To: Brett Gilio; +Cc: guix-devel@gnu.org

Brett Gilio transcribed 560 bytes:
> Hi all.
> 
> I am still fairly new to the concept of packaging for Guix. I also, from
> time to time, enjoy hacking on GNOME components. One of the components
> that I am currently lacking is tracker-sparql-2.0. I am pretty certain
> this is due to the tracker package being out-of-date. Do you all have
> any insights on how I could go about upgrading this component in the
> gnome package? Is there perhaps a reason why it has not been upgraded,
> stability or such?
> 
> Best
> 
> 
> -- 
> Brett M. Gilio
> Free Software Foundation, Member
> https://parabola.nu | https://emacs.org
> 

A comment in the sqlite gnu/packages module shows that Tracker depends
on a variant of sqlite. It could be that newer Tracker depends on a
newer sqlite. This sqlite update would be updated in core-updates.
I have updates for fossil which also depend on newer versions of
sqlite.
You can chery-pick the sqlite update from core-updates if you
want or add it to a channel. fwiw, I have 2.25.2 and a flavor
with fts5+fts3 here for the fossil 2.7 series, works alright.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 10:30 ` Nils Gillmann
@ 2018-10-08 13:50   ` Ludovic Courtès
  2018-10-08 19:42     ` Brett Gilio
  2018-10-08 20:30     ` Ricardo Wurmus
  0 siblings, 2 replies; 12+ messages in thread
From: Ludovic Courtès @ 2018-10-08 13:50 UTC (permalink / raw)
  To: Brett Gilio; +Cc: guix-devel@gnu.org

Hello Brett,

To complete what Nils wrote, Tracker is indeed lagging behind on master:

--8<---------------cut here---------------start------------->8---
$ guix refresh tracker
gnu/packages/gnome.scm:5715:13: tracker would be upgraded from 1.12.3 to 2.0.4
--8<---------------cut here---------------end--------------->8---

You could try upgrading it and see what happens.

In fact, I see that Ricardo upgraded Tracker in ‘wip-gnome-updates’:

  https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome-upgrades&id=dd9110df3ad1efaf5cf716f6be5b710b5d348400

Ricardo, do you think we could cherry-pick it on ‘master’?  ‘guix
refresh -l tracker’ shows only 4 dependent packages.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 13:50   ` Ludovic Courtès
@ 2018-10-08 19:42     ` Brett Gilio
  2018-10-08 19:50       ` Björn Höfling
  2018-10-08 19:57       ` Leo Famulari
  2018-10-08 20:30     ` Ricardo Wurmus
  1 sibling, 2 replies; 12+ messages in thread
From: Brett Gilio @ 2018-10-08 19:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel@gnu.org


Ludovic Courtès writes:

> Hello Brett,
>
> To complete what Nils wrote, Tracker is indeed lagging behind on 
> master:
>
> --8<---------------cut 
> here---------------start------------->8---
> $ guix refresh tracker
> gnu/packages/gnome.scm:5715:13: tracker would be upgraded from 
> 1.12.3 to 2.0.4
> --8<---------------cut 
> here---------------end--------------->8---
>
> You could try upgrading it and see what happens.
>
> In fact, I see that Ricardo upgraded Tracker in 
> ‘wip-gnome-updates’:
>
>   https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome-upgrades&id=dd9110df3ad1efaf5cf716f6be5b710b5d348400
>
> Ricardo, do you think we could cherry-pick it on ‘master’? 
> ‘guix
> refresh -l tracker’ shows only 4 dependent packages.
>
> Thanks,
> Ludo’.

Hi Ludo,

Thank you for your insight.

I tried passing guix refresh -u tracker to the terminal and am 
getting
this output

guix refresh: error: mkstemp!: Read-only file system

I am going to try and dissect this from the documentation, but I 
wanted
to pass it along.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 19:42     ` Brett Gilio
@ 2018-10-08 19:50       ` Björn Höfling
  2018-10-08 19:53         ` Brett Gilio
  2018-10-08 19:57       ` Leo Famulari
  1 sibling, 1 reply; 12+ messages in thread
From: Björn Höfling @ 2018-10-08 19:50 UTC (permalink / raw)
  To: Brett Gilio; +Cc: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1825 bytes --]

On Mon, 08 Oct 2018 14:42:31 -0500
Brett Gilio <brettg@posteo.net> wrote:

> Ludovic Courtès writes:
> 
> > Hello Brett,
> >
> > To complete what Nils wrote, Tracker is indeed lagging behind on 
> > master:
> >
> > --8<---------------cut 
> > here---------------start------------->8---
> > $ guix refresh tracker
> > gnu/packages/gnome.scm:5715:13: tracker would be upgraded from 
> > 1.12.3 to 2.0.4
> > --8<---------------cut 
> > here---------------end--------------->8---
> >
> > You could try upgrading it and see what happens.
> >
> > In fact, I see that Ricardo upgraded Tracker in 
> > ‘wip-gnome-updates’:
> >
> >   https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome-upgrades&id=dd9110df3ad1efaf5cf716f6be5b710b5d348400
> >
> > Ricardo, do you think we could cherry-pick it on ‘master’? 
> > ‘guix
> > refresh -l tracker’ shows only 4 dependent packages.
> >
> > Thanks,
> > Ludo’.  
> 
> Hi Ludo,
> 
> Thank you for your insight.
> 
> I tried passing guix refresh -u tracker to the terminal and am 
> getting
> this output
> 
> guix refresh: error: mkstemp!: Read-only file system
> 

Hi Brett,

it looks like you are trying this with the "installed" guix. But you
need to go from the checked out git repository. You will find
instructions here:

https://www.gnu.org/software/guix/manual/en/html_node/Building-from-Git.html#Building-from-Git

Basicly, you git clone the sources. Then with

guix environment guix

you enter an environment with all dev dependencies for Guix.

Then you can build it with

./bootstrap && ./configure --localstatedir=/var && make

Finally, execute guix from source:

./pre-inst-env guix refresh -u

After that, you will find local changes and you can check and prepare
the patch.

Björn


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 19:50       ` Björn Höfling
@ 2018-10-08 19:53         ` Brett Gilio
  0 siblings, 0 replies; 12+ messages in thread
From: Brett Gilio @ 2018-10-08 19:53 UTC (permalink / raw)
  To: Björn Höfling; +Cc: guix-devel@gnu.org


Björn Höfling writes:

> On Mon, 08 Oct 2018 14:42:31 -0500
> Brett Gilio <brettg@posteo.net> wrote:
>
>> Ludovic Courtès writes:
>> 
>> > Hello Brett,
>> >
>> > To complete what Nils wrote, Tracker is indeed lagging behind 
>> > on 
>> > master:
>> >
>> > --8<---------------cut 
>> > here---------------start------------->8---
>> > $ guix refresh tracker
>> > gnu/packages/gnome.scm:5715:13: tracker would be upgraded 
>> > from 
>> > 1.12.3 to 2.0.4
>> > --8<---------------cut 
>> > here---------------end--------------->8---
>> >
>> > You could try upgrading it and see what happens.
>> >
>> > In fact, I see that Ricardo upgraded Tracker in 
>> > ‘wip-gnome-updates’:
>> >
>> >   https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome-upgrades&id=dd9110df3ad1efaf5cf716f6be5b710b5d348400
>> >
>> > Ricardo, do you think we could cherry-pick it on ‘master’? 
>> > ‘guix
>> > refresh -l tracker’ shows only 4 dependent packages.
>> >
>> > Thanks,
>> > Ludo’.  
>> 
>> Hi Ludo,
>> 
>> Thank you for your insight.
>> 
>> I tried passing guix refresh -u tracker to the terminal and am 
>> getting
>> this output
>> 
>> guix refresh: error: mkstemp!: Read-only file system
>> 
>
> Hi Brett,
>
> it looks like you are trying this with the "installed" guix. But 
> you
> need to go from the checked out git repository. You will find
> instructions here:
>
> https://www.gnu.org/software/guix/manual/en/html_node/Building-from-Git.html#Building-from-Git
>
> Basicly, you git clone the sources. Then with
>
> guix environment guix
>
> you enter an environment with all dev dependencies for Guix.
>
> Then you can build it with
>
> ./bootstrap && ./configure --localstatedir=/var && make
>
> Finally, execute guix from source:
>
> ./pre-inst-env guix refresh -u
>
> After that, you will find local changes and you can check and 
> prepare
> the patch.
>
> Björn

Thank you for the information, Bjorn. That makes more sense. I 
will get
back to you with the result of the changes ASAP.

Brett

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 19:42     ` Brett Gilio
  2018-10-08 19:50       ` Björn Höfling
@ 2018-10-08 19:57       ` Leo Famulari
  1 sibling, 0 replies; 12+ messages in thread
From: Leo Famulari @ 2018-10-08 19:57 UTC (permalink / raw)
  To: Brett Gilio; +Cc: guix-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]

On Mon, Oct 08, 2018 at 02:42:31PM -0500, Brett Gilio wrote:
> I tried passing guix refresh -u tracker to the terminal and am getting
> this output
> 
> guix refresh: error: mkstemp!: Read-only file system
> 
> I am going to try and dissect this from the documentation, but I wanted
> to pass it along.

Basically, you need to set up a Guix development environment [0] and then
run the command like this:

------
$ ./pre-inst-env guix refresh -u tracker
Starting download of /tmp/guix-file.ghBCjA
From http://ftp.belnet.be/ftp.gnome.org/sources/tracker/2.0/tracker-2.0.4.tar.xz...
download failed "http://ftp.belnet.be/ftp.gnome.org/sources/tracker/2.0/tracker-2.0.4.tar.xz" 404 "Not Found"

Starting download of /tmp/guix-file.ghBCjA
From http://ftp.linux.org.uk/mirrors/ftp.gnome.org/sources/tracker/2.0/tracker-2.0.4.tar.xz...
download failed "http://ftp.linux.org.uk/mirrors/ftp.gnome.org/sources/tracker/2.0/tracker-2.0.4.tar.xz" 404 "Not Found"

Starting download of /tmp/guix-file.ghBCjA
From http://ftp.gnome.org/pub/GNOME/sources/tracker/2.0/tracker-2.0.4.tar.xz...
 …0.4.tar.xz  2.5MiB                  1.6MiB/s 00:02 [##################] 100.0%
gnu/packages/gnome.scm:5715:13: tracker: updating from version 1.12.3 to version 2.0.4...
------

[0] See sections Building from Git and Running Guix Before It Is Installed:
https://www.gnu.org/software/guix/manual/en/html_node/Contributing.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 13:50   ` Ludovic Courtès
  2018-10-08 19:42     ` Brett Gilio
@ 2018-10-08 20:30     ` Ricardo Wurmus
  2018-10-08 22:02       ` Brett Gilio
  1 sibling, 1 reply; 12+ messages in thread
From: Ricardo Wurmus @ 2018-10-08 20:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel@gnu.org


Ludovic Courtès <ludo@gnu.org> writes:

> In fact, I see that Ricardo upgraded Tracker in ‘wip-gnome-updates’:
>
>   https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome-upgrades&id=dd9110df3ad1efaf5cf716f6be5b710b5d348400
>
> Ricardo, do you think we could cherry-pick it on ‘master’?  ‘guix
> refresh -l tracker’ shows only 4 dependent packages.

That branch was supposed to be merged right after “core-updates”.  I
originally thought this would happen a little sooner, but we’re still
waiting for “core-updates” to be merged into “master”.

It’s fine to cherry-pick it, but ideally we would merge the whole
branch.

--
Ricardo

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 20:30     ` Ricardo Wurmus
@ 2018-10-08 22:02       ` Brett Gilio
  2018-10-09  6:29         ` Ricardo Wurmus
  0 siblings, 1 reply; 12+ messages in thread
From: Brett Gilio @ 2018-10-08 22:02 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel@gnu.org


Ricardo Wurmus writes:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> In fact, I see that Ricardo upgraded Tracker in 
>> ‘wip-gnome-updates’:
>>
>>   https://git.savannah.gnu.org/cgit/guix.git/commit/?h=wip-gnome-upgrades&id=dd9110df3ad1efaf5cf716f6be5b710b5d348400
>>
>> Ricardo, do you think we could cherry-pick it on ‘master’? 
>> ‘guix
>> refresh -l tracker’ shows only 4 dependent packages.
>
> That branch was supposed to be merged right after 
> “core-updates”.  I
> originally thought this would happen a little sooner, but we’re 
> still
> waiting for “core-updates” to be merged into “master”.
>
> It’s fine to cherry-pick it, but ideally we would merge the 
> whole
> branch.

I'm not sure it is possible to cherry pick it, unless I am getting
something wrong. When I refresh tracker and try to build it using 
guix
build it is throwing a build error.

/gnu/store/wyf1zrn2skakkc9indjz30v6lgc2zq2c-module-import/guix/build/utils.scm:616:6: 
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error 
[program: "make" arguments: ("-j" "8" 
"gtk_update_icon_cache=true") exit-status: 2 term-signal: #f 
stop-signal: #f] a07fc0>)'.
builder for 
`/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv' 
failed with exit code 1
build of 
/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv 
failed
View build log at 
'/var/log/guix/drvs/bm/bs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv.bz2'.
guix build: error: build failed: build of 
`/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv' 
failed

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-08 22:02       ` Brett Gilio
@ 2018-10-09  6:29         ` Ricardo Wurmus
  2018-10-09 21:22           ` Brett Gilio
  0 siblings, 1 reply; 12+ messages in thread
From: Ricardo Wurmus @ 2018-10-09  6:29 UTC (permalink / raw)
  To: Brett Gilio; +Cc: guix-devel@gnu.org


Hi Brett,

> I'm not sure it is possible to cherry pick it, unless I am getting
> something wrong. When I refresh tracker and try to build it using guix
> build it is throwing a build error.
>
> /gnu/store/wyf1zrn2skakkc9indjz30v6lgc2zq2c-module-import/guix/build/utils.scm:616:6:
> In procedure invoke:
> Throw to key `srfi-34' with args `(#<condition &invoke-error [program:
> "make" arguments: ("-j" "8" "gtk_update_icon_cache=true") exit-status:
> 2 term-signal: #f stop-signal: #f] a07fc0>)'.
> builder for
> `/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv' failed
> with exit code 1
> build of /gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv
> failed
> View build log at
> '/var/log/guix/drvs/bm/bs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv.bz2'.
> guix build: error: build failed: build of
> `/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv' failed

The interesting part is right before this backtrace.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-09  6:29         ` Ricardo Wurmus
@ 2018-10-09 21:22           ` Brett Gilio
  2018-10-11 19:29             ` Ricardo Wurmus
  0 siblings, 1 reply; 12+ messages in thread
From: Brett Gilio @ 2018-10-09 21:22 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel@gnu.org


Ricardo Wurmus writes:
> The interesting part is right before this backtrace.

Thank you for the insight Ricardo. Here is the first iteration of 
an
error and the backtrace.

/gnu/store/rbrandv7anzjxqkr40d7fkanzssslk4b-bash-minimal-4.4.19/bin/bash: 
../../utils/g-ir-merge/g-ir-merge: /usr/bin/env: bad interpreter: 
No such file or directory
make[3]: *** [Makefile:851: Tracker-2.0.gir] Error 126
make[3]: Leaving directory 
'/tmp/guix-build-tracker-2.0.4.drv-0/tracker-2.0.4/src/libtracker-sparql-backend'
make[2]: *** [Makefile:493: all-recursive] Error 1
make[2]: Leaving directory 
'/tmp/guix-build-tracker-2.0.4.drv-0/tracker-2.0.4/src'
make[1]: *** [Makefile:1061: all-recursive] Error 1
make[1]: Leaving directory 
'/tmp/guix-build-tracker-2.0.4.drv-0/tracker-2.0.4'
make: *** [Makefile:787: all] Error 2
Backtrace:
           4 (primitive-load 
           "/gnu/store/zky7vlqj2ym3whln3iwng5klvf3…")
In ice-9/eval.scm:
   191:35  3 (_ _)
In srfi/srfi-1.scm:
    640:9  2 (for-each #<procedure 97de80 at 
    /gnu/store/wyf1zrn2ska…> …)
In 
/gnu/store/wyf1zrn2skakkc9indjz30v6lgc2zq2c-module-import/guix/build/gnu-build-system.scm:
   799:31  1 (_ _)
In 
/gnu/store/wyf1zrn2skakkc9indjz30v6lgc2zq2c-module-import/guix/build/utils.scm:
    616:6  0 (invoke _ . _)

/gnu/store/wyf1zrn2skakkc9indjz30v6lgc2zq2c-module-import/guix/build/utils.scm:616:6: 
In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error 
[program: "make" arguments: ("-j" "8" 
"gtk_update_icon_cache=true") exit-status: 2 term-signal: #f 
stop-signal: #f] 9c6fc0>)'.
builder for 
`/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv' 
failed with exit code 1
build of 
/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv 
failed
View build log at 
'/var/log/guix/drvs/bm/bs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv.bz2'.
guix build: error: build failed: build of 
`/gnu/store/bmbs64z3xz0w4ygmj3qcz31dxqmnamvr-tracker-2.0.4.drv' 
failed


--- I see a few things here, a missing interpreter (or possibly 
    missing
    environment variable from bash-minimal?) I tried installing
    bash-mininal in my build environment, but that didn't seem to
    resolve anything as I expected it wouldn't.

    However, upon looking into the configuring step of tracker's 
    build,
    I notice that things look fine there.

Thoughts?

Best


-- 
Brett M. Gilio
Free Software Foundation, Member
https://gnu.org/s/guix/ | https://emacs.org

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Tracker & Gnome
  2018-10-09 21:22           ` Brett Gilio
@ 2018-10-11 19:29             ` Ricardo Wurmus
  0 siblings, 0 replies; 12+ messages in thread
From: Ricardo Wurmus @ 2018-10-11 19:29 UTC (permalink / raw)
  To: Brett Gilio; +Cc: guix-devel@gnu.org


Brett Gilio <brettg@posteo.net> writes:

> ../../utils/g-ir-merge/g-ir-merge: /usr/bin/env: bad interpreter: No
> such file or directory

“g-ir-merge” uses /usr/bin/env as an interpreter to run some other
command in the shebang line.  Guix will usually replace “/usr/bin/env”
shebangs when the other command is available.

Take a look at the shebang line to figure out what command that is and
add it to the inputs.

-- 
Ricardo

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-10-11 19:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08  5:45 Tracker & Gnome Brett Gilio
2018-10-08 10:30 ` Nils Gillmann
2018-10-08 13:50   ` Ludovic Courtès
2018-10-08 19:42     ` Brett Gilio
2018-10-08 19:50       ` Björn Höfling
2018-10-08 19:53         ` Brett Gilio
2018-10-08 19:57       ` Leo Famulari
2018-10-08 20:30     ` Ricardo Wurmus
2018-10-08 22:02       ` Brett Gilio
2018-10-09  6:29         ` Ricardo Wurmus
2018-10-09 21:22           ` Brett Gilio
2018-10-11 19:29             ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.