[Call for Testing] X.org 7.5 for FreeBSD

Peter Jeremy peterjeremy at acm.org
Sat Mar 13 22:47:39 UTC 2010


[ports@ dropped from Cc list, as requested]
On 2010-Mar-11 14:44:14 +0100, Martin Wilke <miwi at 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-parentheses -pipe -fno-omit-frame-pointer   -Damd64 -DARCH='"amd64"' -DRELEASE='"1.5.0_16-p9"' -DFULL_VERSION='"1.5.0_16-p9-root_13_mar_2010_22_04"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -D_LP64=1 -I. -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../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/awt/X11 -I../../../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/jdga -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/java2d -I../../../src/share/native/sun/java2d/loops -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/share/native/sun/awt/image -I../../../src/share/native/sun/font -I../../../src/solaris/native/sun/java2d -I../../../src/share/native/sun/java2d/pipe -I../../../src/share/native/sun/java2d/opengl -I../../../src/solaris/native/sun/java2d/opengl -I../../../src/share/native/sun/dc/path -I../../../src/share/native/sun/dc/doe -I../../../src/share/native/sun/awt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../../src/solaris/native/sun/awt/medialib -I../../../src/solaris/native/sun/font -I/usr/local/include/X11/extensions -I/usr/local/include -I/usr/local/include -DX11DIR=\"/usr/local\" -DLOCALDIR=\"/usr/local\"  -c -o /usr/ports/work/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt.X11/xawt/obj64/awt_GraphicsEnv.o  ../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'makeDefaultConfig':
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:235: warning: format '%x' expects type 'unsigned int *', but argument 3 has type 'VisualID *'
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c: In function 'J2DXErrHandler':
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: 'X_ShmAttach' undeclared (first use in this function)
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: (Each undeclared identifier is reported only once
../../../src/solaris/native/sun/awt/awt_GraphicsEnv.c:835: error: for each 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
from 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:
===>   Registering installation for libX11-1.3.3,1

===>>> 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

===>>> Package creation of libX11-1.3.3,1 failed
===>>> 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.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20100313/18827085/attachment.pgp


More information about the freebsd-x11 mailing list