Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875890 - Install phase: cannot find dosym and newins (SPARC) (firefox)
Summary: Install phase: cannot find dosym and newins (SPARC) (firefox)
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-07 17:51 UTC by Red
Modified: 2022-10-08 04:54 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge.info,41.88 KB, text/plain)
2022-10-07 17:56 UTC, Red
Details
emerge -pqv (emerge.pqv,13.78 KB, text/html)
2022-10-07 17:57 UTC, Red
Details
the enviroment file (environment.xz,93.28 KB, application/x-xz)
2022-10-07 18:02 UTC, Red
Details
full build log (build.log.xz,785.61 KB, application/x-xz)
2022-10-07 18:03 UTC, Red
Details
the modified ebuild, filesdir, etc (firefox.tar.xz,72.30 KB, application/x-xz)
2022-10-07 18:07 UTC, Red
Details
emerge --info (emerge.info,8.46 KB, text/plain)
2022-10-07 18:24 UTC, Red
Details
emerge -pqv (emerge.pqv,909 bytes, text/plain)
2022-10-07 18:25 UTC, Red
Details
the enviroment file (environment.xz,45.20 KB, application/x-xz)
2022-10-07 18:26 UTC, Red
Details

Note You need to log in before you can comment on or make changes to this bug.
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