FS#67899 - [gpm] build failure

Attached to Project: Arch Linux
Opened by T.J. Townsend (blakkheim) - Monday, 14 September 2020, 22:05 GMT
Last edited by Christian Hesse (eworm) - Tuesday, 15 September 2020, 06:47 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The gpm package currently fails to compile, possibly due to GCC 10.

[...]
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L/home/tmp/packages/gpm/trunk/src/gpm/src -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o gpm mice.o twiddler.o synaptics.o daemon/add_mouse.o daemon/init_mice.o daemon/reset_mice.o daemon/build_argv.o daemon/disable_paste.o daemon/do_client.o daemon/do_selection.o daemon/get_console_size.o daemon/get_data.o daemon/getmousedata.o daemon/gpm.o daemon/gpm-killed.o daemon/header.o daemon/main.o daemon/old_main.o daemon/open_console.o daemon/check_kill.o daemon/gpm_exited.o generic/isodigit.o generic/getsym.o daemon/processspecial.o daemon/processconn.o daemon/processmouse.o daemon/processrequest.o daemon/selection_copy.o daemon/selection_paste.o daemon/cmdline.o daemon/loadlut.o daemon/find_mouse_by_name.o daemon/usage.o daemon/check_uniqueness.o daemon/startup.o daemon/wait_text.o report.o tools.o -lm
/sbin/ld: twiddler.o:(.bss+0x4000): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: synaptics.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/add_mouse.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/init_mice.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/reset_mice.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/disable_paste.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/do_client.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/do_selection.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/get_console_size.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/get_data.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/getmousedata.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/gpm.o:(.bss+0x458): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/gpm-killed.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/header.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/main.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/old_main.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/open_console.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/check_kill.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/gpm_exited.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/processspecial.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/processconn.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/processmouse.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/processrequest.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/selection_copy.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/selection_paste.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/cmdline.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/loadlut.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/find_mouse_by_name.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/usage.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/check_uniqueness.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/startup.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: daemon/wait_text.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
/sbin/ld: report.o:(.bss+0x0): multiple definition of `last_selection_time'; mice.o:(.bss+0x30): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:85: gpm] Error 1
[...]

Upstream may have a fix already:

https://github.com/telmich/gpm/commits/master
This task depends upon

Closed by  Christian Hesse (eworm)
Tuesday, 15 September 2020, 06:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  gpm 1.20.7.r38.ge82d1a6-1
Comment by T.J. Townsend (blakkheim) - Monday, 14 September 2020, 22:09 GMT
I can confirm that the master branch on github builds fine.
Comment by loqs (loqs) - Monday, 14 September 2020, 22:48 GMT

Loading...