Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385183 - app-office/dia-0.97.1 does not compile with newest glib out of git: dev-libs/glib-9999
Summary: app-office/dia-0.97.1 does not compile with newest glib out of git: dev-libs/...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-01 13:06 UTC by Zsolti
Modified: 2011-10-04 09:05 UTC (History)
0 users

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


Attachments
emerge --info (emerge_info_lisabook.log,5.32 KB, text/plain)
2011-10-01 13:07 UTC, Zsolti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolti 2011-10-01 13:06:22 UTC
I'm enjoying using Gnome3 on my experimental MacbBook (2,1). Lately I was forced to upgrade to dev-libs/glib-9999 since some packages required it.
As of this time dia does not compile anymore. Maybe because of some API changes of glib?

Reproducible: Always

Steps to Reproduce:
1. emerge app-office/dia
2.
3.
Actual Results:  
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../intl -I/usr/include/libxml2 -pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/libxml2 -I/usr/include/libart-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -DDIA_SHEETDIR=\"/usr/share/dia/sheets\" -pthread -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libart-2.0 -I/usr/include/libart-2.0 -DLIBDIR=\"/usr/lib64\" -DDATADIR=\"/usr/share/dia\" -I/usr/include/libxml2 -I/usr/include/freetype2 -O2 -pipe -march=core2 -Wall --std=c89 -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -Wpointer-arith -Winit-self -Wformat-nonliteral -MT diagramdata.lo -MD -MP -MF .deps/diagramdata.Tpo -c diagramdata.c  -fPIC -DPIC -o .libs/diagramdata.o
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from intl.h:4,
                 from diagramdata.c:27:
/usr/include/glib-2.0/glib/gthread.h:98: error: expected specifier-qualifier-list before ‘pthread_rwlock_t’
make[4]: *** [diagramdata.lo] Fehler 1


Last update of dia seems a bit old. Maybe there is a back portable patch from newest development.
Comment 1 Zsolti 2011-10-01 13:07:26 UTC
Created attachment 288439 [details]
emerge --info
Comment 2 Rafał Mużyło 2011-10-01 17:52:38 UTC
One thing I can already tell you is that I doubt any non live package requires live glib - that was most likely a mask conflict.

Downgrade to something non live.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-10-01 18:40:21 UTC
You should not use live ebuilds unless you are competent enough to bring up the issue to upstream directly in case of build failure. Please fix your setup to have no package requiring live ebuilds and tell us if you can reproduce this problem.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-04 09:05:35 UTC
glib-9999 basically means glib-2.31. It is under heavy development and its API is in flux. Fixing incompatibilities with it at this stage makes little sense; wait until it becomes clear what shape glib-2.32 will take.

Since dia builds fine with glib-2.30, for now I am closing this as WONTFIX.