Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 523214

Summary: games-roguelike/angband-3.4.1: Failed to emerge with 'ld: cannot find -lSM'
Product: Gentoo Linux Reporter: Walter <walter>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Walter 2014-09-19 10:24:28 UTC
x86_64-pc-linux-gnu-gcc -o angband angband.o main.o main-gcu.o main-x11.o -Wl,-O1 -Wl,--as-needed  -L/usr/lib64 -lncursesw  -lSM -lICE  -lX11  -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSM
collect2: error: ld returned 1 exit status
make[3]: *** [angband] Error 1
make[3]: Leaving directory `/var/tmp/portage/games-roguelike/angband-3.4.1/work/angband-v3.4.1/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/games-roguelike/angband-3.4.1/work/angband-v3.4.1/src'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/var/tmp/portage/games-roguelike/angband-3.4.1/work/angband-v3.4.1'
make: *** [all] Error 2
 * ERROR: games-roguelike/angband-3.4.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-roguelike/angband-3.4.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-roguelike/angband-3.4.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-roguelike/angband-3.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-roguelike/angband-3.4.1/temp/environment'.
 * Working directory: '/var/tmp/portage/games-roguelike/angband-3.4.1/work/angband-v3.4.1'
 * S: '/var/tmp/portage/games-roguelike/angband-3.4.1/work/angband-v3.4.1'

>>> Failed to emerge games-roguelike/angband-3.4.1, Log file:


Reproducible: Always

Steps to Reproduce:
1. emerge angband
Actual Results:  
Fail with 'ld: cannot find -lSM'

Expected Results:  
Emerges as normal.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2014-09-19 19:04:46 UTC
Should be fixed.  Thanks for the bug report.