bfgeshka / octopus Goto Github PK
View Code? Open in Web Editor NEWgentoo overlay
gentoo overlay
When i try to use emerge, i get this error everytime for the 'dev-perl/Term-Animation-2.6' package :
ERROR: dev-perl/Term-Animation-2.6::octopus failed (depend phase):
perl-module: EAPI 5 not supported
Call stack:
ebuild.sh, line 618: Called source '/var/lib/layman/octopus/dev-perl/Term-Animation/Term-Animation-2.6.ebuild'
Term-Animation-2.6.ebuild, line 7: Called inherit 'perl-module'
ebuild.sh, line 298: Called __qa_source '/usr/portage/eclass/perl-module.eclass'
ebuild.sh, line 114: Called source '/usr/portage/eclass/perl-module.eclass'
perl-module.eclass, line 32: Called die
The specific snippet of code:
die "${ECLASS}: EAPI ${EAPI:-0} not supported"
The old EAPI 5 seems to be out-of-date (my version of portage is '3.0.30-r3'). Can you fix the ebuild please ?
from #palemoon at freenode:
17:30:59]<MoonchildPM> L29Ah: are you using the recommended toolchain to build Pale Moon?
17:32:19]<L29Ah> gcc (Gentoo Hardened 5.4.0-r3 p1.4, pie-0.6.5) 5.4.0
17:32:49]<L29Ah> it didn't change its behaviour when i moved from 4.9.3
17:32:50]<MoonchildPM> That's a no, then
17:34:18]<MoonchildPM> Please try using gcc 4.9.7; also if you want to build with pie, you must use the --enable-pie config option, not exporting the flags directly.
17:36:39]<L29Ah> i don't export any flags, actually i don't understand how pie is enabled in gentoo since .spec files are gone and $C*FLAGS don't have anything about it
17:37:28]<NewTobinParadigm> mozconfig.. configure options
17:38:40]<L29Ah> i mean, afaik all the executables generated by this compiler are pie by default
17:39:23]<NewTobinParadigm> pastebin or screenshot about:buildconfig for your last build
...
17:39:47]<MoonchildPM> NewTobinParadigm: what he's saying is that the gcc version is use is baking in pie into everything
17:40:11]<NewTobinParadigm> that ... shouldn't be happening
17:41:34]<L29Ah> The Gentoo hardened GCC automatically builds PIEs when building application code, unless explicitly requested not to (with a few built-in exceptions for cases where it is undesirable). The chapter " #PIE describes the toolchain modifications to make this happen, and issues that may arise.
17:42:12]<NewTobinParadigm> our build system isn't aware of pie by default
17:42:35]<NewTobinParadigm> and I have no idea what the effect pie has on the linked code
17:42:46]<NewTobinParadigm> especially for gcc5+
I'll have a stab at this, but may forget it since it doesn't crash. palemoon-9999 became a lot slower about two weeks ago for me tho.
I can't install app-misc/rmlint-9999
from your overlay because of a file collision with dev-libs/glib-2.50.3
over /usr/share/glib-2.0/schemas/gschemas.compiled
.
>>> Installing (2 of 2) app-misc/rmlint-9999::octopus
* checking 45 files for package collisions
* This package will overwrite one or more files that may belong to other
* packages (see list below). You can use a command such as `portageq
* owners / <filename>` to identify the installed package that owns a
* file. If portageq reports that only one package owns a file then do
* NOT file a bug report. A bug report is only useful if it identifies at
* least two or more packages that are known to install the same file(s).
* If a collision occurs and you can not explain where the file came from
* then you should simply ignore the collision since there is not enough
* information to determine if a real problem exists. Please do NOT file
* a bug report at https://bugs.gentoo.org/ unless you report exactly
* which two packages install the same file(s). See
* https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
* to solve the problem. And once again, please do NOT file a bug report
* unless you have completely understood the above message.
*
* Detected file collision(s):
*
* /usr/share/glib-2.0/schemas/gschemas.compiled
*
* Searching all installed packages for file collisions...
*
* Press Ctrl-C to Stop
*
* dev-libs/glib-2.50.3:2::gentoo
* /usr/share/glib-2.0/schemas/gschemas.compiled
*
* Package 'app-misc/rmlint-9999' NOT merged due to file collisions. If
* necessary, refer to your elog messages for the whole content of the
* above message.
>>> Failed to install app-misc/rmlint-9999, Log file:
>>> '/var/tmp/portage/app-misc/rmlint-9999/temp/build.log'
* GNU info directory index is up-to-date.
This is the build log:
The latest ebuild always seems to be a couple of versions behind the latest Pale Moon version. The current tarballs are...
http://linux.palemoon.org/datastore/release/palemoon-27.7.2.en-US.linux-x86_64.tar.bz2
http://linux.palemoon.org/datastore/release/palemoon-27.7.2.en-US.linux-i686.tar.bz2
Could you do a wildcard wget and extract the tarball, like firefox-bin? Something like...
/usr/local/bin/wget -r -l1 -np "http://linux.palemoon.org/datastore/release/" -P /tmp -A "palemoon64.tar.bz2"
/usr/local/bin/wget -r -l1 -np "http://linux.palemoon.org/datastore/release/" -P /tmp -A "palemooni686.tar.bz2"
The ebuild would have to figure out whether it's running under 32 or 64 bit Gentoo, and get the appropriate tarball. The advantage of a palemoon-bin-9999 ebuild is that it would always pull down the latest release version, and you would not have to constantly update version numbers.
And https://www.palemoon.org/sourcecode.shtml suggests gcc5 is more stable than the newer ones.
Stock Pale Moon has included the web dev tools such as Inspect Element and the JS Debugger since version 27.0.2; however, when installing it from this repo, I have no webdev tools.
And there does not seem to be any USE flag to enable this, either.
The webdev tools are an absolutely vital part of a web browser; please add them back in!
Can a uclibc and/or musl version of the palemoon 27.6.0 ebuild be made ?
Some prior work has already been done to try to get palemoon built under uclibc-ng,
and it almost worked. See
https://forum.palemoon.org/viewtopic.php?t=11951 (continued at topic 13868)
http://forum.palemoon.org/viewtopic.php?t=13898 (page 5)
https://github.com/MoonchildProductions/Pale-Moon/issues/910
Could be especially useful for the Lilblue and Bluedragon gentoo releases (see http://releases.freeharbor.net and http://wiki.gentoo.org/wiki/Project:RelEng_GRS
Some packages will be dropped due to lack of interest or time to maintain them.
If you want to return some packages then you can contribute to this overlay with your PRs containing valid ebuilds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.