Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135624 - colorls can break OpenOffice bootstrapping
Summary: colorls can break OpenOffice bootstrapping
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 06:18 UTC by Malte S. Stretz
Modified: 2006-06-06 06:29 UTC (History)
0 users

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


Attachments
build log (6946-openoffice-2.0.2-r2.log,778.92 KB, text/plain)
2006-06-05 06:20 UTC, Malte S. Stretz
Details
This patch could fix the problem. (openoffice-2.0.2-r2.ebuild.patch,381 bytes, patch)
2006-06-05 06:21 UTC, Malte S. Stretz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2006-06-05 06:18:19 UTC
No, I'm not smoking anything:  It seems like colorls confuses the OOo build script.  I could not build OOo since some time, it always bailed out (portage just exited wth an error code 1) after "Bootstrapping".  I had no idea what could be wrong until I tried again a few days ago and noticed a "Unknown colorls variable `su'." after Bootsrapping, which was new (see attached log).

I first tried an 'unalias ls' before emerging OOo, but that didn't help.  But now I both did 'unset LS_COLORS' and 'unalias ls' and it seems like OOo is building fine (emerge still running but passed the "Bootstrapping" stage).

I'll attacha sample patch which unsets that stuff before building.
Comment 1 Malte S. Stretz 2006-06-05 06:20:32 UTC
Created attachment 88429 [details]
build log
Comment 2 Malte S. Stretz 2006-06-05 06:21:06 UTC
Created attachment 88430 [details, diff]
This patch could fix the problem.
Comment 3 Malte S. Stretz 2006-06-05 06:22:27 UTC
Forgot to include my colorls settings:
mss@otherland /usr/portage/app-office/openoffice $ env|grep LS_COLOR
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:
mss@otherland /usr/portage/app-office/openoffice $ alias
alias ls='ls --color=auto'
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2006-06-05 22:42:25 UTC
Could it be that your coreutils are not up-to-date, this should have been fixed quite some time ago:

https://bugs.gentoo.org/show_bug.cgi?id=120792
Comment 5 Malte S. Stretz 2006-06-06 02:02:11 UTC
Hmmm... my coreutils are up-to-date but tcsh isn't even thouth 'emerge -uD' doesn't want to update it.  I'll update it manually, but as tcsh-6.14 is stable now, maybe OOo should depend on it as suggested in bug 120792?

mss@otherland ~ $ equery l -p coreutils
[ Searching for package 'coreutils' in all categories among: ]
 * installed packages
[I--] [  ] sys-apps/coreutils-5.94-r1 (0)
 * Portage tree (/usr/portage)
[-P-] [  ] sys-apps/coreutils-5.2.1-r7 (0)
[-P-] [M~] sys-apps/coreutils-5.3.0-r2 (0)
[-P-] [M~] sys-apps/coreutils-5.94-r2 (0)
[-P-] [M~] sys-apps/coreutils-5.94-r3 (0)
[-P-] [M~] sys-apps/coreutils-5.95 (0)
[-P-] [M~] sys-apps/coreutils-5.96 (0)
[-P-] [M ] sys-apps/coreutils-darwin-5.3.0 (0)
[-P-] [  ] sys-apps/policycoreutils-1.28 (0)
[-P-] [M~] sys-apps/policycoreutils-1.30-r1 (0)
mss@otherland ~ $ equery l -p tcsh
[ Searching for package 'tcsh' in all categories among: ]
 * installed packages
[I--] [M ] app-shells/tcsh-6.13-r1 (0)
 * Portage tree (/usr/portage)
[-P-] [  ] app-shells/tcsh-6.14-r2 (0)
[-P-] [  ] app-shells/tcsh-6.14-r3 (0)
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2006-06-06 06:29:30 UTC
I've raised the dependency to tcsh now, to make sure everyone gets the fix, closing