Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-kernel/geek-sources-3.5.3
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Wed Mar 20, 2013 8:36 pm    Post subject: Reply with quote

Hmmm... I feel somehow sad after reading what you wrote on the front page of the link you gave in your last post.
I can just hope and wish you that, as you wrote, changes will be for the better.
I am afraid all the support I can offer you is only moral and won't be of any efficient help. But anyway...

Congratulations for the work you have achieved, thank you for having freely shared it and GOOD LUCK to you !

Respectfully,

aCOSwt
_________________
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2290
Location: Adendorf, Germany

PostPosted: Thu Mar 21, 2013 11:37 am    Post subject: Reply with quote

I hope the changes you mentioned will indeed be for the better. Thank you very much for your work and your contributions!
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Mar 21, 2013 2:50 pm    Post subject: Reply with quote

init6 ...

I'll third that ... hope things work out, and thanks for the time/effort/etc you put into geek-sources.

best ... khay
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Thu Mar 21, 2013 4:51 pm    Post subject: Reply with quote

This is not the end. As far as possible I will continue to work on a geek-sources. And anyone of you can update geek-sources by patch_maker.sh For example

Code:
patch_maker.sh 3.8.3
"All" in menu - creates all the patches for the current (3.8.3) kernel in folder <layman storage>/init6/sys-kernel/geek-sources/files-`date +"%Y%m%d" It now remains only to test.

At the first start patch_maker.sh creates a local copy of all used repositories in $DISTDIR/geek/<patch_name>. This takes the most time. All subsequent launches local repositories only updated.

А new place to live, a new job and a second higher education here in short my plans.
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Fri Mar 29, 2013 4:41 pm    Post subject: Reply with quote

sys-kernel/geek-sources-{3.8.5/3.9-r4} is out
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Mon Apr 01, 2013 12:14 pm    Post subject: Reply with quote

To eclass/geek-sources.eclass add some new uses support: lqx, pax, pf, phc, scst

sys-kernel/geek-sources-3.8.5 bump & add lqx, pax, pf use!
Back to top
View user's profile Send private message
fragment
n00b
n00b


Joined: 08 Mar 2013
Posts: 26

PostPosted: Tue Apr 02, 2013 3:53 am    Post subject: Reply with quote

Compile error on geek-sources-3.8.5:

Code:

  CC      fs/btrfs/disk-io.o
fs/btrfs/disk-io.c: In function ‘open_ctree’:
fs/btrfs/disk-io.c:2219:4: error: called object ‘64ull’ is not a function
make[2]: *** [fs/btrfs/disk-io.o] Error 1
make[1]: *** [fs/btrfs] Error 2
make: *** [fs] Error 2


Code:

[ebuild   R    ] sys-kernel/geek-sources-3.8.5:3.8.5::init6  USE="aufs bfq branding genpatches symlink uksm zen zfs -build -ck -debian -deblob -fedora -grsecurity -ice -lqx -mageia -pax -pf -rt -suse" 0 kB


gcc-4.7.2-r1
Back to top
View user's profile Send private message
fragment
n00b
n00b


Joined: 08 Mar 2013
Posts: 26

PostPosted: Tue Apr 02, 2013 4:39 am    Post subject: So, how to install <geek-sources-3.8.x now? Reply with quote

Code:

nona linux # emerge =geek-sources-3.7.10

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-kernel/geek-sources-3.7.10 from init6
>>> Failed to emerge sys-kernel/geek-sources-3.7.10, Log file:
>>>  '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.50, 1.42, 2.16
 * Package:    sys-kernel/geek-sources-3.7.10
 * Repository: init6
 * Maintainer: sudormrfhalt@gmail.com kernel@gentoo.org
 * USE:        amd64 aufs bfq branding elibc_glibc genpatches kernel_linux reiser4 symlink uksm userland_GNU zen zfs
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
 * ERROR: sys-kernel/geek-sources-3.7.10 failed (unpack phase):
 *   USE Flag 'lqx' not in IUSE for sys-kernel/geek-sources-3.7.10
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_unpack
 *        environment, line 1081:  Called geek-sources_src_unpack
 *        environment, line  782:  Called use 'lqx'
 *   phase-helpers.sh, line  222:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=sys-kernel/geek-sources-3.7.10'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/geek-sources-3.7.10'`.
 * This ebuild used the following eclasses from overlays:
 *   /mnt/zram/overlay/init6/eclass/geek-sources.eclass
 *   /mnt/zram/overlay/init6/eclass/linux-geek.eclass
 * This ebuild is from an overlay named 'init6': '/mnt/zram/overlay/init6/'
 * The complete build log is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/build.log'.
 * The ebuild environment file is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/environment'.
 * Working directory: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work'
 * S: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work/linux-3.7.10-geek'

 * Messages for package sys-kernel/geek-sources-3.7.10:

 * ERROR: sys-kernel/geek-sources-3.7.10 failed (unpack phase):
 *   USE Flag 'lqx' not in IUSE for sys-kernel/geek-sources-3.7.10
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_unpack
 *        environment, line 1081:  Called geek-sources_src_unpack
 *        environment, line  782:  Called use 'lqx'
 *   phase-helpers.sh, line  222:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=sys-kernel/geek-sources-3.7.10'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/geek-sources-3.7.10'`.
 * This ebuild used the following eclasses from overlays:
 *   /mnt/zram/overlay/init6/eclass/geek-sources.eclass
 *   /mnt/zram/overlay/init6/eclass/linux-geek.eclass
 * This ebuild is from an overlay named 'init6': '/mnt/zram/overlay/init6/'
 * The complete build log is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/build.log'.
 * The ebuild environment file is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/environment'.
 * Working directory: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work'
 * S: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work/linux-3.7.10-geek'
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Tue Apr 02, 2013 6:22 am    Post subject: Reply with quote

fragment wrote:
Compile error on geek-sources-3.8.5:

Code:

  CC      fs/btrfs/disk-io.o
fs/btrfs/disk-io.c: In function ‘open_ctree’:
fs/btrfs/disk-io.c:2219:4: error: called object ‘64ull’ is not a function
make[2]: *** [fs/btrfs/disk-io.o] Error 1
make[1]: *** [fs/btrfs] Error 2
make: *** [fs] Error 2


Code:

[ebuild   R    ] sys-kernel/geek-sources-3.8.5:3.8.5::init6  USE="aufs bfq branding genpatches symlink uksm zen zfs -build -ck -debian -deblob -fedora -grsecurity -ice -lqx -mageia -pax -pf -rt -suse" 0 kB


gcc-4.7.2-r1


I think problem in:

Code:
grep "disk-io.c" /var/portage/layman/init6/sys-kernel/geek-sources/files/3.8.5/zen/*
/var/portage/layman/init6/sys-kernel/geek-sources/files/3.8.5/zen/btrfs-lz4-3.8-20130401.patch:diff -x .git -urN linux-3.8/fs/btrfs/disk-io.c zen/fs/btrfs/disk-io.c
/var/portage/layman/init6/sys-kernel/geek-sources/files/3.8.5/zen/btrfs-lz4-3.8-20130401.patch:--- linux-3.8/fs/btrfs/disk-io.c   2013-02-19 01:58:34.000000000 +0200
/var/portage/layman/init6/sys-kernel/geek-sources/files/3.8.5/zen/btrfs-lz4-3.8-20130401.patch:+++ zen/fs/btrfs/disk-io.c   2013-04-01 12:17:05.338543756 +0300


Try USE="-zen"
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Tue Apr 02, 2013 6:24 am    Post subject: Re: So, how to install <geek-sources-3.8.x now? Reply with quote

fragment wrote:
Code:

nona linux # emerge =geek-sources-3.7.10

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sys-kernel/geek-sources-3.7.10 from init6
>>> Failed to emerge sys-kernel/geek-sources-3.7.10, Log file:
>>>  '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.50, 1.42, 2.16
 * Package:    sys-kernel/geek-sources-3.7.10
 * Repository: init6
 * Maintainer: sudormrfhalt@gmail.com kernel@gentoo.org
 * USE:        amd64 aufs bfq branding elibc_glibc genpatches kernel_linux reiser4 symlink uksm userland_GNU zen zfs
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
 * ERROR: sys-kernel/geek-sources-3.7.10 failed (unpack phase):
 *   USE Flag 'lqx' not in IUSE for sys-kernel/geek-sources-3.7.10
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_unpack
 *        environment, line 1081:  Called geek-sources_src_unpack
 *        environment, line  782:  Called use 'lqx'
 *   phase-helpers.sh, line  222:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=sys-kernel/geek-sources-3.7.10'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/geek-sources-3.7.10'`.
 * This ebuild used the following eclasses from overlays:
 *   /mnt/zram/overlay/init6/eclass/geek-sources.eclass
 *   /mnt/zram/overlay/init6/eclass/linux-geek.eclass
 * This ebuild is from an overlay named 'init6': '/mnt/zram/overlay/init6/'
 * The complete build log is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/build.log'.
 * The ebuild environment file is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/environment'.
 * Working directory: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work'
 * S: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work/linux-3.7.10-geek'

 * Messages for package sys-kernel/geek-sources-3.7.10:

 * ERROR: sys-kernel/geek-sources-3.7.10 failed (unpack phase):
 *   USE Flag 'lqx' not in IUSE for sys-kernel/geek-sources-3.7.10
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_unpack
 *        environment, line 1081:  Called geek-sources_src_unpack
 *        environment, line  782:  Called use 'lqx'
 *   phase-helpers.sh, line  222:  Called die
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 *
 * If you need support, post the output of `emerge --info '=sys-kernel/geek-sources-3.7.10'`,
 * the complete build log and the output of `emerge -pqv '=sys-kernel/geek-sources-3.7.10'`.
 * This ebuild used the following eclasses from overlays:
 *   /mnt/zram/overlay/init6/eclass/geek-sources.eclass
 *   /mnt/zram/overlay/init6/eclass/linux-geek.eclass
 * This ebuild is from an overlay named 'init6': '/mnt/zram/overlay/init6/'
 * The complete build log is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/build.log'.
 * The ebuild environment file is located at '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/temp/environment'.
 * Working directory: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work'
 * S: '/mnt/zram/var/portage/sys-kernel/geek-sources-3.7.10/work/linux-3.7.10-geek'


