View previous topic :: View next topic |
Author |
Message |
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Thu Nov 18, 2004 6:43 am Post subject: Emerging xorg-x11-6.*.0-r3 fails during merge |
|
|
Since today we have both xorg-x11-6.8.0-r3 (x86) and
xorg-x11-6.7.0-r3 (ppc). Emerging these ebuild failed
in exactly the same way on their respective system.
The faillure occur after compilation during the merge.
I previously posted my failure on the ppc forum, the error
message being the same for both x86 and ppc here is a link
to the thread https://forums.gentoo.org/viewtopic.php?t=253629
My configuration on x86 is as follow: Code: | emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers: sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fsigned-char -frename-registers -fno-strict-aliasing"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=athlon-xp -fomit-frame-pointer -pipe -fsigned-char -frename-registers -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.eliteitminds.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X alsa apm arts avi berkdb bidi bitmap-fonts cdparanoia cdr crypt cups dga divx4linux dvd dvdr dvdread encode esd exif f77 fam fbcon fftw flac foomaticdb fortran gdbm gif gpm graphviz gtk gtk2 icc imagemagick imlib imlib2 java jbig joystickjpeg kde lcms ldap libg++ libwww live mad matroska mikmod mime mmx motif mozilla mpeg mysql ncurses netcdf network nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real sdl slang spell sse ssl svg svga tcltk tcpd tetex theora tiff truetype unicode usb wmf x86 xml2 xmms xpm xv xvid zlib"
|
Anyone else had any troubles with those? Should I submit
a bug ?
Cheers,
Francois
Last edited by fb on Thu Nov 18, 2004 8:55 am; edited 1 time in total |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Thu Nov 18, 2004 7:49 am Post subject: Update |
|
|
It looks like a major breakage now. I tried to re-emerge
the previous stable versions of xorg-x11 on both x86
and ppc and they failed at the same spot that their newer
sibling.
Some major patch must have been removed.
[EDIT]: filled a bug report for it. |
|
Back to top |
|
|
locutus12 n00b
Joined: 18 Nov 2004 Posts: 3
|
Posted: Thu Nov 18, 2004 12:50 pm Post subject: |
|
|
I had exactly the same problem. The "missing" file actually is a symlink to a non-existing file. So thats what I did:
Delete the symlink
Code: |
rm -f /usr/share/fonts/misc/encodings.dir
|
copy the correct file (assuming you have not deleted the workdir after your ebuild failed)
Code: |
cp /var/tmp/portage/xorg-x11-6.8.0-r3/image/usr/share/fonts/misc/encodings.dir /usr/share/fonts/misc/encodings.dir
|
install xorg (you dont need to recompile it)
Code: |
cd /usr/portage/x11-base/xorg-x11/
ebuild xorg-x11-6.8.0-r3.ebuild qmerge
|
this fixed it for me. There were some errormessages during install, so I'm currently reemerging xorg-x11, just in case
Don't forget to unmerge previously installed installed versions of xorg-x11.
Probably this is not a bug in the current ebuild but in the previously installed one.
Edit:
Compile finished successfully, the errormessages are the same (but they are probably not related, see https://forums.gentoo.org/viewtopic.php?t=251567)
@fb: could you post the number of the bug you filled? I cant find it. |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Thu Nov 18, 2004 7:33 pm Post subject: |
|
|
Hi,
I will try that. The bug I filled is #71641 but it has been marked
a duplicate of #69672 which I didn't notice because I was
searching for bug with -r3.
Still it is strange it installed before and now it doesn't... And it
concerns several versions and platforms. I would like to know
what happened there. I also have to say that I am not satisfied
that the bug is closed and stable release are still affected by it
it is poor QA. |
|
Back to top |
|
|
robfish Tux's lil' helper
Joined: 25 Nov 2002 Posts: 137 Location: New Zealand
|
Posted: Thu Nov 18, 2004 7:36 pm Post subject: |
|
|
I have exactly the same problem but I am not keen to use a "workaround".
I would prefer to wait until a new version of the ebuild is available which fixes this bug.
EDIT:
Code: | rm -f /usr/share/fonts/75dpi/encodings.dir |
then
did work for me too. _________________ RobFish
Last edited by robfish on Fri Nov 19, 2004 7:14 pm; edited 1 time in total |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Thu Nov 18, 2004 7:53 pm Post subject: |
|
|
robfish wrote: | I have exactly the same problem but I am not keen to use a "workaround".
I would prefer to wait until a new version of the ebuild is available which fixes this bug. |
And I perfectly understand you! I just want to get out of the
situation where it seems like I have a new version that is "half
installed", I haven't restarted x11 on my ppc but I will probably
see if there is any problem coming from that on my x86 system tonight.
It is specialy important for me to get out of that on ppc as I
cannot switch from x11 to console without freezing the machine
(an iMac config problem) I probably could boot on console if
needed though. |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Thu Nov 18, 2004 9:57 pm Post subject: |
|
|
For those who have compile time on their hands. Just doing
Code: | rm -f /usr/share/fonts/misc/encodings.dir |
and then
And the ebuild will be successfull. Of course if you are in a hurry
locutus12's way is possibly the fastest. I don't know if it does
work if you remove the file before starting any new ebuilds. |
|
Back to top |
|
|
Kalochero n00b
Joined: 22 Oct 2004 Posts: 10
|
|
Back to top |
|
|
locutus12 n00b
Joined: 18 Nov 2004 Posts: 3
|
Posted: Thu Nov 18, 2004 11:55 pm Post subject: |
|
|
It seems that one dont have to copy the file back, just has to delete it.
"emerge foo.ebuild" actually does the same as "ebuild foo.ebuild merge" and that is the same as "ebuild foo.ebuild <command>" where <command> is fetch, unpack, compile, install and finally qmerge (according to the manpage of ebuild).
Since the ebuild failed while copying the files into the system ("half installed"), we just have to do the last command again (qmerge).
If you just emerge again, you actually do the same als I proposed, but you first compile xorg again (which you already have and would take about 1 hour on an athlonXP 2000). Consider it as a shortcut
@robfish
Just do it. I'm not sure if it is easy to fix that or if it will be fixed soon (the bug ist closed, but it happened again...)
The "workaraound just deletes a file that would be replaced anyway and if you dont trust my shortcut, you can always emerge xorg-x11 (as fb already proposed)... |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Fri Nov 19, 2004 12:15 am Post subject: |
|
|
Your problem is different. I think I saw someone with that
problem in this forum and they were to try to emerge xorg-x11
without bitmap-fonts (ie USE="-bitmap-fonts" emerge xorg-x11).
I am not 100% positive that it will solve your problem.
To Locutus12 the bug is marked closed "inCVS" so it is quite
possible that it didn't make it to the stable branch. This is
sloppy and certainly wrong but it is probably what happened. |
|
Back to top |
|
|
Kalochero n00b
Joined: 22 Oct 2004 Posts: 10
|
Posted: Fri Nov 19, 2004 8:00 am Post subject: |
|
|
Compiling without bitmap-fonts results in the same. |
|
Back to top |
|
|
fb l33t
Joined: 08 Dec 2003 Posts: 636 Location: New Zealand
|
Posted: Sat Nov 20, 2004 12:06 am Post subject: |
|
|
Kalochero wrote: | Compiling without bitmap-fonts results in the same. |
Sorry, I found where I saw that. Iwas not sure it would work for
you. Which version of gcc are you using (gcc -v)?
It looks like there is trouble with some versions of gcc. |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|