Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14989 - [projectm] dependency listed wrong

Attached to Project: Arch Linux
Opened by Baho Utot (baho-utot) - Sunday, 07 June 2009, 12:16 GMT
Last edited by Eric Belanger (Snowman) - Monday, 08 June 2009, 06:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

in the PKGBUIKLD this
depends=('ftgl' 'glut' 'glew')

should be
depends=('ftgl' 'freeglut' 'glew')

[ 2%] Building CXX object CMakeFiles/projectM.dir/projectM.o
In file included from /build/src/libprojectM-1.2.0/projectM.cpp:59:
/build/src/libprojectM-1.2.0/Renderer.hpp:27:23: error: FTGL/FTGL.h: No such file or directory
In file included from /build/src/libprojectM-1.2.0/Renderer.hpp:28,
from /build/src/libprojectM-1.2.0/projectM.cpp:59:
/usr/include/FTGL/FTGLPixmapFont.h:29:5: warning: #warning This header is deprecated. Please use <FTGL/ftgl.h> from now.
make[2]: *** [CMakeFiles/projectM.dir/projectM.o] Error 1
make[1]: *** [CMakeFiles/projectM.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
==> Removing installed dependencies...
error: 'glut': not found in local db
glut not found, searching for group...
==> WARNING: Failed to remove installed dependencies.
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 08 June 2009, 06:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  I've fixed the ftgl build problem shown in your posted output and a gcc 4.4 build problem.

For the glut issue, open a new bug (if it's not alreadydone) against makepkg. It a problem with the -r option and provides.
Comment by Eric Belanger (Snowman) - Sunday, 07 June 2009, 18:56 GMT
freeglut provides glut so the dependency is correct. It looks like projectm has to be patch to build with the current ftgl.
Comment by Baho Utot (baho-utot) - Sunday, 07 June 2009, 20:27 GMT
Then why this error

error: 'glut': not found in local db
glut not found, searching for group...
==> WARNING: Failed to remove installed dependencies.

It is clearly looking for glut which is in the depends line

depends=('ftgl' 'glut' 'glew')

I believe the depends line should list freeglut not glut
Comment by Eric Belanger (Snowman) - Sunday, 07 June 2009, 20:46 GMT
that's a chroot or makepkg issue. They have problems finding the package to remove because of the provide.
Comment by Eric Belanger (Snowman) - Sunday, 07 June 2009, 20:49 GMT
I think it's makepkg that's trying to remove glut because it doesn't figure out that it's freeglut that it needs to remove.

Loading...