For =geek-sources-3.7.10 there is no any lqx
Back to top
View user's profile Send private message
fragment
n00b
n00b


Joined: 08 Mar 2013
Posts: 26

PostPosted: Tue Apr 02, 2013 6:30 am    Post subject: Re: So, how to install <geek-sources-3.8.x now? Reply with quote

init_6 wrote:


For =geek-sources-3.7.10 there is no any lqx


I see. How can I to install 3.7.10?
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Tue Apr 02, 2013 6:56 am    Post subject: Re: So, how to install <geek-sources-3.8.x now? Reply with quote

fragment wrote:
Code:

nona linux # emerge =geek-sources-3.7.10

 (cut)
 * The specific snippet of code:
 *                              die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
(cut)


Come from EAPI="5" Bug 449708 - ebuild: make "QA Notice: USE Flag 'nonexistent-iuse' not in IUSE" a fatal error in EAPI=5+

temporary fix:

Code:
diff -u geek-sources-3.7.10.ebuild geek-sources-3.7.10.ebuild~
--- geek-sources-3.7.10.ebuild   2013-04-02 09:45:05.996445977 +0300
+++ geek-sources-3.7.10.ebuild~   2013-04-02 09:54:27.013432299 +0300
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="5"
+EAPI="4"
 DEBLOB_AVAILABLE="1"
 
 KMV="$(echo $PV | cut -f 1-2 -d .)"
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Tue Apr 02, 2013 7:31 am    Post subject: Re: So, how to install <geek-sources-3.8.x now? Reply with quote

