Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't upgrade xorg-server or xf86-video-intel [Solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Mon Mar 29, 2010 12:28 am    Post subject: Can't upgrade xorg-server or xf86-video-intel [Solved] Reply with quote

I've had this issue for a while now and thought it might just disappear when the next releases became available, but that's not happened.

I'm running xorg-server-1.6.5 and xf86-video-intel-2.9.0-r1 and newer versions of both are available.

For a while xorg-server-1.6.5-r1 has been available and today I notice xf86-video-intel-2.10.0-r1 is available. When I try to upgrade, both fail.

Here is the end of the xorg-server build log:
Code:
../doltcompile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include    -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DDBUS_API_SUBJECT_TO_CHANGE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include    -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -DVENDOR_NAME=\""The X.Org Foundation"\" -DVENDOR_RELEASE="(((1) * 10000000) + ((6) * 100000) + ((5) * 1000) + 0)" -O2 -march=native -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -MT dispatch.lo -MD -MP -MF .deps/dispatch.Tpo -c -o dispatch.lo dispatch.c
In file included from ../Xext/panoramiX.h:44,
                 from dispatch.c:134:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ‘)’ before ‘*’ token
/usr/include/X11/extensions/panoramiXext.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXQueryVersion’
/usr/include/X11/extensions/panoramiXext.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetState’
/usr/include/X11/extensions/panoramiXext.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetScreenCount’
/usr/include/X11/extensions/panoramiXext.h:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetScreenSize’
dispatch.c: In function ‘ProcCloseFont’:
dispatch.c:1117: warning: ‘SecurityLookupIDByType’ is deprecated (declared at ../include/resource.h:268)
make[2]: *** [dispatch.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/colormap.Tpo .deps/colormap.Plo
mv -f .deps/devices.Tpo .deps/devices.Plo
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/dix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/dix'
make: *** [all-recursive] Error 1
 * ERROR: x11-base/xorg-server-1.6.5-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3748:  Called x-modular_src_compile
 *   environment, line 4717:  Called x-modular_src_make
 *   environment, line 4755:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =x11-base/xorg-server-1.6.5-r1',
 * the complete build log and the output of 'emerge -pqv =x11-base/xorg-server-1.6.5-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5'


And here is the end of the xf86-video-intel build log:
Code:
/usr/include/xorg/shmint.h:27:35: error: X11/extensions/shmstr.h: No such file or directory
In file included from uxa-priv.h:327,
                 from uxa-accel.c:33:
/usr/include/xorg/shmint.h:34: error: expected declaration specifiers or ‘...’ before ‘ShmFuncsPtr’
In file included from uxa-accel.c:33:
uxa-priv.h:337: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uxa_shm_funcs’
uxa.c:539: error: too many arguments to function ‘ShmRegisterFuncs’
uxa-accel.c:278: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uxa_shm_funcs’
make[2]: *** [uxa-accel.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [uxa.lo] Error 1
make[2]: *** [uxa-glyphs.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0/uxa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0'
make: *** [all] Error 2
 * ERROR: x11-drivers/xf86-video-intel-2.10.0-r1 failed:
 *   died running emake, base_src_make:make
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 4141:  Called xorg-2_src_compile
 *   environment, line 5035:  Called base_src_compile
 *   environment, line  633:  Called base_src_make
 *   environment, line  671:  Called die
 * The specific snippet of code:
 *           emake $@ || die "died running emake, $FUNCNAME:make";
 *
 * If you need support, post the output of 'emerge --info =x11-drivers/xf86-video-intel-2.10.0-r1',
 * the complete build log and the output of 'emerge -pqv =x11-drivers/xf86-video-intel-2.10.0-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-drivers/xf86-video-intel-2.10.0-r1/work/xf86-video-intel-2.10.0'


emerge --info
Code:
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 28 Mar 2010 19:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.4-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amr arts berkdb bluetooth branding bzip2 cairo cdr cli clucene consolekit cracklib crypt css cups cxx dbus dri dts dv dvb dvd dvdr dvdread eds emboss encode evo exif fam fbcondecor ffmpeg firefox flac fltk fortran gcj gdbm gif gpm gstreamer gtk gtk2 hal htmlhandbook iconv imagemagick ipod ipw3945 java jpeg kde kdehiddenvisibility kdexdeltas ldap libnotify mad mikmod mmx mng modules motif mp3 mp4 mpeg mplayer mudflap ncurses nepomuk nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl plasma png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis wifi win32codecs x264 x86 xcomposite xine xml xorg xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Any ideas?
These aren't causing me any issue, X still works and everything seems ok. It's just annoying that these two items keep failing when I do emerge -uD world

Thanks,
Roland.


Last edited by rolypoly on Tue Apr 06, 2010 8:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Mar 29, 2010 1:15 am    Post subject: Reply with quote

2 things in your /etc/make.conf file:
  • remove the qt3 USE flag
  • put evdev in the INPUT_DEVICES="evdev"


Run:
Code:
revdep-rebuild

and post the output of this please:
Code:
egrep '^[^#].*(AGP|DRM|INTEL|EVDEV)' /usr/src/linux/.config


and always use emerge -aDNuv world and look through it in case anything stands out.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Mon Mar 29, 2010 1:19 am    Post subject: Reply with quote

Hi Mike,

I've removed the qt3 USE flag.
Should I remove "keyboard mouse" and replace with "evdev" or is evdev as well as the others?

Here is the output you asked for:
Code:
itg0223 ~ # egrep '^[^#].*(AGP|DRM|INTEL|EVDEV)' /usr/src/linux/.config
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_INPUT_EVDEV=m
CONFIG_HW_RANDOM_INTEL=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
CONFIG_USB_GSPCA_SN9C20X_EVDEV=y
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
CONFIG_DRM=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
CONFIG_SND_HDA_INTEL=y
CONFIG_INTEL_IOATDMA=y
CONFIG_CRYPTO_CRC32C_INTEL=m


Thanks,
Roland.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Mar 29, 2010 1:32 am    Post subject: Reply with quote

Replace mouse keyboard with evdev unless you have a specific reason to need them, like for instance if you use an old serial mouse or something unusual.

And remove all sections and references to mouse and keyboard in /etc/X11/xorg.conf

Also disable CONFIG_DRM_I915_KMS=y in your kernel, it's busted with the newer xorg-servers AFAIK, rebuild and re-install kernel as usual. Make sure the /boot partition (if any) is mounted before copying the new kernel over.

Your xf86-video-intel fails to build because the xorg-server fails first which would have provided the needed files.

Actually you should run these in this order:
Code:
emerge -aDNuv world
revdep-rebuild
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Mar 29, 2010 1:40 am    Post subject: Reply with quote

Mike, whats the advantage of evdev? (I'm still using keyboard and mouse, too)
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Mar 29, 2010 1:51 am    Post subject: Reply with quote

Nowadays hal handles them, in which case all references to keyboard and mouse both in make.conf and xorg.conf are unnecessary,
unless Option "AutoEnableDevices" "false" exists in xorg.conf and hald is stopped.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Mon Mar 29, 2010 2:20 am    Post subject: Reply with quote

Well, I rebuilt my kernel without the KMS option.
My xorg.conf only really had an input section, so I deleted the xorg.conf

When I rebooted, KDM started but mouse and keyboard wouldn't work. Logged in via ssh from another machine and restored the xorg.conf, restarted KDM and everything back to normal. Apparently, this section in xorg.conf is still required for my machine :
Code:
Section "ServerFlags"
        Option      "AllowEmptyInput" "false"
EndSection


I then tried compiling xorg-server, which failed with the following:
Code:
/usr/include/X11/extensions/panoramiXext.h:49: error: expected ‘)’ before ‘*’ token
/usr/include/X11/extensions/panoramiXext.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXQueryVersion’
/usr/include/X11/extensions/panoramiXext.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetState’
/usr/include/X11/extensions/panoramiXext.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetScreenCount’
/usr/include/X11/extensions/panoramiXext.h:76: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XPanoramiXGetScreenSize’
dispatch.c: In function ‘ProcCloseFont’:
dispatch.c:1117: warning: ‘SecurityLookupIDByType’ is deprecated (declared at ../include/resource.h:268)
make[2]: *** [dispatch.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/colormap.Tpo .deps/colormap.Plo
mv -f .deps/devices.Tpo .deps/devices.Plo
make[2]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/dix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5/dix'
make: *** [all-recursive] Error 1
 * ERROR: x11-base/xorg-server-1.6.5-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3749:  Called x-modular_src_compile
 *   environment, line 4718:  Called x-modular_src_make
 *   environment, line 4756:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =x11-base/xorg-server-1.6.5-r1',
 * the complete build log and the output of 'emerge -pqv =x11-base/xorg-server-1.6.5-r1'.
 * The complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/temp/environment'.
 * S: '/var/tmp/portage/x11-base/xorg-server-1.6.5-r1/work/xorg-server-1.6.5'


BTW, both mouse and keyboard are USB.

Roland.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Mar 29, 2010 2:42 am    Post subject: Reply with quote

Try this in make.conf:
Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Mon Mar 29, 2010 2:47 am    Post subject: Reply with quote

No change :(

Is it worth unmasking xorg-server-1.7.6? I assume it's hard masked as I already have xorg-server in my package.keywords file.
Any idea why it's hard masked? Worth a shot?
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Mon Mar 29, 2010 3:55 am    Post subject: Reply with quote

Well that was an interesting exercise!
Tried xorg-server-1.7.6 and xorg-drivers-1.7

Actually installed ok, and even xf86-video-intel-2.10.0 installed correctly :)

Looking good.

Had to add the KMS option back into the kernel and recompile...

Rebooted and everything looks good. KDM starts ok and I can login successfully :)

But (you knew this was coming eh?) as soon as I click on anything - the K menu for example - X crashes and returns me to the KDM login screen.

I tried LXDE and that was better as I could at least do stuff like change the screen resolution, but then it crashed again when starting Firefox :(

Fortunately I did a quickpkg of xorg-server, xf86-input-mouse, xf86-input-mouse, xf86-input-evdev and xf86-video-intel so was able to recover quite easilly.

So, in short, NO, I shouldn't have tried xorg-server-1.7.6! :twisted:

Roland.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Mar 29, 2010 12:02 pm    Post subject: Reply with quote

rolypoly,

would you post your emerge --info, please?
Also, have you cleaned up your world file and run emerge -a --depclean. Sometimes cruft left behind becomes showstopper.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Mon Mar 29, 2010 8:14 pm    Post subject: Reply with quote

Jaglover, emerge --info is in the original post :)

I'll try the emerge -a --depclean with the pretend option first to see what it's going to do. Last time I tried a depclean it seriously messed my machine and I ended up rebuilding! That was a couple of years ago though...
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Mar 29, 2010 11:53 pm    Post subject: Reply with quote

Here 'emerge -upvD --with-bdeps y @world' would
probably be more helpful - seems it's either too narow mask
or an incomplete upgrade of libs/protos of xorg-server.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Tue Mar 30, 2010 2:08 am    Post subject: Reply with quote

Hmm, this is getting messy...

Tried the emerge -a --depclean but it flagged an issue with poppler and luatex, as below:
Code:
itg0223 portage # emerge -ap --depclean

 * Depclean may break link level dependencies.  Thus, it is
 * recommended to use a tool such as `revdep-rebuild` (from
 * app-portage/gentoolkit) in order to detect such breakage.
 *
 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 *
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep world` prior to depclean.

Calculating dependencies... done!
 * Dependencies could not be completely resolved due to
 * the following required packages not being installed:
 *
 *   <=virtual/poppler-0.11.0 pulled in by:
 *     dev-tex/luatex-0.30.3
 *
 * Have you forgotten to run `emerge --update --newuse --deep world` prior
 * to depclean? It may be necessary to manually uninstall packages that no longer
 * exist in the portage tree since it may not be possible to satisfy their
 * dependencies.  Also, be aware of the --with-bdeps option that is documented
 * in `man emerge`.
itg0223 portage # emerge -p --update --newuse --deep world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] x11-base/xorg-server-1.6.5-r1 [1.6.5]
[ebuild     U ] x11-drivers/xf86-video-intel-2.10.0-r1 [2.9.0-r1]
[ebuild   R   ] sys-devel/gcc-4.3.4  USE="(-ip28%) (-ip32r10k%)"
[ebuild     U ] dev-tex/luatex-0.50.0-r1 [0.30.3]


So I then try the emerge without the -p option and unsurprisingly, xorg-server and xf86-video-intel fail, but also gcc fails! luatex also fails when I restart the emerge with --resume.

luatex fails with this:
Code:
libtool: link: i686-pc-linux-gnu-g++ -O2 -march=native -fomit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wl,-E -Wl,-O1 -o luatex luatex-luatex.o  libluatex.a libff.a libluamisc.a libluasocket.a liblua51.a /usr/lib/libpng12.so -lpoppler /usr/lib/libzzip.so -lz /var/tmp/portage/dev-tex/luatex-0.50.0-r1/work/luatex-beta-0.50.0/source/libs/obsdcompat/libopenbsd-compat.a libmd5.a libmplib.a -ldl lib/lib.a /var/tmp/portage/dev-tex/luatex-0.50.0-r1/work/luatex-beta-0.50.0/source/texk/kpathsea/.libs/libkpathsea.a -lm
libluamisc.a(libluamisc_a-luazip.o): In function `zip_openfile':
luazip.c:(.text+0x248): undefined reference to `zzip_open_ext_io64'
collect2: ld returned 1 exit status
make[2]: *** [luatex] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-tex/luatex-0.50.0-r1/work/luatex-beta-0.50.0/source/texk/web2c'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-tex/luatex-0.50.0-r1/work/luatex-beta-0.50.0/source/texk/web2c'
make: *** [all] Error 2
 * ERROR: dev-tex/luatex-0.50.0-r1 failed:
 *   failed to build luatex
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2852:  Called die
 * The specific snippet of code:
 *       emake || die "failed to build luatex"
 *
 * If you need support, post the output of 'emerge --info =dev-tex/luatex-0.50.0-r1',
 * the complete build log and the output of 'emerge -pqv =dev-tex/luatex-0.50.0-r1'.
 * The complete build log is located at '/var/tmp/portage/dev-tex/luatex-0.50.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-tex/luatex-0.50.0-r1/temp/environment'.
 * S: '/var/tmp/portage/dev-tex/luatex-0.50.0-r1/work/luatex-beta-0.50.0/source'

>>> Failed to emerge dev-tex/luatex-0.50.0-r1, Log file:



And gcc fails with this:
Code:
/bin/sh ./libtool --tag=GCJ --mode=compile /var/tmp/portage/sys-devel/gcc-4.3.4/work/build/gcc/gcj -B/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/i686-pc-linux-gnu/libjava/ -B/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/gcc/ -ffloat-store -fomit-frame-pointer -Usun -fclasspath= -fbootclasspath=/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -O2 -march=native -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o java/lang/Object.lo -fsource-filename=/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/libjava/java/lang/Object.java /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/libjava/classpath/lib/java/lang/Object.class
libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.3.4/work/build/gcc/gcj -B/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/i686-pc-linux-gnu/libjava/ -B/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/gcc/ -ffloat-store -fomit-frame-pointer -Usun -fclasspath= -fbootclasspath=/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -O2 -march=native -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -fsource-filename=/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/libjava/java/lang/Object.java /var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/libjava/classpath/lib/java/lang/Object.class  -fPIC -o java/lang/.libs/Object.o
gcj: can't specify '-D' without '--main'

make[3]: *** [java/lang/Object.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/i686-pc-linux-gnu/libjava'
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/i686-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build'
make: *** [bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-4.3.4 failed:
 *   emake failed with bootstrap-lean
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 5033:  Called toolchain_src_compile
 *   environment, line 5603:  Called gcc_src_compile
 *   environment, line 3217:  Called gcc_do_make
 *   environment, line 3007:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *
 * If you need support, post the output of 'emerge --info =sys-devel/gcc-4.3.4',
 * the complete build log and the output of 'emerge -pqv =sys-devel/gcc-4.3.4'.
 * The complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.4/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.3.4/work/build'

>>> Failed to emerge sys-devel/gcc-4.3.4, Log file:

>>>  '/var/tmp/portage/sys-devel/gcc-4.3.4/temp/build.log'


This post has the same error, but it fixed itself! So no help there :(
https://forums.gentoo.org/viewtopic-t-798944-highlight-gcc+libjava.html

I did run lafilefixer --justfixit and a number of updates were made :)

Currently running the emerge again.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Tue Mar 30, 2010 3:40 am    Post subject: Reply with quote

Still got the build errors with xorg-server, xf86-video-intel, gcc and luatex, so the lafilefixer didn't fix this issue :(
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Tue Mar 30, 2010 12:14 pm    Post subject: Reply with quote

Don't know if it is relevant, but are you sure your Python install is clean? Why not remove old versions? Have you run python-updater?
Back to top
View user's profile Send private message
bafox
n00b
n00b


Joined: 30 Mar 2010
Posts: 5
Location: Spain

PostPosted: Tue Mar 30, 2010 6:06 pm    Post subject: Reply with quote

For xorg-server try re-emerging x11-proto/xineramaproto before hand. Portage may ask for a downgrade on that package.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Tue Mar 30, 2010 7:16 pm    Post subject: Reply with quote

python-updater came up with this:
Code:
itg0223 ~ # python-updater
 * Starting Python Updater from 2.5 to 2.6 :
 *   Adding to list: x11-libs/vte:0
 *     check: manual [Added to list manually, see CHECKS in manpage for more information.]
 *   Adding to list: app-emulation/virtualbox-bin:0
 *   Adding to list: dev-libs/boost:0
 *     check: manual [Added to list manually, see CHECKS in manpage for more information.]
 *   Adding to list: dev-libs/boost:1.41
 *     check: manual [Added to list manually, see CHECKS in manpage for more information.]
 * emerge -vD1 x11-libs/vte:0 app-emulation/virtualbox-bin:0 dev-libs/boost:0 dev-libs/boost:1.41

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-libs/boost-1.35.0-r5  USE="eselect python -doc -expat -icu -mpi -test -tools" 22,874 kB
[ebuild   R   ] dev-libs/boost-1.41.0-r3  USE="eselect python -debug -doc -expat -icu -mpi -test -tools" 32,567 kB
[ebuild   R   ] x11-libs/vte-0.22.5  USE="python -debug -doc -glade" 1,321 kB
[ebuild I R   ] app-emulation/virtualbox-bin-3.1.6  USE="additions chm python -headless -rdesktop-vrdp -sdk -vboxwebsrv" 0 kB

Total: 4 packages (4 reinstalls, 1 interactive), Size of downloads: 56,761 kB

That's going through right now. Then I'll re-emerge xineramaproto and see if that makes any difference.

If that doesn't work, I'll do an emerge -e world over the long weekend we've got coming up :)
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Tue Mar 30, 2010 9:58 pm    Post subject: Reply with quote

Looks like I'll be doing the emerge -e world over the weekend :(

python-updater and re-emerging xineramaproto made no difference.
Back to top
View user's profile Send private message
Spidey
Apprentice
Apprentice


Joined: 07 Sep 2006
Posts: 269

PostPosted: Tue Mar 30, 2010 10:54 pm    Post subject: Reply with quote

I use the same setup but on ~x86, everything working properly. Had some problems with the intel video drivers with my console going blank, but now it's ok, everything working fine.

By the way, the reason you had no keyboard and mouse at Xorg is that you have to configure then with hal fdi policy files. You probably hasn't done that before.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Wed Mar 31, 2010 1:52 am    Post subject: Reply with quote

Spidey, got mouse and keyboard working in X perfectly without messing with hal fdi stuff. The big problem for me was KDE crashing when clicking on the menu (or doing just about anything else!). Also had LXDE crashing too, so wasn't a KDE issue.

I am tempted to go fully ~x86, but am equally tempted to go back to purely x86 and remove entries from my package.keywords/unmask etc.

Will see what happens after a full rebuild over the weekend.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Mar 31, 2010 1:54 pm    Post subject: Reply with quote

I think that running revdep-rebuild is essential after up/downgrading stuff.

On a stable box with nVidia graphics my keywords for xorg-server-1.7.6 are these:
Code:
app-admin/eselect
app-admin/eselect-opengl
app-portage/eix
app-portage/gentoolkit
media-libs/mesa
x11-base/xorg-drivers
x11-base/xorg-server
x11-libs/libdrm
x11-libs/libX11
x11-libs/libXext
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXtst
x11-libs/libXxf86dga
x11-libs/libXxf86vm
x11-proto/dri2proto
x11-proto/fixesproto
x11-proto/inputproto
x11-proto/recordproto
x11-proto/xextproto
x11-proto/xf86dgaproto
x11-proto/xf86vidmodeproto
x11-proto/xineramaproto

I imagine that you would need to add x11-drivers/xf86-video-intel also.

Remember to always rebuild all x11-drivers after re-emerging xorg-server:
Code:
emerge $(qlist -IC x11-drivers)


BTW, nowadays python-updater wants to rebuild boost and vte every run. I doubt if it's really necessary. I was planning on investigating this today.
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Wed Mar 31, 2010 10:06 pm    Post subject: Reply with quote

I couldn't wait for the weekend, so I started the emerge -e --keep-going world last night and left it running over night.
This morning it was still going and had done about 820 of about 870 packages, so mostly done.

However, I did happen to notice that gcc, xorg-server and the intel video driver all failed :(

I might try the upgrade to xorg-server-1.7.6 again and then, as per Mike's suggestion, run a revdep-rebuild (I don't think I did that last time).

The only other thing I can think of is to rebuild from scratch 8O
Or, since it's not actually causing me any issues, just forget about it and hope it naturally fixes itself over time with new releases...
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Mar 31, 2010 11:03 pm    Post subject: Reply with quote

rolypoly wrote:
However, I did happen to notice that gcc, xorg-server and the intel video driver all failed :(


This is an excellent example of why --keep-going is a bad idea.

I prefer addressing any build failures right away if/when they occur.

rolypoly wrote:
Or, since it's not actually causing me any issues, just forget about it and hope it naturally fixes itself over time...

You should at least get all those build failures resolved - even if you do keep things as they are. Was glibc upgraded to a higher version?
Back to top
View user's profile Send private message
rolypoly
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2003
Posts: 143

PostPosted: Wed Mar 31, 2010 11:58 pm    Post subject: Reply with quote

I have upgraded xorg-server, xf86-video-intel and xf86-input-evdev to the ~x86 versions.
It's better than before but I am still getting crashes which return me to the KDM login screen. Is there a log file that gets written for the video driver, or is it included in the xorg.log?

My glibc is still at the same version as ever - currently 2.10.1-r1 - which is the stable version.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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