Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed update 2008 - texlive-core (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Wed Jul 02, 2008 1:32 pm    Post subject: Failed update 2008 - texlive-core (solved) Reply with quote

I'm trying to do the latest updates on 2008, but texlive-core is failing to build. I think I may have had a problem with this package before due to a missing dependency. Anyways, this is where it stops.

Code:
/bin/sh ./texc.script ./tex.lpro texc.lpro
./texc.script: line 12: 24102 Segmentation fault      ed $1  <<edscriptend
/% begin code for uncompressed fonts only/d
.,/% end code for uncompressed fonts only/d
.,/% end of code for unpacking compressed fonts/s/% //
w $2
edscriptend

make[2]: *** [texc.lpro] Error 139
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2007-r13/work/texk/dvipsk'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2007-r13/work/texk'
make: *** [all] Error 1
 *
 * ERROR: app-text/texlive-core-2007-r13 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2844:  Called die
 * The specific snippet of code:
 *       emake texmf=${TEXMF_PATH:-/usr/share/texmf} || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-text/texlive-core-2007-r13/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/texlive-core-2007-r13/temp/environment'.
 *


I'm not sure if this is caused by using ~ppc64 for gcc or using -O3, but they've been working well for everything else. This is my emerge --info.

Code:
 emerge --info
Portage 2.1.4.4 (default/linux/powerpc/ppc64/2008.0/64bit-userland, gcc-4.2.4, glibc-2.7-r2, 2.6.24-gentoo-r3 ppc64)
=================================================================
System uname: 2.6.24-gentoo-r3 ppc64 POWER3 (630+)
Timestamp of tree: Wed, 02 Jul 2008 10:33:01 +0000
distcc 2.18.3 powerpc64-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="ppc64"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=power3 -mtune=power3"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -mcpu=power3 -mtune=power3"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://open-systems.ufl.edu/mirrors/gentoo "
LANG="en_US.utf8"
MAKEOPTS="-j5"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm ibm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc64 pppd python readline reflection session spl ssl tcpd unicode xorg zlib" 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" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 mga nv r128 radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Greg


Last edited by trigggl on Sat Jul 19, 2008 2:48 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Jul 04, 2008 2:24 pm    Post subject: Reply with quote

Try just "-pipe -O2" for your CFLAGS instead and see if it works then, it appears that a program that was compiled with that package is segfaulting. -O3 usually doesn't help all that much, for what it's worth. You may actually see better results with -Os simply because the resulting binaries are smaller.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Sun Jul 06, 2008 2:04 am    Post subject: Reply with quote

JoseJX wrote:
Try just "-pipe -O2" for your CFLAGS instead and see if it works then, it appears that a program that was compiled with that package is segfaulting. -O3 usually doesn't help all that much, for what it's worth. You may actually see better results with -Os simply because the resulting binaries are smaller.
Same thing, no change. Perhaps I need to recompile all of its dependencies as well? Would it be caused by using gcc-4.2.4?

I figure I can try -O3 because I have more ram than speed. Maybe I could use -O3 on one computer and -Os on the other.
_________________
Greg
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 06, 2008 3:18 am    Post subject: Reply with quote

It's hard to say, I'll see if I can reproduce it in my 64ul environment. -Os can still be faster simply because the binaries load from the disk faster and fit in the cache better. Still, give it a try, I'd be interested to know which works better for you!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Tue Jul 08, 2008 9:12 pm    Post subject: Reply with quote

I went ahead and masked app-text/texlive-core-2007-r13. I wrote a bug report, but I've heard nothing since I submitted it.
_________________
Greg
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Thu Jul 10, 2008 8:26 am    Post subject: Reply with quote

trigggl wrote:
I wrote a bug report, but I've heard nothing since I submitted it.


you need to assign it to ppc64@gentoo.org if you want our (i.e. ppc64 team) attention. emerge --info is helpful, too. Followup at bug #231126, please.
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Thu Jul 10, 2008 10:35 am    Post subject: Reply with quote

corsair wrote:
you need to assign it to ppc64@gentoo.org if you want our (i.e. ppc64 team) attention. emerge --info is helpful, too. Followup at bug #231126, please.

I'll remember that.

The report has been updated.
_________________
Greg
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Sat Jul 12, 2008 5:11 pm    Post subject: Reply with quote

Interesting :?

Following the suggestion from the bug report, I upgraded to gcc-4.3.1 and also the latest stable Python. When running python-updater, beecrypt failed. I returned to gcc-4.2.4 it installed.

I guess there's a reason not to use gcc in testing. I end up being the one testing it. As soon as python-updater is finished I'll change back to 4.3.1.
_________________
Greg
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Sat Jul 12, 2008 11:59 pm    Post subject: Reply with quote

Now I'm really starting to get annoyed.

'app-text/texlive-core-2007-r13' won't install no matter what version of gcc I use.

'app-text/texlive-core-2007-r12' has been removed from the portage tree.

My only option is r13 and it won't install. I've returned it to being masked and I guess I'll just wait for another option.
_________________
Greg
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Mon Jul 14, 2008 10:23 am    Post subject: Reply with quote

trigggl wrote:
Now I'm really starting to get annoyed.

'app-text/texlive-core-2007-r13' won't install no matter what version of gcc I use.

'app-text/texlive-core-2007-r12' has been removed from the portage tree.

My only option is r13 and it won't install. I've returned it to being masked and I guess I'll just wait for another option.


ok. I still cannot reproduce this error on my machines. Could you do me a favour and download a stage3 (either 2008.0 or one of mine containing gcc 4.3.2, which can be found here) and try to build texlive-core in a chroot environment. If you don't know how to chroot then please let me know. Basicly it's the same procedure as when you're installing gentoo except that you create a temporal directory instead of using a partition.

regards,

-corsair
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Mon Jul 14, 2008 8:04 pm    Post subject: Reply with quote

I've decided to try --emptytree. It's only 681 packages. I'll have to turn on the other box when I get home to help it. I figure it might be good to have everything built to the same portage, python, gcc and flags. It should only take a couple of days. :mrgreen:
_________________
Greg
Back to top
View user's profile Send private message
trigggl
Apprentice
Apprentice


Joined: 26 Aug 2007
Posts: 234
Location: Arkansas

PostPosted: Sat Jul 19, 2008 2:51 am    Post subject: Reply with quote

I ran 'emerge --emptytree world' on one computer and 'emerge --emptytree texlive-core' on the other. Both worked, but the latter was definitely quicker.

So, now I know what to do when something should work and doesn't.
_________________
Greg
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sun Jul 20, 2008 9:22 am    Post subject: Reply with quote

trigggl wrote:
I ran 'emerge --emptytree world' on one computer and 'emerge --emptytree texlive-core' on the other. Both worked, but the latter was definitely quicker.

So, now I know what to do when something should work and doesn't.


good you got it working again. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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