Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500626 - media-libs/mesa-9.2.5 - /usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)': (.text+0x657): undefined reference to `setupterm'
Summary: media-libs/mesa-9.2.5 - /usr/lib64/libLLVMSupport.a(Process.o): In function `...
Status: RESOLVED DUPLICATE of bug 481316
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-07 15:48 UTC by Geoff Madden
Modified: 2014-02-14 18:55 UTC (History)
1 user (show)

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


Attachments
emerge info (emerge.inf,5.85 KB, text/plain)
2014-02-07 15:49 UTC, Geoff Madden
Details
build-amd64log.tar.xz (build-amd64log.tar.xz,51.21 KB, application/x-xz-compressed-tar)
2014-02-07 15:50 UTC, Geoff Madden
Details
buildlog.tar.xz (buildlog.tar.xz,51.74 KB, application/x-xz-compressed-tar)
2014-02-07 15:51 UTC, Geoff Madden
Details
configlog.tar.xz (configlog.tar.xz,24.02 KB, application/x-xz-compressed-tar)
2014-02-07 15:52 UTC, Geoff Madden
Details
my epatch log (epatch.log,1.35 KB, text/plain)
2014-02-07 15:52 UTC, Geoff Madden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Madden 2014-02-07 15:48:23 UTC
usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x657): undefined reference to `setupterm'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x680): undefined reference to `tigetnum'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x689): undefined reference to `set_curterm'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x691): undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status
Makefile:849: recipe for target 'egl_gallium.la' failed
gmake[3]: *** [egl_gallium.la] Error 1
gmake[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64/src/gallium/targets/egl-static'
Makefile:575: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64/src/gallium/targets'
Makefile:552: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64/src'
Makefile:603: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 [31;01m*[0m ERROR: media-libs/mesa-9.2.5::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-libs/mesa-9.2.5::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.2.5::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.2.5/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.2.5/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64'
 [31;01m*[0m S: '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5'


Reproducible: Always

Steps to Reproduce:
1.rebuilt llvm (ref to terminfo)
2.build mesa
3.mesa fails with the above ref to color
Actual Results:  
compilation stops, checked in /v/t/ found a cmake dir, ran that and compile completed. then entered the amd64 dir and compile fell over as per orig.

Expected Results:  
mesa installed

I did add a patch for linking that I found on the site.
which will be included.

usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x657): undefined reference to `setupterm'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x680): undefined reference to `tigetnum'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x689): undefined reference to `set_curterm'
/usr/lib64/libLLVMSupport.a(Process.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)':
(.text+0x691): undefined reference to `del_curterm'
collect2: error: ld returned 1 exit status
Makefile:849: recipe for target 'egl_gallium.la' failed
gmake[3]: *** [egl_gallium.la] Error 1
gmake[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64/src/gallium/targets/egl-static'
Makefile:575: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64/src/gallium/targets'
Makefile:552: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64/src'
Makefile:603: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
 [31;01m*[0m ERROR: media-libs/mesa-9.2.5::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-libs/mesa-9.2.5::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.2.5::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.2.5/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.2.5/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5-amd64'
 [31;01m*[0m S: '/var/tmp/portage/media-libs/mesa-9.2.5/work/Mesa-9.2.5'
Comment 1 Geoff Madden 2014-02-07 15:49:19 UTC
Created attachment 369804 [details]
emerge info
Comment 2 Geoff Madden 2014-02-07 15:50:02 UTC
Created attachment 369806 [details]
build-amd64log.tar.xz
Comment 3 Geoff Madden 2014-02-07 15:51:31 UTC
Created attachment 369808 [details]
buildlog.tar.xz
Comment 4 Geoff Madden 2014-02-07 15:52:10 UTC
Created attachment 369810 [details]
configlog.tar.xz
Comment 5 Geoff Madden 2014-02-07 15:52:41 UTC
Created attachment 369812 [details]
my epatch log
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 16:09:39 UTC
Why are you putting singular files in tar archives?
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-07 16:13:12 UTC

*** This bug has been marked as a duplicate of bug 481316 ***
Comment 8 Geoff Madden 2014-02-08 02:09:02 UTC
(In reply to Jeroen Roovers from comment #6)
> Why are you putting singular files in tar archives?

SIZE