Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776775 - app-misc/rlwrap-0.43: stabilisation (was: app-misc/rlwrap-0.42 fails with multiple definition of `slave_pty_sensing_fd')
Summary: app-misc/rlwrap-0.43: stabilisation (was: app-misc/rlwrap-0.42 fails with mul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2021-03-16 22:51 UTC by Steven Trogdon
Modified: 2021-03-17 02:21 UTC (History)
2 users (show)

See Also:
Package list:
app-misc/rlwrap-0.43
Runtime testing required: ---
nattka: sanity-check+


Attachments
emerge --info (emerge.info,6.15 KB, text/plain)
2021-03-16 22:56 UTC, Steven Trogdon
no flags Details
build.log (build.log,11.46 KB, text/plain)
2021-03-16 23:19 UTC, Steven Trogdon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Trogdon 2021-03-16 22:51:10 UTC
The failure appears to be gcc-10 related.

utils.c: In function ‘mirror_args’:
utils.c:758:6: warning: type of ‘command_pid’ defaults to ‘int’ [-Wimplicit-int]
  758 | void mirror_args(command_pid) {
      |      ^~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=native -O2 -pipe -c -o malloc_debug.o malloc_debug.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DDATADIR=\"/usr/share\"  -march=native -O2 -pipe -c -o filter.o filter.c
x86_64-pc-linux-gnu-gcc -DDATADIR=\"/usr/share\"  -march=native -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o rlwrap main.o signals.o readline.o pty.o completion.o term.o ptytty.o utils.o string_utils.o malloc_debug.o filter.o  -lutil  -lreadline -ltinfo
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: pty.o:(.data+0x0): multiple definition of `slave_pty_sensing_fd'; main.o:(.bss+0x38): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:341: rlwrap] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-misc/rlwrap-0.42/work/rlwrap-0.42/src'
make[1]: *** [Makefile:604: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-misc/rlwrap-0.42/work/rlwrap-0.42'
make: *** [Makefile:519: all] Error 2
 * ERROR: app-misc/rlwrap-0.42::gentoo failed (compile phase):

The subject ebuild does compile with gcc-9.3 and app-misc/rlwrap-0.43 builds with gcc-10.2
Comment 1 Steven Trogdon 2021-03-16 22:56:34 UTC
Created attachment 691872 [details]
emerge --info
Comment 2 Steven Trogdon 2021-03-16 23:19:19 UTC
Created attachment 691878 [details]
build.log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-17 02:16:35 UTC
amd64 done
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-17 02:19:56 UTC
x86 done
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-17 02:21:44 UTC
ppc done

all arches done