I'm filing this report because when I run the following command: dnf repoquery --disablerepo="*" --enablerepo="*-source" --arch=src --whatdepends flex-devel I see bsd-games listed among the results. flex-devel used to provide only libfl.a, a static library. As per Fedora packaging guidelines, a build dependency on a static library should be represented by depending on the -static subpackage, not the -devel one that might actually contain the static library: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_statically_linking_executables I just changed the subpackage split of flex, and have obsoleted flex-devel. Although build-dependent packages will continue to build, a build-dependency requiring libfl.a should now ideally build-depend on libfl-static. flex now also provides shared libraries, and a build-dependency on libfl.so, should now depend on libfl2 (shared library) and libfl2-devel (headers).
bsd-games needs flex-devel without flex-devel [1] , what you suggest ? [1] gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wwrite-strings -Iinclude -Itrek -c trek/warp.c -o trek/warp.o gcc atc/extern.o atc/grammar.o atc/graphics.o atc/input.o atc/lex.o atc/list.o atc/log.o atc/main.o atc/tunable.o atc/update.o lib/strlcpy.o -lm -lncurses -lfl -o atc/atc /usr/bin/ld: cannot find -lfl collect2: error: ld returned 1 exit status
> bsd-games needs flex-devel without flex-devel [1] , what you suggest ? > > [1] > gcc atc/extern.o atc/grammar.o atc/graphics.o atc/input.o atc/lex.o > atc/list.o atc/log.o atc/main.o atc/tunable.o atc/update.o lib/strlcpy.o -lm > -lncurses -lfl -o atc/atc > /usr/bin/ld: cannot find -lfl > collect2: error: ld returned 1 exit status You may declare a build-dependency on libfl-static instead. This subpackage is available in rawhide now.
No matching package to install: 'libfl-static' on F33, libfl-static just exist on F34 , for F31 to F33 can you provide libfl-static ? you may just add "Provides:libfl-static" to flex-devel of flex.spec
Forget , I added [1] , I hope this fix build in all branches and HTH you, feel free to suggest more modifications . Thanks [1] %if 0%{?fedora} > 33 BuildRequires: libfl-static %else BuildRequires: flex-devel %endif
This is resolved in bsd-games-2.17-64.