Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 405995

Summary: sys-fs/ntfsprogs-2.0.0-r3 with >=dev-libs/glib-2.31 - In file included from gnome-vfs-method.c:34:0: /usr/include/glib-2.0/glib/gmessages.h:28:2: error: #error "Only <glib.h> can be included directly."
Product: Gentoo Linux Reporter: Priit Laes (IRC: plaes) <plaes>
Component: [OLD] UnspecifiedAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 384865    
Bug Blocks: 406437    

Description Priit Laes (IRC: plaes) 2012-02-27 09:05:04 UTC
If >=dev-libs/glib-2.31 is installed on system, build of ntfsprogs fails:
[snip]
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs -pthread -DORBIT2=1 -I/usr/inc
lude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/
lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -mtune=core2 -O2 -ggdb -pipe -Wall -c gn
ome-vfs-module.c  -fPIC -DPIC -o .libs/libntfs_gnomevfs_la-gnome-vfs-module.o
In file included from gnome-vfs-method.c:34:0:
/usr/include/glib-2.0/glib/gmessages.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from gnome-vfs-method.c:36:0:
[/snip]

To fix that, all the <glib-foo.h> includes should be changed to <glib.h>
Comment 1 SpanKY gentoo-dev 2012-02-27 20:49:23 UTC
ntfsprogs is dead.  no plans to update it.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-03-30 08:30:07 UTC
ntfsprogs was removed from portage and replaced by ntfs-3g, closing this one off