Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267584 - media-libs/freeglut-2.4.0-r1 tries to link against native libm whar crosscompiling
Summary: media-libs/freeglut-2.4.0-r1 tries to link against native libm whar crosscomp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: InVCS
Depends on: 267580
Blocks:
  Show dependency tree
 
Reported: 2009-04-26 18:21 UTC by Andrei Slavoiu
Modified: 2009-08-21 08:24 UTC (History)
0 users

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


Attachments
Adding eautoreconf to src_unpack fixes the problem (freeglut-2.4.0-r1.ebuild.patch,768 bytes, patch)
2009-04-26 18:23 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2009-04-26 18:21:25 UTC
/bin/sh ../libtool --mode=link armv4tl-softfloat-linux-gnueabi-gcc  -march=armv4t -mtune=arm920t -Os -pipe  -Wl,-O1 -o libglut.la -rpath /usr/lib -version-info 11:0:8 libglut_la-freeglut_callbacks.lo libglut_la-freeglut_cursor.lo libglut_la-freeglut_display.lo libglut_la-freeglut_ext.lo libglut_la-freeglut_font.lo libglut_la-freeglut_glutfont_definitions.lo libglut_la-freeglut_font_data.lo libglut_la-freeglut_stroke_roman.lo libglut_la-freeglut_stroke_mono_roman.lo libglut_la-freeglut_gamemode.lo libglut_la-freeglut_geometry.lo libglut_la-freeglut_init.lo libglut_la-freeglut_joystick.lo libglut_la-freeglut_main.lo libglut_la-freeglut_menu.lo libglut_la-freeglut_misc.lo libglut_la-freeglut_overlay.lo libglut_la-freeglut_state.lo libglut_la-freeglut_structure.lo libglut_la-freeglut_teapot.lo libglut_la-freeglut_videoresize.lo libglut_la-freeglut_window.lo -lm  -lGL -lGLU -lXext -lX11 -lXxf86vm                                                                                                                                                                                
rm -fr .libs/libglut.la .libs/libglut.* .libs/libglut.*                                                                                                                             
armv4tl-softfloat-linux-gnueabi-gcc -shared  libglut_la-freeglut_callbacks.lo libglut_la-freeglut_cursor.lo libglut_la-freeglut_display.lo libglut_la-freeglut_ext.lo libglut_la-freeglut_font.lo libglut_la-freeglut_glutfont_definitions.lo libglut_la-freeglut_font_data.lo libglut_la-freeglut_stroke_roman.lo libglut_la-freeglut_stroke_mono_roman.lo libglut_la-freeglut_gamemode.lo libglut_la-freeglut_geometry.lo libglut_la-freeglut_init.lo libglut_la-freeglut_joystick.lo libglut_la-freeglut_main.lo libglut_la-freeglut_menu.lo libglut_la-freeglut_misc.lo libglut_la-freeglut_overlay.lo libglut_la-freeglut_state.lo libglut_la-freeglut_structure.lo libglut_la-freeglut_teapot.lo libglut_la-freeglut_videoresize.lo libglut_la-freeglut_window.lo  -Wl,--rpath -Wl,/usr/lib64 -Wl,--rpath -Wl,/usr/lib64  -L/usr/lib -L/usr/lib64 -lm /usr/lib64/libGL.so /usr/lib/libGLU.so /usr/lib64/libXext.so /usr/lib64/libX11.so /usr/lib64/libXxf86vm.so  -Wl,-O1 -Wl,-soname -Wl,libglut.so.3 -o .libs/libglut.so.3.8.0                                                                                  
/usr/lib/libm.so: file not recognized: File format not recognized                                                                                                                   
collect2: ld returned 1 exit status                                                                                                                                                 
make[2]: *** [libglut.la] Error 1                                                                                                                                                   
make[2]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0/src'                                                                                  
make[1]: *** [all-recursive] Error 1                                                                                                                                                
make[1]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.4.0-r1/work/freeglut-2.4.0'                                                                                      
make: *** [all] Error 2                                                                                                                                                             
 *                                                                                                                                                                                  
 * ERROR: media-libs/freeglut-2.4.0-r1 failed.                                                                                                                                      

Reproducible: Always

Steps to Reproduce:
Comment 1 Andrei Slavoiu 2009-04-26 18:23:32 UTC
Created attachment 189536 [details, diff]
Adding eautoreconf to src_unpack fixes the problem
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-08-21 08:24:58 UTC
Added into cvs.
Thanks for the bug