View previous topic :: View next topic |
Author |
Message |
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Thu Dec 29, 2011 5:00 am Post subject: dev-lang/ruby-1.8.7_p357 failed[solved with glibc-r2] |
|
|
Code: | make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.8.7_p357/work/ruby-1.8.7-p357/ext/dl'
make: *** [all] Error 1
emake failed
* ERROR: dev-lang/ruby-1.8.7_p357 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 3172: Called die
* The specific snippet of code:
* emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
*
* If you need support, post the output of 'emerge --info =dev-lang/ruby-1.8.7_p357',
* the complete build log and the output of 'emerge -pqv =dev-lang/ruby-1.8.7_p357'.
* The complete build log is located at '/var/tmp/portage/dev-lang/ruby-1.8.7_p357/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-1.8.7_p357/temp/environment'.
* S: '/var/tmp/portage/dev-lang/ruby-1.8.7_p357/work/ruby-1.8.7-p357'
* GNU info directory index is up-to-date. |
Code: | localtux sda2 # emerge --info =dev-lang/ruby-1.8.7_p357
Portage 2.2.0_alpha84 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r1, 3.1.5-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.1.5-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-gentoo-2.1
Timestamp of tree: Thu, 29 Dec 2011 01:30:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.7-r2, 2.7.2-r3, 3.2.2
dev-util/ccache: 3.1.6
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1
sys-apps/openrc: 0.9.7
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.68
sys-devel/automake: 1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r1
Repositories: gentoo Local kde-sunset enlightenment-niifaq
Installed sets: @enlightenment-live
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US.utf8 en"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay /var/lib/layman/kde-sunset /var/lib/layman/enlightenment-niifaq"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl alsa berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd fortran gdbm gnome gpm gtk iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre pppd qt3 readline session ssl sysfs tcpd unicode x86 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 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US.utf8 en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
localtux sda2 # |
lot of ruby packages being installed todays update.
all 10 pks to follow this merge.
what happened ? _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name)
Last edited by padoor on Mon Jan 02, 2012 7:18 am; edited 1 time in total |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Thu Dec 29, 2011 7:49 am Post subject: |
|
|
It's related to this bug: https://bugs.gentoo.org/show_bug.cgi?id=370413
Funny story, security update, which can't be merged for now... _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
zhushazang Tux's lil' helper
Joined: 01 Dec 2005 Posts: 81
|
Posted: Fri Dec 30, 2011 11:15 am Post subject: |
|
|
Same here |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Fri Dec 30, 2011 1:12 pm Post subject: |
|
|
ruby-1.9.3 merged and other ruby pkgs merged.in new slot
update still wants to install/upgrade 1.8.7 _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
Jorgo n00b
Joined: 18 Jun 2004 Posts: 62 Location: Bochum, Germany
|
Posted: Sat Dec 31, 2011 11:28 am Post subject: |
|
|
For disabling update of old version i did the following:
Code: | echo 'RUBY_TARGETS="ruby19"' >> /etc/make.conf |
Code: | echo "-ruby_targets_ruby19" >> /etc/portage/profile/use.mask |
and mask <=dev-lang/ruby-1.9.3 in /etc/portage/package.mask _________________ AMD Phenom 2 X6 1055T on Asus M4A88TD-V EVO/USB3
8GB-RAM
MSI Radeon HD 5850 1GB
2 x 1 TB Samsung SATA2
2 x 250 GB Seagate SATA2
2x LG DVD/RW
Logitech Music Anywhere
Logitech Webcam Pro 9000 |
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Sun Jan 01, 2012 2:45 am Post subject: |
|
|
Code: | [D] dev-lang/ruby
Available versions:
(1.8) 1.8.7_p334-r1 (~)1.8.7_p334-r2 1.8.7_p352
(1.9) (~)1.9.2_p290 (~)1.9.3_rc1
{(+)berkdb debug doc examples (+)gdbm ipv6 libedit ncurses +rdoc +readline rubytests socks5 ssl threads tk xemacs (+)yaml}
Installed versions: 1.8.7_p352(1.8)(07:43:37 AM 10/09/2011)(berkdb gdbm ipv6 ncurses readline ssl -debug -doc -examples -libedit -rubytests -socks5 -threads -tk -xemacs) 1.9.3_p0(1.9)(09:16:53 AM 12/30/2011)(berkdb gdbm ipv6 ncurses rdoc readline ssl yaml -debug -doc -examples -rubytests -socks5 -tk -xemacs)
Homepage: http://www.ruby-lang.org/
Description: An object-oriented scripting language
|
i masked the 1.8.7_357 as the previous version of 18 works ok for the other ruby pkgs. _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Sun Jan 01, 2012 2:44 pm Post subject: |
|
|
I added the USE flags changes to /etc/portage/package.use as the emerge output suggested (in order to continue), and ruby-1.9.3 merged OK in a new slot.
Still couldn't get ruby-1.8.7_p357 to compile, but have 1.8.7_p352 installed, so I'll do what padoor did. Hope we don't run into any problems.
I only have this on one of my four virtually identical Gentoo boxes, and haven't quite figured out what's going on. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
iamben Apprentice
Joined: 10 May 2004 Posts: 275
|
Posted: Sun Jan 01, 2012 7:16 pm Post subject: |
|
|
BTW this ruby build should be fixed by this morning's sys-libs/glibc-2.14.1-r2 release |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Sun Jan 01, 2012 7:29 pm Post subject: |
|
|
iamben wrote: | BTW this ruby build should be fixed by this morning's sys-libs/glibc-2.14.1-r2 release | Affirmative. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
SysGhost n00b
Joined: 24 Apr 2007 Posts: 48 Location: Stockholm
|
Posted: Sun Jan 01, 2012 9:13 pm Post subject: |
|
|
The new patch for glibc fails, thus causing the emerge of the latest glibc to fail:
Result when trying "emerge glibc":
Code: | * Failed Patch: 0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch !
* ( /var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/patches/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/sys-libs/glibc-2.14.1-r2/temp/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch.out
* ERROR: sys-libs/glibc-2.14.1-r2 failed (unpack phase):
* Failed Patch: 0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch!
*
* Call stack:
* ebuild.sh, line 84: Called src_unpack
* environment, line 7696: Called eblit-run 'src_unpack'
* environment, line 5155: Called eblit-glibc-src_unpack
* src_unpack.eblit, line 164: Called toolchain-glibc_src_unpack
* src_unpack.eblit, line 138: Called epatch '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/patches'
* environment, line 5988: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
*
* If you need support, post the output of 'emerge --info =sys-libs/glibc-2.14.1-r2',
* the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.14.1-r2'.
* The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/temp/environment'.
* S: '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/glibc-2.14.1'
|
Content of /var/tmp/portage/sys-libs/glibc-2.14.1-r2/temp/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch.out :
Code: |
***** 0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch *****
PWD: /var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/glibc-2.14.1
==================================================================
PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/patches/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch'
==================================================================
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|https://bugs.gentoo.org/370413
|http://sourceware.org/bugzilla/show_bug.cgi?id=12724
|https://bugzilla.novell.com/show_bug.cgi?id=711829
|http://redmine.ruby-lang.org/issues/5108
|
|This reverts the following patch from upstream PR 12724,
|which can cause surprising changes in fclose behaviour when multiple
|file handles refer to the same file (fclose on one changes file position
|on the other).
|See bnc #711829.
|
|git diff -R 'fcabc0f8b185f9e0a9289720be5ede6c39b3bf21^!'
|
|2011-05-13 Ulrich Drepper <drepper@gmail.com>
|
| [BZ #12724]
| * libio/fileops.c (_IO_new_file_close_it): Always flush when
| currently writing and seek to current position when not.
| * libio/Makefile (tests): Add bug-fclose1.
| * libio/bug-fclose1.c: New file.
|
| 2011-05-12 Ulrich Drepper <drepper@gmail.com>
|
| [BZ #12511]
|diff --git b/libio/Makefile a/libio/Makefile
|index ec30904..83b9458 100644
|--- b/libio/Makefile
|+++ a/libio/Makefile
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
The next patch would delete the file b/libio/bug-fclose1.c,
which does not exist! Applying it anyway.
can't find file to patch at input line 49
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git b/libio/bug-fclose1.c a/libio/bug-fclose1.c
|deleted file mode 100644
|index f1e09f5..0000000
|--- b/libio/bug-fclose1.c
|+++ /dev/null
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 186
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: glibc-2.14/libio/fileops.c
|===================================================================
|--- glibc-2.14.orig/libio/fileops.c
|+++ glibc-2.14/libio/fileops.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patch program exited with status 1
==================================================================
PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/patches/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch'
==================================================================
patching file libio/Makefile
patching file libio/bug-fclose1.c
patching file libio/fileops.c
Hunk #1 FAILED at 160.
1 out of 1 hunk FAILED -- saving rejects to file libio/fileops.c.rej
patch program exited with status 1
==================================================================
PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/patches/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch'
==================================================================
patching file Makefile
Hunk #1 FAILED at 1.
Hunk #2 FAILED at 58.
2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
The next patch would delete the file bug-fclose1.c,
which does not exist! Applying it anyway.
can't find file to patch at input line 49
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git b/libio/bug-fclose1.c a/libio/bug-fclose1.c
|deleted file mode 100644
|index f1e09f5..0000000
|--- b/libio/bug-fclose1.c
|+++ /dev/null
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 186
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: glibc-2.14/libio/fileops.c
|===================================================================
|--- glibc-2.14.orig/libio/fileops.c
|+++ glibc-2.14/libio/fileops.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
patch program exited with status 1
==================================================================
PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/patches/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch'
==================================================================
missing header for unified diff at line 29 of patch
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|https://bugs.gentoo.org/370413
|http://sourceware.org/bugzilla/show_bug.cgi?id=12724
|https://bugzilla.novell.com/show_bug.cgi?id=711829
|http://redmine.ruby-lang.org/issues/5108
|
|This reverts the following patch from upstream PR 12724,
|which can cause surprising changes in fclose behaviour when multiple
|file handles refer to the same file (fclose on one changes file position
|on the other).
|See bnc #711829.
|
|git diff -R 'fcabc0f8b185f9e0a9289720be5ede6c39b3bf21^!'
|
|2011-05-13 Ulrich Drepper <drepper@gmail.com>
|
| [BZ #12724]
| * libio/fileops.c (_IO_new_file_close_it): Always flush when
| currently writing and seek to current position when not.
| * libio/Makefile (tests): Add bug-fclose1.
| * libio/bug-fclose1.c: New file.
|
| 2011-05-12 Ulrich Drepper <drepper@gmail.com>
|
| [BZ #12511]
|diff --git b/libio/Makefile a/libio/Makefile
|index ec30904..83b9458 100644
|--- b/libio/Makefile
|+++ a/libio/Makefile
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 49 of patch
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.
patch program exited with status 134
==================================================================
PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/var/tmp/portage/sys-libs/glibc-2.14.1-r2/work/patches/0068_all_glibc-2.14-glibc-revert-fseek-on-fclose.patch'
==================================================================
missing header for unified diff at line 29 of patch
can't find file to patch at input line 29
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|https://bugs.gentoo.org/370413
|http://sourceware.org/bugzilla/show_bug.cgi?id=12724
|https://bugzilla.novell.com/show_bug.cgi?id=711829
|http://redmine.ruby-lang.org/issues/5108
|
|This reverts the following patch from upstream PR 12724,
|which can cause surprising changes in fclose behaviour when multiple
|file handles refer to the same file (fclose on one changes file position
|on the other).
|See bnc #711829.
|
|git diff -R 'fcabc0f8b185f9e0a9289720be5ede6c39b3bf21^!'
|
|2011-05-13 Ulrich Drepper <drepper@gmail.com>
|
| [BZ #12724]
| * libio/fileops.c (_IO_new_file_close_it): Always flush when
| currently writing and seek to current position when not.
| * libio/Makefile (tests): Add bug-fclose1.
| * libio/bug-fclose1.c: New file.
|
| 2011-05-12 Ulrich Drepper <drepper@gmail.com>
|
| [BZ #12511]
|diff --git b/libio/Makefile a/libio/Makefile
|index ec30904..83b9458 100644
|--- b/libio/Makefile
|+++ a/libio/Makefile
--------------------------
No file to patch. Skipping patch.
2 out of 2 hunks ignored
missing header for unified diff at line 49 of patch
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.
patch program exited with status 134
|
|
|
Back to top |
|
|
padoor Advocate
Joined: 30 Dec 2005 Posts: 4185 Location: india
|
Posted: Mon Jan 02, 2012 7:13 am Post subject: |
|
|
after update of glibc to 2.14.1-r2 which merged fine
i unmasked the ruby-1.8.7_p357 from package mask it merged without a complaint.
now my world is uptodate _________________ reach out a little bit more to catch it (DON'T BELIEVE the advocate part under my user name) |
|
Back to top |
|
|
Apaczus n00b
Joined: 29 Sep 2009 Posts: 5
|
Posted: Wed May 23, 2012 4:10 pm Post subject: |
|
|
(emerge gcc + emerge glibc)
emerge patch
emerge glibc
|
|
Back to top |
|
|
|