* [gentoo-user] another openoffice build failure
@ 2006-09-02 18:07 Allan Gottlieb
2006-09-02 18:22 ` Rafael Fernández López
2006-09-02 21:10 ` Richard Fish
0 siblings, 2 replies; 10+ messages in thread
From: Allan Gottlieb @ 2006-09-02 18:07 UTC (permalink / raw
To: gentoo-user
This occurred as part of my emerge --emptytree world after upgrading
gcc. I did not find a bugzilla entry.
tia,
allan
gcc -D_REENTRANT -I../../common -I../../common -DHAVE_CONFIG_H -O -march=pentium4 -pipe -O2 -c -o uconvmsg/uconvmsg_dat.o uconvmsg/uconvmsg_dat.c
/usr/bin/ar rv uconvmsg/libuconvmsg.a uconvmsg/uconvmsg_dat.o
/usr/bin/ar: creating uconvmsg/libuconvmsg.a
a - uconvmsg/uconvmsg_dat.o
Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new == ptr' failed!
gmake[4]: *** [uconvmsg/uconvmsg_root_res.ao] Error 127
rm uconvmsg/uconvmsg_dat.o
gmake[4]: Leaving directory `/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source/extra/uconv'
make[3]: *** [package-resfiles] Error 2
make[3]: Leaving directory `/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source/extra/uconv'
make[2]: *** [all-recursive] Error 2
make[2]: Leaving directory `/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source/extra'
make[1]: *** [all-recursive] Error 2
make[1]: Leaving directory `/mnt/hdc10/var/tmp/portage/openoffice-2.0.3/work/ooo-build-2.0.3.0/build/OOO_2_0_3/icu/unxlngi6.pro/misc/build/icu/source'
dmake: Error code 2, while making './unxlngi6.pro/misc/build/so_built_so_icu'
'---* tg_merge.mk *---'
============================ emerge --info ============================
Gentoo Base System version 1.12.4
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -pipe -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium4 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirrors.acm.cs.rpi.edu/gentoo http://gentoo.mirrored.ca/ http://prometheus.cs.wmich.edu/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cli crypt cups dbus dlloader doc dri dvd dvdr eds emacs emboss encode esd firefox foomaticdb fortran gdbm gif gimp gimpprint gnome gpm gstreamer gtk gtk2 guile imap imlib ipv6 isdnlog java jpeg libg++ libwww mad mikmod mime motif mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pda pdflib perl png ppds pppd python quicktime readline reflection scanner sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-02 18:07 [gentoo-user] another openoffice build failure Allan Gottlieb
@ 2006-09-02 18:22 ` Rafael Fernández López
2006-09-02 20:19 ` Allan Gottlieb
2006-09-02 21:10 ` Richard Fish
1 sibling, 1 reply; 10+ messages in thread
From: Rafael Fernández López @ 2006-09-02 18:22 UTC (permalink / raw
To: gentoo-user
On Sat, Sep 02, 2006 at 02:07:32PM -0400, Allan Gottlieb wrote:
> This occurred as part of my emerge --emptytree world after upgrading
> gcc. I did not find a bugzilla entry.
>
Did you run 'emerge --emptytree system' before running 'emerge --emptytree world'?
Bye !!
Rafael Fernández López.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-02 18:22 ` Rafael Fernández López
@ 2006-09-02 20:19 ` Allan Gottlieb
0 siblings, 0 replies; 10+ messages in thread
From: Allan Gottlieb @ 2006-09-02 20:19 UTC (permalink / raw
To: gentoo-user
At Sat, 02 Sep 2006 20:22:16 +0200 Rafael Fernández López <info@maestroprogramador.com> wrote:
> On Sat, Sep 02, 2006 at 02:07:32PM -0400, Allan Gottlieb wrote:
>> This occurred as part of my emerge --emptytree world after upgrading
>> gcc. I did not find a bugzilla entry.
>>
>
> Did you run 'emerge --emptytree system' before running 'emerge
> --emptytree world'?
Yes I did.
I probably should have added that revdep-rebuild wants to rebuild
gcc. I have let it do so and it still wants to rebuild gcc. I do not
believe that this explains the ooo problem, but realize that I might
be wrong and should give full information.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-02 18:07 [gentoo-user] another openoffice build failure Allan Gottlieb
2006-09-02 18:22 ` Rafael Fernández López
@ 2006-09-02 21:10 ` Richard Fish
2006-09-02 21:23 ` Lord Sauron
2006-09-02 23:14 ` Allan Gottlieb
1 sibling, 2 replies; 10+ messages in thread
From: Richard Fish @ 2006-09-02 21:10 UTC (permalink / raw
To: gentoo-user
On 9/2/06, Allan Gottlieb <gottlieb@nyu.edu> wrote:
> Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new == ptr' failed!
Well this looks suspiciously like a hardware problem to me, but it
could also be simply running out of memory. Can you try:
MAKEOPTS=-j1 emerge --oneshot openoffice
You might also want to add a fan to blow on your laptop while the
build is running... :-)
HTH,
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-02 21:10 ` Richard Fish
@ 2006-09-02 21:23 ` Lord Sauron
2006-09-02 23:26 ` Richard Fish
2006-09-02 23:14 ` Allan Gottlieb
1 sibling, 1 reply; 10+ messages in thread
From: Lord Sauron @ 2006-09-02 21:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]
On Saturday 02 September 2006 14:10, Richard Fish wrote:
> On 9/2/06, Allan Gottlieb <gottlieb@nyu.edu> wrote:
> > Inconsistency detected by ld.so: dl-minimal.c: 137: realloc:
> > Assertion `new == ptr' failed!
>
> Well this looks suspiciously like a hardware problem to me, but it
> could also be simply running out of memory. Can you try:
>
> MAKEOPTS=-j1 emerge --oneshot openoffice
A cheap way to get more memory:
o wipe a USB key clean (back it up though!)
o mkspwap /dev/sda1 or whereever your usb memory stick is
o swapon all
those commands might not be totally right, but they're a start (it's
been a while)
> You might also want to add a fan to blow on your laptop while the
> build is running... :-)
Something I've been known to do is leave it in the fridge. It works,
and that's all the matters, right?
Just make sure you don't leave it in there too long next to something
that spoils easily. I also find it's somehow good for your battery. I
left my cell phone in the fridge overnight once and the battery somehow
found itself capable of carrying more load than before.
If you don't want to risk it, just plug you pc in and remove the battery
before you put it in the fridge. You may want to consider bocking off
fan openings to prevent condensation if you're fridge has a habit of
nasty condensation.
DO NOT STICK IT IN THE FREEZER! That has a tendency to shrink the
hardware and make it brittle. I also don't want to find out (even
vicariously) what it'll do to a screen.
--
http://lordsauronthegreat.googlepages.com/
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-02 21:10 ` Richard Fish
2006-09-02 21:23 ` Lord Sauron
@ 2006-09-02 23:14 ` Allan Gottlieb
2006-09-03 1:36 ` Allan Gottlieb
1 sibling, 1 reply; 10+ messages in thread
From: Allan Gottlieb @ 2006-09-02 23:14 UTC (permalink / raw
To: gentoo-user
At Sat, 02 Sep 2006 14:10:10 -0700 Richard Fish <bigfish@asmallpond.org> wrote:
> On 9/2/06, Allan Gottlieb <gottlieb@nyu.edu> wrote:
>> Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new == ptr' failed!
>
> Well this looks suspiciously like a hardware problem to me, but it
> could also be simply running out of memory. Can you try:
>
> MAKEOPTS=-j1 emerge --oneshot openoffice
>
> You might also want to add a fan to blow on your laptop while the
> build is running... :-)
I should have thought of -j1, thanks. It is running now. Will try
the fan if this fails. I will also check to see if it dies in the
same place, which would argue against the hardware problem.
thanks again,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-02 21:23 ` Lord Sauron
@ 2006-09-02 23:26 ` Richard Fish
0 siblings, 0 replies; 10+ messages in thread
From: Richard Fish @ 2006-09-02 23:26 UTC (permalink / raw
To: gentoo-user
On 9/2/06, Lord Sauron <lordsauronthegreat@gmail.com> wrote:
> A cheap way to get more memory:
>
> o wipe a USB key clean (back it up though!)
> o mkspwap /dev/sda1 or whereever your usb memory stick is
> o swapon all
It had better be a disposable key, as flash memory is only good for so
many writes before it fails....better (and faster) would be to add a
swap file.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-02 23:14 ` Allan Gottlieb
@ 2006-09-03 1:36 ` Allan Gottlieb
2006-09-03 2:16 ` Richard Fish
0 siblings, 1 reply; 10+ messages in thread
From: Allan Gottlieb @ 2006-09-03 1:36 UTC (permalink / raw
To: gentoo-user
At Sat, 02 Sep 2006 19:14:56 -0400 Allan Gottlieb <gottlieb@nyu.edu> wrote:
> At Sat, 02 Sep 2006 14:10:10 -0700 Richard Fish <bigfish@asmallpond.org> wrote:
>
>> On 9/2/06, Allan Gottlieb <gottlieb@nyu.edu> wrote:
>>> Inconsistency detected by ld.so: dl-minimal.c: 137: realloc: Assertion `new == ptr' failed!
>>
>> Well this looks suspiciously like a hardware problem to me, but it
>> could also be simply running out of memory. Can you try:
>>
>> MAKEOPTS=-j1 emerge --oneshot openoffice
>>
>> You might also want to add a fan to blow on your laptop while the
>> build is running... :-)
>
> I should have thought of -j1, thanks. It is running now. Will try
> the fan if this fails. I will also check to see if it dies in the
> same place, which would argue against the hardware problem.
Failed at exactly the same place. Since each log file is 30,544 lines
long, it doesn't seem likely to be heat related (i.e., I would suspect
that a heat related hardware failure would not be so deterministic as
to fail after so many compiles in the same place).
I am not sure, but it might be that the ebuild forces -j1 by itself
,----
| src_compile() {
|
| unset LIBC
| addpredict "/bin"
| addpredict "/root/.gconfd"
| addpredict "/root/.gnome"
|
| # Should the build use multiprocessing? Not enabled by default, as it tends to break
| export JOBS="1"
|
| ...
|
| ./configure ${MYCONF} \
| --with-distro="${DISTRO}" \
| --with-arch="${ARCH}" \
| --with-srcdir="${DISTDIR}" \
| --with-lang="${LINGUAS_OOO}" \
| --with-num-cpus="${JOBS}" \
`----
I then though of possibly running out of disk space. That seemed
unlikely since I had 7.5G and it failed comparatively early in the
run. But to be sure I ran it again with
while true; do df -h | grep /mnt/hdc10; sleep 10; done >> /tmp/time
also running and the available space never went below 5.9G. Once
again it failed at the same place.
So I don't see it as a hardware failure, due to the repeatability.
It is not inadequate disk space.
I have 1GB of mem
ajglap hdc10 # cat /proc/meminfo
MemTotal: 1033932 kB
MemFree: 72632 kB
Buffers: 40180 kB
Cached: 559036 kB
SwapCached: 0 kB
Active: 628840 kB
Inactive: 253460 kB
HighTotal: 130876 kB
HighFree: 284 kB
LowTotal: 903056 kB
LowFree: 72348 kB
SwapTotal: 2008084 kB
SwapFree: 2007840 kB
Dirty: 44 kB
Writeback: 0 kB
Mapped: 398488 kB
Slab: 63836 kB
CommitLimit: 2525048 kB
Committed_AS: 923704 kB
PageTables: 2320 kB
VmallocTotal: 114680 kB
VmallocUsed: 33344 kB
VmallocChunk: 77812 kB
I am not sure what to try next. I suppose I could try to revert back
to gcc3.4.6
ajglap hdc10 # gcc-config --list-profiles
[1] i686-pc-linux-gnu-3.4.6
[2] i686-pc-linux-gnu-3.4.6-hardened
[3] i686-pc-linux-gnu-3.4.6-hardenednopie
[4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.4.6-hardenednossp
[6] i686-pc-linux-gnu-4.1.1 *
ajglap hdc10 #
Any ideas would be welcome
thanks,
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-03 1:36 ` Allan Gottlieb
@ 2006-09-03 2:16 ` Richard Fish
2006-09-04 21:59 ` Allan Gottlieb
0 siblings, 1 reply; 10+ messages in thread
From: Richard Fish @ 2006-09-03 2:16 UTC (permalink / raw
To: gentoo-user
On 9/2/06, Allan Gottlieb <gottlieb@nyu.edu> wrote:
> I am not sure what to try next. I suppose I could try to revert back
> to gcc3.4.6
> ajglap hdc10 # gcc-config --list-profiles
> [1] i686-pc-linux-gnu-3.4.6
> [2] i686-pc-linux-gnu-3.4.6-hardened
> [3] i686-pc-linux-gnu-3.4.6-hardenednopie
> [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
> [5] i686-pc-linux-gnu-3.4.6-hardenednossp
> [6] i686-pc-linux-gnu-4.1.1 *
> ajglap hdc10 #
>
> Any ideas would be welcome
Well googling wasn't terribly helpful for me, and I couldn't find any
bug report on bugs.gentoo.org.
The program that is failing ("ar") comes from binutils. Maybe you can
try the 2.17 version of binutils...it's what I built OOo with.
echo "~sys-devel/binutils-2.17 ~x86 >> /etc/portage/package.keywords
emerge --oneshot binutils
binutils-config -l # make sure it shows 2.17 as selected
emerge --oneshot openoffice
If this doesn't work, reverting gcc versions, or maybe even just merge
openoffice-bin.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] another openoffice build failure
2006-09-03 2:16 ` Richard Fish
@ 2006-09-04 21:59 ` Allan Gottlieb
0 siblings, 0 replies; 10+ messages in thread
From: Allan Gottlieb @ 2006-09-04 21:59 UTC (permalink / raw
To: gentoo-user
At Sat, 02 Sep 2006 19:16:05 -0700 Richard Fish <bigfish@asmallpond.org> wrote:
> On 9/2/06, Allan Gottlieb <gottlieb@nyu.edu> wrote:
>> I am not sure what to try next. I suppose I could try to revert back
>> to gcc3.4.6
>> ajglap hdc10 # gcc-config --list-profiles
>> [1] i686-pc-linux-gnu-3.4.6
>> [2] i686-pc-linux-gnu-3.4.6-hardened
>> [3] i686-pc-linux-gnu-3.4.6-hardenednopie
>> [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
>> [5] i686-pc-linux-gnu-3.4.6-hardenednossp
>> [6] i686-pc-linux-gnu-4.1.1 *
>> ajglap hdc10 #
>>
>> Any ideas would be welcome
>
> Well googling wasn't terribly helpful for me, and I couldn't find any
> bug report on bugs.gentoo.org.
Same here
> The program that is failing ("ar") comes from binutils. Maybe you can
> try the 2.17 version of binutils...it's what I built OOo with.
> echo "~sys-devel/binutils-2.17 ~x86 >> /etc/portage/package.keywords
> emerge --oneshot binutils
> binutils-config -l # make sure it shows 2.17 as selected
> emerge --oneshot openoffice
I just tried this and the same error
> If this doesn't work, reverting gcc versions,
Same story
> or maybe even just merge openoffice-bin.
Well my openoffice emerged before the emerge world that accompanied
the gcc upgrade still works fine so I will continue to use that. But
I am disquieted by no longer being able to emerge openoffice. Clearly
something is wrong somewhere. I guess I will stop pursuing it
actively and wait for some more symptoms.
Thanks for all your efforts.
allan
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-09-04 22:06 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-02 18:07 [gentoo-user] another openoffice build failure Allan Gottlieb
2006-09-02 18:22 ` Rafael Fernández López
2006-09-02 20:19 ` Allan Gottlieb
2006-09-02 21:10 ` Richard Fish
2006-09-02 21:23 ` Lord Sauron
2006-09-02 23:26 ` Richard Fish
2006-09-02 23:14 ` Allan Gottlieb
2006-09-03 1:36 ` Allan Gottlieb
2006-09-03 2:16 ` Richard Fish
2006-09-04 21:59 ` Allan Gottlieb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox