Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 875890

Summary: Install phase: cannot find dosym and newins (SPARC) (firefox)
Product: Portage Development Reporter: Red <rrogalski>
Component: Core - Ebuild SupportAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: Sparc   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
emerge -pqv
the enviroment file
full build log
the modified ebuild, filesdir, etc
emerge --info
emerge -pqv
the enviroment file

Description Red 2022-10-07 17:51:47 UTC
I've been modifying www-client/firefox-102.3.0 to work on my sparc machine. This has mostly been adding in new patches, but also includes using a 'fake node' of sorts to get around the node requirement (node does not support sparc), and some minor ebuild tweaks. 

It compiles successfully (\o/) and the binary does in fact run and work. However, during the install phase, errors come up like this: `/var/tmp/portage/www-client/firefox-102.3.0/temp/environment: line 5623: newins: command not found`. 

I tried reinstalling portage and did another `ebuild firefox-102.3.0.ebuild clean merge`, and the error persists. 

My emerge --info, build log, and modified www-client/firefox are coming up shortly.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-07 17:55:41 UTC
In addition to the info you're working on adding...

- Does it happen if you use emerge(1) instead of ebuild(1)? 
- Please attach the environment file too (/var/tmp/portage/www-client/firefox-102.3.0/temp/environment).
- Have you noticed this with any other packages?
- Could you try downgrading Portage to 3.0.30 and see if it happens then?
Comment 2 Red 2022-10-07 17:56:23 UTC
Created attachment 822751 [details]
emerge --info
Comment 3 Red 2022-10-07 17:57:15 UTC
Created attachment 822754 [details]
emerge -pqv
Comment 4 Red 2022-10-07 18:00:25 UTC
Have not tried with emerge, I will queue that up shortly :)

Have never had a problem like this before, no.

If trying it with emerge fails, I will attempt downgrading portage to 3.0.30, and repeat :D
Comment 5 Red 2022-10-07 18:02:37 UTC
Created attachment 822757 [details]
the enviroment file
Comment 6 Red 2022-10-07 18:03:06 UTC
Created attachment 822760 [details]
full build log
Comment 7 Red 2022-10-07 18:07:32 UTC
Created attachment 822763 [details]
the modified ebuild, filesdir, etc
Comment 8 Red 2022-10-07 18:24:57 UTC
Created attachment 822766 [details]
emerge --info
Comment 9 Red 2022-10-07 18:25:37 UTC
Created attachment 822769 [details]
emerge -pqv
Comment 10 Red 2022-10-07 18:26:29 UTC
Created attachment 822772 [details]
the enviroment file
Comment 11 Red 2022-10-07 18:27:35 UTC
sorry, added some attachments as pastebin html instead of plain. should all be fixed now ^.^
Comment 12 Red 2022-10-07 22:01:51 UTC
Tried with emerge. Same error. Downgraded portage to 3.0.30-r5. Same error. :/

If it would make it easier, would anyone want ssh access to my system?
Comment 13 Mike Gilbert gentoo-dev 2022-10-08 01:51:20 UTC
Your modified ebuild sets PATH to a value that does not contain the ebuild-helpers directory. Don't do that.
Comment 14 Red 2022-10-08 04:54:08 UTC
Aaaaaaah sorry, I don't even remember doing that. :/

I appreciate your help :), running now without the path change