Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gcc-3.2.2.-r3.ebuild error!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
moonclimber
n00b
n00b


Joined: 25 Feb 2003
Posts: 24
Location: NUPT NanJing China

PostPosted: Fri Apr 11, 2003 9:07 am    Post subject: emerge gcc-3.2.2.-r3.ebuild error! Reply with quote

Quote:
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-devel/gcc-3.2.2-r3 to /
>>> Downloading http://gentoo.linux.no//distfiles/gcc-3.2.2-tls-update.patch.bz2

All Done: Download Succesfull!
>>> Downloading http://gentoo.linux.no//distfiles/gcc-3.2.2.tar.bz2

All Done: Download Succesfull!
>>> md5 ;-) gcc-3.2.2.tar.bz2
>>> No message digest entry found for archive "gcc-3.2.2-tls-update.patch.bz2."
!!! Most likely a temporary problem. Try 'emerge rsync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!! ebuild /usr/portage/category/package/package-version.ebuild digest


I tried to emerge just now , but failed, and I have tried the two method mentioned : 1) emerge rsync 2) ebuild /usr/portage/sys-devel/gcc/gcc-3.2.2-r3.ebuild digest
, but also failed.

Does anybody success? :cry:
Back to top
View user's profile Send private message
Rhino
Apprentice
Apprentice


Joined: 12 Feb 2003
Posts: 177

PostPosted: Fri Apr 11, 2003 1:15 pm    Post subject: Reply with quote

well you can ebuild gcc-3.2.2-r3.ebuild digest, but it will fail to
compile because Propolice patches, edit the ebuild commenting
the propolice patch lines in it.

if ebuilding digest do not work, copy the md5 line for
gcc-3.2.2-tls-update.patch.bz2 on the gcc-3.2.2-r2 digest.

it worked for me.
_________________
With sufficient thrust, pigs fly just fine.
[ RFC 1925 ]
Back to top
View user's profile Send private message
moonclimber
n00b
n00b


Joined: 25 Feb 2003
Posts: 24
Location: NUPT NanJing China

PostPosted: Fri Apr 11, 2003 2:02 pm    Post subject: Reply with quote

ebuilding digest seems no effect :cry:

I look up the gcc-3.2.2-r3.ebuild, I think this ebuild using gcc-3.2.2-tls-update2.patch.bz2 , but even I put gcc-3.2.2-tls-update2.patch.bz2 into /usr/portage/disfiles, when I emerge gcc.....-r3.ebuild, the emerge system also patches gcc using gcc-3.2.2-tls-update.patch.bz2(NOT update2). I am wondering whether this gcc-3.2.2-r3 ebuild srcipt is wrong? :?:
Back to top
View user's profile Send private message
Lovechild
Advocate
Advocate


Joined: 17 May 2002
Posts: 2858
Location: Århus, Denmark

PostPosted: Fri Apr 11, 2003 2:15 pm    Post subject: Reply with quote

bugzilla is your friend - just search for gcc, and it's the last on on the list, or close to... there's a tiny bug in portage that causes this to happen.
Back to top
View user's profile Send private message
Rhino
Apprentice
Apprentice


Joined: 12 Feb 2003
Posts: 177

PostPosted: Fri Apr 11, 2003 2:19 pm    Post subject: Reply with quote

this is how i get it to work:

edit the files/digest-gcc-3.2.2-r3 like this ::
Code:

MD5 962a2057a2572226bc99aaeba4255e9b gcc-3.2.2.tar.bz2 20311217
MD5 c71dd70b642cde15c96adaf87a429e3a gcc-3.2.2-branch-update-20030322.patch.bz2 72073
MD5 74f9a0e9572b2ad94aebfc2540f93c39 gcc-3.2.2-tls-update.patch.bz2 603111
MD5 232534e6fbe25667b95c7f668f0d11ef gcc-3.2.2-tls-update2.patch.bz2 595649


and edit the gcc-3.2.2-r3.ebuild and comment this lines :
Code:

# ProPolice Stack Smashing protection - protector-3.2.2-5
epatch ${FILESDIR}/3.2.2/protector.patch
cp ${FILESDIR}/3.2.2/protector.c ${WORKDIR}/${P}/gcc/ || die "protector.c not found"
cp ${FILESDIR}/3.2.2/protector.h ${WORKDIR}/${P}/gcc/ || die "protector.h not found"
epatch ${FILESDIR}/3.2.2/gcc-322-r3-propolice-version.patch

_________________
With sufficient thrust, pigs fly just fine.
[ RFC 1925 ]
Back to top
View user's profile Send private message
Apolonius
Guru
Guru


Joined: 24 Jan 2003
Posts: 325

PostPosted: Fri Apr 11, 2003 2:55 pm    Post subject: Reply with quote

compilation success!
What i've done:
- edit /var/cache/edb/dep/sys-devel/gcc-3.2.2-r3 and remplace gcc-3.2.2-tls-update.patch by gcc-3.2.2-tls-update2.patch
- edit make.conf to put MAKEOPTS="-j1"
Back to top
View user's profile Send private message
Rhino
Apprentice
Apprentice


Joined: 12 Feb 2003
Posts: 177

PostPosted: Fri Apr 11, 2003 3:06 pm    Post subject: Reply with quote

what version of glibc you are using ?
you compiled it with the propolice patches ?
_________________
With sufficient thrust, pigs fly just fine.
[ RFC 1925 ]
Back to top
View user's profile Send private message
Apolonius
Guru
Guru


Joined: 24 Jan 2003
Posts: 325

PostPosted: Fri Apr 11, 2003 4:29 pm    Post subject: Reply with quote

I use glibc-2.3.2-r1 with nptl
and yes i compiled with the ProPolice patch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum