Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838109 - net-misc/spread-5.0.1-r1 daemon/conf_body.h:59: multiple definition of `yyin'; daemon/lex.yy.c:340: first defined here
Summary: net-misc/spread-5.0.1-r1 daemon/conf_body.h:59: multiple definition of `yyin'...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bison-3.8
  Show dependency tree
 
Reported: 2022-04-12 17:26 UTC by Toralf Förster
Modified: 2022-11-18 05:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.66 KB, text/plain)
2022-04-12 17:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,237.24 KB, text/plain)
2022-04-12 17:26 UTC, Toralf Förster
Details
environment (environment,23.65 KB, text/plain)
2022-04-12 17:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,34.33 KB, application/x-bzip)
2022-04-12 17:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,17.38 KB, application/x-bzip)
2022-04-12 17:26 UTC, Toralf Förster
Details
net-misc:spread-5.0.1-r1:20220412-171236.log (net-misc:spread-5.0.1-r1:20220412-171236.log,106.76 KB, text/plain)
2022-04-12 17:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.73 KB, application/x-bzip)
2022-04-12 17:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-04-12 17:26:41 UTC
monitor.c:1034:17: warning: variable proc_index’ set but not used [-Wunused-but-set-variable]
 1034 |         int     proc_index;
      |                 ^~~~~~~~~~
x86_64-pc-linux-gnu-gcc -o spread -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -rdynamic spread.o protocol.o session.o groups.o membership.o network.o status.o log.o flow_control.o message.o lex.yy.o y.tab.o configuration.o acm.o acp-permit.o auth-null.o auth-ip.o ip_enum.o ../libspread-util/lib/libspread-util.a ../stdutil/lib/libstdutil-threaded-release.a -ldl -lrt -lm -lnsl  
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: configuration.o:(.bss+0x10): multiple definition of `yyin'; lex.yy.o:(.bss+0x18): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:84: spread] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220410-150005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.0
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 8.322_p06 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 4adce983e1d839c67bf75a5bfeb124de106657fa
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 12 15:19:23 2022 +0000

    2022-04-12 15:19:22 UTC

emerge -qpvO net-misc/spread
[ebuild  N    ] net-misc/spread-5.0.1-r1
Comment 1 Toralf Förster gentoo-dev 2022-04-12 17:26:42 UTC
Created attachment 770399 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-12 17:26:44 UTC
Created attachment 770402 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-04-12 17:26:45 UTC
Created attachment 770405 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-04-12 17:26:46 UTC
Created attachment 770408 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-04-12 17:26:47 UTC
Created attachment 770411 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-12 17:26:49 UTC
Created attachment 770414 [details]
net-misc:spread-5.0.1-r1:20220412-171236.log
Comment 7 Toralf Förster gentoo-dev 2022-04-12 17:26:50 UTC
Created attachment 770417 [details]
temp.tar.bz2
Comment 8 Joshua Kinard gentoo-dev 2022-04-12 18:44:48 UTC
I took a look at the affected code, but they're being rather liberal with pointer re-use across multiple files, and I'm not confident in my C knowledge to address that, not to mention the rather numerous warnings elsewhere that gcc generates.

I've sent an e-mail to the listed POC to see if this software is even still being developed.  If I don't get a response within a reasonable time, it may best to being last-rites for this package, as for all intents and purposes, it does not look like it is developed anymore.
Comment 9 Joshua Kinard gentoo-dev 2022-04-20 00:30:38 UTC
(In reply to Joshua Kinard from comment #8)
> I took a look at the affected code, but they're being rather liberal with
> pointer re-use across multiple files, and I'm not confident in my C
> knowledge to address that, not to mention the rather numerous warnings
> elsewhere that gcc generates.
> 
> I've sent an e-mail to the listed POC to see if this software is even still
> being developed.  If I don't get a response within a reasonable time, it may
> best to being last-rites for this package, as for all intents and purposes,
> it does not look like it is developed anymore.

Finally got in contact w/ someone that manages this software and they have confirmed that they can reproduce the build errors under Fedora 35.  I'll update when I know more about how they plan to fix/resolve it.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-20 00:34:58 UTC
IIRC it's about bison 3.8+
Comment 11 Joshua Kinard gentoo-dev 2022-04-20 00:52:17 UTC
(In reply to Sam James from comment #10)
> IIRC it's about bison 3.8+

There's a fair number of other issues that modern gcc has with the package's code.  The software seems it was designed for a specific use-case, which it does very well, and they haven't done rebuilds under more recent Linux distributions recently as result.  They did find that it compiled without issue under macOS 12.2, as well as CentOS7 and CentOS8, with the latter starting to throw several code warnings.  Hopefully their reproduction of the build issue under Fedora 35 will lead to it, as well as the other issues, to all get fixed in a new release.
Comment 12 Larry the Git Cow gentoo-dev 2022-04-20 01:03:06 UTC Comment hidden (obsolete)
Comment 13 Joshua Kinard gentoo-dev 2022-10-13 10:38:18 UTC
Going to initiate last-rites.  I have had no further communication with the developers regarding the build issues.  They do seem to be alive, but they are not maintaining their e-mail systems, so it is hard to get ahold of them without messages getting blocked by Google's spam filters.  Additionally, the project's website had an expired SSL certificate a few days ago, now it's reporting a zero-depth self-signed certificate:

[No Error] (TLS code: X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT+broken_cert)

    Self-signed SSL Certificate: /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=deer.spreadconcepts.com/emailAddress=root@deer.spreadconcepts.com
Comment 14 Larry the Git Cow gentoo-dev 2022-10-13 10:50:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93c8551378c96366e4de5de1c80cc19571f07ad9

commit 93c8551378c96366e4de5de1c80cc19571f07ad9
Author:     Joshua Kinard <kumba@gentoo.org>
AuthorDate: 2022-10-13 10:48:19 +0000
Commit:     Joshua Kinard <kumba@gentoo.org>
CommitDate: 2022-10-13 10:50:36 +0000

    profiles: Mask net-misc/spread for removal
    
    Bug: https://bugs.gentoo.org/838109
    Signed-off-by: Joshua Kinard <kumba@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 15 Larry the Git Cow gentoo-dev 2022-11-18 05:55:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29160e2124424bd4d64c2122ba18cbc67ae575b9

commit 29160e2124424bd4d64c2122ba18cbc67ae575b9
Author:     Joshua Kinard <kumba@gentoo.org>
AuthorDate: 2022-11-18 05:26:10 +0000
Commit:     Joshua Kinard <kumba@gentoo.org>
CommitDate: 2022-11-18 05:54:46 +0000

    net-misc/spread: remove last rited package
    
    Closes: https://bugs.gentoo.org/838109
    Closes: https://bugs.gentoo.org/725156
    Signed-off-by: Joshua Kinard <kumba@gentoo.org>

 net-misc/spread/Manifest               |  2 --
 net-misc/spread/files/spread.init.d    | 24 ------------------------
 net-misc/spread/metadata.xml           |  8 --------
 net-misc/spread/spread-4.4.1-r1.ebuild | 32 --------------------------------
 net-misc/spread/spread-5.0.1-r1.ebuild | 32 --------------------------------
 5 files changed, 98 deletions(-)