Date: Sun, 14 Mar 2010 07:34:50 +1100 From: Peter Jeremy <peterjeremy@acm.org> To: Martin Wilke <miwi@FreeBSD.org> Cc: x11@FreeBSD.org Subject: Re: [Call for Testing] X.org 7.5 for FreeBSD Message-ID: <20100313203450.GB2865@server.vk2pj.dyndns.org> In-Reply-To: <20100311134413.GH19740@bsdcrew.de> References: <20100311134413.GH19740@bsdcrew.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--zx4FCpZtqtKETZ7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [ports@ dropped from Cc list, as requested] On 2010-Mar-11 14:44:14 +0100, Martin Wilke <miwi@FreeBSD.org> wrote: >We're happy to announce that Xorg 7.5 is ready >for public testing. Firstly, thank you very much for the opportunity to test the proposed upgrade before it is committed. Given the major regressions in the previous few upgrades, I have requested this on a number of occasions. So far, I have tried the upgrade on 3 systems. So far, it has failed on two of them (the third is at work and was grinding away on OOo when I left on Friday). The failures were both using a ports tree from late Friday combined with http://trillian.chruetertee.ch/ports/browser/branches/xorg-dev revision 124 and upgraded using 'portmaster -af'. First system is 8-stable/amd64 from late January. It blows up compiling jdk15 as follows: /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-pare= ntheses -pipe -fno-omit-frame-pointer -Damd64 -DARCH=3D'"amd64"' -DRELEAS= E=3D'"1.5.0_16-p9"' -DFULL_VERSION=3D'"1.5.0_16-p9-root_13_mar_2010_22_04"'= -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -D_LP64=3D1 -I= =2E -I/usr/ports/work/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp= /sun/sun.awt.X11/xawt/CClassHeaders -I../../../src/solaris/javavm/export -I= =2E./../../src/share/javavm/export -I../../../src/share/javavm/include -I..= /../../src/solaris/javavm/include -I../../../src/share/native/common -I../.= =2E/../src/solaris/native/common -I../../../src/share/native/sun/awt/X11 -I= =2E./../../src/solaris/native/sun/awt/X11 -DXAWT -DXAWT_HACK -I/usr/ports= /work/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt.X11= /xawt/../../sun.awt/awt/CClassHeaders -I../../../src/solaris/native/sun/awt= -I../../../src/solaris/native/sun/xawt -I../../../src/solaris/native/sun/j= dga -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/s= un/awt/image/cvutils -I../../../src/share/native/sun/java2d -I../../../src/= share/native/sun/java2d/loops -I../../../src/share/native/sun/awt/image/cvu= tils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/= sun/font -I../../../src/solaris/native/sun/java2d -I../../../src/share/nati= ve/sun/java2d/pipe -I../../../src/share/native/sun/java2d/opengl -I../../..= /src/solaris/native/sun/java2d/opengl -I../../../src/share/native/sun/dc/pa= th -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/a= wt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../../s= rc/solaris/native/sun/awt/medialib -I../../../src/solaris/native/sun/font -= I/usr/local/include/X11/extensions -I/usr/local/include -I/usr/local/includ= e -DX11DIR=3D\"/usr/local\" -DLOCALDIR=3D\"/usr/local\" -c -o /usr/ports/w= ork/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt.X11/x= awt/obj64/awt_GraphicsEnv.o ../../../src/solaris/native/sun/awt/awt_Graphi= csEnv.c =2E./../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'makeD= efaultConfig': =2E./../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:235: warning: forma= t '%x' expects type 'unsigned int *', but argument 3 has type 'VisualID *' =2E./../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'J2DXE= rrHandler': =2E./../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: 'X_ShmA= ttach' undeclared (first use in this function) =2E./../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: (Each u= ndeclared identifier is reported only once =2E./../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: for eac= h function it appears in.) gmake[4]: *** [/usr/ports/work/usr/ports/java/jdk15/work/control/build/bsd-= amd64/tmp/sun/sun.awt.X11/xawt/obj64/awt_GraphicsEnv.o] Error 1 gmake[4]: Leaving directory `/usr/ports/work/usr/ports/java/jdk15/work/j2se= /make/sun/xawt' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/work/usr/ports/java/jdk15/work/j2se= /make/sun/xawt' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/work/usr/ports/java/jdk15/work/j2se= /make/sun' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/work/usr/ports/java/jdk15/work/j2se= /make' gmake: *** [j2se-build] Error 2 X_ShmAttach used to be defined in X11/extensions/XShm.h but is now defined in a new file X11/extensions/shmproto.h. awt_GraphicsEnv.c #includes XShm.h via awt_GraphicsEnv.h. shmproto.h is not referenced =66rom anywhere within either the X11 include tree or jdk15 build tree. I'm not sure what the correct fix is here - it looks suspiciously like this is just a gratuitous change made by the Xorg Consortium as part of their aim to break POLA as much as possible. I have changed X11/extensions/XShm.h to #include shmproto.h instead of shm.h (the former #includes the latter) and awt_GraphicsEnv.c now builds. I have restarted that upgrade and will see what happens. The second system is actually an i386 jail in the first that runs 8-stable/i386 from late January. (I use it as a build server for my netbook). It blows up much earlier whilst trying to create a package for libX11: =3D=3D=3D> Registering installation for libX11-1.3.3,1 =3D=3D=3D>>> Creating a package for new version libX11-1.3.3,1 tar: share/doc/libX11/libX11.ps: Cannot stat: No such file or directory tar: share/doc/libX11/Framework.ps: Cannot stat: No such file or directory tar: share/doc/libX11/LocaleDB.ps: Cannot stat: No such file or directory tar: share/doc/libX11/Trans.ps: Cannot stat: No such file or directory tar: share/doc/libX11/xim.ps: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 =3D=3D=3D>>> Package creation of libX11-1.3.3,1 failed =3D=3D=3D>>> Aborting update (I have portmaster configured to automatically build packages since I need the packages to upgrade my netbook). In this case, the problem appears to be an incorrect pkg-plist (following another gratuitous change from PostScript to PDF documentation). After changing '.ps' to '.pdf' in x11/libX11/pkg-plist, the libX11 package built. I have restarted the upgrade and will see what breaks next. --=20 Peter Jeremy --zx4FCpZtqtKETZ7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkub9uoACgkQ/opHv/APuIcs8gCcCWeTYKkchGy/+IZOT2G+tpX/ IxcAoLmdidfsJIDrk1/LS0LkxRimZZD4 =Q1Qv -----END PGP SIGNATURE----- --zx4FCpZtqtKETZ7O--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100313203450.GB2865>