fragment wrote:
init_6 wrote:


For =geek-sources-3.7.10 there is no any lqx


I see. How can I to install 3.7.10?


fragment Thanks for the report now fixed in in eclass/geek-sources.eclass
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Sat Apr 06, 2013 10:13 am    Post subject: Reply with quote

Update gentoo-larry-logo-v3.patch with CONFIG_LOGO_LARRY_CLUT224 & CONFIG_LOGO_LARRY_HEAD_CLUT224

Bump sys-kernel/geek-sources-3.8.5 --> sys-kernel/geek-sources-3.8.6
Bump & mask sys-kernel/geek-sources-3.9-r4 --> sys-kernel/geek-sources-3.9-r5
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2290
Location: Adendorf, Germany

PostPosted: Mon Apr 08, 2013 8:14 am    Post subject: Reply with quote

Hi init_6, I have a weird issue:

Whenever new flags are added to GEEKSOURCES_PATCHING_ORDER, the ebuild/eclass issues a warning when there is/are some missing in /etc/portage/kernel.conf. But unfortunately there seems to be a loop issue:
Code:
 * Update to latest upstream ...
 * Applying patch-3.8.6.xz ...
 * Use GEEKSOURCES_PATCHING_ORDER="
 *   zen aufs ck rifs uksm ice rt rtai
 *   debian mageia pardus pld fedora suse xenomai
 *   imq bfq bld branding grsecurity
 *   genpatches reiser4 vserver zfs fix upatch" from /etc/portage/kernel.conf
 * Not all USE flag present in GEEKSOURCES_PATCHING_ORDER from /etc/portage/kernel.conf
 * The following flags are missing: scst pld zen bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs pardus bld rt phc suse rifs reiser4 ice pax branding fedora mageia aufs uksm rtai ck debian xenomai scst pld bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs pardus bld phc suse reiser4 pax branding fedora mageia debian xenomai scst bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs bld phc reiser4 pax branding scst vserver genpatches upatch pf lqx fix zfs phc reiser4 pax scst pf lqx phc pax
 * Probably that's the plan. In that case, never mind.
