Public bug reported:
ipp-usb ftbfs with lto, apparently not seen on Fedora builds.
github.com/OpenPrinting/ipp-usb
# github.com/OpenPrinting/ipp-usb
../../../../tmp/go-build3834344537/b001/cgo-generated-wrappers:1:13: error:
function ‘avahiClientCallback’ redeclared as variable
../../../../tmp/go-build3834344537/b001/_cgo_export.c:24:6: note: previously
declared here
24 | void avahiClientCallback(AvahiClient* client, AvahiClientState state,
void* _)
| ^
../../../../tmp/go-build3834344537/b001/cgo-generated-wrappers:4:13: error:
function ‘avahiEntryGroupCallback’ redeclared as variable
../../../../tmp/go-build3834344537/b001/_cgo_export.c:46:6: note: previously
declared here
46 | void avahiEntryGroupCallback(AvahiEntryGroup* egroup,
AvahiEntryGroupState state, void* _)
| ^
../../../../tmp/go-build3834344537/b001/cgo-generated-wrappers:7:13: error:
function ‘libusbHotplugCallback’ redeclared as variable
../../../../tmp/go-build3834344537/b001/_cgo_export.c:68:5: note: previously
declared here
68 | int libusbHotplugCallback(libusb_context* ctx, libusb_device* dev,
libusb_hotplug_event event, void* p)
| ^
../../../../tmp/go-build3834344537/b001/_cgo_export.c:21:13: error: variable
‘_cgoexp_73d50ba221cf_avahiClientCallback’ redeclared as function
21 | extern void _cgoexp_73d50ba221cf_avahiClientCallback(void *);
| ^
../../../../tmp/go-build3834344537/b001/cgo-generated-wrappers:10:5: note:
previously declared here
../../../../tmp/go-build3834344537/b001/_cgo_export.c:43:13: error: variable
‘_cgoexp_73d50ba221cf_avahiEntryGroupCallback’ redeclared as function
43 | extern void _cgoexp_73d50ba221cf_avahiEntryGroupCallback(void *);
| ^
../../../../tmp/go-build3834344537/b001/cgo-generated-wrappers:11:5: note:
previously declared here
../../../../tmp/go-build3834344537/b001/_cgo_export.c:65:13: error: variable
‘_cgoexp_73d50ba221cf_libusbHotplugCallback’ redeclared as function
65 | extern void _cgoexp_73d50ba221cf_libusbHotplugCallback(void *);
| ^
../../../../tmp/go-build3834344537/b001/cgo-generated-wrappers:12:5: note:
previously declared here
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error: /usr/bin/gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
** Affects: ipp-usb (Ubuntu)
Importance: Undecided
Status: New
** Tags: lto
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to ipp-usb in Ubuntu.
https://bugs.launchpad.net/bugs/1931383
Title:
ipp-usb ftbfs with lto
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipp-usb/+bug/1931383/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs