#68671 closed defect (duplicate)

spice-server @0.15.2: error: visibility does not match previous declaration

Reported by: nrezmerski Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: mojave Cc:
Port: spice-server

Description (last modified by ryandesign (Ryan Carsten Schmidt))

--->  Computing dependencies for qemu
The following dependencies will be installed: 
 spice-server
 usbredir
Continue? [Y/n]: Y
--->  Fetching archive for spice-server
--->  Attempting to fetch spice-server-0.15.2_0.darwin_18.x86_64.tbz2 from http://packages.macports.org/spice-server
--->  Attempting to fetch spice-server-0.15.2_0.darwin_18.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/spice-server
--->  Attempting to fetch spice-server-0.15.2_0.darwin_18.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/spice-server
--->  Building spice-server
Error: Failed to build spice-server: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_spice-server/spice-server/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port qemu failed

Attachments (2)

main.log (681.6 KB) - added by nrezmerski 12 months ago.
main.log from last "port install qemu"
spice-server-main.log (1004.5 KB) - added by nrezmerski 12 months ago.
main.log from last "port install spice-server"

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mojave added
Port: spice-server added; qemu removed
Summary: QEMU fails to install on MacOS Mojave 10.14.6 (Spice Server dependency)spice-server @0.15.2: build failure

Please attach the main.log file, as our bug reporting instructions say to do. We can't make any diagnoses without it.

Changed 12 months ago by nrezmerski

Attachment: main.log added

main.log from last "port install qemu"

Changed 12 months ago by nrezmerski

Attachment: spice-server-main.log added

main.log from last "port install spice-server"

comment:2 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: spice-server @0.15.2: build failurespice-server @0.15.2: error: visibility does not match previous declaration

Ok, the error is:

inputs-channel.cpp:467:1: error: visibility does not match previous declaration
SPICE_GNUC_VISIBLE int spice_server_kbd_leds(SpiceKbdInstance *sin, int leds)
^
./utils.h:28:44: note: expanded from macro 'SPICE_GNUC_VISIBLE'
#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default")))
                                           ^
./push-visibility.h:19:13: note: previous attribute is here
#pragma GCC visibility push(hidden)
            ^
1 error generated.

Duplicate of #68439.

Note: See TracTickets for help on using tickets.