See? The list of missing flags does not only repeat, it changes and all of the already set flags are in there. It is impossible to tell which are missing this way.

Edith just saw: The liquorix link seems to be wrong.
It's http://liquorix.net/sources/3.8.6-1.patch.gz while the eclass *seems* to look for http://liquorix.net/sources/3.8.6.patch.gz
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Mon Apr 08, 2013 9:11 am    Post subject: Reply with quote

Yamakuzure wrote:
Hi init_6, I have a weird issue:

Whenever new flags are added to GEEKSOURCES_PATCHING_ORDER, the ebuild/eclass issues a warning when there is/are some missing in /etc/portage/kernel.conf. But unfortunately there seems to be a loop issue:
Code:
 * Update to latest upstream ...
 * Applying patch-3.8.6.xz ...
 * Use GEEKSOURCES_PATCHING_ORDER="
 *   zen aufs ck rifs uksm ice rt rtai
 *   debian mageia pardus pld fedora suse xenomai
 *   imq bfq bld branding grsecurity
 *   genpatches reiser4 vserver zfs fix upatch" from /etc/portage/kernel.conf
 * Not all USE flag present in GEEKSOURCES_PATCHING_ORDER from /etc/portage/kernel.conf
 * The following flags are missing: scst pld zen bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs pardus bld rt phc suse rifs reiser4 ice pax branding fedora mageia aufs uksm rtai ck debian xenomai scst pld bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs pardus bld phc suse reiser4 pax branding fedora mageia debian xenomai scst bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs bld phc reiser4 pax branding scst vserver genpatches upatch pf lqx fix zfs phc reiser4 pax scst pf lqx phc pax
 * Probably that's the plan. In that case, never mind.


See? The list of missing flags does not only repeat, it changes and all of the already set flags are in there. It is impossible to tell which are missing this way.


So /etc/portage/kernel.conf looks like:

Code:
> cat /etc/portage/kernel.conf
GEEKSOURCES_PATCHING_ORDER="
zen aufs ck rifs uksm ice rt rtai
debian mageia pardus pld fedora suse xenomai
imq bfq bld branding grsecurity
genpatches reiser4 vserver zfs fix upatch"

?

Count the number of lines in the file.

Code:
cat /etc/portage/kernel.conf | wc -l
5


And count the number of times the scst after the words "The following flags are missing:"

Quote:
* Applying patch-3.8.6.xz ...
* Use GEEKSOURCES_PATCHING_ORDER="
* zen aufs ck rifs uksm ice rt rtai
* debian mageia pardus pld fedora suse xenomai
* imq bfq bld branding grsecurity
* genpatches reiser4 vserver zfs fix upatch" from /etc/portage/kernel.conf
* Not all USE flag present in GEEKSOURCES_PATCHING_ORDER from /etc/portage/kernel.conf
* The following flags are missing: scst pld zen bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs pardus bld rt phc suse rifs reiser4 ice pax branding fedora mageia aufs uksm rtai ck debian xenomai scst pld bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs pardus bld phc suse reiser4 pax branding fedora mageia debian xenomai scst bfq vserver genpatches upatch grsecurity imq pf lqx fix zfs bld phc reiser4 pax branding scst vserver genpatches upatch pf lqx fix zfs phc reiser4 pax scst pf lqx phc pax
* Probably that's the plan. In that case, never mind.


Code:
grep DEFAULT_GEEKSOURCES_PATCHING_ORDER /var/portage/layman/init6/eclass/geek-sources.eclass
   local DEFAULT_GEEKSOURCES_PATCHING_ORDER="pax lqx pf phc scst vserver bfq ck genpatches grsecurity ice imq reiser4 rifs rt rtai xenomai bld uksm aufs mageia fedora suse debian pardus pld zfs branding fix zen upatch";


Variable DEFAULT_GEEKSOURCES_PATCHING_ORDER from /var/portage/layman/init6/eclass/geek-sources.eclass written in one line.

Code:
cat /etc/portage/kernel.conf
GEEKSOURCES_PATCHING_ORDER="zen aufs ck rifs uksm ice rt rtai debian mageia pardus pld fedora suse xenomai imq bfq bld branding grsecurity genpatches reiser4 vserver zfs fix upatch"

(cut)
 * Update to latest upstream ...
 * Applying patch-3.8.6.xz ...                                                                                         [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-kernel/geek-sources-3.8.6/work
>>> Preparing source in /var/tmp/portage/sys-kernel/geek-sources-3.8.6/work/linux-3.8.6-geek ...
 * Use GEEKSOURCES_PATCHING_ORDER="zen aufs ck rifs uksm ice rt rtai debian mageia pardus pld fedora suse xenomai imq bfq bld branding grsecurity genpatches reiser4 vserver zfs fix upatch" from /etc/portage/kernel.conf
 * Not all USE flag present in GEEKSOURCES_PATCHING_ORDER from /etc/portage/kernel.conf
 * The following flags are missing: scst pf lqx phc pax
 * Probably that's the plan. In that case, never mind.


/etc/portage/kernel.conf contains one variable GEEKSOURCES_PATCHING_ORDER written in one line.

If you wish otherwise - so makes changes to geek-sources.eclass

Yamakuzure wrote:
Edith just saw: The liquorix link seems to be wrong.
It's http://liquorix.net/sources/3.8.6-1.patch.gz while the eclass *seems* to look for http://liquorix.net/sources/3.8.6.patch.gz


As for my liquorix & pf need only to bump! :)
Back to top
View user's profile Send private message
verchiel
n00b
n00b


