Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10651

net-analyzer/iftop-1.0_pre4-r4::net-kit fails compile stage

    • emerge iftop -v
    • Fix ebuild

      This happens on fairly new VM installs on VirtualBox and Proxmox. I have a couple of release-1.4 boxes with the same version of iftop. No issues on either.

      x86_64-pc-linux-gnu-gcc  -march=znver3 -O2 -pipe -pthread  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o iftop addr_hash.o edline.o hash.o iftop.o ns_hash.o options.o resolver.o screenfilter.o serv_hash.o sorted_list.o threadprof.o ui_common.o ui.o tui.o util.o addrs_ioctl.o addrs_dlpi.o dlcommon.o stringmap.o cfgfile.o vector.o -lncursesw  -lpcap -lm 
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_common.o:(.bss+0xd0): multiple definition of `screen_list'; iftop.o:(.bss+0x310): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_common.o:(.bss+0x10): multiple definition of `peaktotal'; iftop.o:(.bss+0x238): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_common.o:(.bss+0x14): multiple definition of `peakrecv'; iftop.o:(.bss+0x23c): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_common.o:(.bss+0x18): multiple definition of `peaksent'; iftop.o:(.bss+0x240): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_common.o:(.bss+0x20): multiple definition of `totals'; iftop.o:(.bss+0x260): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_common.o:(.bss+0x8): multiple definition of `screen_hash'; iftop.o:(.bss+0x230): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui_common.o:(.bss+0x0): multiple definition of `service_hash'; iftop.o:(.bss+0x228): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui.o:(.bss+0x150): multiple definition of `screen_list'; iftop.o:(.bss+0x310): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui.o:(.bss+0x98): multiple definition of `peaksent'; iftop.o:(.bss+0x240): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui.o:(.bss+0x94): multiple definition of `peakrecv'; iftop.o:(.bss+0x23c): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui.o:(.bss+0x90): multiple definition of `peaktotal'; iftop.o:(.bss+0x238): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui.o:(.bss+0xa0): multiple definition of `totals'; iftop.o:(.bss+0x260): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui.o:(.bss+0x88): multiple definition of `screen_hash'; iftop.o:(.bss+0x230): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: ui.o:(.bss+0x80): multiple definition of `service_hash'; iftop.o:(.bss+0x228): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui.o:(.bss+0xd0): multiple definition of `screen_list'; iftop.o:(.bss+0x310): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui.o:(.bss+0x20): multiple definition of `totals'; iftop.o:(.bss+0x260): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui.o:(.bss+0x18): multiple definition of `peaksent'; iftop.o:(.bss+0x240): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui.o:(.bss+0x14): multiple definition of `peakrecv'; iftop.o:(.bss+0x23c): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui.o:(.bss+0x10): multiple definition of `peaktotal'; iftop.o:(.bss+0x238): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui.o:(.bss+0x8): multiple definition of `screen_hash'; iftop.o:(.bss+0x230): first defined here
      /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: tui.o:(.bss+0x0): multiple definition of `service_hash'; iftop.o:(.bss+0x228): first defined here
      collect2: error: ld returned 1 exit status
      make[2]: *** [Makefile:531: iftop] Error 1
      make[2]: Leaving directory '/var/tmp/portage/net-analyzer/iftop-1.0_pre4-r4/work/iftop-1.0pre4'
      make[1]: *** [Makefile:631: all-recursive] Error 1
      make[1]: Leaving directory '/var/tmp/portage/net-analyzer/iftop-1.0_pre4-r4/work/iftop-1.0pre4'
      make: *** [Makefile:434: all] Error 2
       * ERROR: net-analyzer/iftop-1.0_pre4-r4::net-kit failed (compile phase):
       *   emake failed
       

        1. emerge-info.txt
          9 kB
        2. emerge-pqv.txt
          0.0 kB
        3. iftop-build-log.txt
          16 kB

            adbosco adbosco
            overkill overkill
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: