Страница 1 из 1

не обновляется x11-drivers/xf86-video-i810 1.6.5_3 на 1.7.4

Добавлено: 2008-08-28 0:56:23
gunny
по порядку:

поставил на vmware workstation 6.5.0.110068 релиз 7.0, при выборе дистрибутива указал all, потому как для опытов;

Код: Выделить всё

free# uname -a
FreeBSD free.gunny.local 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
сразу же обновил, посредством cvsup порты;
установил portupgrade-2.4.6,2;
выполнил

Код: Выделить всё

free# portsdb -Uu
free# portupgrade -arR
всё обновилось за полдня, за исключением xf86-video-i810-1.7.4 и зависящих от него xorg-drivers-7.3 и xorg-7.3_1

вот хвост вывода последней команды:

Код: Выделить всё

...
i830_driver.c: In function 'I830InitFBManager':
i830_driver.c:7070: warning: the address of 'ScreenBox' will always evaluateas 'true'
i830_driver.c:7117:2: error: #error "Wrong drm.h file included. You need to compile and install a recent libdrm."
i830_driver.c: In function 'I830DrmMMInit':
i830_driver.c:7127: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:7127: error: (Each undeclared identifier is reported only once
i830_driver.c:7127: error: for each function it appears in.)
i830_driver.c:7127: error: expected ';' before 'arg'
i830_driver.c:7130: error: 'arg' undeclared (first use in this function)
i830_driver.c:7131: error: 'mm_init' undeclared (first use in this function)
i830_driver.c:7136: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830DrmMMTakedown':
i830_driver.c:7148: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:7148: error: expected ';' before 'arg'
i830_driver.c:7151: error: 'arg' undeclared (first use in this function)
i830_driver.c:7152: error: 'mm_takedown' undeclared (first use in this function)
i830_driver.c:7154: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830DrmMMLock':
i830_driver.c:7163: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:7163: error: expected ';' before 'arg'
i830_driver.c:7166: error: 'arg' undeclared (first use in this function)
i830_driver.c:7167: error: 'mm_lock' undeclared (first use in this function)
i830_driver.c:7171: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830DrmMMUnlock':
i830_driver.c:7179: error: 'drm_mm_init_arg_t' undeclared (first use in this function)
i830_driver.c:7179: error: expected ';' before 'arg'
i830_driver.c:7182: error: 'arg' undeclared (first use in this function)
i830_driver.c:7183: error: 'mm_unlock' undeclared (first use in this function)
i830_driver.c:7187: error: 'DRM_IOCTL_MM_INIT' undeclared (first use in this function)
i830_driver.c: In function 'I830BIOSScreenInit':
i830_driver.c:7723: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
i830_driver.c: In function 'I830BIOSLeaveVT':
i830_driver.c:7904: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
i830_driver.c: In function 'I830BIOSEnterVT':
i830_driver.c:8365: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
i830_driver.c: In function 'I830BIOSCloseScreen':
i830_driver.c:8586: error: 'DRM_BO_MEM_TT' undeclared (first use in this function)
i830_driver.c: In function 'I830CheckDevicesTimer':
i830_driver.c:8994: warning: 'miPointerCurrentScreen' is deprecated (declared at /usr/local/include/xorg/mipointer.h:142)
i830_driver.c:8996: warning: 'miPointerPosition' is deprecated (declared at /usr/local/include/xorg/mipointer.h:130)
i830_driver.c:9025: warning: 'miPointerPosition' is deprecated (declared at /usr/local/include/xorg/mipointer.h:130)
i830_driver.c:9036: warning: 'miPointerWarpCursor' is deprecated (declared at /usr/local/include/xorg/mipointer.h:95)
i830_driver.c:9054: warning: 'miPointerWarpCursor' is deprecated (declared at /usr/local/include/xorg/mipointer.h:95)
*** Error code 1

Stop in /usr/ports/x11-drivers/xf86-video-i810/work/xf86-video-i810-1.7.4/src.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.8414.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xf86-video-i810-1.6.5_3 UPGRADE_PORT_VER=1.6.5_3 make
** Fix the problem and try again.
--->  Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3) because a requisite package 'xf86-video-i810-1.6.5_3' (x11-drivers/xf86-video-i810) failed (specify -k to force)
--->  Skipping 'x11/xorg' (xorg-7.3_1) because a requisite package 'xf86-video-i810-1.6.5_3' (x11-drivers/xf86-video-i810) failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! x11-drivers/xf86-video-i810 (xf86-video-i810-1.6.5_3) (compiler error)
        * x11-drivers/xorg-drivers (xorg-drivers-7.3)
        * x11/xorg (xorg-7.3_1)
при этом -

Код: Выделить всё

free# pkg_version | grep libdrm
libdrm                              =
тщательное гугление желаемого просветления не принесло

----------------------------------------------------

уважаемые знатоки, внимание - вопрос:

можно ли с этим что-то сделать или, действительно, принудительно обновить x-org, учитывая тот момент, что на vmware интеловские драйвера, имхо, не особенно нужны..? мать P5B без буковок, т.е. встроенного видео нет, в слоте - 8800gtx...

Re: не обновляется x11-drivers/xf86-video-i810 1.6.5_3 на 1.7.4

Добавлено: 2008-08-28 12:37:00
iZEN
Он давно заменён на ports/x11-drivers/xf86-video-intel, поэтому есть конфликт.
/usr/ports/x11-drivers/xf86-video-i810/Makefile:
# New ports collection makefile for: xf86-video-i810
# Date Created: 17 Feb 2006
# Whom: Florent Thoumie <flz@FreeBSD.org>
#
# $FreeBSD: ports/x11-drivers/xf86-video-i810/Makefile,v 1.6 2008/06/06 14:10:25 edwin Exp $
#

PORTNAME= xf86-video-i810
PORTVERSION= 1.7.4
PORTREVISION= 1
CATEGORIES= x11-drivers

MAINTAINER= x11@FreeBSD.org
COMMENT= X.Org i810 display driver

CONFLICTS= xf86-video-intel-[0-9]*
...
Разрешение ситуации: нужно выбрать из двух одно: либо xf86-video-i810, либо xf86-video-intel, а другой деинсталлировать.

Re: не обновляется x11-drivers/xf86-video-i810 1.6.5_3 на 1.7.4

Добавлено: 2008-08-28 15:28:59
paradox
libdrm не той версии

заработала

Добавлено: 2008-08-28 20:28:08
gunny
iZEN писал(а): Он давно заменён на ports/x11-drivers/xf86-video-intel, поэтому есть конфликт.
да, действительно, мой косяк, недоглядел... :(

Код: Выделить всё

free# pkg_delete -f xf86-video-i810-1.6.5_3
free# cd /usr/ports/x11-drivers/xf86-video-intel
free# make install clean
free# pkgdb -F
free# portupgrade -arR
и, voila, имеем новую, с иголочки, фрюху...
имхо, венду с нуля ап ту дэйт поставить гораздо проще и быстрее... но работать в ней противнее... :smile: