Warning: Permanently added '54.226.223.143' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/11024254 Version: 1.10 PID: 11880 Logging PID: 11882 Task: {'appstream': False, 'background': True, 'build_id': 11024254, 'chroot': None, 'distributions_in_build': ['fedora-43', 'fedora-44', 'fedora-45', 'fedora-rawhide'], 'distributions_in_project': ['fedora-43', 'fedora-44', 'fedora-45', 'fedora-rawhide'], 'package_name': 'djdev64', 'project_dirname': 'dosemu2', 'project_name': 'dosemu2', 'project_owner': 'stsp', 'repos': [], 'sandbox': 'stsp/dosemu2--https://api.github.com/users/claude%5Bbot%5D', 'source_json': {'clone_url': 'https://github.com/dosemu2/djdev64.git', 'committish': '8cd7e0269a9e5aaf7851251282e225c2742df608', 'spec': '', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/claude%5Bbot%5D', 'task_id': '11024254'} Running: git clone https://github.com/dosemu2/djdev64.git /var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64 --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/dosemu2/djdev64.git', '/var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64'... Running: git checkout 8cd7e0269a9e5aaf7851251282e225c2742df608 -- cmd: ['git', 'checkout', '8cd7e0269a9e5aaf7851251282e225c2742df608', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64 rc: 0 stdout: stderr: Note: switching to '8cd7e0269a9e5aaf7851251282e225c2742df608'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 8cd7e02 meson: put the libraries back into the .pc files Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = https://github.com/%(repo_path)s [lookaside] download_url = https://${git_props:remote_netloc}/repo/pkgs/%(repo_path)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s Writing config into /var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64 cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64 rc: 0 stdout: Wrote: /var/lib/copr-rpmbuild/results/dj64dev.spec Wrote: /var/lib/copr-rpmbuild/results/djdev64-0.0.git.13.8cd7e026-1.src.rpm RPM build warnings: stderr: git_dir_archive: archiving /var/lib/copr-rpmbuild/workspace/workdir-_fk2oz9z/djdev64: commit 8cd7e0269a9e5aaf7851251282e225c2742df608 (HEAD, origin/claude/pc-libs-restored) Author: Claude Date: Wed Sep 23 07:25:55 2026 +0000 meson: put the libraries back into the .pc files "meson: fix .pc generation" stopped meson from adding "Requires.private: libelf", which it did because the dependency is declared on the library target and pkgconfig.generate() was given that target. That was the right thing to remove: pkg-config resolves Requires.private even for --cflags, so without libelf.pc installed it refuses to read djdev64.pc at all, and everything that builds against djdev64 fails with a bare "no". But dropping the target also dropped the only thing that told pkgconfig.generate() what to link, so both files now come out with no Libs line at all: $ pkg-config --libs djdev64 djstub64 $ dosemu2 links its dj64 plugin with exactly those two variables (src/plugin/dj64/Makefile:20, "$(DJDEV64_LIBS) $(DJSTUB64_LIBS)"), so it gets an empty link line and a plugin with nothing resolving djdev64's symbols. So name the libraries as plain strings instead. meson only derives Requires.private from a target, so strings keep the libelf line away and still produce what was there before 2026-09-22: Libs: -L${libdir} -ldjdev64 Cflags: -I${includedir} Checked on meson 1.12 against this tree: with the change both .pc files match the ones the PPA shipped before the regression, pkg-config --exists passes with no libelf.pc anywhere in the search path, and pkg-config --libs answers "-ldjdev64 -ldjstub64" instead of nothing. Co-Authored-By: Claude git_dir_archive: Wrote: /var/lib/copr-rpmbuild/results/djdev64-8cd7e026.tar.gz warning: %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from %source_date_epoch_from_changelog is set, but %changelog has no entries to take a date from Output: ['djdev64-8cd7e026.tar.gz', 'dj64dev.spec', 'djdev64-0.0.git.13.8cd7e026-1.src.rpm'] Running SRPMResults tool Using distributions_in_build for this build. Extracting arch-specific tags for fedora-43 Extracting arch-specific tags for fedora-44 Extracting arch-specific tags for fedora-45 Extracting arch-specific tags for fedora-rawhide Package info: { "architecture_specific_tags": { "fedora-43": {}, "fedora-44": {}, "fedora-45": {}, "fedora-rawhide": {} }, "name": "djdev64", "epoch": null, "version": "0.0.git.13.8cd7e026", "release": "1" } SRPMResults finished