Re: latest xorg port compiles but does not run on sparc64 [workaround]

From: Rainer Hurling <rhurlin_at_gwdg.de>
Date: Sat, 10 Feb 2007 20:47:09 +0100
As Jiawei Ye mentioned two days ago there is a thread at freebsd-ports_at_ 
discussing the same problem for i386 (and amd64).

Obviously the dlopen-error occures only on younger CURRENT-systems after 
doing 'make delete-old-libs'. In this cases /usr/bin/objformat and 
/usr/include/objformat.h have been deleted.

Then after recompiling of xorg-libraries and xorg-server the described 
error appears.


For me this workaround performs well:

- Copying the two objformat files (see above) from another machine into 
/usr/bin and /usr/include

- Compiling xorg-libraries and xorg-server again


Now the newest version with security patches works like a charm ;-)


Eygene, is there any chance to adjust Xorg to work without objformat on 
CURRENT?

Thanks,
Rainer



Robert Noland schrieb:
> On Wed, 2007-02-07 at 20:30 -0500, Richard Coleman wrote:
>> Michiel Boland wrote:
>>> Hi. I'm not sure what exactly is the correct mailing list for these 
>>> things, since it applies to both -current, -sparc64 and -ports, so I 
>>> thought I would try -current first. Sorry if this is inappropriate.
>>>
>>> Anyway, I recently got hold of an old Sun Ultra10 which I upgraded from 
>>> 6.2-RELEASE to -CURRENT (dated about midnight, 7 feb). At that time no 
>>> ports were installed.
>>>
>>> Then I proceeded to build and install the xorg-server port 
>>> (xorg-server-6.9.0_6) manually, but it wouldn't run. On startup of X the 
>>> rather curious message appeared:
>>>
>>> dlopen: /usr/X11R6/lib/modules/fonts/libbitmap.so: Undefined symbol 
>>> "xf86stderr".
>>>
>>> Unfortunately I forgot to make a typescript, so I can't tell if 
>>> something went wrong during the build. Building xorg on an ultra10 takes 
>>> several hours, so please forgive me for not building a second time. 
>>> Meanwhile I got X running using binary packages.
>>>
>>> Does anyone have any clue as to what might have happend? The full 
>>> Xorg.log is reproduced below.
> 
> This is related to the removal of objformat from -current.  Richard and
> I got his working by installing objformat from my -current box and
> recompiling xorg-server and xorg-libraries.
> 
>  ./work/xc/lib/Xft/configure:  objformat=`test -x /usr/bin/objformat
> && /usr/bin/objformat || echo aout`
> ./work/xc/lib/Xft/configure:  version_type=freebsd-$objformat
> 
> this is scattered all around in several places in the code.
> 
> robert.
> 
>>  
>>> Cheers
>>> Michiel
>>>
>>> X Window System Version 6.9.0
>>> Release Date: 21 December 2005
>>> X Protocol Version 11, Revision 0, Release 6.9
>>> Build Operating System: FreeBSD 7.0 sparc64 [ELF] Current Operating 
>>> System: FreeBSD charliefreak.boland.org 7.0-CURRENT FreeBSD 7.0-CURRENT 
>>> #0: Wed Feb  7 08:32:15 CET 2007     
>>> root_at_charliefreak.boland.org:/usr/obj/usr/src/sys/GENERIC sparc64
>>> Build Date: 07 February 2007
>>>     Before reporting problems, check http://wiki.X.Org
>>>     to make sure that you have the latest version.
>>> Module Loader present
>>> Markers: (--) probed, (**) from config file, (==) default setting,
>>>     (++) from command line, (!!) notice, (II) informational,
>>>     (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>>> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Feb  8 00:09:00 2007
>>> (EE) Unable to locate/open config file
>>> (II) Module ABI versions:
>>>     X.Org ANSI C Emulation: 0.2
>>>     X.Org Video Driver: 0.8
>>>     X.Org XInput driver : 0.5
>>>     X.Org Server Extension : 0.2
>>>     X.Org Font Renderer : 0.4
>>> (II) Loader running on freebsd
>>> (II) LoadModule: "bitmap"
>>> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
>>> dlopen: /usr/X11R6/lib/modules/fonts/libbitmap.so: Undefined symbol 
>>> "xf86stderr"
>>> (EE) Failed to load /usr/X11R6/lib/modules/fonts/libbitmap.so
>>> (II) UnloadModule: "bitmap"
>>> (EE) Failed to load module "bitmap" (loader failed, 7)
>>> (II) LoadModule: "pcidata"
>>> (II) Loading /usr/X11R6/lib/modules/libpcidata.so
>>> (II) Module pcidata: vendor="X.Org Foundation"
>>>     compiled for 6.9.0, module version = 1.0.0
>>>     ABI class: X.Org Video Driver, version 0.8
>>>
>>> Fatal server error:
>>> Unable to load required base modules, Exiting...
>>>
>>>
>>> Please consult the The X.Org Foundation support
>>>      at http://wiki.X.Org
>>>  for help. Please also check the log file at "/var/log/Xorg.0.log" for 
>>> additional information.
>> It's not sparc64 specific.  I've been getting the same error on 
>> FreeBSD/i386-CURRENT since Monday.  I've re-cvsuped/rebuilt everything multiple 
>> times, but always get that same error (can't load module bitmap) when I try to 
>> start the server.
>>
>> Richard Coleman
>> rcoleman_at_criticalmagic.com
Received on Sat Feb 10 2007 - 19:31:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC