Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80491 - The distributed groff-1.19.1 does not compile
Summary: The distributed groff-1.19.1 does not compile
Status: RESOLVED DUPLICATE of bug 80434
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 10:37 UTC by Dario Mariani
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dario Mariani 2005-02-02 10:37:43 UTC
After downloading groff-1.19.1 from http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/ (and several other mirrors), when trying to compile, the following error is reported:

# ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required

This also affects the installation at stage 2.
Comment 1 Dario Mariani 2005-02-02 10:48:22 UTC
# gcc-config -l
[1] x86_64-pc-linux-gnu-3.4.2
[2] x86_64-pc-linux-gnu-3.4.2-hardened
[3] x86_64-pc-linux-gnu-3.4.2-hardenednossp
[4] x86_64-pc-linux-gnu-3.4.3 *
[5] x86_64-pc-linux-gnu-3.4.3-hardened
[6] x86_64-pc-linux-gnu-3.4.3-hardenednopie
[7] x86_64-pc-linux-gnu-3.4.3-hardenednossp

#  * Switching to x86_64-pc-linux-gnu-3.4.3 compiler...                                                                                         [ ok ]
g++: no input files
Comment 2 Dario Mariani 2005-02-02 11:19:42 UTC
I tried to compile a simple program. It compiles but, on execution I get:
"error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory"

I did not find this library anywhere, nor a package to emerge.
Comment 3 SpanKY gentoo-dev 2005-02-03 13:40:28 UTC
it appears to be a multilib bug ... a friend of mine hit this and
this is what we managed to debug:
$ echo 'int main(){}' > test.cpp
$ strace -f -o out ./a.out
$ grep libstdc++ out
24087 open("/lib/tls/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 open("/lib/tls/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 open("/lib/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 open("/lib/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 open("/usr/lib/tls/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 open("/usr/lib/tls/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 open("/usr/lib/x86_64/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 open("/usr/lib/libstdc++.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
  24087 writev(2, [{"./a.out", 7}, {": ", 2}, {"error while loading shared libra"..., 36}, {": ", 2}, {"libstdc++.so.6", 14}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10) = 121

that /lib/x86_64/ looks very wrong
Comment 4 SpanKY gentoo-dev 2005-02-03 13:42:38 UTC

*** This bug has been marked as a duplicate of 80434 ***