Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jul 2014 09:14:06 -0700
From:      Patrick Powell <papowell@astart.com>
To:        freebsd-ports@freebsd.org
Cc:        x11@freebsd.org
Subject:   kde4 packages, WITHOUT_NEW_XORG fails
Message-ID:  <53B6D2CE.1090604@astart.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------010900020903090500060206
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I have run into a problem trying to recompile the KDE4 packages with
WITHOUT_NEW_XORG=YES.

 From the CHANGES file:
20140416:
   AFFECTS: users of x11/xorg graphics/dri graphics/libGL and related ports
   AUTHOR: x11@FreeBSD.org

   The default xorg version has been switched on FreeBSD 10-STABLE and
   FreeBSD 9-STABLE.

   To upgrade graphics/libGL, graphics/dri and related MESA ports, it is
   necessary to first remove the old versions of those ports.
   No special upgrade procedure is needed for xorg ports but it is
   necessary to recompile all xorg drivers (xf86-*) and other ports that
   depend on the xserver version, including
   emulators/virtualbox-ose-additions.  Portrevisions have been bumped
   where needed, but users of drivers not in the ports tree will need to
   recompile those.

   If it is important to stay on the old versions, it is possible to
   specify WITHOUT_NEW_XORG= in /etc/make.conf to get the old xorg
   distribution.


My make.conf file:
   WITH_PKGNG=yes
   WITHOUT_NEW_XORG=yes

I did portsnap fetch update, and then did:

#> cd /usr/ports/x11/kde4
#> make missing >/tmp/missing_files

I massaged the /tmp/missing_files to use pkg to try to download
a package if it was in the repository.  If they were not, I then
tried to use 'make BATCH=YES install' to compile and install the port.

Here is the output of the script, showing the errors for the ports that
did not compile.

   x11-themes/kdeartwork4
   deskutils/kdeplasma-addons
   x11-clocks/kdetoys4
   x11/kde4-workspace
   net/kget
   net/krdc
   x11-clocks/ktux
   graphics/libEGL
   graphics/libglesv2
   print/indexinfo
   graphics/libglapi
   multimedia/libdvdcss

Output:

+ p x11-themes/kdeartwork4
+ pkg install x11-themes/kdeartwork4
Updating repository catalogue
pkg: No packages matching 'x11-themes/kdeartwork4' available in the 
repositories
+ cd /usr/ports/x11-themes/kdeartwork4
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in 
/usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set 
WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/x11-themes/kdeartwork4.
+ p deskutils/kdeplasma-addons
+ pkg install deskutils/kdeplasma-addons
Updating repository catalogue
pkg: No packages matching 'deskutils/kdeplasma-addons' available in the 
repositories
+ cd /usr/ports/deskutils/kdeplasma-addons
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in 
/usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set 
WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/deskutils/kdeplasma-addons.
+ p x11-clocks/kdetoys4
+ pkg install x11-clocks/kdetoys4
Updating repository catalogue
pkg: No packages matching 'x11-clocks/kdetoys4' available in the 
repositories
+ cd /usr/ports/x11-clocks/kdetoys4
+ make BATCH=yes install
===>  Staging for kdetoys-4.12.5
===>    Verifying install for /usr/local/bin/ktux in 
/usr/ports/x11-clocks/ktux
===>    Verifying install for /usr/local/lib/libkworkspace.so in 
/usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set 
WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/x11-clocks/ktux.
*** Error code 1

Stop in /usr/ports/x11-clocks/kdetoys4.
+ p x11/kde4-workspace
+ pkg install x11/kde4-workspace
Updating repository catalogue
pkg: No packages matching 'x11/kde4-workspace' available in the repositories
+ cd /usr/ports/x11/kde4-workspace
+ make BATCH=yes install
===>  kde-workspace-4.11.9 requires modern libGL. Please, set 
WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
+ p net/kget
+ pkg install net/kget
Updating repository catalogue

