Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356475 - dev-libs/libatasmart header cause multiple packages to fail
Summary: dev-libs/libatasmart header cause multiple packages to fail
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-25 20:43 UTC by Richard Hering
Modified: 2011-03-01 18:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,56.23 KB, text/plain)
2011-02-25 20:44 UTC, Richard Hering
Details
emerge --info (emergeinfo.txt,5.87 KB, text/plain)
2011-02-25 20:45 UTC, Richard Hering
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Hering 2011-02-25 20:43:29 UTC
emerge sys-fs/udisks-1.0.1-r1 failed with errors:

device-private.h:227: error: expected specifier-qualifier-list before ‘SkSmartOverall’
device-private.h:394: error: expected declaration specifiers or ‘...’ before ‘SkSmartOverall’


Reproducible: Always
Comment 1 Richard Hering 2011-02-25 20:44:48 UTC
Created attachment 263849 [details]
build.log
Comment 2 Richard Hering 2011-02-25 20:45:46 UTC
Created attachment 263851 [details]
emerge --info
Comment 3 Rafał Mużyło 2011-02-25 20:59:19 UTC
What's your version of libatasmart ?
Comment 4 Richard Hering 2011-02-25 21:20:36 UTC
0.17 - i tested it with 0.16 too, same error
Comment 5 Richard Hering 2011-03-01 17:40:13 UTC
ok, i did an ebuild fetch, unpack, compile, install and qmerge on udisks-1.0.1-r1
after unpack i copied /usr/include/atasmart.h in same dir of device-private.h - it compiled fine

gnome-disk-utility-2.32.0-r1.ebuild didn't compile:

make[4]: Entering directory `/var/tmp/portage/sys-apps/gnome-disk-utility-2.32.0-r1/work/gnome-disk-utility-2.32.0/src/gdu-gtk'
[...]
gdu-ata-smart-dialog.c: In function 'format_markup_name':
gdu-ata-smart-dialog.c:703: error: 'SkSmartAttributeParsedData' has no member named 'warn'

so i copied /usr/include/atasmart.h to src/gdu-gtk and then gnome-disk-utility compiled fine too
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-03-01 17:45:51 UTC
I've moved this back to bug-wranglers@ as this doesn't look like problem with any of libatasmart, udisks or gnome-disk-utility but rather something local is broken on your system.

Perhaps a stray atasmart.h in eg. /usr/local/include ?
Comment 7 Richard Hering 2011-03-01 18:14:19 UTC
you're right:

-rw-r--r-- 1 root root 6266  2. Jul 2008  /usr/local/include/atasmart.h