Joined: 25 Nov 2012
Posts: 15

PostPosted: Mon Apr 08, 2013 10:04 am    Post subject: Reply with quote

First of all: Awesome work, спасиба!

I just compiled 3.8.6. I'll let you folks know after reconfiguring and further tweaking how it works for me. I guess this is a new project for my m8 and me for upcoming c0ding n1ghts. =)

Thank you so far init_6! :)
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2290
Location: Adendorf, Germany

PostPosted: Mon Apr 08, 2013 10:11 am    Post subject: Reply with quote

init_6 wrote:
/etc/portage/kernel.conf contains one variable GEEKSOURCES_PATCHING_ORDER written in one line.

If you wish otherwise - so makes changes to geek-sources.eclass
Ok, here you are:
Code:
 # cat /tmp/geek-sources-eclass-allow-linebreak-in-patch-order.patch
--- /var/lib/layman/init6/eclass/geek-sources.eclass~   2013-04-08 09:20:53.000000000 +0200
+++ /var/lib/layman/init6/eclass/geek-sources.eclass    2013-04-08 11:45:03.000000000 +0200
@@ -272,14 +272,19 @@
        local _PATCHDIR="/etc/portage/patches" # for user patch
        local config_file="/etc/portage/kernel.conf"
        local DEFAULT_GEEKSOURCES_PATCHING_ORDER="pax lqx pf phc scst vserver bfq ck genpatches grsecurity ice imq reiser4 rifs rt rtai xenomai bld uksm aufs mageia fedora suse debian pardus pld zfs branding fix zen upatch";
+       local xUserOrder=""
+       local xDefOder=""
        if [ -e "${config_file}" ] ; then
                source "${config_file}"
-               if [ "`echo ${GEEKSOURCES_PATCHING_ORDER} | tr " " "\n"|sort|tr "\n" " "`" == "`echo ${DEFAULT_GEEKSOURCES_PATCHING_ORDER} | tr " " "\n"|sort|tr "\n" " "`" ] ; then
+               xUserOrder="$(echo -n "$GEEKSOURCES_PATCHING_ORDER" | tr '\n' ' ' | tr -s ' ' | tr ' ' '\n' | sort | tr '\n' ' ' | sed -e 's,^\s*,,' -e 's,\s*$,,')"
+               xDefOrder="$(echo -n "$DEFAULT_GEEKSOURCES_PATCHING_ORDER" | tr '\n' ' ' | tr -s ' ' | tr ' ' '\n' | sort | tr '\n' ' ' | sed -e 's,^\s*,,' -e 's,\s*$,,')"
+
+               if [ "x${xUserOrder}" = "x${xDefOrder}" ] ; then
                        ewarn "Use GEEKSOURCES_PATCHING_ORDER=\"${GEEKSOURCES_PATCHING_ORDER}\" from ${config_file}"
                else
                        ewarn "Use GEEKSOURCES_PATCHING_ORDER=\"${GEEKSOURCES_PATCHING_ORDER}\" from ${config_file}"
                        ewarn "Not all USE flag present in GEEKSOURCES_PATCHING_ORDER from ${config_file}"
-                       difference=$(echo "${DEFAULT_GEEKSOURCES_PATCHING_ORDER} ${GEEKSOURCES_PATCHING_ORDER}" | awk '{for(i=1;i<=NF;i++){_a[$i]++}for(i in _a){if(_a[i]==1)print i}}' ORS=" ")
+                       difference=$(echo "${xDefOrder} ${xUserOrder}" | awk '{for(i=1;i<=NF;i++){_a[$i]++}for(i in _a){if(_a[i]==1)print i}}' ORS=" ")
                        ewarn "The following flags are missing: ${difference}"
                        ewarn "Probably that's the plan. In that case, never mind."
                fi
