View previous topic :: View next topic |
Author |
Message |
Azangod Tux's lil' helper
Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Fri Jun 22, 2012 12:58 pm Post subject: glibc-2.14.1-r3 compile error [SOLVED] |
|
|
Hi,
I cannot figure out why glibc whont compile
Code: | /var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.os: In function `internal_getut_r':
utmp_file.c:(.text+0xea665): undefined reference to `__emutls_get_address'
/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.os: In function `pututline_file':
utmp_file.c:(.text+0xea903): undefined reference to `__emutls_get_address'
/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.os:utmp_file.c:(.text+0xeaf1d): more undefined references to `__emutls_get_address' follow
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so] Errore 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/glibc-2.14.1/elf'
make[1]: *** [elf/subdir_lib] Errore 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.14.1-r3/work/glibc-2.14.1'
make: *** [all] Errore 2
emake failed
* ERROR: sys-libs/glibc-2.14.1-r3 failed (compile phase):
* make for x86 failed
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 3537: Called eblit-run 'src_compile'
* environment, line 890: Called eblit-glibc-src_compile
* src_compile.eblit, line 211: Called src_compile
* environment, line 3537: Called eblit-run 'src_compile'
* environment, line 890: Called eblit-glibc-src_compile
* src_compile.eblit, line 219: Called toolchain-glibc_src_compile
* src_compile.eblit, line 130: Called die
* The specific snippet of code:
* emake || die "make for ${ABI} failed"
|
Code: | gabbao crt # emerge --info =sys-libs/glibc-2.14.1-r3
Portage 2.1.10.49 (default/linux/amd64/10.0/server, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Xeon-R-_CPU_E5607_@_2.27GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 22 Jun 2012 12:05:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.68
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O1 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O1 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi amd64 apache2 bash-completion berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri exif flac fortran gdbm gif gpm iconv imap ipv6 jpeg jpeg2k lm_sensors mmx modules mp3 mudflap multilib ncurses nls nptl nsplugin openmp pam pcre pdf png pppd readline reiserfs sasl semantic-desktop session smp snmp sse sse2 ssl svg sys-auth/consolekit tcpd tiff truetype unicode usb userlocales wmf xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
|
Last edited by Azangod on Thu Jul 12, 2012 7:32 am; edited 1 time in total |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Fri Jun 22, 2012 5:45 pm Post subject: |
|
|
Just a guess, because you dind't provide your entire build.log:
G'Luck |
|
Back to top |
|
|
Azangod Tux's lil' helper
Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Sat Jun 23, 2012 6:23 am Post subject: |
|
|
revdep-rebuild report no errors
I put the complete build log here: http://213.21.152.50/build.log
Thank for your help |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Mon Jun 25, 2012 3:01 pm Post subject: |
|
|
Can't see anything obvious from your build.log. Did you emerge the whole system or are you trying to upgrade glibc only?
From your emerge info, there are some outdated packages (including cmake, baselayout, baselayout, gcc-config) which you should try to update first. Try,
Code: | emerge -ve --keep-going system |
and revedep afterwards
G'Luck |
|
Back to top |
|
|
Azangod Tux's lil' helper
Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Wed Jul 11, 2012 4:14 pm Post subject: |
|
|
I tried, with no success
well i bet another run wont harm, just to be sure... |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Wed Jul 11, 2012 6:28 pm Post subject: |
|
|
... and have you upgraded some of the packages I mentioned? Could you post your emerge --info again? |
|
Back to top |
|
|
Azangod Tux's lil' helper
Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Wed Jul 11, 2012 9:18 pm Post subject: |
|
|
YESSS!
thank you very much!
it worked! finally!
a new issue appeared. Its related to one of the latest news.
Code: | 2012-05-21-portage-config-protect-if-modified
Title Portage config-protect-if-modified default
Author Zac Medico <zmedico@gentoo.org>
Posted 2012-05-21
Revision 1
Beginning with sys-apps/portage-2.1.10.61, FEATURES=config-protect-if-modified
is enabled by default. This causes the CONFIG_PROTECT behavior to be skipped
for files that have not been modified since they were installed.
If you would like to disable this behavior by default, then set
FEATURES="-config-protect-if-modified" in make.conf. See the make.conf(5) man
page for more information about this feature.
|
I didnt understood this one very well...
anyway here is the issue
Code: | * IMPORTANT: 165 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
neo filter.d # dispatch-conf
Traceback (most recent call last):
File "/usr/sbin/dispatch-conf", line 494, in <module>
portage.settings.get('CONFIG_PROTECT', '')))
File "/usr/sbin/dispatch-conf", line 251, in grind
confs = [x for x in confs if f(x)]
File "/usr/sbin/dispatch-conf", line 170, in f
mrgfail = portage.dispatch_conf.file_archive(archive, conf['current'], conf['new'], mrgconf)
File "/usr/lib64/portage/pym/portage/dispatch_conf.py", line 145, in file_archive
and len(diffstatusoutput("diff -aq '%s' '%s'", curconf, archive)[1]) != 0:
File "/usr/lib64/portage/pym/portage/dispatch_conf.py", line 33, in diffstatusoutput
args = shlex_split(cmd % (file1, file2))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 30: ordinal not in range(128)
|
**EDIT**
I used etc-update instead. No errors for now |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Thu Jul 12, 2012 1:56 pm Post subject: |
|
|
Congrats!
Azangod wrote: | I didnt understood this one very well... |
It means that from that portage version and now on, config file protection will be skipped if such files were not modified since they were installed. In other words, eventually protected config files will be overwrited if they were not modified since installation.
Now you can:
and use the emerge --depclean afterwards. |
|
Back to top |
|
|
Azangod Tux's lil' helper
Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Thu Jul 12, 2012 2:40 pm Post subject: |
|
|
Yes, im not sure about what behavior is more profitable
to "-config-protect-if-modified" or not to "-config-protect-if-modified" ?
Can't see the pros and cons of this feature
Quote: | Now you can:
Codice:
and use the emerge --depclean afterwards. |
yep, I thought the same thing. Pam was complaining about missing glibc.so.1 |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Thu Jul 12, 2012 3:24 pm Post subject: |
|
|
Azangod wrote: | Yes, im not sure about what behavior is more profitable
to "-config-protect-if-modified" or not to "-config-protect-if-modified" ? |
The default is just fine, unless you edit config files very often. I, personally, use no protection at all. However, you have to pay attention when running etc-update. This can be a tedious task for very outdated installs.
G'Luck |
|
Back to top |
|
|
Azangod Tux's lil' helper
Joined: 18 May 2005 Posts: 107 Location: Italy
|
Posted: Fri Jul 13, 2012 12:01 pm Post subject: |
|
|
Usually I use dispatch-conf.
this time was an expection due to the error posted before (Mer Lug 11, 2012 10:18 pm)
Somethimes I even use GIT to save to monitor and save changes made in etc.
I know that dispatch-conf could be configured with some sort of versioning sistem but never had the time to dig in
anyway,
thanks for your support
bbye |
|
Back to top |
|
|
|
|
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
|
|