Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2021 10:34:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256239] x11-fonts/dejavu X.Org X server "Modules" is not a valid section name.
Message-ID:  <bug-256239-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256239

            Bug ID: 256239
           Summary: x11-fonts/dejavu X.Org X server "Modules" is not a
                    valid section name.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: grahamperrin@gmail.com
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Created attachment 225352
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D225352&action=
=3Dedit
Log of the server failing to start

The package message directs users to use a Modules section.=20

Attempting to use a Modules section causes the server to not start.=20

>From the log:=20

[   808.068] (=3D=3D) Using config directory: "/usr/local/etc/X11/xorg.conf=
.d"
[   808.068] (=3D=3D) Using system config directory
"/usr/local/share/X11/xorg.conf.d"
[   808.068] Parse error on line 1 of section Modules in file
/usr/local/etc/X11/xorg.conf.d/modules.conf
        "Modules" is not a valid section name.
[   808.068] (EE) Problem parsing the config file
[   808.068] (EE) Error parsing the config file

After working around the problem:=20

----

% pkg query %M dejavu
On install:
Make sure that the freetype module is loaded.  If it is not, add the follow=
ing
line to the "Modules" section of your X Windows configuration file:

        Load "freetype"

Add the following line to the "Files" section of X Windows configuration fi=
le:

        FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.

% grep -i freetype /var/log/Xorg.0.log
% grep -i modules /var/log/Xorg.0.log
[    53.546] (=3D=3D) ModulePath set to "/usr/local/lib/xorg/modules"
[    53.581] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[    54.177] (II) Loading /usr/local/lib/xorg/modules/drivers/ati_drv.so
[    54.179] (II) Loading /usr/local/lib/xorg/modules/drivers/radeon_drv.so
[    54.542] (II) Loading
/usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[    54.544] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[    54.545] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[    56.761] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[    60.070] (II) Loading /usr/local/lib/xorg/modules/libglamoregl.so
[    60.662] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
% grep -i dejavu /var/log/Xorg.0.log
        /usr/local/share/fonts/dejavu/,
% cat /usr/local/etc/X11/xorg.conf.d/modules.conf
# Section "Modules"
#         Load "freetype"
# EndSection
%

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256239-7788>