Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerging shish fails

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
18 posts • Page 1 of 1
Author
Message
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

emerging shish fails

  • Quote

Post by Adel Ahmed » Tue Dec 10, 2024 11:56 am

I'm trying to emerge app-shells/shish but it fails with the following error:

Code: Select all

buffer_truncfile.c:11:9: error: assignment to 'int (*)()' from incompatible pointer type 'ssize_t (*)(int,  const void *, size_t)' {aka 'long int (*)(int,  const void *, long unsigned int)'} [-Wincompatible-pointer-types]
   11 |   b->op = write;
      |         ^
make[2]: *** [../..//build.mk:26: buffer_truncfile.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-shells/shish-0.7_pre3-r1/work/shish-0.7-pre3/lib/buffer'
make[1]: *** [../build.mk:56: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-shells/shish-0.7_pre3-r1/work/shish-0.7-pre3/lib'
make: *** [build.mk:56: all-recursive] Error 1

Code: Select all

t14 /etc/portage/package.use # emerge -pqv '=app-shells/shish-0.7_pre3-r1::gentoo'
[ebuild  N    ] app-shells/shish-0.7_pre3-r1  USE="diet -debug"
emerge info:
https://dpaste.com/GMP3TDDBJ

build log:
https://dpaste.com/BAEBBHMV3
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 12:27 pm

gcc:14 is more strict than gcc:13 on type checking.
Could be earlier gcc works better....

EDIT: tested not working
Same isssue on gcc:14 too

patching seems the only way...

Thks 4 ur attention, interest & support.
Last edited by CaptainBlood on Tue Dec 10, 2024 1:02 pm, edited 1 time in total.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Tue Dec 10, 2024 12:51 pm

Also look at bug #722440.

-- edit --
It seems a package dead upstream.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2113
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Tue Dec 10, 2024 1:07 pm

And has no maintainer in Gentoo.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 1:11 pm

18 years old without maintenance...
Not surprised current build stack fails...

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 1:24 pm

GDH-gentoo wrote:And has no maintainer in Gentoo.
The Not Crying Cow wrote:Prune baby, prune, prune, prune :twisted:
Joke aside possible path to resurrection.
Bug report asking for src rebase welcomed. Amen.

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2113
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Tue Dec 10, 2024 2:02 pm

CaptainBlood wrote:Bug report asking for src rebase welcomed.
If you mean in the official bug tracker, if there's no maintainer in Gentoo, nobody is going to process that bug anyway :wink:
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 2:33 pm

GDH-gentoo wrote:
CaptainBlood wrote:Bug report asking for src rebase welcomed.
If you mean in the official bug tracker, if there's no maintainer in Gentoo, nobody is going to process that bug anyway :wink:
Likely,
However as long as BR isn't closed, I could be an entry point where to provide working ebuild.
BR from above as an alternative could also help.

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

  • Quote

Post by Adel Ahmed » Tue Dec 10, 2024 4:17 pm

i think i will pass on that shell and try something else, thansk everyone
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 5:45 pm

After fixing the *.src cast issues here, I'm hit hard with multiple

Code: Select all

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: YYYY/YYYY.a(yyyyyyyyyy.o):(.rodata+0x40): multiple definition of `parse_chartable'; builtin/builtin.a(builtin_eval.o):(.rodata+0x0): first defined here
for multiple 'first defined' too.
Ends with

Code: Select all

collect2: error: ld returned 1 exit status
Hard time fixing this here.
Any (easy) smart advice how to fix?

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 6:28 pm

Likely matching

Code: Select all

You must not both declare & define your global variables in a header file,
...
Declare your global variables in a header file, define in a cpp file. 
despite *.c here.

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
GDH-gentoo
Advocate
Advocate
User avatar
Posts: 2113
Joined: Sat Jul 20, 2019 7:02 pm
Location: South America

  • Quote

Post by GDH-gentoo » Tue Dec 10, 2024 7:10 pm

One possibility is that some file(s) are missing an extern keyword in certain declarations, but I can't look at the source code right now.

I'm not sure that the package is worth salvaging , but if you are interested, you'll have to search all source files that GCC says contain declarations of the same entities (for C code producing those kinds of error messages, that should be a function or variable) and check what's going on.
Ionen wrote:As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though :)
Top
Hu
Administrator
Administrator
Posts: 24398
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Tue Dec 10, 2024 7:17 pm

Given the age of the code, my first guess would be the -fno-common change from a few years ago.
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 8:11 pm

Nice support from everybody :o
GDH-gentoo wrote:I'm not sure that the package is worth salvaging
You may be right 8)
However it's better to have a running binary to decide... :)
Hu wrote:Given the age of the code, my first guess would be the -fno-common change from a few years ago.
Bingo :D++

Now comes the hard part, ie patching the package to force '-fcommon'

Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 8:29 pm

Code: Select all

-rwxr-xr-x 1 root root 120600 déc.  10 23:23 /bin/dash
-rwxr-xr-x 1 root root 113216 déc.  10 23:20 /bin/shish
Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 9:27 pm

Ready, link soon...
Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
CaptainBlood
Advocate
Advocate
User avatar
Posts: 4237
Joined: Sun Jan 24, 2010 9:38 am

  • Quote

Post by CaptainBlood » Tue Dec 10, 2024 10:28 pm

Report
Thks 4 ur attention, interest & support.
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Top
salahx
Guru
Guru
Posts: 572
Joined: Sat Mar 12, 2005 6:39 am

  • Quote

Post by salahx » Wed Dec 11, 2024 12:36 am

Not optimistic on this one. It looks like dietlibc and and friends are marked for removal, however it was just never gotten around to....
Top
Post Reply

18 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic