* [gentoo-user] Ekopath compiler failing to build - something about glibc development files
@ 2013-01-13 6:53 Andrew Lowe
2013-01-13 19:46 ` [gentoo-user] " walt
2013-01-15 9:29 ` [gentoo-user] " Stroller
0 siblings, 2 replies; 5+ messages in thread
From: Andrew Lowe @ 2013-01-13 6:53 UTC (permalink / raw
To: gentoo-user
Hi all,
I've got the ekopath compiler installed on my machine and Portage wants
to update it, but fails. Before I go to the trouble of filling out a
full bug report, does anyone have any ideas as to the problem? I think
it is in the 5th line, "Configuration failed..."
************************
>>> Install ekopath-4.0.12.1_pre20121102 into
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image/ category
dev-lang
Problem running post-install step. Installation may not complete correctly
Configuration failed. Make sure you have glibc developement files
installed.
Additional information:
====
In file included from /usr/include/endian.h:61,
from /usr/include/pthread.h:23,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_mutex-pthread.h:52,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_mutex.h:71,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_strref.h:41,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/string:44,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/loc/_locale.h:37,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_iosbase.h:37,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/streambuf:40,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/ostream:45,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/istream:44,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/iostream:34,
from
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/test.cpp:3:
/usr/include/bits/byteswap.h: In function 'unsigned int
__bswap_32(unsigned int)':
/usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not
declared in this scope
/usr/include/bits/byteswap.h: In function 'long long unsigned int
__bswap_64(long long unsigned int)':
/usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not
declared in this scope
*****************************
From all of the above, I think the important part is that I need to
install some "glibc developement files". A google search doesn't point
me in the direction of what these might be. According to "eix glibc", I
have debug turned OFF - is this the problem? Or is this for debugging
glibc and not my code? I think if I can work out the development files
stuff, the bswap64 problem will fix itself.
Any thoughts are greatly appreciated,
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Ekopath compiler failing to build - something about glibc development files
2013-01-13 6:53 [gentoo-user] Ekopath compiler failing to build - something about glibc development files Andrew Lowe
@ 2013-01-13 19:46 ` walt
2013-01-15 9:29 ` [gentoo-user] " Stroller
1 sibling, 0 replies; 5+ messages in thread
From: walt @ 2013-01-13 19:46 UTC (permalink / raw
To: gentoo-user
On 01/12/2013 10:53 PM, Andrew Lowe wrote:
> Hi all,
> I've got the ekopath compiler installed on my machine and Portage wants to update it, but fails. Before I go to the trouble of filling out a full bug report, does anyone have any ideas as to the problem? I think it is in the 5th line, "Configuration failed..."
>
> ************************
>
>>>> Install ekopath-4.0.12.1_pre20121102 into /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image/ category dev-lang
> Problem running post-install step. Installation may not complete correctly
> Configuration failed. Make sure you have glibc developement files installed.
> Additional information:
> ====
> In file included from /usr/include/endian.h:61,
> from /usr/include/pthread.h:23,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_mutex-pthread.h:52,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_mutex.h:71,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_strref.h:41,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/string:44,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/loc/_locale.h:37,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_iosbase.h:37,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/streambuf:40,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/ostream:45,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/istream:44,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/iostream:34,
> from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/test.cpp:3:
> /usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)':
> /usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope
> /usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)':
> /usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope
>
> *****************************
>
> From all of the above, I think the important part is that I need to install some "glibc developement files". A google search doesn't point me in the direction of what these might be. According to "eix glibc", I have debug turned OFF - is this the problem? Or is this for debugging glibc and not my code? I think if I can work out the development files stuff, the bswap64 problem will fix itself.
That's obviously a bug in the ebuild because you should never need to install dependencies
on your own -- that's a big part of what the ebuild is supposed to do.
Because gentoo compiles most packages from source, all of the development files are
included with the main package (including glibc) unlike most linux distros that do
package them separately because many linux users are not going to compile anything.
It's true that the gentoo glibc package might have omitted some of the headers by
mistake, but I don't think so in this case because I just wrote, compiled, and ran
a C program that includes byteswap.h and got no errors.
The bottom line is that the ekopath package is broken -- for reasons I don't know,
but the package maintainer should ;)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Ekopath compiler failing to build - something about glibc development files
2013-01-13 6:53 [gentoo-user] Ekopath compiler failing to build - something about glibc development files Andrew Lowe
2013-01-13 19:46 ` [gentoo-user] " walt
@ 2013-01-15 9:29 ` Stroller
2013-01-15 22:31 ` Mike Edenfield
1 sibling, 1 reply; 5+ messages in thread
From: Stroller @ 2013-01-15 9:29 UTC (permalink / raw
To: gentoo-user
On 13 January 2013, at 06:53, Andrew Lowe wrote:
> ...
> From all of the above, I think the important part is that I need to install some "glibc developement files". A google search doesn't point me in the direction of what these might be. According to "eix glibc", I have debug turned OFF - is this the problem?
You can test this with:
`USE=debug emerge -1 glibc && emerge ekopath`
I doubt it'll make any difference, but you mention this, so that's how to rule it out.
If you don't get any better answers here, I would check the ekopath bug tracker then ask on the ekopath mailing list or, if they don't have one, directly with the author. When you've established what the problem is, don't forget to file at bugs.gentoo.org
Stroller.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-user] Ekopath compiler failing to build - something about glibc development files
2013-01-15 9:29 ` [gentoo-user] " Stroller
@ 2013-01-15 22:31 ` Mike Edenfield
2013-01-16 1:40 ` Andrew Lowe
0 siblings, 1 reply; 5+ messages in thread
From: Mike Edenfield @ 2013-01-15 22:31 UTC (permalink / raw
To: gentoo-user
> On 13 January 2013, at 06:53, Andrew Lowe wrote:
> ...
> From all of the above, I think the important part is that I need to
> install some "glibc developement files". A google search doesn't point me
in
> the direction of what these might be. According to "eix glibc", I have
debug
> turned OFF - is this the problem?
The part about the "glibc development [sic] files" is mostly a red herring.
I'm not sure where it's coming from (I can't find that misspelling of
development in the portage source or any eclass, and it's not part of the
actual ebuild.)
The error happens any time the ekopath installation fails. AFAICT, the
ekopath ebuild doesn't really do anything except unpack the tarball and, in
the post-install step, run the binary installation program that ships with
ekopath. If anything at all happens when the installer is running, you get
the same error from portage. What is actually going wrong here is down the
bottom:
/usr/include/bits/byteswap.h: In function 'unsigned int
__bswap_32(unsigned int)':
/usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not
declared in this scope
/usr/include/bits/byteswap.h: In function 'long long unsigned int
__bswap_64(long long unsigned int)':
/usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not
declared in this scope
Last time I saw this is was because a package assumed I had gcc4.3 and I was
using an older version, but I highly doubt that's your problem.
One thing you can try is to run the installer manually. If you emerge the
package and let it fail, all the bits are left in the temporary work
folders, so you can do this:
cd /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/work
./ekopath-4.0.12.1_pre20121102.run --prefix
/var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image/opt/ekopath
and walk through the installation manually. It's an agonizingly slow process
but it should work, or give you a better idea of what failed.
--Mike
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Ekopath compiler failing to build - something about glibc development files
2013-01-15 22:31 ` Mike Edenfield
@ 2013-01-16 1:40 ` Andrew Lowe
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Lowe @ 2013-01-16 1:40 UTC (permalink / raw
To: gentoo-user
On 01/16/13 06:31, Mike Edenfield wrote:
>> On 13 January 2013, at 06:53, Andrew Lowe wrote:
>> ...
>> From all of the above, I think the important part is that I need to
>> install some "glibc developement files". A google search doesn't point me
> in
>> the direction of what these might be. According to "eix glibc", I have
> debug
>> turned OFF - is this the problem?
>
> The part about the "glibc development [sic] files" is mostly a red herring.
> I'm not sure where it's coming from (I can't find that misspelling of
> development in the portage source or any eclass, and it's not part of the
> actual ebuild.)
>
>
[snip]
I got an email directly from the maintainer pointing me to something in
the gentoo bugs db,
https://bugs.gentoo.org/show_bug.cgi?id=444020#c6
which basically says there was something wrong and re-emerging glibc
will fix the problem. I did this then ran my "emerge -NuD world". Lo &
behold, V5 of the compiler was installed, not the V4.?? that I was
having trouble with, and installed cleanly. As V5 is now there, I can't
be bothered checking on the V4 problem.
Thanks for the comments,
Andrew
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-16 1:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-13 6:53 [gentoo-user] Ekopath compiler failing to build - something about glibc development files Andrew Lowe
2013-01-13 19:46 ` [gentoo-user] " walt
2013-01-15 9:29 ` [gentoo-user] " Stroller
2013-01-15 22:31 ` Mike Edenfield
2013-01-16 1:40 ` Andrew Lowe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox