Problem with upgrading to xorg7.3

Coleman Kane cokane at FreeBSD.org
Fri Sep 21 12:00:07 PDT 2007


Volker Glatz wrote:
> Am Freitag 21 September 2007 schrieb Coleman Kane:
>   
>> Volker Glatz wrote:
>>     
>>> Hi,
>>>
>>> portupgrade requested me to send this to this list.
>>>
>>> Volker
>>>
>>> rheingold# portupgrade -R xorg
>>> ** Port marked as IGNORE: x11-servers/xorg-server-snap:
>>>         is outdated
>>> --->  Upgrading 'xf86-video-ati-6.6.3_2' to 'xf86-video-ati-6.7.193'
>>> (x11-drivers/xf86-video-ati)
>>> --->  Building '/usr/ports/x11-drivers/xf86-video-ati'
>>>
>>> ...
>>>       
>> The output represented by the ellipsis above would be helpful in
>> determining your problem.
>>
>>     
>>> ===>  Script "configure" failed unexpectedly.
>>> Please report the problem to x11 at FreeBSD.org [maintainer] and attach the
>>> "/usr/ports/x11-drivers/xf86-video-ati/work/xf86-video-ati-6.7.193/config
>>> .log" including the output of the failure of your make command. Also, it
>>> might be a good idea to provide an overview of all packages installed on
>>> your system (e.g. an `ls /var/db/pkg`).
>>> *** Error code 1
>>>       
>> Attach the above file
>> "/usr/ports/x11-drivers/xf86-video-ati/work/xf86-video-ati-6.7.193/config.l
>> og" to a reply. There is no documentation in this email about what configure
>> failed to do. I just recently performed this upgrade and it went fine for
>> me. Provide the information, likely you have some other
>> configuration or software on your system that is breaking this...
>>
>>     
>>> Stop in /usr/ports/x11-drivers/xf86-video-ati.
>>> ** Command failed [exit code 1]: /usr/bin/script -qa
>>> /tmp/portupgrade.34344.34 env UPGRADE_TOOL=portupgrade
>>> UPGRADE_PORT=xf86-video-ati-6.6.3_2 UPGRADE_PORT_VER=6.6.3_2 make
>>> ** Fix the problem and try again.
>>> --->  Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3) because a
>>> requisite package 'xf86-video-ati-6.6.3_2' (x11-drivers/xf86-video-ati)
>>> failed (specify -k to force)
>>> --->  Skipping 'x11/xorg' (xorg-7.3_1) because a requisite
>>> package 'xf86-video-ati-6.6.3_2' (x11-drivers/xf86-video-ati) failed
>>> (specify -k to force)
>>> ** Listing the failed packages (*:skipped / !:failed)
>>>         ! x11-drivers/xf86-video-ati (xf86-video-ati-6.6.3_2)  
>>> (configure error)
>>>         * x11-drivers/xorg-drivers (xorg-drivers-7.3)
>>>         * x11/xorg (xorg-7.3_1)
>>> --->  Packages processed: 0 done, 253 ignored, 2 skipped and 1 failed
>>> rheingold#
>>>       
>> One idea that I have may be that you need to first upgrade
>> xorg-server-snap to xorg-server, try running the following:
>>
>> portupgrade -o x11-servers/xorg-server x11-servers/xorg-server-snap
>>
>> Then attempt to perform the portupgrade once again.
>>
>> --
>> Coleman Kane
>>     
>
>
> Thanks for reply.
> I attached xf86-video-ati-6.7.193/config.log in my first mail. I'm wondering 
> why it isn't there.
>
> portupgrade -o x11-servers/xorg-server x11-servers/xorg-server-snap - Is now 
> running on my machine. Wish me luck.
>
> The whole output of portupgrade follows:
>
> rheingold# portupgrade -R xorg
> ** Port marked as IGNORE: x11-servers/xorg-server-snap:
>         is outdated
> --->  Upgrading 'xf86-video-ati-6.6.3_2' to 'xf86-video-ati-6.7.193' 
> (x11-drivers/xf86-video-ati)
> --->  Building '/usr/ports/x11-drivers/xf86-video-ati'
> ===>  Cleaning for xf86-video-ati-6.7.193
> ===>  Extracting for xf86-video-ati-6.7.193
> => MD5 Checksum OK for xorg/driver/xf86-video-ati-6.7.193.tar.bz2.
> => SHA256 Checksum OK for xorg/driver/xf86-video-ati-6.7.193.tar.bz2.
> ===>  Patching for xf86-video-ati-6.7.193
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/xf86driproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/xineramaproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/videoproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/xf86miscproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/xextproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/glproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/randrproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/fontsproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/renderproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/xorg-server.pc - found
> ===>   xf86-video-ati-6.7.193 depends on 
> file: /usr/local/libdata/pkgconfig/xproto.pc - found
> ===>   xf86-video-ati-6.7.193 depends on executable: pkg-config - found
> ===>   xf86-video-ati-6.7.193 depends on shared library: GL.1 - found
> ===>  Configuring for xf86-video-ati-6.7.193
> configure: WARNING: you should use --build, --host, --target
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking build system type... i386-portbld-freebsd6.2
> checking host system type... i386-portbld-freebsd6.2
> checking for style of include used by make... GNU
> checking for i386-portbld-freebsd6.2-gcc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking dependency style of cc... gcc3
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for ld used by cc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for /usr/bin/ld option to reload object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... pass_all
> checking how to run the C preprocessor... cc -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking whether we are using the GNU C++ compiler... yes
> checking whether c++ accepts -g... yes
> checking dependency style of c++... gcc3
> checking how to run the C++ preprocessor... c++ -E
> checking for i386-portbld-freebsd6.2-g77... no
> checking for i386-portbld-freebsd6.2-xlf... no
> checking for i386-portbld-freebsd6.2-f77... no
> checking for i386-portbld-freebsd6.2-frt... no
> checking for i386-portbld-freebsd6.2-pgf77... no
> checking for i386-portbld-freebsd6.2-cf77... no
> checking for i386-portbld-freebsd6.2-fort77... no
> checking for i386-portbld-freebsd6.2-fl32... no
> checking for i386-portbld-freebsd6.2-af77... no
> checking for i386-portbld-freebsd6.2-xlf90... no
> checking for i386-portbld-freebsd6.2-f90... no
> checking for i386-portbld-freebsd6.2-pgf90... no
> checking for i386-portbld-freebsd6.2-pghpf... no
> checking for i386-portbld-freebsd6.2-epcf90... no
> checking for i386-portbld-freebsd6.2-gfortran... no
> checking for i386-portbld-freebsd6.2-g95... no
> checking for i386-portbld-freebsd6.2-xlf95... no
> checking for i386-portbld-freebsd6.2-f95... no
> checking for i386-portbld-freebsd6.2-fort... no
> checking for i386-portbld-freebsd6.2-ifort... no
> checking for i386-portbld-freebsd6.2-ifc... no
> checking for i386-portbld-freebsd6.2-efc... no
> checking for i386-portbld-freebsd6.2-pgf95... no
> checking for i386-portbld-freebsd6.2-lf95... no
> checking for i386-portbld-freebsd6.2-ftn... no
> checking for g77... no
> checking for xlf... no
> checking for f77... f77
> checking whether we are using the GNU Fortran 77 compiler... yes
> checking whether f77 accepts -g... yes
> checking the maximum length of command line arguments... (cached) 262144
> checking command to parse /usr/bin/nm -B output from cc object... ok
> checking for objdir... .libs
> checking for i386-portbld-freebsd6.2-ar... no
> checking for ar... ar
> checking for i386-portbld-freebsd6.2-ranlib... no
> checking for ranlib... ranlib
> checking for i386-portbld-freebsd6.2-strip... no
> checking for strip... strip
> checking if cc supports -fno-rtti -fno-exceptions... no
> checking for cc option to produce PIC... -fPIC
> checking if cc PIC flag -fPIC works... yes
> checking if cc static flag -static works... yes
> checking if cc supports -c -o file.o... yes
> checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
> checking whether -lc should be explicitly linked in... yes
> checking dynamic linker characteristics... freebsd6.2 ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> configure: creating libtool
> appending configuration tag "CXX" to libtool
> checking for ld used by c++... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
> checking for c++ option to produce PIC... -fPIC
> checking if c++ PIC flag -fPIC works... yes
> checking if c++ static flag -static works... yes
> checking if c++ supports -c -o file.o... yes
> checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... freebsd6.2 ld.so
> checking how to hardcode library paths into programs... immediate
> appending configuration tag "F77" to libtool
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... no
> checking for f77 option to produce PIC... -fPIC
> checking if f77 PIC flag -fPIC works... yes
> checking if f77 static flag -static works... yes
> checking if f77 supports -c -o file.o... yes
> checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
> checking dynamic linker characteristics... freebsd6.2 ld.so
> checking how to hardcode library paths into programs... immediate
> checking for i386-portbld-freebsd6.2-gcc... (cached) cc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether cc accepts -g... (cached) yes
> checking for cc option to accept ISO C89... (cached) none needed
> checking dependency style of cc... (cached) gcc3
> checking if XINERAMA is defined... yes
> checking if RANDR is defined... yes
> checking if RENDER is defined... yes
> checking if XV is defined... yes
> checking if XF86MISC is defined... yes
> checking if DPMSExtension is defined... yes
> checking for i386-portbld-freebsd6.2-pkg-config... no
> checking for pkg-config... /usr/local/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for XORG... configure: error: Package requirements (xorg-server >= 
> 1.3 xproto fontsproto  xineramaproto randrproto renderproto videoproto 
> xf86miscproto xextproto) were not met:
>
> Requested 'xorg-server >= 1.3' but version of xorg-server is 1.2.99.903
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables XORG_CFLAGS
> and XORG_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to x11 at FreeBSD.org [maintainer] and attach the
> "/usr/ports/x11-drivers/xf86-video-ati/work/xf86-video-ati-6.7.193/config.log"
> including the output of the failure of your make command. Also, it might be
> a good idea to provide an overview of all packages installed on your system
> (e.g. an `ls /var/db/pkg`).
> *** Error code 1
>
> Stop in /usr/ports/x11-drivers/xf86-video-ati.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.34344.34 
> env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xf86-video-ati-6.6.3_2 
> UPGRADE_PORT_VER=6.6.3_2 make
> ** Fix the problem and try again.
> --->  Skipping 'x11-drivers/xorg-drivers' (xorg-drivers-7.3) because a 
> requisite package 'xf86-video-ati-6.6.3_2' (x11-drivers/xf86-video-ati) 
> failed (specify -k to force)
> --->  Skipping 'x11/xorg' (xorg-7.3_1) because a requisite 
> package 'xf86-video-ati-6.6.3_2' (x11-drivers/xf86-video-ati) failed 
> (specify -k to force)
> ** Listing the failed packages (*:skipped / !:failed)
>         ! x11-drivers/xf86-video-ati (xf86-video-ati-6.6.3_2)   (configure 
> error)
>         * x11-drivers/xorg-drivers (xorg-drivers-7.3)
>         * x11/xorg (xorg-7.3_1)
> --->  Packages processed: 0 done, 253 ignored, 2 skipped and 1 failed
> rheingold#     
>
>
> [volker at rheingold ~]$ uname -a
> FreeBSD rheingold.walhalla 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 
> 26 17:40:53 UTC 2007     
> root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
> [volker at rheingold ~]$    
>   
My suspicions are confirmed, your troubles were that the "-snap" xserver 
was still installed. The drivers need API information from the installed 
xserver in order to build a driver for it to use. Once you have upgraded 
to v1.4.0+, you should be able to get the thing to build.

Happy hacking!

--
Coleman Kane



More information about the freebsd-x11 mailing list