Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2023 00:00:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270969] x11/kitty Text Formatting Error In Include File Xge.h
Message-ID:  <bug-270969-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 270969
           Summary: x11/kitty Text Formatting Error In Include File Xge.h
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fgorter@gmail.com
                CC: alexis.praga@proton.me
                CC: alexis.praga@proton.me
             Flags: maintainer-feedback?(alexis.praga@proton.me)

While building x11/kitty from source, encountered an error regarding include
file /usr/local/include/X11/extensions/Xge.h

Snippet:

Compiling [x11] glfw/xkb_glfw.c ...
cc -MMD -DNDEBUG -DHAS_COPY_FILE_RANGE -DEPOLL_SHIM_DISABLE_WRAPPER_MACROS
-I/usr/local/include/libepoll-shim -D_GLFW_X11 -D_GLFW_BUILD_DLL -Wextra
-Wfloat-conversion -Wno-missing-field-initializers -Wall -Wstrict-prototypes
-std=3Dc11 -pedantic-errors -Werror -O3 -fwrapv -fstack-protector-strong -p=
ipe
-fvisibility=3Dhidden -D_FORTIFY_SOURCE=3D2 -fPIC -O2 -pipe -march=3Dskylak=
e-avx512
-fstack-protector-strong -fno-strict-aliasing -flto -I/usr/local/include/
-DKITTY_HAS_RS_SIG_ARGS -fPIC -pthread -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -c
glfw/xkb_glfw.c -o build/glfw-x11-xkb_glfw.c.o
In file included from glfw/xkb_glfw.c:30:
In file included from glfw/internal.h:197:
In file included from glfw/x11_platform.h:52:
In file included from /usr/local/include/X11/extensions/XInput2.h:32:
/usr/local/include/X11/extensions/Xge.h:2:14: error: invalid UTF-8 in comme=
nt
[-Werror,-Winvalid-utf8]
 * Copyright <A9> 2007-2008 Peter Hutterer
             ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/kitty


An apparent formatting error on line 2, "M-)" -- whatever that was supposed=
 to
mean.

/*
 * Copyright M-) 2007-2008 Peter Hutterer
 *
 * Permission is hereby granted, free of charge, to any person obtaining a


Manually editing the file & removing the errant text, results in a fully
successful build.

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