Bug 228730 - gtkglext-devel should require libXt-devel in FC-5
Summary: gtkglext-devel should require libXt-devel in FC-5
Alias: None
Product: Fedora
Classification: Fedora
Component: gtkglext   
(Show other bugs)
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ralf Corsepius
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-14 18:03 UTC by Gwyn Ciesla
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-01 11:40:13 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Gwyn Ciesla 2007-02-14 18:03:53 UTC
Description of problem:
When trying to build gnubg for FC-5, build fails with:

checking for GtkGLExt - version >= 1.0.0... no
*** Could not run GtkGLExt test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GtkGLExt is incorrectly installed.

gnubg has gtkglext-devel as a BuildRequires for FC-6, FC-5 and devel.  FC-6 and
devel build fine as is.

config.log extract, courtesy of Orion Poplawski. . .

configure:4197: checking for X
configure:4302: gcc -E  conftest.c
configure:4308: $? = 0
configure:4358: gcc -o conftest -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
-mtune=generic -fasynchronous
-unwind-tables   conftest.c -lXt  >&5
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status

configure:24230: checking for GtkGLExt - version >= 1.0.0
configure:24354: gcc -o conftest -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 
-mtune=generic -fasynchronou
s-unwind-tables -I/usr/include/gtkglext-1.0 
-I/usr/lib/gtkglext-1.0/include -I/usr/includ
e/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/
usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 
  conftest.c -Wl,-
-export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu 
-lXt -lSM -lICE -l
gtk-x11-2.0 -lpangox-1.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangocairo-1.0 -l
pango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -ldl 
-lreadline -ltermcap
  -lm  >&5
conftest.c: In function 'main':
conftest.c:102: warning: ignoring return value of 'system', declared 
with attribute warn_
/usr/bin/ld: cannot find -lXt
collect2: ld returned 1 exit status

Orion's additional comments:

"Now this actually looks like a packaging bug for gtkglext-devel.  It 
should Require: libXt-devel or it should not list -lXt in its pkg-config 
output if it doesn't really use it:

$ pkg-config --libs gtkglext-1.0
-Wl,--export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL 
-lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 
-lgmodule-2.0 -ldl -lglib-2.0

I've added libXt-devel as a BR for FC-5's gnubg as a workaround, which allows it
to build.

Comment 1 Ralf Corsepius 2007-02-15 17:44:06 UTC
AFAIS, this is a side-effect of 
not having been fixed for FC5.

So unless this will be fixed in libXmu-devel we can chose between two evils:
You or me polluting our specs with "R: libXt-devel" :(

Comment 2 Gwyn Ciesla 2007-11-01 11:40:13 UTC
As FC-5 is EOL and FC-6 is nearly EOL, and it's fixed in FC-6, I'm closing this.

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