Bug 2310132

Summary: [EPEL8] Please branch and build duc for EPEL8
Product: [Fedora] Fedora EPEL Reporter: Chen Chen <aflyhorse>
Component: ducAssignee: Jens Petersen <petersen>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: benson_muite, petersen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: duc-1.4.5-6.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-09-30 00:36:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chen Chen 2024-09-05 06:11:27 UTC
Since EPEL 8 will continue to be available until the EOL of RHEL 8 on 2029-05-31, will you be able to branch and build duc for EPEL 8? Server Admins might want to investigate what ate out their disks.

Many thanks.

Comment 1 Jens Petersen 2024-09-05 10:15:52 UTC
Alright I will have a look into this - though I have a vague recollection that it might not build for rhel8, but I might remember wrong?

Comment 2 Jens Petersen 2024-09-05 11:35:17 UTC
make[1]: Entering directory '/builddir/build/BUILD/duc-1.4.5'
gcc -DHAVE_CONFIG_H -I.    -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid  -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi  -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -Isrc/libduc -Isrc/libduc-graph -Isrc/glad -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/libduc-graph/graph-opengl.o src/libduc-graph/graph-opengl.c
make[1]: Leaving directory '/builddir/build/BUILD/duc-1.4.5'
In file included from src/libduc-graph/graph-opengl.c:23:
/usr/include/GLFW/glfw3.h:202:12: fatal error: GL/gl.h: No such file or directory
   #include <GL/gl.h>
            ^~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:647: src/libduc-graph/graph-opengl.o] Error 1
make[1]: *** Waiting for unfinished jobs....

https://koji.fedoraproject.org/koji/taskinfo?taskID=122978814

Comment 3 Chen Chen 2024-09-06 07:24:55 UTC
You might want to add a dependency of 'libglvnd-devel'?

[root@sirius rpm]# dnf provides '/usr/include/GL/gl.h'
Last metadata expiration check: 1:12:53 ago on Fri 06 Sep 2024 02:10:46 PM CST.
libglvnd-devel-1:1.3.4-2.el8.i686 : Development files for libglvnd
Repo        : appstream
Matched from:
Filename    : /usr/include/GL/gl.h

libglvnd-devel-1:1.3.4-2.el8.x86_64 : Development files for libglvnd
Repo        : appstream
Matched from:
Filename    : /usr/include/GL/gl.h

Comment 4 Chen Chen 2024-09-06 08:18:02 UTC
I saw your git commit about the dependency and made a scratch build

https://koji.fedoraproject.org/koji/taskinfo?taskID=123011408
Sadly it only supports x86-64 because glfw was only provided on x86

> # vulkan is not available on those arches
> ExcludeArch:    aarch64 ppc64le s390x
> https://src.fedoraproject.org/rpms/glfw/blob/epel8/f/glfw.spec#_26

Since https://src.fedoraproject.org/rpms/vulkan has been abandoned, I'll investigate and try contacting maintainer of glfw.

Comment 5 Chen Chen 2024-09-20 07:33:34 UTC
https://src.fedoraproject.org/rpms/glfw/pull-request/6

Requested a PR, but got blocked by a broken fedora-ci pipeline. Resolving in progress.

Comment 6 Jens Petersen 2024-09-21 06:26:40 UTC
Thanks that is good - I also had gotten distracted by this issue.

But let me build what I have now anyway.

Comment 7 Fedora Update System 2024-09-21 07:43:15 UTC
FEDORA-EPEL-2024-1e3c2ce889 (duc-1.4.5-6.el8) has been submitted as an update to Fedora EPEL 8.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1e3c2ce889

Comment 8 Fedora Update System 2024-09-22 02:31:29 UTC
FEDORA-EPEL-2024-1e3c2ce889 has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-1e3c2ce889

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-09-30 00:36:01 UTC
FEDORA-EPEL-2024-1e3c2ce889 (duc-1.4.5-6.el8) has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.