From owner-freebsd-ports@FreeBSD.ORG Sun Sep 16 18:48:22 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE69116A418 for ; Sun, 16 Sep 2007 18:48:22 +0000 (UTC) (envelope-from riscman@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id A893D13C45A for ; Sun, 16 Sep 2007 18:48:22 +0000 (UTC) (envelope-from riscman@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so1748927waf for ; Sun, 16 Sep 2007 11:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=MdK3ZIw1DKKN8NL8M8SH+HVqcRF5zNCP+M42zPShYJE=; b=QWkAazO29Cz2z7r9bT387QsLB+4wDL/+njAovysWyjQsCUx20KndOjIOZtJ6qRyeRDKb55Go55YeiqLnNOeaz9x0S8aL5F2xoNEnh0wdmbGlz8Em7oSBuPzjYSzdNcpSxHnugnOy7hfH8lxcrvhChqAgAgnZrqZ0sqZk0U/VprQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=KbcdKgcCR4IASWVQO16Ik+b1Raaouqh5t0BuCn4kbqO0d/fcPEAxWvnqm6WIR6/7l54FivHg1i/g5b+JdkkUqPcPGxp7qr+ywL8FJ7qYF540bvxtaHHQMwnSkCYzhHEyX6BIrDe4Pu6jTVnPGeDy+CmPyaCg+UNWXVwUC6a2nMQ= Received: by 10.114.178.1 with SMTP id a1mr1178986waf.1189966954894; Sun, 16 Sep 2007 11:22:34 -0700 (PDT) Received: by 10.141.194.20 with HTTP; Sun, 16 Sep 2007 11:22:34 -0700 (PDT) Message-ID: <52637b640709161122k15dc5b15m159a2557da97d739@mail.gmail.com> Date: Sun, 16 Sep 2007 13:22:34 -0500 From: riscman To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Xorg 7.3 and cyclic dependencies (6.2-RELEASE) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2007 18:48:22 -0000 Hello fellows A few days ago, I portsnap fetch updated before installing new ports. (I'm using FreeBSD-6.2-RELEASE with a custom kernel) I did a pkgdb -F and found out that the new autotools superseeded gnu-autoconfig and gnu-automake, in UPDATING it recommended a portupgrade -a after fetching the new autotools release. I saw the xorg 7.3 as well, so i tossed it in before the massive portupgrade (-pa) (bad idea), since, what the hell, xorg is already modular, it would be a snap to upgrade. The portupgrade had gone unusually slow (delaying a lot installation registration and packaging), so I started to lose my patience. The old gnu-autoconfig and automake still appeared while doing a pkgdb -F, I did a pkgdb -fu, and still there. But the cyclic dependencies appeared too. Many things went wrong and I didn't know where to start, was it the autotools upgrade, the xorg upgrade, the massive portupgrade -a? Did I had to rebuild something? I did some quick googling and found in lucky.freebsd.ports that the issue was a linke in the gtk20 makefile (USE_XPM=yes), and oh, THEY insisted so much even though that was not the problem, both in the google.groups and in the freebsd-ports mail list. I checked the makefile, and the revision was the latest, so that offending line was not there. Anyway I gave a try and recompiled. This didn't worked out either. The following workaround in google groups seemed reasonable both at the time and after knowing what really happened, though it was ignored at the time, it gave hints to what was really wrong: " #cat /usr/ports/x11/pixman/Makefile.local .undef WANT_GNOME " It worked out the dependency symptom, not the cause... so I started to check the cvsweb for direct solutions and found out that upgrading xorg to 7.3did: *Break my working xorg (ABI issue) by not telling ANYWHERE that the i810 driver(i915GM chipset) had to be upgraded as well, which I didn't noticed until two days later when, in a naive attempt to try to fix things, I rebooted. *Brought a cycling dependency conflict (started as a cairo->pango->cairo, and then the xorg-libs tossed in the mix) caused by _pixman_ depending on gtk20 (WTF!?), *And not until 3 hours ago, this was fixed by additionally bumping PORTREVISION in xorg-libraries for the exact offending pixman issue. In order to fix this what I had to do, just this morning, was: Update: portsnap fetch update ABI issue: portupgrade x11-drivers/xf86-video-i810 Cyclic dependencies: portupgrade -f x11/pixman && portupgrade -f x11/xorg-libs && pkgdb -fu && pkgdb -L && pkgdb -F (if you have an gtk20 with the XPM issue, do a portupgrade as well before pkgdb) Hope this helps. -riscman p.s. The thread at google groups: http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/b3726d9e6095dc8a/0816fcbc11fc4d38