And the result:
Code:
>>> Preparing source in /home/portage/sys-kernel/geek-sources-3.8.6/work/linux-3.8.6-geek ...
 * Use GEEKSOURCES_PATCHING_ORDER="
 *   zen aufs ck rifs uksm ice rt rtai
 *   mageia lqx pardus pld fedora suse xenomai
 *   bfq bld branding grsecurity
 *   genpatches reiser4 zfs fix pax pf phc scst upatch" from /etc/portage/kernel.conf
 * Not all USE flag present in GEEKSOURCES_PATCHING_ORDER from /etc/portage/kernel.conf
 * The following flags are missing: vserver imq debian
 * Probably that's the plan. In that case, never mind.
I hope my solution is ok for you?
init6 wrote:
As for my liquorix & pf need only to bump! :)
And it works after a sync, thank you very much! :)
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Mon Apr 08, 2013 11:30 am    Post subject: Reply with quote

Yamakuzure wrote:
Ok, here you are:


Ok

Apply Yamakuzure fix geek-sources-eclass-allow-linebreak-in-patch-order.patch to eclass/geek-sources.eclass

And Thanks! :)

Yamakuzure wrote:
I hope my solution is ok for you?


Looks like all works fine:

Code:
 * Update to latest upstream ...
 * Applying patch-3.8.6.xz ...                                                                                         [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-kernel/geek-sources-3.8.6/work
>>> Preparing source in /var/tmp/portage/sys-kernel/geek-sources-3.8.6/work/linux-3.8.6-geek ...
 * Use GEEKSOURCES_PATCHING_ORDER="
 * zen aufs ck rifs uksm ice rt rtai
 * debian mageia pardus pld fedora suse xenomai
 * imq bfq bld branding grsecurity
 * genpatches reiser4 vserver zfs fix upatch" from /etc/portage/kernel.conf
 * Not all USE flag present in GEEKSOURCES_PATCHING_ORDER from /etc/portage/kernel.conf
 * The following flags are missing: scst pf lqx phc pax
 * Probably that's the plan. In that case, never mind.


Personally i use DEFAULT_GEEKSOURCES_PATCHING_ORDER so…

Yamakuzure wrote:
And it works after a sync, thank you very much! :)


Thanks you too!
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Mon Apr 08, 2013 11:50 am    Post subject: Reply with quote

verchiel wrote:
First of all: Awesome work, спасиба!

I just compiled 3.8.6. I'll let you folks know after reconfiguring and further tweaking how it works for me. I guess this is a new project for my m8 and me for upcoming c0ding n1ghts. =)

Thank you so far init_6! :)


I am glad if you liked it.

Couple of good tips:
- Do not turn "evil" USE flags like: pax, grsecurity, rt if not sure that you really need it.
- USE="build" does not work very well. It is necessary to solve the problem mount /boot from ebuild or eclass.
- USE flags: lqx, pf - use their own version numbering (!!!) and with them for example in sys-kernel/geek-sources-3.8.6 not used patch-3.8.6.xz
- quiet kernel param in grub not necessary. There is change-default-console-loglevel.patch - set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)


Last edited by 188562 on Mon Apr 08, 2013 11:59 am; edited 1 time in total
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2290
Location: Adendorf, Germany

PostPosted: Mon Apr 08, 2013 11:52 am    Post subject: Reply with quote

Edith Just deleted this post, the previous one already held the answer.
_________________
Edited 220,176 times by Yamakuzure
Back to top
View user's profile Send private message
verchiel
n00b
n00b


Joined: 25 Nov 2012
Posts: 15

PostPosted: Mon Apr 08, 2013 2:01 pm    Post subject: Reply with quote

