Bug 598401 - latest sane update breaks gnome-color-manager compile
Summary: latest sane update breaks gnome-color-manager compile
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sane-backends
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-01 10:17 UTC by Richard Hughes
Modified: 2010-06-14 17:29 UTC (History)
1 user (show)

Fixed In Version: sane-backends-1.0.21-2.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-14 17:29:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard Hughes 2010-06-01 10:17:59 UTC
Description of problem:

The latest sane update breaks gnome-color-manager compile by adding -I../_inst/include to the cflags. This is probably because it's expanded out from the sane-backends.pc file which contains:

Cflags: -I$(includedir)

which is expanded by automake as the destination includedir, not the sane includedir. I think it needs to be "-I${includedir}" rather than "-I$(includedir)" for this to work.

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

sane-backends-1.0.21-1.fc13.i686

How reproducible:

Always.

Steps to Reproduce:
1. Try to compile g-c-m (and do make distcheck) with SANE support
2. Watch compile blow up with cc1: error: /home/hughsie/Code/gnome-color-manager/gnome-color-manager-2.31.2/_inst/include: No such file or directory

Additional info:

This works for me:

Libs: -L${libdir} -lsane
Libs.private: ${ldflags} ${libs}
Cflags: -I${includedir}

Comment 1 Richard Hughes 2010-06-02 12:03:46 UTC
Build failure in koji: http://koji.fedoraproject.org/koji/getfile?taskID=2224914&name=build.log

Comment 2 Fedora Update System 2010-06-02 12:41:34 UTC
sane-backends-1.0.21-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/sane-backends-1.0.21-2.fc13

Comment 3 Fedora Update System 2010-06-02 12:42:20 UTC
sane-backends-1.0.21-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/sane-backends-1.0.21-2.fc12

Comment 4 Fedora Update System 2010-06-03 18:15:01 UTC
sane-backends-1.0.21-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update sane-backends'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/sane-backends-1.0.21-2.fc13

Comment 5 Fedora Update System 2010-06-14 17:28:56 UTC
sane-backends-1.0.21-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2010-06-14 17:29:23 UTC
sane-backends-1.0.21-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


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