Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openssl-0.9.7e-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
HippieJoe
n00b
n00b


Joined: 09 Aug 2003
Posts: 67

PostPosted: Sun Apr 03, 2005 4:05 am    Post subject: Openssl-0.9.7e-r1 Reply with quote

Well, I am trying to install from a stage1 with a Pentium M. I followed another thread, and thought I had it working untill I go this message durring emerge -e system

Quote:
>>> Source unpacked.
Operating system: i686-whatever-linux2
You need Perl 5.

!!! ERROR: dev-libs/openssl-0.9.7e-r1 failed.
!!! Function src_compile, Line 152, Exitcode 1
!!! config failed
!!! If you need support, post the topmost build error, NOT this status message.


What i did:

make.conf included march=pentium3
make.conf included ACCEPT_KEYWORDS="~x86" (stupid I know, but I couldn't upgrade gcc without it)
followed guide through the bootstrap process
after the first bootstrap: gcc-config 5 (5 being gcc 3.4.3)
changed make.conf so that march=pentium-m
env-update
source /etc/profile
bootstrapped again (Worked fine this time - I thought I was good to go)
emerge -e system (bam...see error message above)

Any ideas, has anyone else run into this, or know of a fix or work around for this. yes I know I could always just start from a stage2, but what fun is that. The only hit I had when searching for this error was the thread involving the unofficial jackass penguin boot cd which would include gcc 3.4.3. But there was no direct reference to my error.

Well thanks for everything.

Hippie Joe
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 6:15 am    Post subject: Reply with quote

Code:
env-update
source /etc/profile
emerge --oneshot --nodeps libperl perl
and retry. It should work.
Please make sure to run
Code:
emerge -e system
TWICE in a row after switching GCC versions (actually, after any upgrade to either one of: linux-headers, glibc, gcc, binutils, or any other package in the system alias, for that matter).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
HippieJoe
n00b
n00b


Joined: 09 Aug 2003
Posts: 67

PostPosted: Sun Apr 03, 2005 8:15 am    Post subject: Reply with quote

Well, no luck. libperl emerged fine, but perl errored out with:

Code:
...
GDBM_File.c:627: error: `db' undeclared (first use in this function)
GDBM_File.c:627: error: called object is not a function
make[1]: *** [GDBM_File.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/perl-5.8.6-r4/work/perl-5.8.6/ext/GDBM_File'
make: *** [lib/auto/GDBM_File/GDBM_File.so] Error 2

!!! ERROR: dev-lang/perl-5.8.6-r4 failed.
!!! Function src_compile, Line 247, Exitcode 2
!!! Unable to make
!!! If you need support, post the topmost build error, NOT this status message.


What are they suggesting I post when, at the bottom line they ask me to post the topmost build? What is that, and would it be more helpful? Thanks again!

HippieJoe
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 8:28 am    Post subject: Reply with quote

It's what you posted, basically - the errors from the compiler. You should post all of them, starting from the first line that showed an error, and down till the last thing emerge said. I assume you did, by the looks of it :).
Try
Code:
USE="-gdbm bootstrap" emerge --nodeps --oneshot libperl perl
Then after perl finishes merging, emerge --oneshot openssl, then do the emerge -e system (twice).
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
HippieJoe
n00b
n00b


Joined: 09 Aug 2003
Posts: 67

PostPosted: Sun Apr 03, 2005 8:44 am    Post subject: Reply with quote

Ok, I made it through those steps with no problems, and I just started the first emerge -e system. Thanks a ton for all your help!!! Hopefully things run smooth from here. One more question though, why emerge -e system twice in a row- what is the reason for that? Thanks again!

HippieJoe
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 9:08 am    Post subject: Reply with quote

Most welcome.
The first emerge -e system compiles your toolchain with the new GCC you've just switched to. The second emerge -e system recompiles the toolchain with the new clean toolchain.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
HippieJoe
n00b
n00b


Joined: 09 Aug 2003
Posts: 67

PostPosted: Sun Apr 03, 2005 3:38 pm    Post subject: Reply with quote

Ok, the two emerges make sense. Unfortunatly, I got another problem. A sanity error? Is that when the md5 that emerge calculates doesn't match the one listed? I think I have seen this before, and if that is it I know you can tell emerge to ignor the md5. But then again, there probably is a reaosn why it is different, something changed, or wasn't listed right. The other option is I am completely wrong and it has nothing to do with a hash.

Code:

...
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
 * INTL sanity check failed, aborting build.
 * Please post your /var/tmp/portage/e2fsprogs-1.37/work/e2fsprogs-1.37/config.log file as an
 * attachment to http://bugs.gentoo.org/show_bug.cgi?id=81096

!!! ERROR: sys-fs/e2fsprogs-1.37 failed.
!!! Function src_compile, Line 65, Exitcode 0
!!! Preventing included intl cruft from building
!!! If you need support, post the topmost build error, NOT this status message.


There are no errors above this, it just bails when it hits the sanity check. Take it easy.

HippieJoe
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Sun Apr 03, 2005 8:58 pm    Post subject: Reply with quote

No, it's got nothing to do with the file hashes, it's a gettext problem. If you don't plan to use more than one language for the system error messages and such (i.e. if you're only using English), put -nls in your USE variable and --resume the emerge. Or put the -nls in just for e2fsprogs via package.use, but as a global flag it'll save you disk space too.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
HippieJoe
n00b
n00b


Joined: 09 Aug 2003
Posts: 67

PostPosted: Mon Apr 04, 2005 1:19 am    Post subject: Reply with quote

Well I added -nls to make.conf and ran: emerge --resume -e system. I also ran env-update and source /etc/profile. I got a different error on the same package. I am getting the feeling that this is just going to be one error after another. I was trying to figure what I had done different (no counting installing on a pentium m), but this time I used the USE flag static in my make.conf. I am not positive what that flag does, but I think it can make you system more secure. Anyways, here is the new error:

Code:
...
make[2]: Entering directory `/var/tmp/portage/e2fsprogs-1.37/work/e2fsprogs-1.37/lib/ss'
        SUBST mk_cmds
        MKDIR elfshared
        COMPILE_ET ss_err.et
        CC ss_err.c
        MK_CMDS std_rqs.c
        CC std_rqs.c
        CC invocation.c
        CC help.c
        CC execute_cmd.c
        CC listen.c
        CC parse.c
        CC error.c
        CC prompt.c
        CC request_tbl.c
        CC list_rqs.c
        CC pager.c
        CC requests.c
        CC data.c
        CC get_readline.c
        GEN_LIB libss.a
        GEN_ELF_SOLIB libss.so.2.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: ss_err.o(.note+0x10): unresolvable relocation against symbol `__you_tried_to_link_a_dietlibc_object_against_glibc'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[2]: *** [libss.so.2.0] Error 1
make[2]: Leaving directory `/var/tmp/portage/e2fsprogs-1.37/work/e2fsprogs-1.37/lib/ss'
make[1]: *** [all-libs-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/e2fsprogs-1.37/work/e2fsprogs-1.37'
make: *** [all] Error 2

!!! ERROR: sys-fs/e2fsprogs-1.37 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


What do you think, is this a lost cause, should I just start from a stage2? Is there another approach to installing from a stage1...maybe booting and installing from Knoppix? Any advice would be great, and I really do appreciate your patience and help. Thanks again, take it easy.

HippieJoe
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Apr 04, 2005 1:30 am    Post subject: Reply with quote

Did you use the diet USE flag? That tries to replace glibc with dietlibc and it's not exactly stable yet.
I'd like it if you posted the output of
Code:
emerge --info
- let's take a look at your portage settings there...
I don't recommend anyone use stage 2, ever. It's pointless.
I also don't recommend anyone ever use stage 1 unless they're forced to change the CHOST (for example for older Intel or AMD processors, such as the original Pentiums, Pentium MMXes, or AMD K6 / K6-2 / K6-3 processors). Stage 1 tarballs have their own issues (such as incomplete /var/db/pkg and a less than orthodox toolchain build procedure, aka bootstrap).
My recommendation is to use a stage 3 tarball appropiate for your processor (for a Pentium M that would be the Pentium 3 tarball) then after installation and setup of package.keywords (to get GCC 3.4 for example) run emerge -e system once to get the updated toolchain, switch to GCC 3.4 (don't forget source /etc/profile and update the CFLAGS, including the -march=pentium-m), then run the two emerge -e system in a row to get a clean 3.4 toolchain. Or you can use Bob P's installation guide.
Also - if you're trying to use a hardened GCC 3.4.x compiler - don't. Hardened and GCC 3.4 don't play along nicely.
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
HippieJoe
n00b
n00b


Joined: 09 Aug 2003
Posts: 67

PostPosted: Mon Apr 04, 2005 2:23 am    Post subject: Reply with quote

Here is the emerge --info post. I am sure there is plenty of stuff in there that is messing me up. I did use the diet USE flag. I will take that out and try again now. No loss, it will either work, or fail pretty quickly.

Quote:
emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125
-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.10
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 10 2005, 18:18:11)]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.59-r6
sys-devel/automake: 1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: [Not Present]
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/confi
g /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distr
ibutions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X a52 aac aalib acl acpi aim alsa apache2 apm arts audiofile avi bash
-completion bcmath berkdb bitmap-fonts bmp bzlib calendar canna caps cdb cdparanoia c
dr crypt cscope ctype cups curl curlwrappers dbase dbm dbx dga diet dio directfb divx
4linux doc dv dvb dvd dvdr dvdread emboss encode esd ethereal evo exif expat fam fast
cgi fbcon fdftk ffmpeg flac flash flatfile foomaticdb fortran freetds ftp gb gd gdbm
geoip gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hardened ha
rdenedphp iconv icq ifc imagemagick imap imlib inifile innodb ipv6 jabber jack java j
avascript jikes jpeg kde kdeenablefinal kerberos krb4 ladcca lcms ldap lesstif libcac
a libedit libg++ libwww lirc lm_sensors m17n-lib mad matrox mbox mcal memlimit mhash
mikmod mime ming mmap mmx mng motif mozilla mp3 mpeg mpi msession msn msql mssql mysq
l mysqli nas ncurses neXt netboot nocd oci8 offensive ogg oggvorbis openal opengl ora
cle oracle7 oscar oss pam pcmcia pcntl pda pdflib perl php pic png pnp posix postgres
ppds prelude profile python qdbm qt quicktime readline samba sasl scanner sdl sessio
n sharedext sharedmem shorten simplexml skey slang slp smartcard sndfile snmp soap so
ckets socks5 source sox speex spell spl sqlite sse ssl static svg svga symlink sysfs
sysvipc szip tcltk tcpd test tetex theora threads tidy tiff tokenizer truetype truety
pe-fonts trusted type1-fonts unicode usb v4l vcd vhosts wavelan wddx wifi wmf wxwindo
ws x86 xface xine xinerama xml xml2 xmms xpm xprint xsl xv xvid yahoo yaz zeo zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


Where is Bob P's installation guide. I would like to look at it. If this one isn't an easy fix, I think I will take your advice and do a stage3. Thanks again.

HippieJoe
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Apr 04, 2005 2:30 am    Post subject: Reply with quote

Oh my. I admit I didn't even look at your USE flags in detail. Just the sheer number of them makes it quite clear that you will never get a stable system running GCC 3.4 with that. Only the toolchain from the stable branch is guaranteed not to cause trouble with that insane amount of packages, and don't be too sure about that either. Trim that monster USE flag setting down. Never install more than you really need - you can install stuff later if you need it, by adding the corresponding USE flag and running
Code:
emerge --newuse world
Less is more. The number of USE flags on my playground system is under 50% of yours, and I use a lot of stuff.
And especially do not enable an USE flag if you don't know what it does.
Bob P's installation guide is here: https://forums.gentoo.org/viewtopic-t-314985.html
Please be sure to read through that whole thread before starting...
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
HippieJoe
n00b
n00b


Joined: 09 Aug 2003
Posts: 67

PostPosted: Mon Apr 04, 2005 2:46 am    Post subject: Reply with quote

Yea...I was just adding them unless I knew I deffinently didn't need them. I guess that is how I ended up with 50 million. I knew I was way overboard though, that is why I asked in the first place. So I should trim it down as much as possible, run emerge --newuse, and emerge -e system. Or should I just start over from scratch and follow Bob P's Guide with a new set of USE? You don't have to answer these questions, you already taught me enough. Thanks again!

HippieJoe
Back to top
View user's profile Send private message
moocha
Watchman
Watchman


Joined: 21 Oct 2003
Posts: 5722

PostPosted: Mon Apr 04, 2005 2:56 am    Post subject: Reply with quote

Start over with Bob's guide if you want a GCC 3.4 system, or start over with the standard installation if you don't want GCC 3.4. It'll be less painful and it won't take much longer - it may even take less time...
_________________
Military Commissions Act of 2006: http://tinyurl.com/jrcto

"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin
Back to top
View user's profile Send private message
pilla
Administrator
Administrator


Joined: 07 Aug 2002
Posts: 7694
Location: Pelotas, BR

PostPosted: Sat Jun 04, 2005 10:25 pm    Post subject: Reply with quote

moved to dups, please continue discussion here, if necessary.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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