kg: No packages matching 'net/kget' available in the repositories
+ cd /usr/ports/net/kget
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in 
/usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set 
WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/net/kget.
+ p net/krdc
+ pkg install net/krdc
Updating repository catalogue
pkg: No packages matching 'net/krdc' available in the repositories
+ cd /usr/ports/net/krdc
+ make BATCH=yes install
===>  Building for krdc-4.12.5
[ 83%] Built target krdc
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp: In member 
function 'void VncClientThrea
d::clientSetKeepalive()':
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp:610: error: 
'TCP_KEEPIDLE' was not decla
red in this scope
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp:616: error: 
'TCP_KEEPINTVL' was not decl
ared in this scope
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp:622: error: 
'TCP_KEEPCNT' was not declar
ed in this scope
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/net/krdc.
+ p x11-clocks/ktux
+ pkg install x11-clocks/ktux
Updating repository catalogue
pkg: No packages matching 'x11-clocks/ktux' available in the repositories
+ cd /usr/ports/x11-clocks/ktux
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in 
/usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set 
WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/x11-clocks/ktux.
+ p graphics/libEGL
+ pkg install graphics/libEGL
Updating repository catalogue
pkg: No packages matching 'graphics/libEGL' available in the repositories
+ cd /usr/ports/graphics/libEGL
+ make BATCH=yes install
===>  libEGL-7.6.1_2 Please enable WITH_NEW_XORG, libEGL needs libdrm 
higher then 2.4.24.
*** Error code 1

Stop in /usr/ports/graphics/libEGL.
+ p graphics/libglesv2
+ pkg install graphics/libglesv2
Updating repository catalogue
pkg: No packages matching 'graphics/libglesv2' available in the repositories
+ cd /usr/ports/graphics/libglesv2
+ make BATCH=yes install
===>  libglesv2-9.1.7_1 Please enable WITH_NEW_XORG, libglesv2 needs 
libdrm higher then 2.4.24.
*** Error code 1

Stop in /usr/ports/graphics/libglesv2.
+ p print/indexinfo
+ pkg install print/indexinfo
Updating repository catalogue
pkg: No packages matching 'print/indexinfo' available in the repositories
+ cd /usr/ports/print/indexinfo
+ make BATCH=yes install
+ p graphics/libglapi
+ pkg install graphics/libglapi
Updating repository catalogue
pkg: No packages matching 'graphics/libglapi' available in the repositories
+ cd /usr/ports/graphics/libglapi
+ make BATCH=yes install
===>  libglapi-7.6.1 Please enable WITH_NEW_XORG, libglapi needs libdrm 
higher then 2.4.24.
*** Error code 1

Stop in /usr/ports/graphics/libglapi.
+ p multimedia/libdvdcss
+ pkg install multimedia/libdvdcss
Updating repository catalogue
pkg: No packages matching 'multimedia/libdvdcss' available in the 
repositories
+ cd /usr/ports/multimedia/libdvdcss
+ make BATCH=yes install


--------------010900020903090500060206
Content-Type: text/plain; charset=us-ascii;
 name="m.log2"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="m.log2"

I have run into a problem trying to recompile the KDE4 packages with
WITHOUT_NEW_XORG=YES

>From the CHANGES file:
20140416:
  AFFECTS: users of x11/xorg graphics/dri graphics/libGL and related ports
  AUTHOR: x11@FreeBSD.org
  
  The default xorg version has been switched on FreeBSD 10-STABLE and
  FreeBSD 9-STABLE.
  
  To upgrade graphics/libGL, graphics/dri and related MESA ports, it is
  necessary to first remove the old versions of those ports.
  No special upgrade procedure is needed for xorg ports but it is
  necessary to recompile all xorg drivers (xf86-*) and other ports that
  depend on the xserver version, including
  emulators/virtualbox-ose-additions.  Portrevisions have been bumped
  where needed, but users of drivers not in the ports tree will need to
  recompile those.
  
  If it is important to stay on the old versions, it is possible to
  specify WITHOUT_NEW_XORG= in /etc/make.conf to get the old xorg
  distribution.


My make.conf file:
  WITH_PKGNG=yes
  WITHOUT_NEW_XORG=yes

I did portsnap fetch update, and then did:

#> cd /usr/ports/x11/kde4
#> make missing >/tmp/missing_files

I then massages the /tmp/missing_files to use pkg to try to download
a package if it was in the repository.  If they were not, I then
tried to use 'make BATCH=YES install' to compile and install the port.

Here is the output of the script, showing the errors for the ports that
did not compile.

  x11-themes/kdeartwork4
  deskutils/kdeplasma-addons
  x11-clocks/kdetoys4
  x11/kde4-workspace
  net/kget
  net/krdc
  x11-clocks/ktux
  graphics/libEGL
  graphics/libglesv2
  print/indexinfo
  graphics/libglapi
  multimedia/libdvdcss

Output:

