Activity log for bug #485225

Date Who What changed Old value New value Message
2009-11-19 09:04:54 Flamey bug added bug
2009-11-19 09:04:54 Flamey attachment added Proposed fix http://launchpadlibrarian.net/35848484/ftgl.diff
2009-11-21 06:49:58 Flamey description Description: Ubuntu 9.10 Release: 9.10 libftgl2: Installed: 2.1.3~rc5-2 Candidate: 2.1.3~rc5-2 Version table: *** 2.1.3~rc5-2 0 500 http://us.archive.ubuntu.com karmic/universe Packages 100 /var/lib/dpkg/status libftgl2: Installed: 2.1.3~rc5-2 Candidate: 2.1.3~rc5-2 Version table: *** 2.1.3~rc5-2 0 500 http://us.archive.ubuntu.com karmic/universe Packages 100 /var/lib/dpkg/status When using the C interface function ftglGetLayoutBBox, the function is not found in the library. $ readelf -s /usr/lib/libftgl.so|grep LayoutBBox 579: 0000000000023bf0 313 FUNC GLOBAL DEFAULT 11 ftgGetlLayoutBBox $ grep GetLayoutBBox /usr/include/FTGL/FTLayout.h FTGL_EXPORT void ftglGetLayoutBBox(FTGLlayout *layout, const char* string, Readelf shows that the function is named incorrectly (ftgGetlLayoutBBox), but the header FTLayout.h declared the function as ftglGetLayoutBBox. Description: Ubuntu 9.10 Release: 9.10 libftgl2:   Installed: 2.1.3~rc5-2   Candidate: 2.1.3~rc5-2   Version table:  *** 2.1.3~rc5-2 0         500 http://us.archive.ubuntu.com karmic/universe Packages         100 /var/lib/dpkg/status When it try to compile an example that tries to call ftglGetLayoutBBox I get a link error. $ cat example.c #include <FTGL/ftgl.h> int main(int argc, char **argv) { float bbox[6]; ftglGetLayoutBBox(NULL, "Hello, world!", bbox); return 0; } $ gcc $(pkg-config --cflags --libs ftgl freetype2) -lglut example.c &&./a.out /tmp/cc8b7sZG.o: In function `main': example.c:(.text+0x21): undefined reference to `ftglGetLayoutBBox' collect2: ld returned 1 exit status However the expected result is $ gcc $(pkg-config --cflags --libs ftgl freetype2) -lglut example.c &&./a.out FTGL warning: NULL pointer in _ftglGetLayoutBBox The bug is caused by a discrepancy between the function name in the header and library.     $ readelf -s /usr/lib/libftgl.so|grep LayoutBBox        579: 0000000000023bf0 313 FUNC GLOBAL DEFAULT 11 ftgGetlLayoutBBox     $ grep GetLayoutBBox /usr/include/FTGL/FTLayout.h     FTGL_EXPORT void ftglGetLayoutBBox(FTGLlayout *layout, const char* string, Readelf shows that the function is named incorrectly (ftgGetlLayoutBBox), but the header FTLayout.h declared the function as ftglGetLayoutBBox.
2009-11-21 07:44:58 Flamey attachment removed Proposed fix http://launchpadlibrarian.net/35848484/ftgl.diff
2009-11-21 07:46:23 Flamey attachment added Proposed fix http://launchpadlibrarian.net/35910464/fix-ftglGetLayoutBBox-typo.patch
2010-04-13 12:55:13 Flamey ftgl (Ubuntu): assignee MOTU (motu)
2010-05-06 04:13:05 Kaylee Hirsch ftgl (Ubuntu): status New Confirmed
2010-05-06 04:34:00 Kaylee Hirsch bug watch added http://sourceforge.net/support/tracker.php?aid=2121813
2010-05-06 05:09:44 Emmet Hikory ftgl (Ubuntu): assignee MOTU (motu)
2010-05-06 05:09:53 Emmet Hikory tags patch
2010-05-06 06:18:35 Emmet Hikory bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580451
2010-05-06 06:18:35 Emmet Hikory bug task added ftgl (Debian)
2010-05-06 06:22:23 Emmet Hikory removed subscriber Ubuntu Review Team
2010-05-06 06:22:58 Emmet Hikory tags patch patch patch-forwarded-debian patch-forwarded-upstream
2010-05-06 17:21:14 Bug Watch Updater ftgl (Debian): status Unknown New
2011-11-26 16:12:30 Bug Watch Updater ftgl (Debian): status New Fix Released