Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145121 - g++ programs fail to compile because of filename problems (stage3-sparc64-2006.0)
Summary: g++ programs fail to compile because of filename problems (stage3-sparc64-200...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: Sparc64 Other
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 15:36 UTC by Michael Wharmby
Modified: 2006-11-07 11:19 UTC (History)
1 user (show)

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 Michael Wharmby 2006-08-25 15:36:59 UTC
Using GCC 3.4.5 bundled with the stage3-sparc64-2006.0 tar file, the following directory contains files which prevent g++ programs compiling correctly:
/usr/lib/gcc/sparc-unknown-linux-gnu/3.4.5/include/g++-v3/sparc-unknown-linux-gnu/bits

As well as corectly named files in this directory there are also 4 with the wrong file type.  These are
basic_file.h0000644
ctype_base.h0000644
gthr-posix.h0000644
os_defines.h0000644

Renaming these files to .h file type works fine, but could the stage3 tar file be updated please.
Comment 1 Jason Wever (RETIRED) gentoo-dev 2006-08-27 17:33:55 UTC
I am unable to replicate this on two different SPARCs or an AMD64 machine (all running Gentoo) using either tar or 7zip.

Would you provide the method you used to unpack the stage3 and verify you have no hardware issues with the machine you experienced this on?
Comment 2 Michael Wharmby 2006-08-29 16:18:32 UTC
Using the stage3 tar ball at: ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/releases/sparc/2006.0/sparc64/stages/stage3-sparc64-2006.0.tar.bz2

As per the Gentoo SPARC handbook, the file is decompressed using tar xvjpf (having downloaded the file from another machine on my network and checked the md5 sum - which comes out good).  The tar uncompiles cleanly.
I've encountered this problem on two machines (Ultra1 Creator3D and Ultra1 Enterprise).
The problem appears to be related to the tar itself, since I opened another copy of the tar using UlitmateZip under Windows 2000 and on the files list, os_defines is listed as a .h0000644 file.

I think the problem is unique to this architecture since I haven't encountered it using the i686 stage3 tar ball.
Comment 3 Jason Wever (RETIRED) gentoo-dev 2006-08-30 20:38:56 UTC
I downloaded the same tarball and I am still unable to repllicate what you are seeing.  Do you get the same with the 2006.1 stage3 (it was just released today)?
Comment 4 Gustavo Zacarias (RETIRED) gentoo-dev 2006-11-07 11:19:07 UTC
2006.1 is out and we've got no response about testing this, reopen with info otherwise.