+ p x11-themes/kdeartwork4
+ pkg install x11-themes/kdeartwork4
Updating repository catalogue
pkg: No packages matching 'x11-themes/kdeartwork4' available in the repositories
+ cd /usr/ports/x11-themes/kdeartwork4
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in /usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/x11-themes/kdeartwork4.
+ p deskutils/kdeplasma-addons
+ pkg install deskutils/kdeplasma-addons
Updating repository catalogue
pkg: No packages matching 'deskutils/kdeplasma-addons' available in the repositories
+ cd /usr/ports/deskutils/kdeplasma-addons
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in /usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/deskutils/kdeplasma-addons.
+ p x11-clocks/kdetoys4
+ pkg install x11-clocks/kdetoys4
Updating repository catalogue
pkg: No packages matching 'x11-clocks/kdetoys4' available in the repositories
+ cd /usr/ports/x11-clocks/kdetoys4
+ make BATCH=yes install
===>  Staging for kdetoys-4.12.5
===>    Verifying install for /usr/local/bin/ktux in /usr/ports/x11-clocks/ktux
===>    Verifying install for /usr/local/lib/libkworkspace.so in /usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/x11-clocks/ktux.
*** Error code 1

Stop in /usr/ports/x11-clocks/kdetoys4.
+ p x11/kde4-workspace
+ pkg install x11/kde4-workspace
Updating repository catalogue
pkg: No packages matching 'x11/kde4-workspace' available in the repositories
+ cd /usr/ports/x11/kde4-workspace
+ make BATCH=yes install
===>  kde-workspace-4.11.9 requires modern libGL. Please, set WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
+ p net/kget
+ pkg install net/kget
Updating repository catalogue
pkg: No packages matching 'net/kget' available in the repositories
+ cd /usr/ports/net/kget
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in /usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/net/kget.
+ p net/krdc
+ pkg install net/krdc
Updating repository catalogue
pkg: No packages matching 'net/krdc' available in the repositories
+ cd /usr/ports/net/krdc
+ make BATCH=yes install
===>  Building for krdc-4.12.5
[ 83%] Built target krdc
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp: In member function 'void VncClientThread::clientSetKeepalive()':
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp:610: error: 'TCP_KEEPIDLE' was not declared in this scope
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp:616: error: 'TCP_KEEPINTVL' was not declared in this scope
/usr/ports/net/krdc/work/krdc-4.12.5/vnc/vncclientthread.cpp:622: error: 'TCP_KEEPCNT' was not declared in this scope
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/net/krdc.
+ p x11-clocks/ktux
+ pkg install x11-clocks/ktux
Updating repository catalogue
pkg: No packages matching 'x11-clocks/ktux' available in the repositories
+ cd /usr/ports/x11-clocks/ktux
+ make BATCH=yes install
===>    Verifying install for /usr/local/lib/libkworkspace.so in /usr/ports/x11/kde4-workspace
===>  kde-workspace-4.11.9 requires modern libGL. Please, set WITH_NEW_XORG and update your ports.
*** Error code 1

Stop in /usr/ports/x11/kde4-workspace.
*** Error code 1

Stop in /usr/ports/x11-clocks/ktux.
+ p graphics/libEGL
+ pkg install graphics/libEGL
Updating repository catalogue
pkg: No packages matching 'graphics/libEGL' available in the repositories
+ cd /usr/ports/graphics/libEGL
+ make BATCH=yes install
===>  libEGL-7.6.1_2 Please enable WITH_NEW_XORG, libEGL needs libdrm higher then 2.4.24.
*** Error code 1

Stop in /usr/ports/graphics/libEGL.
+ p graphics/libglesv2
+ pkg install graphics/libglesv2
Updating repository catalogue
pkg: No packages matching 'graphics/libglesv2' available in the repositories
+ cd /usr/ports/graphics/libglesv2
+ make BATCH=yes install
===>  libglesv2-9.1.7_1 Please enable WITH_NEW_XORG, libglesv2 needs libdrm higher then 2.4.24.
*** Error code 1

Stop in /usr/ports/graphics/libglesv2.
+ p print/indexinfo
+ pkg install print/indexinfo
Updating repository catalogue
pkg: No packages matching 'print/indexinfo' available in the repositories
+ cd /usr/ports/print/indexinfo
+ make BATCH=yes install
+ p graphics/libglapi
+ pkg install graphics/libglapi
Updating repository catalogue
pkg: No packages matching 'graphics/libglapi' available in the repositories
+ cd /usr/ports/graphics/libglapi
+ make BATCH=yes install
===>  libglapi-7.6.1 Please enable WITH_NEW_XORG, libglapi needs libdrm higher then 2.4.24.
*** Error code 1

Stop in /usr/ports/graphics/libglapi.
+ p multimedia/libdvdcss
+ pkg install multimedia/libdvdcss
Updating repository catalogue
pkg: No packages matching 'multimedia/libdvdcss' available in the repositories
+ cd /usr/ports/multimedia/libdvdcss
+ make BATCH=yes install

--------------010900020903090500060206--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53B6D2CE.1090604>