Linking with -lm

Bug #995356 reported by Renich
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Synapse
Fix Released
Low
Michal Hruby
synapse (Fedora)
Fix Released
Undecided

Bug Description

 libsynapsecore.a uses powf (defined in the libm DSO), it should be linked with -lm

https://bugzilla.redhat.com/show_bug.cgi?id=749975

Related branches

Revision history for this message
In , Upstream (upstream-redhat-bugs) wrote :

Latest upstream release: 0.2.8.1
Current version in Fedora Rawhide: 0.2.6
URL: https://launchpad.net/synapse-project/+download

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Revision history for this message
In , Upstream (upstream-redhat-bugs) wrote :

Latest upstream release: 0.2.8.2
Current version in Fedora Rawhide: 0.2.6
URL: https://launchpad.net/synapse-project/+download

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Revision history for this message
In , Michel (michel-redhat-bugs) wrote :

*** Bug 749510 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Upstream (upstream-redhat-bugs) wrote :

Latest upstream release: 0.2.10
Current version in Fedora Rawhide: 0.2.6
URL: https://launchpad.net/synapse-project/+download

Please consult the package updates policy before you issue an update to a stable branch: https://fedoraproject.org/wiki/Updates_Policy

More information about the service that created this bug can be found at:
https://fedoraproject.org/wiki/Upstream_release_monitoring

Revision history for this message
In , Michel (michel-redhat-bugs) wrote :

With the new libzeitgeist in the overrides, I get the following error building synapse; looks like a gtkhotkey bug. Renich, any idea?

http://koji.fedoraproject.org/koji/getfile?taskID=4056170&name=build.log

In file included from /usr/include/gtkhotkey-1.0/gtk-hotkey-error.h:26:0,
                 from /usr/include/gtkhotkey-1.0/gtk-hotkey-registry.h:31,
                 from /usr/include/gtkhotkey-1.0/gtkhotkey.h:6,
                 from synapse-main.c:29:
/usr/include/glib-2.0/glib/gquark.h:28:2: error: #error "Only <glib.h> can be included directly."
make[4]: *** [synapse-synapse-main.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/builddir/build/BUILD/synapse-0.2.10/src/ui'
make[3]: Leaving directory `/builddir/build/BUILD/synapse-0.2.10/src/ui'
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/synapse-0.2.10/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/synapse-0.2.10'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.eF8kib (%build)
    Bad exit status from /var/tmp/rpm-tmp.eF8kib (%build)
RPM build errors:
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.

Revision history for this message
In , Michel (michel-redhat-bugs) wrote :

eugh, gtkhotkey has not been updated for several years. Are upstream synapse developers aware of this problem? If there's a lack of interest, perhaps we should retire and block this from F17 -- it's not buildable right now

Revision history for this message
In , Mamoru (mamoru-redhat-bugs) wrote :

I cannot access your synapse 0.2.10 srpm, however I guess either including glib.h at the top of the source which fails to build, or adding -DGLIB_COMPILATION to compilation flags will be the easiest workaround.

Revision history for this message
In , Michel (michel-redhat-bugs) wrote :

I've not committed the SRPM yet in case it does not build (plus it's Renich's package), but here's the SRPM:

  https://www.dropbox.com/sh/gx3b9dnkcy1gxhp/LObG5psrvP/synapse-0.2.10-1.fc18.src.rpm

glib.h is already imported so that's not an option. I think we might have to patch gtkhotkey.h to import glib.h instead of gquark.h -- but let me try and pass -DGLIB_COMPILATION first

Revision history for this message
In , Renich (renich-redhat-bugs) wrote :

Heh, thanks for the help and collaboration. I appreciate the help. Let me know how it goes with the -DGLIB_COMPILATION and if any patches arise.

Sorry guys; not an experimented packager I must admit. Let me know what needs to be done if anything needed from my end.

Revision history for this message
In , Michel (michel-redhat-bugs) wrote :

Hi Renich -- no problem! And thanks, Mamoru, for the help.

Renich -- Please file a bug with upstream, send them the patches and then put the bug report URL in the comments above the patches in the spec file, so we remember to follow up with upstream when updating our package.

I'll sign up to comaintain this package - I already maintain several other Vala package, it'd be good to have all of them in working order.

Revision history for this message
Renich (renich) wrote :
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

synapse-0.2.10-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/synapse-0.2.10-2.fc17

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

Package synapse-0.2.10-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing synapse-0.2.10-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7497/synapse-0.2.10-2.fc17
then log in and leave karma (feedback).

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

synapse-0.2.10-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
Michal Hruby (mhr3) wrote :

Please don't provide patches for Makefile.in, that file is generated during the build, and therefore can't be applied upstream.

Michal Hruby (mhr3)
Changed in synapse-project:
status: New → Fix Committed
milestone: none → 0.2.12
assignee: nobody → Michal Hruby (mhr3)
importance: Undecided → Low
Changed in synapse-project:
milestone: 0.2.12 → 0.3.0
Revision history for this message
Renich (renich) wrote :

err... wasn't the project abandoned?

Changed in synapse-project:
status: Fix Committed → Fix Released
Changed in synapse (Fedora):
importance: Unknown → Undecided
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.