Opened 20 months ago

Closed 19 months ago

Last modified 19 months ago

#65828 closed defect (fixed)

qemu @7.1.0+vnc: ERROR: unknown option --enable-vnc-png

Reported by: chillin- Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: chilli.namesake@…, cooljeanius (Eric Gallager), ryandesign (Ryan Carsten Schmidt), dehesselle (René de Hesselle)
Port: qemu

Description (last modified by chillin-)

qemu @7.0.0_1+cocoa+curl+ssh+target_arm+target_i386+target_m68k+target_x86_64+usb+vnc (active)

macOS 10.14

Macmini6,1

XCode 11.3.1

--->  Computing dependencies for qemu.
--->  Configuring qemu
Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/build" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-7.1.0/configure --prefix=/opt/local --cpu=x86_64 --cc=/usr/bin/clang --objcc=/usr/bin/clang --host-cc=/usr/bin/clang --sphinx-build=/opt/local/bin/sphinx-build-3.9 --meson=/opt/local/bin/meson --iasl=/usr/bin/false --enable-cocoa --disable-curses --disable-capstone --disable-sdl --disable-gtk --disable-opengl --enable-bzip2 --enable-hvf --enable-curl --disable-attr --disable-vde --disable-brlapi --disable-cap-ng --disable-spice --disable-libiscsi --disable-rbd --disable-smartcard --enable-libusb --disable-usb-redir --disable-seccomp --disable-linux-aio --disable-glusterfs --disable-rdma --enable-libssh --enable-vnc --disable-gnutls --disable-gcrypt --disable-nettle --disable-numa --disable-xen --disable-snappy --disable-lzo --disable-lzfse --disable-zstd --disable-dbus-display --enable-virtfs --smbd=/opt/local/sbin/smbd --enable-gnutls --enable-vnc-sasl --enable-vnc-jpeg --enable-vnc-png --target-list=,i386-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu,m68k-softmmu --extra-ldflags="-L/opt/local/lib -Wl,-headerpad_max_install_names" 
ERROR: unknown option --enable-vnc-png
Try '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-7.1.0/configure --help' for more information
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/build" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-7.1.0/configure --prefix=/opt/local --cpu=x86_64 --cc=/usr/bin/clang --objcc=/usr/bin/clang --host-cc=/usr/bin/clang --sphinx-build=/opt/local/bin/sphinx-build-3.9 --meson=/opt/local/bin/meson --iasl=/usr/bin/false --enable-cocoa --disable-curses --disable-capstone --disable-sdl --disable-gtk --disable-opengl --enable-bzip2 --enable-hvf --enable-curl --disable-attr --disable-vde --disable-brlapi --disable-cap-ng --disable-spice --disable-libiscsi --disable-rbd --disable-smartcard --enable-libusb --disable-usb-redir --disable-seccomp --disable-linux-aio --disable-glusterfs --disable-rdma --enable-libssh --enable-vnc --disable-gnutls --disable-gcrypt --disable-nettle --disable-numa --disable-xen --disable-snappy --disable-lzo --disable-lzfse --disable-zstd --disable-dbus-display --enable-virtfs --smbd=/opt/local/sbin/smbd --enable-gnutls --enable-vnc-sasl --enable-vnc-jpeg --enable-vnc-png --target-list=,i386-softmmu,x86_64-softmmu,arm-softmmu,aarch64-softmmu,m68k-softmmu --extra-ldflags="-L/opt/local/lib -Wl,-headerpad_max_install_names" 
Exit code: 1
Error: Failed to configure qemu: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/build/config.log
Error: Failed to configure qemu: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

Attachments (2)

main.log (19.4 KB) - added by chillin- 20 months ago.
main.log
config.log (6.7 KB) - added by chillin- 20 months ago.
config.log

Download all attachments as: .zip

Change History (10)

Changed 20 months ago by chillin-

Attachment: main.log added

main.log

Changed 20 months ago by chillin-

Attachment: config.log added

config.log

comment:1 Changed 20 months ago by chillin-

Description: modified (diff)

comment:2 Changed 20 months ago by chillin-

This failed awhile ago, and I didn't report assuming someone else probably had the same issue, and I still suspect that, but I couldn't find a bug report for 7.1. If not, better late than never. Thanks.

comment:3 Changed 20 months ago by jmroot (Joshua Root)

Keywords: qemu removed
Owner: set to raimue
Port: mojave removed
Status: newassigned

comment:4 Changed 19 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:5 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: raimue added
Owner: changed from raimue to ryandesign
Status: assignedaccepted
Summary: qemu 7.1.0_0 buildfail on Mojaveqemu @7.1.0+vnc: ERROR: unknown option --enable-vnc-png

The problem only affects the +vnc variant. The --enable-vnc-png option was renamed to --enable-png.

comment:6 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign dehesselle@… added; raimue removed
Owner: changed from ryandesign to raimue
Status: acceptedassigned

I was working on this without realizing someone else already submitted a PR, which just got merged in [1ede2f6ee68bbf1700bd792c1a31c1b2a2e29c9a/macports-ports].

comment:7 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

comment:8 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

In 706e16a103c68999caf42094e460560523efa5bc/macports-ports (master):

qemu: Adjust new PNG configure argument handling

Since --enable-png is now a global arg, make sure we turn it off
globally and enable it only where we're intending to use it (and adding
the libpng dependency).

See: #65828

Note: See TracTickets for help on using tickets.