Bug 273811 - emulators/qemu@tools: plist is different when built by portmaster vs poudriere
Summary: emulators/qemu@tools: plist is different when built by portmaster vs poudriere
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-15 04:39 UTC by Koichiro Iwao
Modified: 2023-09-15 04:42 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
portmaster.log (159.10 KB, text/plain)
2023-09-15 04:39 UTC, Koichiro Iwao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koichiro Iwao freebsd_committer freebsd_triage 2023-09-15 04:39:20 UTC
Created attachment 244866 [details]
portmaster.log

I found strange build results.

Failed to create package by portmaster. It complains %DATADIR%/keymaps/* are listed on plist but not found in stage dir. It succeeds if I removed these files from plist.

However, it fails to create package by poudriere then. Strangely, these files are generated only if the package is built by poudriere. I guess something is going wrong during build. 

plist for portmaster:
bin/qemu-edid
bin/qemu-img
bin/qemu-io
bin/qemu-nbd
bin/qemu-storage-daemon
include/qemu-plugin.h
%%PORTDOCS%%man/man1/qemu.1.gz
%%PORTDOCS%%man/man1/qemu-img.1.gz
%%PORTDOCS%%man/man7/qemu-block-drivers.7.gz
%%PORTDOCS%%man/man7/qemu-cpu-models.7.gz
%%PORTDOCS%%man/man8/qemu-nbd.8.gz
%%PORTDOCS%%man/man8/qemu-pr-helper.8.gz
%%PORTDOCS%%man/man7/qemu-qmp-ref.7.gz
%%PORTDOCS%%man/man1/qemu-storage-daemon.1.gz
%%PORTDOCS%%man/man7/qemu-storage-daemon-qmp-ref.7.gz
%%DATADIR%%/trace-events-all

plist for poudriere:
bin/qemu-edid
bin/qemu-img
bin/qemu-io
bin/qemu-nbd
bin/qemu-storage-daemon
include/qemu-plugin.h
%%PORTDOCS%%man/man1/qemu.1.gz
%%PORTDOCS%%man/man1/qemu-img.1.gz
%%PORTDOCS%%man/man7/qemu-block-drivers.7.gz
%%PORTDOCS%%man/man7/qemu-cpu-models.7.gz
%%PORTDOCS%%man/man8/qemu-nbd.8.gz
%%PORTDOCS%%man/man8/qemu-pr-helper.8.gz
%%PORTDOCS%%man/man7/qemu-qmp-ref.7.gz
%%PORTDOCS%%man/man1/qemu-storage-daemon.1.gz
%%PORTDOCS%%man/man7/qemu-storage-daemon-qmp-ref.7.gz
%%DATADIR%%/keymaps/ar
%%DATADIR%%/keymaps/bepo
%%DATADIR%%/keymaps/cz
%%DATADIR%%/keymaps/da
%%DATADIR%%/keymaps/de
%%DATADIR%%/keymaps/de-ch
%%DATADIR%%/keymaps/en-gb
%%DATADIR%%/keymaps/en-us
%%DATADIR%%/keymaps/es
%%DATADIR%%/keymaps/et
%%DATADIR%%/keymaps/fi
%%DATADIR%%/keymaps/fo
%%DATADIR%%/keymaps/fr
%%DATADIR%%/keymaps/fr-be
%%DATADIR%%/keymaps/fr-ca
%%DATADIR%%/keymaps/fr-ch
%%DATADIR%%/keymaps/hr
%%DATADIR%%/keymaps/hu
%%DATADIR%%/keymaps/is
%%DATADIR%%/keymaps/it
%%DATADIR%%/keymaps/ja
%%DATADIR%%/keymaps/lt
%%DATADIR%%/keymaps/lv
%%DATADIR%%/keymaps/mk
%%DATADIR%%/keymaps/nl
%%DATADIR%%/keymaps/no
%%DATADIR%%/keymaps/pl
%%DATADIR%%/keymaps/pt
%%DATADIR%%/keymaps/pt-br
%%DATADIR%%/keymaps/ru
%%DATADIR%%/keymaps/th
%%DATADIR%%/keymaps/tr
%%DATADIR%%/trace-events-all
Comment 1 Koichiro Iwao freebsd_committer freebsd_triage 2023-09-15 04:42:54 UTC
I think portmaster is correct because bin/qemu-keymap is not included in qemu-tools packages even if built by poudriere. %DATADIR/keymaps/* also shouldn't be included in the package.