Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232946 - dev-perl/Net-SSLeay-1.30 : failed compiling. gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc"
Summary: dev-perl/Net-SSLeay-1.30 : failed compiling. gcc-config error: Could not run/...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-25 17:44 UTC by Federico Pires
Modified: 2008-07-28 02:32 UTC (History)
0 users

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


Attachments
The ebuild environment file (environment,84.22 KB, text/plain)
2008-07-25 17:47 UTC, Federico Pires
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Pires 2008-07-25 17:44:29 UTC
I'm trying to install ddclient on my gentoo 2008. It has as a dependency Net-SSLeay-1.30 and looks like it's failing at compile:gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc". I compiled all with i686 so the problem might be when creating the MakeFile maybe? Sorry, this is the first time i sue gentoo so i'm not very aware of how portage works exaclty. I tried changing a few lines in /tmp/portage/dev-perl/Net-SSLeay-1.30/work/Net_SSLeay.pm-1.30/Makefile:
LD = i486-pc-linux-gnu-gcc
CC = i486-pc-linux-gnu-gcc

Both changed to i686. Saved and typed make again. And no errors... If I leave them with i486 then I get the same error.


Reproducible: Always

Steps to Reproduce:
1.emerge ddclient
2.
3.

Actual Results:  
Compilation of dependency Net-SSLeay-1.30 failed.

Expected Results:  
Get ddclient installed with all its dependencys. :)

>>> Unpacking source...
>>> Unpacking Net_SSLeay.pm-1.30.tar.gz to /tmp/portage/dev-perl/Net-SSLeay-1.30/work
>>> Source unpacked.
>>> Compiling source in /tmp/portage/dev-perl/Net-SSLeay-1.30/work/Net_SSLeay.pm-1.30 ...
 * Using ExtUtils::MakeMaker
Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
You have OpenSSL-0.9.8h installed in /usr
That's is newer than what this module was tested with (0.9.6j
or 0.9.7b). You should
consider checking if there is a newer release of this module
available. Everything will probably work OK, though.
*** Could not figure out which C compiler was used to compile /usr/bin/openssl. It is essentiall that OpenSSL, perl, and Net::SSLeay are compiled with the same compiler and flags. Mixing and matching compilers is not supported. at Makefile.PL line 140.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSLeay::Handle
Writing Makefile for Net::SSLeay
cp ptrtstrun.pl blib/lib/Net/ptrtstrun.pl
cp SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
 directory blib/lib/auto/Net/SSLeay:
  do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
  do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
  get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
  head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
  post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
  put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
  ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
  ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
  tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
  tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
make[1]: Entering directory `/tmp/portage/dev-perl/Net-SSLeay-1.30/work/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
cp Handle.pm ../blib/lib/Net/SSLeay/Handle.pm
Manifying ../blib/man3/Net::SSLeay::Handle.3pm
make[1]: Leaving directory `/tmp/portage/dev-perl/Net-SSLeay-1.30/work/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
i486-pc-linux-gnu-gcc -c  -I/usr/include -I/usr/inc32 -I/usr/kerberos/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O   -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" -fPIC "-I/usr/lib/perl5/5.8.8/i486-linux/CORE"  -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
gcc-config error: Could not run/locate "i486-pc-linux-gnu-gcc"
make: *** [SSLeay.o] Error 1
 * 
 * ERROR: dev-perl/Net-SSLeay-1.30 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2288:  Called perl-module_src_compile
 *             environment, line 2024:  Called die
 * The specific snippet of code:
 *           make ${mymake} || die "compilation failed";
 *  The die message:
 *   compilation failed


=============================================================================

emerge --info
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Portage 2.2_rc3 (default/linux/x86/2008.0/server, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo i686)
=================================================================
System uname: Linux-2.6.26-gentoo-i686-Intel-R-_Celeron-R-_CPU_2.13GHz-with-glibc2.0
Timestamp of tree: Fri, 25 Jul 2008 16:34:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi adns apache2 bash-completion berkdb bzip2 caps cdr clamav cli cracklib crypt cups curl cvs cxx dbus dedicated directfb dri fbcon fortran ftp gdbm gif gpm iconv imap ipod isdnlog jpeg jpeg2k ldap lm_sensors mailwrapper mcal midi milter mmap mmx mudflap mysql mysqli ncurses nls nntp nptl nptlonly openmp pam pch pcre perl php ppds pppd python qmail-app readline reflection samba sasl session snmp sockets socks5 spl sse sse2 ssl subversion suid syslog szip tcpd tidy truetype unicode usb vhosts x86 xinetd xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Federico Pires 2008-07-25 17:47:02 UTC
Created attachment 161352 [details]
The ebuild environment file
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-26 14:58:55 UTC
Did you switch CHOST from i486 to i686 at one point? In that case it's a good idea to read [1]. Perhaps simply running `fix_libtool_files.sh' will fix the problem?


[1] http://www.gentoo.org/doc/en/change-chost.xml
Comment 3 Federico Pires 2008-07-26 16:41:16 UTC
(In reply to comment #2)
> Did you switch CHOST from i486 to i686 at one point? In that case it's a good
> idea to read [1]. Perhaps simply running `fix_libtool_files.sh' will fix the
> problem?
> 
> 
> [1] http://www.gentoo.org/doc/en/change-chost.xml
> 

I did during the installation before compiling everything.. I'll try with that link. Thanks a lot! 
Comment 4 Federico Pires 2008-07-28 02:32:06 UTC
(In reply to comment #2)
> Did you switch CHOST from i486 to i686 at one point? In that case it's a good
> idea to read [1]. Perhaps simply running `fix_libtool_files.sh' will fix the
> problem?
> 
> 
> [1] http://www.gentoo.org/doc/en/change-chost.xml
> 

Ok... I followed some steps on that guide and managed to fix this. Thanks a lot and terribly sorry for raising this bug :)