Up and running, finally I can use the r8169 driver inside the kernel with my 8168 card, I'm so happy not to need to recompile the driver and probe the module everytime! xD

Oh, and most of all, I love the larry image on bootup! ^^

init_6 wrote:
I am glad if you liked it.

Couple of good tips:
- Do not turn "evil" USE flags like: pax, grsecurity, rt if not sure that you really need it.
- USE="build" does not work very well. It is necessary to solve the problem mount /boot from ebuild or eclass.
- USE flags: lqx, pf - use their own version numbering (!!!) and with them for example in sys-kernel/geek-sources-3.8.6 not used patch-3.8.6.xz
- quiet kernel param in grub not necessary. There is change-default-console-loglevel.patch - set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)


Thanks a lot for the hints! I'll begin experimenting with the USE flags later on I guess. :)

Cheers
Dan
Back to top
View user's profile Send private message
deadward
n00b
n00b


Joined: 28 Aug 2009
Posts: 11

PostPosted: Sun Apr 14, 2013 1:46 pm    Post subject: USE="ck" Reply with quote

im having trouble enabling the ck use flag. the patch cannot be downloaded. you guys know whats up? removing ck from use flags obviously works ok. i guess kolivas took his site down? lol too busy mining those bitcons i guess. hahaha

Code:
--2013-04-14 09:38:26--  http://ck.kolivas.org/patches/3.0/3.8/3.8-ck1/patch-3.8-ck1.lrz
Resolving ck.kolivas.org... 198.71.88.2
Connecting to ck.kolivas.org|198.71.88.2|:80... failed: Connection timed out.
Retrying.

--2013-04-14 09:39:29--  (try: 2)  http://ck.kolivas.org/patches/3.0/3.8/3.8-ck1/patch-3.8-ck1.lrz
Connecting to ck.kolivas.org|198.71.88.2|:80... failed: Connection timed out.
Retrying.

--2013-04-14 09:40:31--  (try: 3)  http://ck.kolivas.org/patches/3.0/3.8/3.8-ck1/patch-3.8-ck1.lrz
Connecting to ck.kolivas.org|198.71.88.2|:80... failed: Connection timed out.
Giving up.

!!! Couldn't download 'patch-3.8-ck1.lrz'. Aborting.
 * Fetch failed for 'sys-kernel/geek-sources-3.8.6', Log file:
 *  '/var/tmp/portage/sys-kernel/geek-sources-3.8.6/temp/build.log'
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Sun Apr 14, 2013 2:24 pm    Post subject: Reply with quote

deadward ...

I does seem to be unavailable:

Code:
% wget --trust-server-names=on --spider http://ck.kolivas.org/patches/3.0/3.8/3.8-ck1/patch-3.8-ck1.lrz
Spider mode enabled. Check if remote file exists.
--2013-04-14 16:21:05--  http://ck.kolivas.org/patches/3.0/3.8/3.8-ck1/patch-3.8-ck1.lrz
Resolving ck.kolivas.org... 198.71.88.2
Connecting to ck.kolivas.org|198.71.88.2|:80...^C

... thats about as far as it gets. I imagine its a short term outage, "please try again later" ;)

best ... khay
Back to top
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sun Apr 14, 2013 2:41 pm    Post subject: Re: USE="ck" Reply with quote

deadward wrote:
im having trouble enabling the ck use flag. the patch cannot be downloaded. you guys know whats up? removing ck from use flags obviously works ok. i guess kolivas took his site down? lol too busy mining those bitcons i guess. hahaha

Thanks to the ck-sources package... :wink: ck patches can also be fetched from the gentoo distfiles mirrors :
for example, you can try : http://mirror.ovh.net/gentoo-distfiles/distfiles/patch-3.8-ck1.bz2

Warning its a bz2 while the geek-sources are apparently fetching an lrz, you'll have to fiddle a little.
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 5 of 10

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum