Bug 743735

Summary: Build failure due to missing -lGLU
Product: [Fedora] Fedora Reporter: Aidan Delaney <a.j.delaney>
Component: meshlabAssignee: Eric Smith <spacewar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-27 02:21:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Add -lGLU to LIBS none

Description Aidan Delaney 2011-10-05 20:46:56 UTC
Created attachment 526573 [details]
Add -lGLU to LIBS

Description of problem:
Meshlab fails to build (see koji) as it's missing -lGLU in the build file.

Version-Release number of selected component (if applicable):
Happens on F16 and F17

How reproducible:
rpmbuild -ba meshlab.spec

Attached patch should fix it.  But this is really an upstream issue.

Comment 1 Eric Smith 2011-10-06 01:16:08 UTC
Looks like this is a patch against an earlier Meshlab rather than 1.3.0a?  The shared.pri in 1.30.a doesn't even have the LIBS line you modify in your patch. Can you provide a link to a specific koji build showing the failure your patch fixes?

I'm having trouble building Meshlab 1.3.0a with 1.3.0a with Qt 4.8, but I think that is unrelated to this issue.

Thanks!
Eric

Comment 2 Eric Smith 2011-10-06 06:37:56 UTC
The latest problem I'm having with building 1.3.0a is related to GLU, but it's at compile time rather than link time:

g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtScript -I/usr/include -Issynth -I/usr/X11R6/include -I. -o Grid.o ssynth/SyntopiaCore/GLEngine/Grid.cpp
In file included from ssynth/SyntopiaCore/GLEngine/EngineWidget.cpp:6:0:
ssynth/SyntopiaCore/GLEngine/Sphere.h:25:4: error: 'GLUquadric' does not name a type

The compile succeeds on F14, but fails on F15 and newer, and I'm having trouble identifying the cause.

Comment 3 Eric Smith 2011-10-27 02:21:45 UTC
Fixed in rawhide and in meshlab-1.3.1-1.fc16 thanks to assistance from Orion Poplawski.