Bug 11253 - f-spot, personal photo management application for the GNOME desktop
Summary: f-spot, personal photo management application for the GNOME desktop
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: New RPM package request (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 12778
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-18 10:44 CEST by Benjamin Leduc
Modified: 2022-05-08 15:29 CEST (History)
8 users (show)

See Also:
Source RPM: f-spot
CVE:
Status comment:


Attachments
build log (27.68 KB, text/plain)
2014-07-23 16:27 CEST, Barry Jackson
Details
hyena patch (2.89 KB, text/plain)
2014-07-23 19:09 CEST, Barry Jackson
Details
mk-tar script (723 bytes, text/plain)
2014-07-23 22:56 CEST, Barry Jackson
Details
build log (41.84 KB, text/plain)
2014-07-24 15:17 CEST, Barry Jackson
Details
Build log for current master (0.8.0 rev369) (25.29 KB, text/plain)
2014-12-21 16:48 CET, Barry Jackson
Details
rpm -qa in build chroot (17.77 KB, text/plain)
2014-12-21 16:51 CET, Barry Jackson
Details
mk-tar-git-rev (1.38 KB, text/plain)
2014-12-21 17:00 CET, Barry Jackson
Details
Build log with new dbus-sharp* (25.94 KB, text/plain)
2015-07-09 12:37 CEST, Barry Jackson
Details
crash report (3.31 KB, text/plain)
2015-07-09 14:46 CEST, Barry Jackson
Details
terminal output from f-spot --debug (10.08 KB, text/plain)
2015-07-09 18:34 CEST, Barry Jackson
Details
mono-flickrnet build log (12.81 KB, text/plain)
2016-01-28 20:56 CET, Barry Jackson
Details
output from $ f-spot --debug (2.82 KB, text/plain)
2016-01-30 22:08 CET, Barry Jackson
Details

Description Benjamin Leduc 2013-09-18 10:44:54 CEST
Description of problem:

The program F-spot isn't availlable on mageia3 


Version-Release number of selected component (if applicable):


How reproducible:
(not applicable)

Steps to Reproduce:
1.
2.
3.

Sources can be find here: http://f-spot.org/ 

Thanks in advence 

Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2013-09-18 12:07:28 CEST
it was present in mageia 1 and then removed, iirc it is not maintained anymore by upstream, and as you can see here: https://bugs.mageia.org/buglist.cgi?quicksearch=ALL%20f-spot&list_id=14131 there was some bugs

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED

Comment 2 AL13N 2013-09-18 13:49:41 CEST
if it's not maintained anymore by upstream, is there an alternative?

and afaict, it was still in mga2.

if upstream is dead, then wontfix is ok, but maybe an alternative would be nice to know.

CC: (none) => alien

Comment 3 Manuel Hiebel 2013-09-18 13:57:21 CEST
shotwell ?
Comment 4 Stephen Shaw 2013-09-18 15:17:33 CEST
f-spot isn't dead yet. Mostly dead right now, but I'm still working on it and have a hackfest coming up in October. In fact, we have had 2 gsoc students adding two new features. Integrated ability to edit RAW outside of f-spot (have f-spot consume the result) and tagging faces in f-spot. I'm not sure if the face recognition stuff was completely finished.

CC: (none) => sshaw

Comment 5 AL13N 2013-09-18 21:12:58 CEST
thanks for the comment...

i'm afraid we've had some bugs on our own, and not a package maintainer to follow up on them.

after seeing the huge number of open bugs and last code commit being may (not counting translations), it looked like it was dead-ish.

since it isn't dead, it can possibly be revived on Mageia if we have a package maintainer for it. ie: a contact person for the bugs and someone to handle the packaging... since this is still on our svn, the packaging will not likely be the biggest problem.

if anyone is willing to step up, grab this package, fix it's bugs (and/or speak with upstream), then i'm sure it can be revived.
Comment 6 Marja Van Waes 2013-09-18 21:37:36 CEST
(In reply to Stephen Shaw from comment #4)
> f-spot isn't dead yet. Mostly dead right now, but I'm still working on it
> and have a hackfest coming up in October. In fact, we have had 2 gsoc
> students adding two new features. Integrated ability to edit RAW outside of
> f-spot (have f-spot consume the result) and tagging faces in f-spot. I'm not
> sure if the face recognition stuff was completely finished.

Thx, so reopening this ticket.

It'll be for cauldron, though, if someone grabs it.

I don't think it is useful to reopen the Mageia 2 f-spot bugs, because Mageia 2's EOL will be end of November.

Severity: normal => enhancement
Version: 3 => Cauldron
Resolution: WONTFIX => (none)
Source RPM: (none) => f-spot
Status: RESOLVED => REOPENED
CC: (none) => marja11

Comment 7 Barry Jackson 2013-09-19 01:51:13 CEST
I took a look at this and created a libtoolized tarball from current git master.

It now configures OK but build fails:
http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/core/release/log/f-spot-0.9.0-0.6551.1.mga4.src.rpm/build.0.20130918233557.log

If anyone can figure it out, my current (WIP) SRPM is here:
http://mtf.no-ip.co.uk/pub/linux/barjac/tests/f-spot-0.9.0-0.6551.1.mga4.src.rpm

It probably needs an upstream bug report.

CC: (none) => zen25000

Comment 8 Matthieu Nguyen 2014-07-09 09:59:10 CEST
(In reply to Barry Jackson from comment #7)
> I took a look at this and created a libtoolized tarball from current git
> master.
> 
> It now configures OK but build fails:
> http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/core/release/
> log/f-spot-0.9.0-0.6551.1.mga4.src.rpm/build.0.20130918233557.log
> 
> If anyone can figure it out, my current (WIP) SRPM is here:
> http://mtf.no-ip.co.uk/pub/linux/barjac/tests/f-spot-0.9.0-0.6551.1.mga4.src.
> rpm
> 
> It probably needs an upstream bug report.

This is an issue I've faced as well trying to compile from sources. There are a couple of changes required on the Makefiles and csproj (to declare the Mono.Cairo version 4.0.0 in the project files). I have been trying to find some time to work on a pull request and proper patch on 0.8.2. (Also would require an update of mono-flickrnet)

CC: (none) => nguyen.matthieu

Comment 9 AL13N 2014-07-09 22:22:29 CEST
i see lots of obsoleteness

FSpot.Exporters.Flickr/FlickrRemote.cs(60,16): error CS0246: The type or namespace name `LicenseCollection' could not be found. Are you missing an assembly reference?

^^ this looks like you're missing a package that gives LicenseCollection . well, perhaps you could remove flickr export? or find something that supplies this LicenseCollection...
Comment 10 Matthieu Nguyen 2014-07-10 00:15:03 CEST
LicenseCollection was added in the FlickrNet 3.0 API. So the Flickr Export plugin in F-Spot needs to be ported to the 3.0 API. Furthermore, Flickr recently changed their API URLS to use https-only, and flickrnet-3.13 is required in order to take the change into account...
Comment 11 Benjamin Leduc 2014-07-10 00:21:59 CEST
Hi all⦠

what about asking/telling the F-spot mailing list⦠if there is something wrong, the dev's may like to know â¦
Comment 12 Matthieu Nguyen 2014-07-10 00:31:05 CEST
(In reply to Benjamin Leduc from comment #11)
> Hi all⦠
> 
> what about asking/telling the F-spot mailing list⦠if there is something
> wrong, the dev's may like to know â¦

Incidentally, Stephen Shaw (Comment #4) is the lead, and I've been trying for some months to devote time to become a maintainer of F-Spot as well (mainly because I don't want to have to redo cataloguing and migrating a 25k pics library to another program). So... the devs are aware :)

For FlickrNet, I had opened a Bugzilla on mageia to request a backport of mono-flickrnet-3 over here: https://bugs.mageia.org/show_bug.cgi?id=12778
Comment 13 Matthieu Nguyen 2014-07-21 17:03:43 CEST
Hi. Small update. I've talked to Stephen Shaw. You should take your sources from https://github.com/mono/f-spot rather than git.gnome.org

I have a couple of pull requests there that are pending approval, and that should fix the compilation issues you had (I'm using MGA4 so I ran into the same compilation problems you did)
Matthieu Nguyen 2014-07-21 17:17:31 CEST

Depends on: (none) => 12778

Comment 14 Barry Jackson 2014-07-23 01:20:15 CEST
(In reply to Matthieu Nguyen from comment #13)
> Hi. Small update. I've talked to Stephen Shaw. You should take your sources
> from https://github.com/mono/f-spot rather than git.gnome.org
> 
> I have a couple of pull requests there that are pending approval, and that
> should fix the compilation issues you had (I'm using MGA4 so I ran into the
> same compilation problems you did)

I took a snapshot from your branch which I guess has your pull request changes in it and attempted to build a package using the temporary mono-flickrnet-3.13.0 package made from the binaries from upstream:

http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/log/f-spot-0.9.0-0.6606.1.mga5.src.rpm/build.0.20140722231032.log

Any ideas?
Comment 15 Matthieu Nguyen 2014-07-23 09:06:58 CEST
You need to apply the Hyena patch after the autogen.sh:

patch -p1 < external.patch

before running make.
Comment 16 Barry Jackson 2014-07-23 16:27:43 CEST
Created attachment 5309 [details]
build log

I'm currently using a tarball created from your git branch on which autogen.sh has been run with NOCONFIGURE=1, so that configure can be run during package build as normal.

The tarball is extracted in the package build and then patches are applied which is before configure.

Are you saying that the patch needs to be applied after configure? This would be the case if it was applied after autogen.sh without the NOCONFIGURE option.

Either way, on testing this I still get the same errors with or without the hyena patch when building for either Mga4 or for Cauldron.

(I re-diffed the patch after manually applying the changes as the original would not apply despite my best efforts ;)
Comment 17 Benjamin Leduc 2014-07-23 16:41:06 CEST
Is that normal that patch have to be applied on a git tarball?
Comment 18 Matthieu Nguyen 2014-07-23 17:01:00 CEST
(In reply to Barry Jackson from comment #16)
> Created attachment 5309 [details]
> build log
> 
> I'm currently using a tarball created from your git branch on which
> autogen.sh has been run with NOCONFIGURE=1, so that configure can be run
> during package build as normal.
> 
> The tarball is extracted in the package build and then patches are applied
> which is before configure.
> 
> Are you saying that the patch needs to be applied after configure? This
> would be the case if it was applied after autogen.sh without the NOCONFIGURE
> option.
> 
> Either way, on testing this I still get the same errors with or without the
> hyena patch when building for either Mga4 or for Cauldron.
> 
> (I re-diffed the patch after manually applying the changes as the original
> would not apply despite my best efforts ;)

Actually, my mistake. The patch has to be applied *before* configure, since it also impacts the Makefile.am, so you need the patch before the makefiles are generated.

The Hyena.Gui/Makefile should have the following line if the patching happened properly (note the sdk:4 flag):

ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4

(In reply to Benjamin Leduc from comment #17)
> Is that normal that patch have to be applied on a git tarball?

This is only a temporary solution, because f-spot makes a reference to a git submodule that has compilation problems with mageia 4 (and the patch is part of the tarball). It is intended to not need the patch anymore once transition to gtk3 will be complete and the submodule version can be updated to latest. I wanted to have the patch executed by autogen.sh itself, just didn't have time to put the change in yet... :/
Comment 19 Barry Jackson 2014-07-23 19:09:58 CEST
Created attachment 5310 [details]
hyena patch

No, that Makefile just has:
ASSEMBLY_BUILD_FLAGS = -unsafe
which is what is in the Makefile.in/am files.

Just to be sure that we are not at cross purposes I am attaching the hyena patch that I am using, which is a re-diff of https://raw.githubusercontent.com/GNOME/f-spot/master/hyena.patch
Comment 20 Matthieu Nguyen 2014-07-23 20:31:48 CEST
(In reply to Barry Jackson from comment #19)
> Created attachment 5310 [details]
> hyena patch
> 
> No, that Makefile just has:
> ASSEMBLY_BUILD_FLAGS = -unsafe
> which is what is in the Makefile.in/am files.
> 
> Just to be sure that we are not at cross purposes I am attaching the hyena
> patch that I am using, which is a re-diff of
> https://raw.githubusercontent.com/GNOME/f-spot/master/hyena.patch

Yeah, that doesn't look like it's coming from my branch :).

Here's what I put in my pull request and is pending approval by the lead dev: https://github.com/NguyenMatthieu/f-spot/blob/master/external.patch
Comment 21 Barry Jackson 2014-07-23 22:56:35 CEST
Created attachment 5313 [details]
mk-tar script

OK now we have the correct patch.

However it still does not create a Makefile with:
 ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4

The above does appear in the Makefile.am

I see these Makefile* files in Hyena.Gui (after configure and build fail):

Makefile                   ASSEMBLY_BUILD_FLAGS = -unsafe
Makefile.am                ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
Makefile.am.0000           ASSEMBLY_BUILD_FLAGS = -unsafe
Makefile.in                ASSEMBLY_BUILD_FLAGS = -unsafe

To confirm that the source tarball is not the issue, I am attaching the script I use to create it.

Attachment 5310 is obsolete: 0 => 1

Comment 22 Matthieu Nguyen 2014-07-23 23:00:48 CEST
(In reply to Barry Jackson from comment #21)
> Created attachment 5313 [details]
> mk-tar script
> 
> OK now we have the correct patch.
> 
> However it still does not create a Makefile with:
>  ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
> 
> The above does appear in the Makefile.am
> 
> I see these Makefile* files in Hyena.Gui (after configure and build fail):
> 
> Makefile                   ASSEMBLY_BUILD_FLAGS = -unsafe
> Makefile.am                ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4
> Makefile.am.0000           ASSEMBLY_BUILD_FLAGS = -unsafe
> Makefile.in                ASSEMBLY_BUILD_FLAGS = -unsafe
> 
> To confirm that the source tarball is not the issue, I am attaching the
> script I use to create it.

That's odd. The Makefile.in should be generated from the Makefile.am. I'll check what the autogen.sh is doing...
Comment 23 Barry Jackson 2014-07-23 23:05:26 CEST
Hang on please re-read #18 :)
Comment 24 Barry Jackson 2014-07-23 23:54:29 CEST
I don't see how the hyena patch can have any effect on the Makefile if the Makefile is created by autogen.sh, since the patch is applied *after* autogen.sh is run.
It cannot be applied before, IIUC  since the files to patch do not exist at that time. (as I have discovered) :\
Comment 25 Matthieu Nguyen 2014-07-24 00:14:47 CEST
(In reply to Barry Jackson from comment #24)
> I don't see how the hyena patch can have any effect on the Makefile if the
> Makefile is created by autogen.sh, since the patch is applied *after*
> autogen.sh is run.
> It cannot be applied before, IIUC  since the files to patch do not exist at
> that time. (as I have discovered) :\

Well, if you run autogen.sh with NOCONFIGURE then it shouldn't run the configure script, which is what creates the Makefile. So that should have worked.

Anyways, looks like the solution is to have the patch applied inside the autogen.sh itself, rather than after it. (Or, as a workaround, I suppose that running autogen.sh once, applying the patch, then running autogen.sh should do the trick, but this is starting to look reaaaaal ugly).

I'll update as soon as I have the code ready.
Comment 26 Barry Jackson 2014-07-24 01:21:35 CEST
I did try running autogen.sh in the spec, but then it... - Ah... I just realized why that failed. It was looking for .git but I had stripped it when making the tarball with --exclude-vcs :\
I may try that again tomorrow ;)
Comment 27 Matthieu Nguyen 2014-07-24 10:43:11 CEST
(In reply to Barry Jackson from comment #26)
> I did try running autogen.sh in the spec, but then it... - Ah... I just
> realized why that failed. It was looking for .git but I had stripped it when
> making the tarball with --exclude-vcs :\
> I may try that again tomorrow ;)

All right, I updated my master so that now the patch applies itself as part of the autogen.sh, right after the external git submodules are fetched. Things should work better now :)
Comment 28 Barry Jackson 2014-07-24 12:11:45 CEST
OK good, now I see ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4 is now in Makefile after configure, however build still fails.

Initial test show lots of warnings but only one error:

FSpot/GroupSelector.cs(466,4): error CS0171: Field `FSpot.GroupSelector.Box.bar' must be fully assigned before control leaves the constructor

All build logs:
http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/log/f-spot-0.9.0-0.6610.1.mga5.src.rpm/

(Now using mono-flickrnet from repos :)
Comment 29 Barry Jackson 2014-07-24 13:20:53 CEST
A build for Mga4 gets further, but chokes on lcms undefined symbols even when using lcms2 later version from Cauldron :\

http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/4/x86_64/log/f-spot-0.9.0-0.6610.1.mga4.src.rpm/build.0.20140724110024.log
Comment 30 Matthieu Nguyen 2014-07-24 13:45:39 CEST
(In reply to Barry Jackson from comment #29)
> A build for Mga4 gets further, but chokes on lcms undefined symbols even
> when using lcms2 later version from Cauldron :\
> 
> http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/4/x86_64/log/f-spot-0.9.0-0.
> 6610.1.mga4.src.rpm/build.0.20140724110024.log

(In reply to Barry Jackson from comment #28)
> OK good, now I see ASSEMBLY_BUILD_FLAGS = -unsafe -sdk:4 is now in Makefile
> after configure, however build still fails.
> 
> Initial test show lots of warnings but only one error:
> 
> FSpot/GroupSelector.cs(466,4): error CS0171: Field
> `FSpot.GroupSelector.Box.bar' must be fully assigned before control leaves
> the constructor
> 
> All build logs:
> http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/log/f-spot-0.
> 9.0-0.6610.1.mga5.src.rpm/
> 
> (Now using mono-flickrnet from repos :)

The warnings are (unfortunately) normal. Much code cleanup still needs to be done (but the first priority is to get the soft back in the repos and try to get some traction, I think...)

I updated my branch for the GroupSelector.cs issue.

Not sure about the lcms2 problem, need to talk with Stephen, he mentioned to me that git/master had been updated to work with the latest lcms2 versions...
Comment 31 Barry Jackson 2014-07-24 14:17:26 CEST
OK getting further.
Now we have a Flickrnet problem.

http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/log/f-spot-0.9.0-0.6612.1.mga5.src.rpm/build.0.20140724120130.log
Comment 32 Matthieu Nguyen 2014-07-24 14:21:07 CEST
(In reply to Barry Jackson from comment #31)
> OK getting further.
> Now we have a Flickrnet problem.
> 
> http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/log/f-spot-0.
> 9.0-0.6612.1.mga5.src.rpm/build.0.20140724120130.log

/usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'FlickrNet, Version=3.13.0.0, Culture=neutral, PublicKeyToken=2491df59efa5d132' not resolved

After installing the new mono-flickrnet package, the reference should be resolved, that's odd.

What does gacutil say? It should says this:

$ gacutil -l FlickrNet
The following assemblies are installed into the GAC:
FlickrNet, Version=3.13.0.0, Culture=neutral, PublicKeyToken=2491df59efa5d132
Number of items = 1
Comment 33 Barry Jackson 2014-07-24 14:40:18 CEST
baz@localhost ~]$ gacutil -l FlickrNet
The following assemblies are installed into the GAC:
FlickrNet, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2491df59efa5d132
Number of items = 1

[baz@localhost ~]$ rpm -q mono-flickrnet
mono-flickrnet-3.13.0-1.mga5
[baz@localhost ~]$

Hmm. so does this mean there is a bug in the mono-flickrnet package in the repo since it's showing a different version?

I'm guessing that you have the version of mono-flickrnet I made from the upstream binaries that I linked to?
I am now using the package that is built from sources and is in the repo. Unfortunately it has the same name and version so to install it you would need to:
su
urpmi.update -a
urpme mono-flickrnet && urpmi mono-flickrnet
Comment 34 Matthieu Nguyen 2014-07-24 14:59:33 CEST
(In reply to Barry Jackson from comment #33)
> baz@localhost ~]$ gacutil -l FlickrNet
> The following assemblies are installed into the GAC:
> FlickrNet, Version=3.5.0.0, Culture=neutral, PublicKeyToken=2491df59efa5d132
> Number of items = 1
> 
> [baz@localhost ~]$ rpm -q mono-flickrnet
> mono-flickrnet-3.13.0-1.mga5
> [baz@localhost ~]$
> 
> Hmm. so does this mean there is a bug in the mono-flickrnet package in the
> repo since it's showing a different version?
> 
> I'm guessing that you have the version of mono-flickrnet I made from the
> upstream binaries that I linked to?
> I am now using the package that is built from sources and is in the repo.
> Unfortunately it has the same name and version so to install it you would
> need to:
> su
> urpmi.update -a
> urpme mono-flickrnet && urpmi mono-flickrnet

Yup, sounds like a bug in the new mono-flickrnet package. I still have the one from the binaries, yes (not using Cauldron so I used the direct link in the other bug report)
Comment 35 Barry Jackson 2014-07-24 15:17:11 CEST
Created attachment 5314 [details]
build log

Yes.
Using the version you have it reports 3.13.0 and the build of f-spot now gets to the lcms errors in Cauldron. (Attached)

Attachment 5309 is obsolete: 0 => 1

Comment 36 Matthieu Nguyen 2014-07-24 16:49:59 CEST
Are you only getting the lcms error in Cauldron? I am not using Cauldron, just mga4. (Need to setup a Cauldron VM, though, apparently ;) )
Comment 37 Barry Jackson 2014-07-24 17:50:05 CEST
I just ran two builds - one for Cauldron and one for Mga4 both with the updated mono-flickrnet available.

Cauldron:
http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/log/f-spot-0.9.0-0.6612.1.mga5.src.rpm/build.0.20140724153302.log

Mga4:
http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/4/x86_64/log/f-spot-0.9.0-0.6612.1.mga4.src.rpm/build.0.20140724153547.log

So no, the lcms errors appear identical in both Mga4 and Cauldron (without looking too closely ;) 

The package currently has a build require on pkgconfig(lcms) and pkgconfig(lcms2). I am guessing that maybe the former is no longer required?
Comment 38 Matthieu Nguyen 2014-07-24 18:34:35 CEST
Those symbols are lcms2 related, yes.

And yes, if I read this commit properly: https://github.com/mono/f-spot/commit/9c52d5feb5170020cc3b79944ff3c95bb2fc574b

So now, f-spot uses lcms2 exclusively.
Comment 39 Stephen Shaw 2014-07-24 18:36:47 CEST
Yes, f-spot is exclusively lcms2. If there is anything lcms1 in there its a bug. :)
Comment 40 Barry Jackson 2014-07-24 19:53:35 CEST
Hi Stephen,
OK so why are we hitting this with lcms2-2.6 devel installed?:

(handle me gently - I'm only a struggling packager not a programmer :0)

/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:139: undefined reference to `cmsxyY2XYZ'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:140: undefined reference to `cmsxyY2XYZ'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:142: undefined reference to `cmsCreateProfilePlaceholder'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:146: undefined reference to `cmsSetDeviceClass'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:147: undefined reference to `cmsSetColorSpace'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:148: undefined reference to `cmsSetPCS'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:150: undefined reference to `cmsSetHeaderRenderingIntent'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:153: undefined reference to `cmsPipelineAlloc'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:160: undefined reference to `cmsStageAllocCLut16bitGranular'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:164: undefined reference to `cmsStageAllocToneCurves'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:165: undefined reference to `cmsPipelineInsertStage'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:168: undefined reference to `cmsStageSampleCLut16bit'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:176: undefined reference to `cmsPipelineInsertStage'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:179: undefined reference to `cmsWriteTag'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:180: undefined reference to `cmsWriteTag'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:181: undefined reference to `cmsWriteTag'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:182: undefined reference to `cmsD50_XYZ'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:182: undefined reference to `cmsWriteTag'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:183: undefined reference to `cmsWriteTag'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:186: undefined reference to `cmsPipelineFree'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:171: undefined reference to `cmsPipelineFree'
/home/baz/rpmbuild/BUILD/f-spot/lib/libfspot/f-screen-utils.c:172: undefined reference to `cmsCloseProfile'
Comment 41 Barry Jackson 2014-08-05 11:26:17 CEST
Anyone got a clue?
f-screen-utils.c includes the following:

#include <config.h>
#include <gtk/gtk.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <gdk/gdkx.h>
#include <lcms2.h>
#include <lcms2_plugin.h>

What is it missing?
Comment 42 Matthieu Nguyen 2014-08-05 11:35:58 CEST
(In reply to Barry Jackson from comment #41)
> Anyone got a clue?
> f-screen-utils.c includes the following:
> 
> #include <config.h>
> #include <gtk/gtk.h>
> #include <X11/Xlib.h>
> #include <X11/Xatom.h>
> #include <gdk/gdkx.h>
> #include <lcms2.h>
> #include <lcms2_plugin.h>
> 
> What is it missing?

I don't have the problem on my machine, and am off for three weeks :(. Maybe Stephen shaw will know...
Comment 43 Barry Jackson 2014-08-05 11:41:22 CEST
Could you please attach output of:
rpm -qa
on your machine before you go?

Have a good trip!
Comment 44 Matthieu Nguyen 2014-08-05 11:44:11 CEST
(In reply to Barry Jackson from comment #43)
> Could you please attach output of:
> rpm -qa
> on your machine before you go?
> 
> Have a good trip!

Sorry, already gone, writing for the airport...

Cannot rpm -qa, but I have the latest lcms2 and lcms2-devel from the mga4 x86_64 official repos for sure. My urpmi updates are run daily, not using cauldron
Comment 45 Barry Jackson 2014-08-05 15:12:15 CEST
(In reply to Matthieu Nguyen from comment #44)
> (In reply to Barry Jackson from comment #43)
> > Could you please attach output of:
> > rpm -qa
> > on your machine before you go?
> > 
> > Have a good trip!
> 
> Sorry, already gone, writing for the airport...
> 
> Cannot rpm -qa, but I have the latest lcms2 and lcms2-devel from the mga4
> x86_64 official repos for sure. My urpmi updates are run daily, not using
> cauldron

Just in case you get to see your mail on holiday - I got past that issue after many test builds in Mga4 system. It's an issue with our %configure2_5x rpm macro - just what causes it to fail I have not investigated yet.

There is another issue in the tests but I have disabled those for now, and have finally built an rpm locally and in iurt for Mga4.

So, progress at last :)
Comment 46 Barry Jackson 2014-12-21 16:48:04 CET
Created attachment 5746 [details]
Build log for current master (0.8.0 rev369)

Build in Cauldron still fails using git master as per the attached - any ideas?
Comment 47 Barry Jackson 2014-12-21 16:51:19 CET
Created attachment 5747 [details]
rpm -qa in build chroot
Barry Jackson 2014-12-21 16:57:40 CET

Attachment 5313 is obsolete: 0 => 1

Barry Jackson 2014-12-21 16:58:01 CET

Attachment 5314 is obsolete: 0 => 1

Comment 48 Barry Jackson 2014-12-21 17:00:01 CET
Created attachment 5748 [details]
mk-tar-git-rev

Script I currently use to create tarball.
Comment 49 Matthieu Nguyen 2014-12-21 17:04:13 CET
Looks like Stephen added a reference to the latest Nunit (2.6.3).

rpm -qis mono-nunit on my machine shows that in mono-nunit 3.2.3, the packaged nunit framework is Nunit 2.4.8 :(
Comment 50 Barry Jackson 2014-12-21 22:23:44 CET
OK, so I built the latest mono-3.10.0 and re-built f-spot against it only to get the same error.
Checking in the chroot it seems that the nunit framework is still Nunit 2.4.8 in mono-nunit-3.10.0. :(
Comment 51 Matthieu Nguyen 2015-03-12 13:31:41 CET
(In reply to Barry Jackson from comment #50)
> OK, so I built the latest mono-3.10.0 and re-built f-spot against it only to
> get the same error.
> Checking in the chroot it seems that the nunit framework is still Nunit
> 2.4.8 in mono-nunit-3.10.0. :(

Sorry I didn't reply earlier. I don't even have mono 3.10 (I think it's even more than that in the 3.x releases) yet. I think when the package wants mono 3.6 the Nunit constraint should be to the same Nunit version.

I'll try contacting Stephen and see if it would be possible to set the required Nunit version back to 2.4.8 instead of 2.6.

Is the mono-3.10 package available on a repo (cauldron?)
Comment 52 Barry Jackson 2015-03-12 16:33:42 CET
Versions of mono in Mageia:
3.12.1-1.mga5 // core-release (Mga, cauldron, x86_64)
3.12.1-1.mga5 // core-release (Mga, cauldron, i586)
3.2.3-5.1.mga4 // core-updates_testing (Mga, 4, i586)
3.2.3-5.mga4 // core-release (Mga, 4, x86_64)
3.2.3-5.mga4 // core-release (Mga, 4, i586)
2.10.9-4.1.mga3 // core-updates (Mga, 3, x86_64)
2.10.9-4.1.mga3 // core-updates (Mga, 3, i586)
2.10.9-4.mga3 // core-release (Mga, 3, x86_64)
2.10.9-4.mga3 // core-release (Mga, 3, i586)
2.10.9-1.mga2 // core-release (Mga, 2, x86_64)
2.10.9-1.mga2 // core-release (Mga, 2, i586)
2.10.1-1.1.mga1 // core-updates (Mga, 1, x86_64)
2.10.1-1.1.mga1 // core-updates (Mga, 1, i586)
2.10.1-1.mga1 // core-release (Mga, 1, x86_64)
2.10.1-1.mga1 // core-release (Mga, 1, i586)
Comment 53 Matthieu Nguyen 2015-03-12 16:36:00 CET
(In reply to Barry Jackson from comment #52)
> Versions of mono in Mageia:
> 3.12.1-1.mga5 // core-release (Mga, cauldron, x86_64)
> 3.12.1-1.mga5 // core-release (Mga, cauldron, i586)
> 3.2.3-5.1.mga4 // core-updates_testing (Mga, 4, i586)
> 3.2.3-5.mga4 // core-release (Mga, 4, x86_64)
> 3.2.3-5.mga4 // core-release (Mga, 4, i586)
> 2.10.9-4.1.mga3 // core-updates (Mga, 3, x86_64)
> 2.10.9-4.1.mga3 // core-updates (Mga, 3, i586)
> 2.10.9-4.mga3 // core-release (Mga, 3, x86_64)
> 2.10.9-4.mga3 // core-release (Mga, 3, i586)
> 2.10.9-1.mga2 // core-release (Mga, 2, x86_64)
> 2.10.9-1.mga2 // core-release (Mga, 2, i586)
> 2.10.1-1.1.mga1 // core-updates (Mga, 1, x86_64)
> 2.10.1-1.1.mga1 // core-updates (Mga, 1, i586)
> 2.10.1-1.mga1 // core-release (Mga, 1, x86_64)
> 2.10.1-1.mga1 // core-release (Mga, 1, i586)

I think the update to 3.12.1 will be necessary anyways (seen there's a bug open about a critical TLS security fix in there), at least for Mga5. Will try to setup a cauldron vm to see how things go with the latest mono version...
Comment 54 Barry Jackson 2015-03-12 16:44:56 CET
I have it building now in Cauldron it, logs should appear here:
http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/cauldron/x86_64/log/f-spot-0.8.0-0.369.0.2.mga5.src.rpm/
Comment 55 Barry Jackson 2015-03-12 16:54:35 CET
I also just tried with the latest upstream f-spot from git (only 4 commits more than in December) but the errors are the same.
Comment 56 Stephen Shaw 2015-03-12 17:44:13 CET
Hey guys. I'd definitely move to that newer mono because of the TLS stuff. It was a big enough deal that Xamarin bumped all of their products. Also, mono 4.0 should be coming out soon. It'll definitely be worth getting in for a variety of reasons.

As for the nunit stuff. I'll look into that when I get a chance (probably next week). Mono ships with its own very of nunit 2.4.x. We don't want that one. We want nunit 2.6.  The easiest way to get it is through nuget, but that isn't really an option for linux packaging.
Mike Crecelius 2015-04-05 03:23:54 CEST

Summary: F-spot is missing => f-spot, personal photo management application for the GNOME desktop
CC: (none) => mike.crecelius

Comment 57 Mike Crecelius 2015-04-05 03:29:05 CEST
Since f-spot is in Cauldron now, can this bug report be closed?
Comment 58 Marja Van Waes 2015-04-05 09:14:53 CEST
@ Mike

http://pkgsubmit.mageia.org/data/maintdb.txt gives a wrong impression, here, sorry :-/ 

Don't worry if you don't grasp all of what I say between the "----" lines, feel free to only read what's below that part, about Sophie.

--------------------------------------------------------------------------
It seems http://pkgsubmit.mageia.org/data/maintdb.txt does not only show information about packages that were built and added to our mirrors, but also about Mga 4 or cauldron packages that didn't built, but are not in obsolete... and f-spot is still (or again) there http://svnweb.mageia.org/packages/cauldron/f-spot/ instead of among the obsoleted packages http://svnweb.mageia.org/packages/obsolete/?dir_pagestart=200 :-(

if I try to install f-spot in cauldron, shotwell is offered instead:

[root@Mga5RC_EFI marja]# urpmi f-spot
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "Core Release (BlueHD1)")
  lib64gee0.8_2                  0.16.1       2.mga5        x86_64  
  lib64gexiv2_2                  0.10.2       2.mga5        x86_64  
  lib64raw10                     0.16.0       6.mga5        x86_64  
  shotwell                       0.20.2       3.mga5        x86_64  
14MB of additional disk space will be used.
3.2MB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n) 

(Looking at the shotwell spec file, that is correct behaviour, shotwell obsoletes and provides f-spot http://svnweb.mageia.org/packages/cauldron/shotwell/current/SPECS/shotwell.spec?revision=816424&view=markup)
----------------------------------------------------------------------------

I didn't tell you about Sophie, yet: she's a very useful IRC bot https://wiki.mageia.org/en/Sophie

Sophie said:

2015:04:05:08:42 < marja> :v f-spot -v 4
2015:04:05:08:42 < Sophie> marja: There is no rpm named `f-spot' in (Mga, 4, x86_64), but the word matches in core-release (Mga, 2, i586)
2015:04:05:08:42 < marja> :v f-spot -v cauldron
2015:04:05:08:42 < Sophie> marja: There is no rpm named `f-spot' in (Mga, cauldron, x86_64), but the word matches in core-release (Mga, 2, i586)

CC'ing Nic, because I didn't tell him about Sophie, either

The best way to learn to use Sophie is to just try her out, and watch how others use her on IRC.

CC: (none) => nic

Comment 59 Matthieu Nguyen 2015-07-03 13:04:00 CEST
Not sure I follow. So in order to get the new f-spot package in the repo, the shotwell SPEC has to be updated?
Comment 60 Barry Jackson 2015-07-03 15:12:39 CEST
(In reply to Matthieu Nguyen from comment #59)
> Not sure I follow. So in order to get the new f-spot package in the repo,
> the shotwell SPEC has to be updated?

Yes. f-spot was obsoleted by shotwell here:

http://svnweb.mageia.org/packages/cauldron/shotwell/current/SPECS/shotwell.spec?r1=296332&r2=296902

So that commit would need to be reverted before f-spot could be re-introduced.

Does f-spot build and run now? It was badly broken last time I tried.
Comment 61 Matthieu Nguyen 2015-07-03 15:19:04 CEST
I have to check. Latest from git didn't build for me on mga4 (my packages were too old, didn't have the courage to download sources for all the deps, much prever to use the *-devel packages :) ). I know my pull request for fixing the flickr export is not in, so that's still broken for sure, but it looks like there has been some work done (especially to port the app to GTK3, and make it build again on more systems). I migrated my main system to mga5, so I'll try it again now.
Comment 62 Matthieu Nguyen 2015-07-08 18:06:26 CEST
(In reply to Matthieu Nguyen from comment #61)
> I have to check. Latest from git didn't build for me on mga4 (my packages
> were too old, didn't have the courage to download sources for all the deps,
> much prever to use the *-devel packages :) ). I know my pull request for
> fixing the flickr export is not in, so that's still broken for sure, but it
> looks like there has been some work done (especially to port the app to
> GTK3, and make it build again on more systems). I migrated my main system to
> mga5, so I'll try it again now.

So, I made myself a clean Mageia 5 VM. It started to complain about dbus-sharp-glib-2.0 not found. Which is because of this pull request that was merged in order to get f-spot to compile under Debian:

https://github.com/mono/f-spot/pull/29

Apparently, we'd need to update our dbus-sharp (https://github.com/mono/dbus-sharp/releases)to 0.8 and dbus-sharp-glib 0.6.0 (https://github.com/mono/dbus-sharp-glib/releases)

I will probably switch this VM to cauldron to be able to test candidate updates.
Comment 63 Barry Jackson 2015-07-09 12:36:51 CEST
Yes, I hit the same issue.

I have built updated dbus-sharp and dbus-sharp-glib packages for Mga5 for testing which you can install by adding this repo temporarily:

http://mtf.no-ip.co.uk/pub/linux/barjac/distrib/5/x86_64/media/extra/release/

F-spot still won't build though :\

Will attach build log below.
Comment 64 Barry Jackson 2015-07-09 12:37:45 CEST
Created attachment 6826 [details]
Build log with new dbus-sharp*
Comment 65 Barry Jackson 2015-07-09 12:49:03 CEST
Not sure if this is relevant as I'm totally out of my depth here but grepping I notice that in f-spot sources:

src/Clients/MainApp.UnitTest/MainApp.UnitTest.csproj:    <Reference Include="nunit.framework, Version=2.4.8.0

whereas

src/Core/FSpot.Core.UnitTest/FSpot.Utils.UnitTest.csproj:    <Reference Include="nunit.framework, Version=2.6.3.0
Comment 66 Matthieu Nguyen 2015-07-09 13:40:35 CEST
(In reply to Barry Jackson from comment #65)
> Not sure if this is relevant as I'm totally out of my depth here but
> grepping I notice that in f-spot sources:
> 
> src/Clients/MainApp.UnitTest/MainApp.UnitTest.csproj:    <Reference
> Include="nunit.framework, Version=2.4.8.0
> 
> whereas
> 
> src/Core/FSpot.Core.UnitTest/FSpot.Utils.UnitTest.csproj:    <Reference
> Include="nunit.framework, Version=2.6.3.0

Ran into the same problem. Not sure why one or two project files switched to nunit 2.6.3 in their version instead of 2.4.8 which is the one bundled in mono 3.12.

I meant to open an issue upstream about this (either the autogen.sh / configure script should complain that NUNIT is not the right version, either the csproj file using 2.6.3.0 should be using 2.4.8 only, provided the version change was not made necessary because of a unit test code change).

Unfortunately, since mono only provides 2.4.8, it would mean an extra dependency (would need to create a nunit package, basically)...

as a workaround, I locally modified the csproj to say "2.4.8.0", and I got f-spot to compile. But I need to take that issue to the dev to make sure what the right approach is.
Comment 67 Barry Jackson 2015-07-09 14:46:54 CEST
Created attachment 6827 [details]
crash report

I patched the csproj and it builds but crashes on launch after displaying the main GUI - no doubt you see the same?
Comment 68 Matthieu Nguyen 2015-07-09 16:57:49 CEST
(In reply to Barry Jackson from comment #67)
> Created attachment 6827 [details]
> crash report
> 
> I patched the csproj and it builds but crashes on launch after displaying
> the main GUI - no doubt you see the same?

Is that the full stacktrace from running f-spot --debug?

I did run into the issue, but I'm not sure if it's because I tried on that clean VM with no photos.db, or because of something else. I would consider it an upstream "crasher" issue, personally.

Did you run into a "DLL not found" issue with libgtk-win32 as well?
Comment 69 Stephen Shaw 2015-07-09 17:58:00 CEST
The libgtk-win32 issue seems to be a problem because gtk-sharp-beans is getting added to the GAC. I'd recommend updating to the latest version 2.14.0 + a patch.
Here is what openSUSE has done - https://build.opensuse.org/package/show/Mono:Factory/gtk-sharp-beans
Comment 70 Barry Jackson 2015-07-09 18:34:42 CEST
Created attachment 6828 [details]
terminal output from f-spot --debug
Comment 71 Matthieu Nguyen 2015-07-09 18:36:51 CEST
(In reply to Barry Jackson from comment #70)
> Created attachment 6828 [details]
> terminal output from f-spot --debug

ok, doesn't look related to the missing DLL. Will open an issue upstream for it
Comment 72 Stephen Shaw 2015-07-09 18:40:56 CEST
Looking at the output I think I might be able to track the crash down.
Comment 73 Matthieu Nguyen 2015-07-14 17:15:42 CEST

Output looks oddly similar to this:

https://github.com/mono/f-spot/issues/23
(In reply to Matthieu Nguyen from comment #71)
> (In reply to Barry Jackson from comment #70)
> > Created attachment 6828 [details]
> > terminal output from f-spot --debug
> 
> ok, doesn't look related to the missing DLL. Will open an issue upstream for
> it

Actually, looks oddly similar to this:

https://github.com/mono/f-spot/issues/23
Comment 74 Matthieu Nguyen 2016-01-27 13:29:29 CET
There's new activity going on at the moment on the f-spot git tree, the devs are working on getting a build out the door.

I wanted to recheck on my Cauldron VM, see if the crash at startup still happens, but I could not find the updated dbus-glip-sharp 0.6 package (only have 0.5 in my repo).

Is it available somewhere already?
Comment 76 Barry Jackson 2016-01-28 20:56:17 CET
Created attachment 7385 [details]
mono-flickrnet build log

Oh and while on this - mono-flickrnet no longer builds despite updating it - any ideas?
log attached
Comment 77 Matthieu Nguyen 2016-01-28 20:57:25 CET
(In reply to Barry Jackson from comment #75)
> Does not look like it:
> https://github.com/mono/dbus-sharp/wiki/Release-notes-dbus-sharp-0.7-and-
> dbus-sharp-glib-0.5

I was more referring to the packages you built back in July. You sent a link to the repo where one could get the 0.8/0.6 packages you built, but I don't see it there anymore.

(cf comments #62 and #63)
Comment 78 Matthieu Nguyen 2016-01-28 21:05:20 CET
(In reply to Barry Jackson from comment #76)
> Created attachment 7385 [details]
> mono-flickrnet build log
> 
> Oh and while on this - mono-flickrnet no longer builds despite updating it -
> any ideas?
> log attached

No idea. Actually, in the latest version of f-spot, some external dependencies (like flickrnet) are brought in as a git submodule in external and compiled directly during the F-Spot build. So I don't think you still need mono-flickrnet anymore.
Comment 79 Barry Jackson 2016-01-28 21:21:07 CET
Ah OK I just found the sources for 0.81/0.6 so I will try to build them - what do you want Mga5 or Mga6? (x86_64 I guess?)

I will push them to Cauldron if they build OK.
Comment 80 Barry Jackson 2016-01-28 21:42:40 CET
They won't build in Cauldron (I'm guessing it's the new mono version there), but in Mageia 5 they are OK and are now in the repo in #63.
Googling it may be a problem with something missing from the mono build in Cauldron. I will ask the mono maintainer.
Comment 81 Barry Jackson 2016-01-28 22:16:28 CET
OK solved for Cauldron too :) I found the answer here:
https://bugzilla.redhat.com/show_bug.cgi?id=1255204#c1
So just use the same url as in #62 but s/cauldron/5/ if you want to try cauldron before I push them there. The specs are a mess and need a tidy up.

Barry
Comment 82 Barry Jackson 2016-01-29 00:15:18 CET
mono-flickrnet is also fixed in cauldron now :) We don't want to use bundled or even worse 'downloaded during build' stuff - we need to use our own packages.
Comment 83 Matthieu Nguyen 2016-01-29 08:08:04 CET
(In reply to Barry Jackson from comment #82)
> mono-flickrnet is also fixed in cauldron now :) We don't want to use bundled
> or even worse 'downloaded during build' stuff - we need to use our own
> packages.

Yeah, I suspected as much, and raised it to Stephen on gitter.
Comment 84 Stephen Shaw 2016-01-29 18:46:50 CET
The reason I included it right in f-spot was because several distros were behind with their package. That almost seems to be the case with several dependencies. I decided it was easier for me if I just included it so that I could improve f-spot instead of having to wait for all of the distros to catch up first :(
Comment 85 Barry Jackson 2016-01-29 18:53:00 CET
Hi Stephen,
I understand - as long as we can disable the included stuff and use our own without too much head scratching then that's fine ;)

Barry
Comment 86 Stephen Shaw 2016-01-29 19:05:01 CET
We build flikrnet as part of the build process, I suppose you could just replace the dll. Since I'm building it from source (part of the tarball), is there value in replacing it? I suppose it saves space on the hard drive?
Comment 87 Matthieu Nguyen 2016-01-29 20:14:41 CET
(In reply to Barry Jackson from comment #85)
> Hi Stephen,
> I understand - as long as we can disable the included stuff and use our own
> without too much head scratching then that's fine ;)
> 
> Barry

I'm not a build expert so I'm not sure how to have a "build from submodule if lib not present on the system" behaviour. But I'm thinking as an alternative if you just remove it from /usr/lib/f-spot/Extensions/FlickrNet.*, maybe at runtime F-spot would just pick up the one bundled in the distro?

Would have to try it, though.
Comment 88 Stephen Shaw 2016-01-29 20:44:13 CET
I'm not sure either. I think debian has something built into their build process that deals with that. I'm just not sure how that works.
Comment 89 Barry Jackson 2016-01-30 00:54:22 CET
Some packages have the option to disable the use of bundled libs etc. at build time using a configure option --without-local-xyz, or similar but I don't know how it works in detail.

Problems occur when bundled stuff has security updates - these are handled fairly quickly in our own discrete packages.
When the same software is bundled, we have to rely on various 'upstreams' to fix it, or patch it ourselves within each package, which multiplies the maintenance and qa effort, for which we don't have the resources.
Comment 90 Barry Jackson 2016-01-30 21:31:38 CET
Updating dbus-sharp and dbus-sharp-glib has broken several packages that need the 1.0 ABI, so I am reverting the change, and introducing dbus-sharp2 and dbus-sharp-glib2 in Cauldron to provide the 2.0 ABI.

f-spot with the included git stuff in Cauldron now does build, but crashes on launch.

An unhandled exception was thrown: libunique-1.0.so.0

I am not sure if I have enough disk space left in the VM to load all the debuinfo to get a useful backtrace.
Comment 91 Barry Jackson 2016-01-30 22:08:49 CET
Created attachment 7394 [details]
output from $ f-spot --debug
Comment 92 Matthieu Nguyen 2016-02-04 13:14:48 CET
(In reply to Barry Jackson from comment #91)
> Created attachment 7394 [details]
> output from $ f-spot --debug

in my MGA5 I have lib64unique1.0_0 installed.

Do you have it in your cauldron? I'm not sure why it wouldn't complain during the auto*.sh phase. Maybe we need to check for that too...
Comment 93 Barry Jackson 2016-02-05 13:40:44 CET
(In reply to Matthieu Nguyen from comment #92)
> (In reply to Barry Jackson from comment #91)
> > Created attachment 7394 [details]
> > output from $ f-spot --debug
> 
> in my MGA5 I have lib64unique1.0_0 installed.
> 
> Do you have it in your cauldron? I'm not sure why it wouldn't complain
> during the auto*.sh phase. Maybe we need to check for that too...

Hi Matthieu
I now have it working in cauldron.
For some reason autoreq is not pulling in: 
%{_lib}unique1.0_0
%{_lib}gnomeui2_0
so for now I have added them as hard Requires and it's looking quite stable.

The only thing that crashes it so far, is help->contents.
Comment 94 Barry Jackson 2016-02-05 13:46:20 CET
BTW the updated versions of dbus-sharp and dbus-sharp-glib still have the original package names.
The ones that now provide the old 1.0 ABI are dbus-sharp1.0 and dbus-sharp-glib1.0
I was advised that this was the correct way to handle it, and it's finally all sorted in Cauldron ;)
Comment 95 Barry Jackson 2016-02-06 15:03:10 CET
OK having tested some more I hit a few issues running in X86_64 VM none of which are apparent in a build for armv5tl which I have also tested on real hardware.
So maybe there is a problem with my VM or maybe there is an issue with X86_64 build.

I have tried removing the external downloads during build with no success at all.

Another issue this raises is that the (possibly unstable) snapshots of the external sources used are just what happens to be the state of the sources at our  build time - giving no control whatsoever of the 'versions' in use.
This is totally unacceptable in my opinion.

Without a sane way to turn off this 'feature' then this project is looking like a non-starter for Mageia.

I am asking qa to take a look for comments.
Comment 96 David Walser 2016-02-08 16:23:07 CET
Downloading additional source code during a build is a violation of our packaging policy.  First of all, if additional third party code is needed, packages should generally link against existing system versions of those things, and second of all, if additional tarballs are needed, they should be included in the source RPM so that they're available without needing to be downloaded.
Comment 97 Neal Gompa 2016-02-08 16:35:30 CET
In addition, downloading source code is not guaranteed to actually *work* during the package build process. 

For example, several build systems (Fedora's Koji, SUSE's Open Build Service, etc.) actually do not configure network connectivity for the builder environment, so any build that requires downloading sources at build-time will automatically trigger a FTBFS condition.

This is to guarantee the reproducibility of the package build, which is important for security and reliability reasons[1].

[1]: https://reproducible-builds.org/

CC: (none) => ngompa13

Comment 98 Stephen Shaw 2016-02-08 16:54:34 CET
Just so we are clear :)
F-Spot is NOT downloading additional/3rd party software during a build/packaging process. If for some reason it is then that is a bug.

Flickrnet is a git submodule, but that should be part of the release tarball. The reason it and a couple more things are in there is either because upstream is dead and hasn't had a new release causing all kinds of packaging and build problems for those trying to just build it locally or the distro just hasn't been updating that package as is the case with flickrnet. I don't want to split my time between packaging 3rd party deps across X platforms and improving f-spot. I'm going to cause improving f-spot every time. If the distros bring flickrnet up to date it'd in theory actually make my life easier and I'd no longer have to deal with that submodule.
Comment 99 David Walser 2016-02-08 17:15:40 CET
That sounds reasonable Stephen.  It is a real pain for both developers like yourself and packagers like us when projects don't make releases and you have to use git snapshots, but we can certainly do that for flickrnet if we must.
Comment 100 Stephen Shaw 2016-02-08 17:20:53 CET
flickrnet is the guilty one :)

It is just that no one had updated the flickrnet package on just about any distro and in order to revive the addin we needed a newer flickrnet. The path of least resistance was to just bring in the submodule for the time being. Once distros catch up I'll very happily drop it :)
Comment 101 Samuel Verschelde 2016-10-11 20:53:53 CEST
Assigning this package request to all packagers collectively. On a voluntary basis, one of them might want to integrate it to the distribution and maintain it for bug and security fixes.

You might also want to join the packager team to maintain this piece of software: see https://wiki.mageia.org/en/Becoming_a_Mageia_Packager

Assignee: bugsquad => pkg-bugs

Comment 102 sturmvogel 2022-05-08 15:29:18 CEST
After so many years this pile of code is still an unusable mess. Quote from the GitHub page:

"WARNING
The code base is in heavy flux right now. It might be completely broken right now. Known issues:

Doesn't start
AdjustTimeDialog is completely broken due to removing Gnome.DateTime
Autotools stuff is likely doing the wrongs things due to heavy changes."

Closing again as WONTFIX.

Resolution: (none) => WONTFIX
Status: REOPENED => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.