From owner-freebsd-x11@FreeBSD.ORG Sun Apr 20 05:18:40 2008 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FED81065671; Sun, 20 Apr 2008 05:18:40 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.freebsd.org (Postfix) with ESMTP id 170A38FC13; Sun, 20 Apr 2008 05:18:39 +0000 (UTC) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.2/8.14.1) with ESMTP id m3K4vKxA078636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Apr 2008 00:57:21 -0400 (EDT) (envelope-from mi@aldan.algebra.com) Received: (from mi@localhost) by aldan.algebra.com (8.14.2/8.14.1/Submit) id m3K4vKBI078635; Sun, 20 Apr 2008 00:57:20 -0400 (EDT) (envelope-from mi) Date: Sun, 20 Apr 2008 00:57:20 -0400 (EDT) From: "Mikhail T." Message-Id: <200804200457.m3K4vKBI078635@aldan.algebra.com> To: FreeBSD-gnats-submit@freebsd.org X-send-pr-version: 3.113 X-GNATS-Notify: Cc: x11@freebsd.org Subject: XCreateImage fails in most recent XOrg X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 05:18:40 -0000 >Submitter-Id: current-users >Originator: Mikhail T. >Organization: Virtual Estates, Inc. (http://sybpipe.com/) >Confidential: no >Synopsis: XCreateImage fails in most recent XOrg >Severity: critical >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 7.0-STABLE amd64 >Environment: System: FreeBSD aldan.algebra.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar 8 16:02:37 EST 2008 root@aldan.algebra.com:/meow/obj/var/src/sys/SILVER-SMP amd64 >Description: XCreateImage seems to fail quite often now... The attached program, for example, fails for me (depth 24), but succeeds, if I hardcode the depth at 8. The program reports success, when compiled on RedHat 4 with its older X11 build. The example below is fairly artificial, but a real-world program fails to run -- crashes trying to use the result of XCreateImage(). I'm talking about the editors/xcoral port. >How-To-Repeat: #include #include #include #include #include #include #include #include #include int main(int argc, char **argv) { Display *display; int screen, depth; XImage *xi; Visual *visual; if ((display = XOpenDisplay(NULL)) == NULL) { fprintf(stderr, "Can not connect to Xserver. \n"); exit(1); } screen = DefaultScreen(display); visual = DefaultVisual(display, screen); depth = DefaultDepth(display, screen); xi = XCreateImage(display, visual, depth, ZPixmap, 0, 0, 24, 24, 32, 72); if (xi == NULL) { fprintf(stderr, "XCreateImage failed (depth %d).\n", depth); exit(2); } else fprintf(stderr, "XCreateImage succeeded (depth %d).\n", depth); XDestroyImage(xi); XCloseDisplay(display); exit(0); } From owner-freebsd-x11@FreeBSD.ORG Sun Apr 20 12:10:26 2008 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C8AD106564A; Sun, 20 Apr 2008 12:10:26 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D61238FC0A; Sun, 20 Apr 2008 12:10:25 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3KCAPJX071518; Sun, 20 Apr 2008 12:10:25 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3KCAPkq071514; Sun, 20 Apr 2008 12:10:25 GMT (envelope-from edwin) Date: Sun, 20 Apr 2008 12:10:25 GMT Message-Id: <200804201210.m3KCAPkq071514@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-x11@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/122924: XCreateImage fails in most recent x11/XOrg X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 12:10:26 -0000 Synopsis: XCreateImage fails in most recent x11/XOrg Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-x11 Responsible-Changed-By: edwin Responsible-Changed-When: Sun Apr 20 12:10:25 UTC 2008 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=122924 From owner-freebsd-x11@FreeBSD.ORG Sun Apr 20 12:55:20 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F8DC106564A for ; Sun, 20 Apr 2008 12:55:20 +0000 (UTC) (envelope-from freebsd@akavia.ru) Received: from blg.akavia.ru (blg.akavia.ru [62.33.174.250]) by mx1.freebsd.org (Postfix) with ESMTP id A61018FC13 for ; Sun, 20 Apr 2008 12:55:19 +0000 (UTC) (envelope-from freebsd@akavia.ru) Received: from ADMIN (localhost [127.0.0.1]) by blg.akavia.ru (8.14.2/8.14.2) with ESMTP id m3KCZQfQ003504 for ; Sun, 20 Apr 2008 22:35:26 +1000 (YAKST) (envelope-from freebsd@akavia.ru) Date: Sun, 20 Apr 2008 22:35:39 +1000 From: Alexander Logvinov X-Mailer: The Bat! (v4.0.20) Professional Organization: AKA X-Priority: 3 (Normal) Message-ID: <286388698.20080420223539@akavia.ru> To: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Xorg crash X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Logvinov List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2008 12:55:20 -0000 Hello! After updating xorg-server to 1.4_8 from 1.4_7 when I try to start some pro= grams like games/linux-ut, Windows games in wine I get a Xorg crash: Fatal server error: Caught signal 11. Server aborting Here is Xorg logfile: http://forback.nm.ru/Xorg.0.log.old=20 Does any one have the same problem? --=20 WBR From owner-freebsd-x11@FreeBSD.ORG Mon Apr 21 11:06:59 2008 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B20ED106566B for ; Mon, 21 Apr 2008 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A0C7F8FC24 for ; Mon, 21 Apr 2008 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3LB6wgb095366 for ; Mon, 21 Apr 2008 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3LB6wxF095362 for freebsd-x11@FreeBSD.org; Mon, 21 Apr 2008 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Apr 2008 11:06:58 GMT Message-Id: <200804211106.m3LB6wxF095362@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2008 11:06:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/106370 x11 Screen corruption when using Direct Rendering on a PCI o ports/116359 x11 x11/xorg - screen blinks with PCI-E nvidia card and ve o ports/117195 x11 ix11/Xorg 7.3 dumps core at exit (sig 11) f ports/117508 x11 x11/xorg 7.2,7.3 i8i0 and intel crash system using Ble o ports/117766 x11 x11-servers/xorg-server (7.3) crashes under heavy load f ports/118539 x11 x11-drivers/xf86-video-ati - Bitmap fonts corrupted in f ports/118778 x11 X11 I810 x11-drivers/xf86-video-i810 1.7.4 fatal serve o ports/118950 x11 x11-drivers/xf86-video-nv - xorg xf86 nv (nvidia) driv o ports/119037 x11 x11: Can't type _ (Underscore) under X (gnome) o ports/119091 x11 x11-drivers/xf86-video-intel 2.1.1 panics system o ports/121360 x11 x11/xorg - Change default of ~/.xsession-errors to off o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/122924 x11 XCreateImage fails in most recent x11/XOrg 13 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s ports/73743 x11 XOrg/XFree xauth add/startx problem o ports/93667 x11 x11/xorg-libraries: undefined symbol in libOSMesa.* is o ports/112895 x11 [dri] xorg-7.2 dri with radeon 7500 o ports/113106 x11 x11/xorg - Xorg 7.2 + Mach64 + dri produces error mess f ports/114827 x11 Xorg server crashes when starting astro/google-earth o ports/115020 x11 New port: graphics/osmesa - Mesa's off-screen renderin s ports/115536 x11 [new port] x11/xorg-base port for a minimal X.Org inst f ports/116412 x11 x11/xorg - Screen artifacts with radeon X driver o ports/116443 x11 x11-drivers/xf86-input-keyboard patch for USB jp106 ke f ports/116603 x11 x11/xorg server 7.3 hangs up f ports/117907 x11 x11-servers/mga_hal broken on 7.0-BETA (GLIBC error) f ports/118217 x11 xorg doesnt find usb mouse when initiated with devd, w o ports/118547 x11 [patch] x11/xdm fails with pam_krb5 o ports/118645 x11 Xorg need realtime priority for mouse work nice o ports/121230 x11 [patch] ports/x11/xkeyboard-config WITHOUT_NLS support o ports/122214 x11 Use BZIP2 for graphics/libdrm 16 problems total. From owner-freebsd-x11@FreeBSD.ORG Tue Apr 22 21:59:35 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73A1B106564A for ; Tue, 22 Apr 2008 21:59:35 +0000 (UTC) (envelope-from novembre@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.248]) by mx1.freebsd.org (Postfix) with ESMTP id 325868FC15 for ; Tue, 22 Apr 2008 21:59:34 +0000 (UTC) (envelope-from novembre@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so678534anc.13 for ; Tue, 22 Apr 2008 14:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=tErUrQ3ajmyJbDegQWqrMJVPUC5JPssPkEOfjOqsrHU=; b=p1JgUcHSKotl2KridOehRrlc/VpFvoNUAuqzpXrHUAiQAM1jAsQ3eYNYCK5P/1A1xO6AtDJSff94eRY0xp6btz73kDtqMlSQBlm3Fb814eJ+qTrdo0cf/3PaQ5b6M/8MoO5cepVWB9kbyyjWRqDxddyTfh3BhoyR8cyPuCfDzOE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=jkakSinQWWp13anyT/pMNqOegjELvinAkr7WdnzsfMF2MEA6NvI+Hhs14dda3TI1IIIiaXXMHcm6U73zwXKjjyT7Fy5ovAYGjxoyV1gksanW/QaCVXopQweOtIyDpsUgFJ3+o+ZizbkySv8PClzuHuebW3hNdDdJ9Oj4oFJ+4DA= Received: by 10.100.133.1 with SMTP id g1mr1237812and.88.1208900038139; Tue, 22 Apr 2008 14:33:58 -0700 (PDT) Received: by 10.100.47.6 with HTTP; Tue, 22 Apr 2008 14:33:57 -0700 (PDT) Message-ID: <3b47caa90804221433y3a66dec9jbf28ca8d6f8c8d79@mail.gmail.com> Date: Tue, 22 Apr 2008 16:33:57 -0500 From: Novembre To: freebsd-x11@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: logout problem after running Compiz Fusion X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 21:59:35 -0000 Hi all, I have installed Compiz Fusion on my machine, which has Intel 965G chipset, using packages. I am running it on Xfce 4.4.2 on X.org 7.3_1 on FreeBSD 7.0-RELEASE. Compiz starts fine and is working fine, but I have some problems with it, as follows. My xorg.conf is uploaded to http://pastebin.com/f649537ab and is configured according to instructions found at http://wiki.compiz-fusion.org/Intel%20with%20AiGLX I run Compiz with these commands: ---------- LIBGL_ALWAYS_INDIRECT=1; export LIBGL_ALWAYS_INDIRECT INTEL_BATCH=1; export INTEL_BATCH compiz --replace --sm-disable --ignore-desktop-hints ccp & emerald --replace & ---------- I found the first two lines in the above-mentioned wiki page, and the last two are from FreeBSD's guide at http://www.freebsd.org/doc/en/articles/compiz-fusion/index.html First problem is that I cannot log out of X.org, since it seems that the system locks up. The background image on the desktop stays on the screen, and I don't get dropped to the console. However, I can restart the system by pressing Ctrl-Alt-Del. Since I can't see anything other than my background image, I don't know whether I can run other commands or not. Here's what gets added to /var/log/Xorg.0.log.old after I try to log out of Xfce: ---------- (II) intel(0): [drm] removed 1 reserved context for kernel (II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xc57de000 at 0x28805000 (II) intel(0): [drm] Closed DRM master. Fatal server error: Caught signal 11. Server aborting ---------- The second problem which happens occasionally (e.g. right now) is that it's sometimes slow and sometimes with very good response. For example, when I am typing this email now, I can feel that there's a lag or when I'm switching windows or moving them around. Any ideas on how to fix these (especially the first one)? Thanks a lot :) From owner-freebsd-x11@FreeBSD.ORG Sat Apr 26 08:04:19 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAF22106564A for ; Sat, 26 Apr 2008 08:04:19 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-outgoing-helo.tristatelogic.com (112.171-60-66-fuji-dsl.static.surewest.net [66.60.171.112]) by mx1.freebsd.org (Postfix) with ESMTP id 931628FC12 for ; Sat, 26 Apr 2008 08:04:19 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 33ABB11423 for ; Sat, 26 Apr 2008 00:48:15 -0700 (PDT) To: freebsd-x11@freebsd.org Date: Sat, 26 Apr 2008 00:48:15 -0700 Message-ID: <1444.1209196095@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Upgrade questions X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2008 08:04:20 -0000 Hello, I'm trying, at long last, to upgrade my ports (including Xorg) on my clunk old 6.2-RELEASE system. I know that I probably should have done this long long ago, but I have two things working against me: I'm lazy and I'm ignorant. In particular, although I have been using FreeBSD for years, I've never really messed with ports, except for occasionally building and adding one, every now and again, when I found that I needed something that wasn't already present on my system. So port upgrading is kind of a mystery to me. I've been reading about how to perform proper port upgrading, just now, and trying to educate myself about the process, but I confess that I'm still quite ignorant. So please take pity on me and answer juat a few of my basic questions. First, a short while after I started up "make index" in the /usr/ports directory, I received these messages: Generating INDEX-6 - please wait../usr/local/bin/python2.5: not found "Makefile", line 43: warning: "/usr/local/bin/python2.5 -c "import sys; print sys.version[:3]"" returned non-zero status Could somebody please tell me... What do these messages mean, and do I need to worry about them? OK, next question... The 20070519 note in the /usr/ports/UPGRADING file says "If your machine does NOT have any gstreamer ports installed..." OK, so excuse my ignorance, but how the bleep am I supposed to know if I have any gstreamer ports installed? I don't even know what a gstreamer port is! The 20070519 note in /usr/ports/UPGRADING then goes on to say: ... you can then just run: # portupgrade -a but that upgrades _all_ my ports, doesn't it?? What do I do if I'm not prepared for that? What do I do if I want to take this process a step at a time, and first just upgrade _only_ the Xorg stuff and any other ports that are dependant upon that stuff? How can I do _just_ that? Lastly, the 20070519 note in /usr/ports/UPGRADING also says: Make sure you have the x11/xorg meta-port installed. If you do not have this meta-port installed with X.Org 6.9, you will miss out on a lot of the new X.Org 7.2 sub-ports. I'm sorry, but these comments are entirely opaque to me. Can somebody please lend a hand and explain what all this is actually supposed to mean? You know... I mean to somebody like me who isn't steeped in this stuff? How exactly do I "Make sure you have the x11/xorg meta-port installed"? What are the exact commands necessary to do this and when, during this whole relatively convoluted upgrade process (and relative to all of the other commands shown in the 20070519 note), am I supposed to execute the (mystery) command(s) in question? I mean do I need to this this _before_ a try to upgrade from Xorg 6.9 to 7.2? Or just after? I'm very paranoid about this whole Xorg 6.9->7.2 upgrade process and I'm really afraid that... bacause I'm so ignorant... I'm going to break things really badly and in the end find myself stuck with an unusable system. So I'd really appreciate it if someone could just answer my questions above so that I can make sure that I'm approaching this whole upgrade task properly. Thanks. Regards, rfg P.S. OH! One other thing... I just now updated my ports tree... the first and _only_ time I've ever done that in my life... using "portsnap fetch" and "portsnap extract" and then I wanted to see what things I had installed that might be worthy of upgrading, so I did: pkg_version -v well, THAT didn't work out well at all. I got a whole raft of errors from that which mostly looked a lot like this one: xorg-6.9.0 < needs updating (port has 7.3_1) "Makefile", line 85: Could not find /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc "Makefile", line 92: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg) "Makefile", line 96: if-less endif make: fatal errors encountered -- cannot continue OK, so what is the proper solution to this? Will the "pkg_version -v" command not even work _until_ I upgrade my Xorg stuff?? That doesn't make a lot of sense. I thought that "pkg_version -v" was supposed to tell you what needs upgrading, yes? And this fundamental tool doesn't even work right until you have _already_ upgraded one package, Xorg, to the current level?? That sounds like a Catch-22 to me. From owner-freebsd-x11@FreeBSD.ORG Sat Apr 26 14:40:49 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46E44106564A for ; Sat, 26 Apr 2008 14:40:49 +0000 (UTC) (envelope-from SRS0=3326df41966a19df5160a2dfd9c84c74262dddf6=683=es.net=oberman@es.net) Received: from postal1.es.net (postal4.es.net [IPv6:2001:400:6000:1::66]) by mx1.freebsd.org (Postfix) with ESMTP id 41DF38FC18 for ; Sat, 26 Apr 2008 14:40:48 +0000 (UTC) (envelope-from SRS0=3326df41966a19df5160a2dfd9c84c74262dddf6=683=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id GSO93145; Sat, 26 Apr 2008 07:40:45 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 9AFBE4501D; Sat, 26 Apr 2008 07:40:44 -0700 (PDT) To: "Ronald F. Guilmette" In-Reply-To: Your message of "Sat, 26 Apr 2008 00:48:15 PDT." <1444.1209196095@tristatelogic.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1209220844_20887P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 26 Apr 2008 07:40:44 -0700 From: "Kevin Oberman" Message-Id: <20080426144044.9AFBE4501D@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ;; X-Sender: X-To_Name: Ronald F. Guilmette X-To_Domain: tristatelogic.com X-To: "Ronald F. Guilmette" X-To_Email: rfg@tristatelogic.com X-To_Alias: rfg Cc: freebsd-x11@freebsd.org Subject: Re: Upgrade questions X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2008 14:40:49 -0000 --==_Exmh_1209220844_20887P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Sat, 26 Apr 2008 00:48:15 -0700 > From: "Ronald F. Guilmette" > Sender: owner-freebsd-x11@freebsd.org > > > > Hello, > > I'm trying, at long last, to upgrade my ports (including Xorg) on my > clunk old 6.2-RELEASE system. I know that I probably should have done > this long long ago, but I have two things working against me: I'm lazy > and I'm ignorant. In particular, although I have been using FreeBSD > for years, I've never really messed with ports, except for occasionally > building and adding one, every now and again, when I found that I > needed something that wasn't already present on my system. So port > upgrading is kind of a mystery to me. I've been reading about how > to perform proper port upgrading, just now, and trying to educate myself > about the process, but I confess that I'm still quite ignorant. So > please take pity on me and answer juat a few of my basic questions. > > First, a short while after I started up "make index" in the /usr/ports > directory, I received these messages: > > Generating INDEX-6 - please wait../usr/local/bin/python2.5: not found > "Makefile", line 43: warning: "/usr/local/bin/python2.5 -c "import sys; print sys.version[:3]"" returned non-zero status Not sure,although that port was just updated. In any case, it's MUCH easier to use 'portsdb -F' to download the latest Index-6 file. > > OK, next question... The 20070519 note in the /usr/ports/UPGRADING file > says "If your machine does NOT have any gstreamer ports installed..." > OK, so excuse my ignorance, but how the bleep am I supposed to know if > I have any gstreamer ports installed? I don't even know what a gstreamer > port is! Good Question. 'pkg_info gstreamer-\*' would be a good start. There are LOTS of gstreamer ports, so this could generate a lot of output. > The 20070519 note in /usr/ports/UPGRADING then goes on to say: > > ... you can then just run: > > # portupgrade -a > > but that upgrades _all_ my ports, doesn't it?? What do I do if I'm not > prepared for that? What do I do if I want to take this process a step > at a time, and first just upgrade _only_ the Xorg stuff and any other > ports that are dependant upon that stuff? How can I do _just_ that? No, 'portupgrade -af' upgrades all of your ports. 'portupgrade -a' updates all of your ports that are out of date...which is the normal default use of portupgrade, at least for me. > Lastly, the 20070519 note in /usr/ports/UPGRADING also says: > > Make sure you have the x11/xorg meta-port installed. If you do not > have this meta-port installed with X.Org 6.9, you will miss out on > a lot of the new X.Org 7.2 sub-ports. > xorg was broken up into a whole raft of small ports for different libs and clients in place of the old libraries, servers, and clients. The xorg metaport is a single port that simply depends on all of the ports that make up the complete xorg distribution. By installing that, you can be sure that you have a full xorg installation. > How exactly do I "Make sure you have the x11/xorg meta-port installed"? 'pkg_info xorg-\*'. Look for just 'xorg-VERSION' as there are several ports that are prefixed with 'xorg'. If you don't see it, after upgrading installed ports, 'portupgrade -N xorg' to install it. > What are the exact commands necessary to do this and when, during this > whole relatively convoluted upgrade process (and relative to all of the > other commands shown in the 20070519 note), am I supposed to execute the > (mystery) command(s) in question? I mean do I need to this this _before_ > a try to upgrade from Xorg 6.9 to 7.2? Or just after? > > I'm very paranoid about this whole Xorg 6.9->7.2 upgrade process and I'm > really afraid that... bacause I'm so ignorant... I'm going to break things > really badly and in the end find myself stuck with an unusable system. > So I'd really appreciate it if someone could just answer my questions above > so that I can make sure that I'm approaching this whole upgrade task properly. > Thanks. > > > Regards, > rfg > > > P.S. OH! One other thing... I just now updated my ports tree... the first > and _only_ time I've ever done that in my life... using "portsnap fetch" > and "portsnap extract" and then I wanted to see what things I had installed > that might be worthy of upgrading, so I did: > > pkg_version -v > > well, THAT didn't work out well at all. I got a whole raft of errors from > that which mostly looked a lot like this one: > > xorg-6.9.0 < needs updating (port has 7.3_1) > "Makefile", line 85: Could not find /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc > "Makefile", line 92: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg) > "Makefile", line 96: if-less endif > make: fatal errors encountered -- cannot continue You need to use pkgdb -Ff to clean up or database. Also, pkg_version is a fairly dumb tool. Using 'portversion -v' is both faster and more likely to run cleanly. Unfortunately, I suspect your database is not too clean, so you may have a LOT of errors reported. Food luck! -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1209220844_20887P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFIEz7skn3rs5h7N1ERAjKgAJ0S6dXEVHzMI9iietoDFwJNwkIXQQCeKqfP MDcnuQyPGb0st5vBvwRlXEA= =1D+I -----END PGP SIGNATURE----- --==_Exmh_1209220844_20887P-- From owner-freebsd-x11@FreeBSD.ORG Sat Apr 26 21:10:48 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C28BE106567B for ; Sat, 26 Apr 2008 21:10:48 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-outgoing-helo.tristatelogic.com (112.171-60-66-fuji-dsl.static.surewest.net [66.60.171.112]) by mx1.freebsd.org (Postfix) with ESMTP id 5A3708FC25 for ; Sat, 26 Apr 2008 21:10:48 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 1BB3C11423; Sat, 26 Apr 2008 14:10:42 -0700 (PDT) To: "Kevin Oberman" In-reply-to: Your message of Sat, 26 Apr 2008 07:40:44 -0700. <20080426144044.9AFBE4501D@ptavv.es.net> Date: Sat, 26 Apr 2008 14:10:42 -0700 Message-ID: <29385.1209244242@tristatelogic.com> From: "Ronald F. Guilmette" Cc: freebsd-x11@freebsd.org Subject: Re: Upgrade questions X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2008 21:10:48 -0000 In message <20080426144044.9AFBE4501D@ptavv.es.net>, "Kevin Oberman" wrote: >> First, a short while after I started up "make index" in the /usr/ports >> directory, I received these messages: >> >> Generating INDEX-6 - please wait../usr/local/bin/python2.5: not found >> "Makefile", line 43: warning: "/usr/local/bin/python2.5 -c "import sys; prin >t sys.version[:3]"" returned non-zero status > >Not sure,although that port was just updated. > >In any case, it's MUCH easier to use 'portsdb -F' to download the latest >Index-6 file. Yeabut I'm hoplessly curious, and I'd like to know why things that really _should_ work apparently don't. So who should I really be asking about the above error, and why it happened and the Right Way to fix it properly. (Call me anal retentive... and you wouldn't be the first to do so... but I really don't like "mystery" errors/warnings that have nither any obvious cause nor any obvious cure.) >> OK, next question... The 20070519 note in the /usr/ports/UPGRADING file >> says "If your machine does NOT have any gstreamer ports installed..." >> OK, so excuse my ignorance, but how the bleep am I supposed to know if >> I have any gstreamer ports installed? I don't even know what a gstreamer >> port is! > >Good Question. 'pkg_info gstreamer-\*' would be a good start. There are >LOTS of gstreamer ports, so this could generate a lot of output. Ummm... Are you SURE that you gave me that command correctly?? % pkg_info gstreamer-\* pkg_info: can't find package 'gstreamer-*' installed or in a file! (Figuring that that was wrong, I did this instead: "pkg_info | fgrep gstreamer" and go no output. So dopes that mean that I've got no gstreamer packages installed?) >> The 20070519 note in /usr/ports/UPGRADING then goes on to say: >> >> ... you can then just run: >> >> # portupgrade -a >> >> but that upgrades _all_ my ports, doesn't it?? What do I do if I'm not >> prepared for that? What do I do if I want to take this process a step >> at a time, and first just upgrade _only_ the Xorg stuff and any other >> ports that are dependant upon that stuff? How can I do _just_ that? > >No, 'portupgrade -af' upgrades all of your ports. 'portupgrade -a' >updates all of your ports that are out of date...which is the normal >default use of portupgrade, at least for me. Well, that's still more than I wanted to do. remember, I'm paranoid and I _did_ want to take this upgrade one step at a time, i.e. doing *just* the X stuff and any other packages that I have installed that relay on that... and then and only then looking at possibly updating some of my other ports. So how could I _only_ upgrade X and _just_ things that rely on it? Is there a way to do only that? >> How exactly do I "Make sure you have the x11/xorg meta-port installed"? > >'pkg_info xorg-\*'. Look for just 'xorg-VERSION' as there are several ports >that are prefixed with 'xorg'. If you don't see it, after upgrading >installed ports, 'portupgrade -N xorg' to install it. OK, I was _trying_ to make at least _some_ progress last nite, but now this system that I have been trying to upgrade is, I'm afraid horribly hosed, and in a state where it is so snafued, I will just have to wipe the disk and start over (i.e. with 7.0-RELEASE, in order to avoid all of these bleeping problems). Let me tell you were I'm at: I _tried_ (and apparently failed) to do *only* make (fresh) the x11/xorg-servers stuff, because I figured that if I could just make that stuff *without* even installing it, then all of the errors that I was getting from "pkg_version -v" saying, among other things, that a file called: /usr/ports/x11/xorg-clients/../../x11-servers/xorg-server/Makefile.inc was missing _might_ possibly go away. In short, I was just mindlessly trying to work towards being able to do "pkg_version -v" without it barfing all over my screen with inexplicable error messages. OK, so at first I made the stupid mastake of just going into the /usr/ports/x11-servers directory and doing a "make" in there. BAD DOG! No biscut! Weel, so I wasted an hour or so playing solitare over on my Windoze box waiting for _that_ to finish, and when it became apparently that it was going to take a week or so for this "make" to fully finish, I control-C's out and then cd into x11-servers/xorg-server and started to just do a "make" in there. Sigh. That also seemed to want to build and install a large universe of other stuff (e.g. X libraries) however. That that all dragged on and on and on... ... until about 4 AM when the make finally died: ]===> Installing for libgpg-error-1.6 ]===> Generating temporary packing list ]===> Checking if security/libgpg-error already installed ]===> An older version of security/libgpg-error is already installed (libgpg-error-1.4) ] You may wish to ``make deinstall'' and install this port again ] by ``make reinstall'' to upgrade it properly. ] If you really wish to overwrite the old port of security/libgpg-error ] without deleting it first, set the variable "FORCE_PKG_REGISTER" ] in your environment or the "make install" command line. ]*** Error code 1 ] ]Stop in /usr/ports/security/libgpg-error. ]*** Error code 1 ] ]Stop in /usr/ports/security/libgcrypt. ]*** Error code 1 ] ]Stop in /usr/ports/textproc/libxslt. ]*** Error code 1 ] ]Stop in /usr/ports/sysutils/policykit. ]*** Error code 1 ] ]Stop in /usr/ports/sysutils/hal. ]*** Error code 1 ] ]Stop in /usr/ports/x11-servers/xorg-server. ]*** Error code 1 ] ]Stop in /usr/ports/x11-servers/xorg-server. Oh crap! I'm already out of my depth here, but I try to play along with the suggestions in the error messages above. I found out what version of "libgpg-error" I've got installed and I try to pkg_delete it. Buzzz! Thanks for playing! # pkg_delete libgpg-error-1.4 pkg_delete: package 'libgpg-error-1.4' is required by these other packages and may not be deinstalled: abiword-2.4.5_2 cups-1.2.2 cups-base-1.2.2 cups-pstoraster-8.15 gconf2-2.16.0 gnome-icon-theme-2.16.0.1_1 gnutls-1.4.4_1 libgcrypt-1.2.3_1 libglade2-2.6.0_2 libgnomecanvas-2.14.0_2 libgnomecups-0.2.2_1,1 libgnomeprint-2.12.1_3 libgnomeprintui-2.12.1_2 libgsf-1.14.2 samba-3.0.23c_2,1 wv-1.2.1 # Help me out a little here. Educate me. Please. Teach a man to fish. How does one deal with situations like this, i.e. some package wants Version X of package P, but what you have installed in version Y, and about eight zillion things that depend on that (version Y). After all these years of using FreeBSD without ever really understanding the ports system, I really would like to finally learn how to use it properly, but at this point I'm about this far -><- away from just through in the towel, finding a spare drive someplace, and just loading up 7.0-RELEASE on it, just to avoid his "twisty maze of little error messages, all different". >> pkg_version -v >> >> well, THAT didn't work out well at all. I got a whole raft of errors from >> that which mostly looked a lot like this one: >> >> xorg-6.9.0 < needs updating (port has 7.3_1) >> "Makefile", line 85: Could not find /usr/ports/x11/xorg-clients/../../x11-se >rvers/xorg-server/Makefile.inc >> "Makefile", line 92: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg) >> "Makefile", line 96: if-less endif >> make: fatal errors encountered -- cannot continue > >You need to use pkgdb -Ff to clean up or database. I'm sorry to have to take issue with what you just said, but I don't think so. Before I started all this, a read the Handbook page about upgrading ports and it told me to use "pkgdb -F" and to fix stuff that was messed... which I already did. And running "pkgdb -F" on this system _still_ produces _no_ errors: # pkgdb -F ---> Checking the package registry database [Updating the pkgdb in /var/db/pkg ... - 220 packages found (-1 +52) (...).................................................... done] # So how is running "pkgdb -Ff" going to have any effect on anything at this point? I don't understand. >Also, pkg_version is a fairly dumb tool. Dumb it may be, but I'm still trying to _understand_ why running it causes mass quantities of error messages to be produced, like: ]"Makefile", line 23: Could not find /usr/ports/x11/xorg-documents/../../x11-servers/xorg-server/Makefile.inc ]"Makefile", line 26: Malformed conditional (${X_WINDOW_SYSTEM:L} != xorg) ]"Makefile", line 30: if-less endif ]make: fatal errors encountered -- cannot continue ]pkg_version: Failed to get PKGNAME from /usr/ports/x11/xorg-documents/Makefile! ]xorg-documents-6.9.0 ! Comparison failed I've already Googled around and I am quite clearly _not_ the first person to have reported these exact types of errors. In short, this is (apparently) a "known problem". Now all I need is for somebody to tell me the proper solution. (_That_, unfortunately, is something that I was _not_ able to find, no matter how much I googled for it.) >Unfortunately, I suspect your database is not too clean, Specifically, how would I check if it is or isn't? Opinions are appreciated, but at this point I need more in the way of actual enlightenment.