perl-5.10.1_rc2 and patches

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

perl-5.10.1_rc2 and patches

Sergiy Borodych
Hi ALL,

I'm try some days ago a new perl 5.10.1 RC2 on ~amd64
Get perl-5.10.0-r2 ebuild from perl-experimental
I rename it and copy all patches.
Some patches don't applied,
but I disabled them and install ok.

After that run perl-cleaner (fixed version)
and rebuild all

Now I have all worked.
Tested with preferred applications (like gmb)
and some my scripts - all work like a sharm.
But mod_perl not tested yet.

So my question:
What patches (from disabled by me) are critical ?

I disabled patches:

903_all_picdl.patch.bkp
906_all_5.8.7-MakeMaker-RUNPATH.patch.bkp
922_all_CVE-2008-2827.patch.bkp
923_all_cleanup-paths.patch.bkp

What of them I need reedit ?

--
Sergiy Borodych
http://bor.org.ua

Reply | Threaded
Open this post in threaded view
|

Re: perl-5.10.1_rc2 and patches

Nikolai-6
Why do you not build perl from overlay? Why did you copy and rename
ebuild? It's really strange. Just add the perl-experimental overlay
unmask 5.10 and install it as you do with any other package.

Sergiy Borodych wrote:

> Hi ALL,
>
> I'm try some days ago a new perl 5.10.1 RC2 on ~amd64
> Get perl-5.10.0-r2 ebuild from perl-experimental
> I rename it and copy all patches.
> Some patches don't applied,
> but I disabled them and install ok.
>
> After that run perl-cleaner (fixed version)
> and rebuild all
>
> Now I have all worked.
> Tested with preferred applications (like gmb)
> and some my scripts - all work like a sharm.
> But mod_perl not tested yet.
>
> So my question:
> What patches (from disabled by me) are critical ?
>
> I disabled patches:
>
> 903_all_picdl.patch.bkp
> 906_all_5.8.7-MakeMaker-RUNPATH.patch.bkp
> 922_all_CVE-2008-2827.patch.bkp
> 923_all_cleanup-paths.patch.bkp
>
> What of them I need reedit ?
>


Reply | Threaded
Open this post in threaded view
|

Re: perl-5.10.1_rc2 and patches

Sergiy Borodych
On 08/21/09 17:41, Nikolai Drozd wrote:
> Why do you not build perl from overlay? Why did you copy and rename
> ebuild? It's really strange. Just add the perl-experimental overlay
> unmask 5.10 and install it as you do with any other package.

Because in overlay only perl-5.10.0-r2.ebuild exists
but no 5.10.1 :(

--
Sergiy Borodych
http://bor.org.ua

Reply | Threaded
Open this post in threaded view
|

Re: perl-5.10.1_rc2 and patches

Kent Fredric


On Sat, Aug 22, 2009 at 2:50 AM, Sergiy Borodych <[hidden email]> wrote:
On 08/21/09 17:41, Nikolai Drozd wrote:
> Why do you not build perl from overlay? Why did you copy and rename
> ebuild? It's really strange. Just add the perl-experimental overlay
> unmask 5.10 and install it as you do with any other package.

Because in overlay only perl-5.10.0-r2.ebuild exists
but no 5.10.1 :(

--
Sergiy Borodych
http://bor.org.ua


git checkout  -b alternatives alternatives

:)


--
Kent

perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"
Reply | Threaded
Open this post in threaded view
|

Re: perl-5.10.1_rc2 and patches

Sergiy Borodych
On 08/21/09 19:38, Kent Fredric wrote:

>
>
> On Sat, Aug 22, 2009 at 2:50 AM, Sergiy Borodych <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     On 08/21/09 17:41, Nikolai Drozd wrote:
>     > Why do you not build perl from overlay? Why did you copy and rename
>     > ebuild? It's really strange. Just add the perl-experimental overlay
>     > unmask 5.10 and install it as you do with any other package.
>
>     Because in overlay only perl-5.10.0-r2.ebuild exists
>     but no 5.10.1 :(
>
>     --
>     Sergiy Borodych
>     http://bor.org.ua
>
>
> git checkout  -b alternatives alternatives
>
> :)
>

portage # cd /usr/local/portage/layman/perl-experimental
perl-experimental # git checkout -b alternatives alternatives
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'alternatives' which can not be resolved as
commit?


I think you mean

git checkout -b alternatives
git pull origin alternatives

?

But now layman -S give me error :(
"
From git://git.overlays.gentoo.org/proj/perl-overlay
   3ddbd1a..43666a7  master     -> origin/master
You asked me to pull without telling me which branch you
want to merge with, and 'branch.alternatives.merge' in
your configuration file does not tell me either. Please
specify which branch you want to merge on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.
"

What am I doing wrong?

Anyway, thanks for advice :)

P.S.
5.10.1 out - woohoo :)

--
Sergiy Borodych
http://bor.org.ua

Reply | Threaded
Open this post in threaded view
|

Re: perl-5.10.1_rc2 and patches

Kent Fredric
Read all of my response before doing anything ;)

On Wed, Aug 26, 2009 at 1:05 AM, Sergiy Borodych <[hidden email]> wrote:


portage # cd /usr/local/portage/layman/perl-experimental
perl-experimental # git checkout -b alternatives alternatives
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'alternatives' which can not be resolved as
commit?
 
I Meant 'git checkout -b alternatives origin/alternatives' , which checkouts out the remote branch 'alternatives' ( on origin  ) locally.



I think you mean

git checkout -b alternatives
git pull origin alternatives

Nah, that would just give you 2 copies of master with different names. Git 'checkout -b alternatives'  just checks out the current branch under the name 'alternatives', not what you want.  'git pull origin alternatives' will then *merge* the foreign branch called "alternatives" into the local branch called "alternatives" ( a derivative of master) , which is not necessarily what you want in all cases.
 
git checkout -b NewbranchName remoteName/branchname

Is how I recommend you check out branches locally.


?

But now layman -S give me error :(
"
From git://git.overlays.gentoo.org/proj/perl-overlay
  3ddbd1a..43666a7  master     -> origin/master
You asked me to pull without telling me which branch you
want to merge with, and 'branch.alternatives.merge' in
your configuration file does not tell me either.        Please
specify which branch you want to merge on the command line and
try again (e.g. 'git pull <repository> <refspec>').
See git-pull(1) for details.
"

This is because above, you appeared to have created a new branch called 'alternatives' with no remote name.

So when you run "git pull -u -v" in that checked out branch ( what layman does ), it will be going "Ok, you want to update the current branch, hold on, the hell? update from what?!.
 

What am I doing wrong?

Anyway, thanks for advice :)

P.S.
5.10.1 out - woohoo :)

--
Sergiy Borodych
http://bor.org.ua



But you no longer need to worry about the branch, as we just merged the branch back into master :D

Note, we have 5.10.1 out, *and in overlay* now :D

$ cd /tmp/
$ mkdir overlay
$ cd overlay
$ git clone git://git.overlays.gentoo.org/proj/perl-overlay

Initialized empty Git repository in /tmp/overlay/perl-overlay/.git/
remote: Counting objects: 11533, done.
remote: Compressing objects: 100% (6340/6340), done.
remote: Total 11533 (delta 6653), reused 8927 (delta 5110)
Receiving objects: 100% (11533/11533), 2.14 MiB | 426 KiB/s, done.
Resolving deltas: 100% (6653/6653), done.

$ cd perl-overlay/
$ find dev-lang/perl

dev-lang/perl/
dev-lang/perl/perl-5.10.1-r11.ebuild
dev-lang/perl/metadata.xml
dev-lang/perl/Manifest
dev-lang/perl/ChangeLog

$ git pull -u -v

From git://git.overlays.gentoo.org/proj/perl-overlay
 = [up to date]      master     -> origin/master
Already up-to-date.



--
Kent

perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3 ) for ( 9,8,0,7,1,6,5,4,3,2 );"

http://kent-fredric.fox.geek.nz
Reply | Threaded
Open this post in threaded view
|

Re: perl-5.10.1_rc2 and patches

Sergiy Borodych
On 08/25/09 21:28, Kent Fredric wrote:
> Read all of my response before doing anything ;)
ok :)

>
> On Wed, Aug 26, 2009 at 1:05 AM, Sergiy Borodych <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>
>     portage # cd /usr/local/portage/layman/perl-experimental
>     perl-experimental # git checkout -b alternatives alternatives
>     fatal: git checkout: updating paths is incompatible with switching
>     branches.
>     Did you intend to checkout 'alternatives' which can not be resolved as
>     commit?
>
>  
> I Meant 'git checkout -b alternatives origin/alternatives' , which
> checkouts out the remote branch 'alternatives' ( on origin  ) locally.
>
>
>
>     I think you mean
>
>     git checkout -b alternatives
>     git pull origin alternatives
>
>
> Nah, that would just give you 2 copies of master with different names.
> Git 'checkout -b alternatives'  just checks out the current branch under
> the name 'alternatives', not what you want.  'git pull origin
> alternatives' will then *merge* the foreign branch called "alternatives"
> into the local branch called "alternatives" ( a derivative of master) ,
> which is not necessarily what you want in all cases.
>  
> git checkout -b NewbranchName remoteName/branchname
>
> Is how I recommend you check out branches locally.
>
>
>     ?
>
>     But now layman -S give me error :(
>     "
>     From git://git.overlays.gentoo.org/proj/perl-overlay
>     <http://git.overlays.gentoo.org/proj/perl-overlay>
>       3ddbd1a..43666a7  master     -> origin/master
>     You asked me to pull without telling me which branch you
>     want to merge with, and 'branch.alternatives.merge' in
>     your configuration file does not tell me either.        Please
>     specify which branch you want to merge on the command line and
>     try again (e.g. 'git pull <repository> <refspec>').
>     See git-pull(1) for details.
>     "
>
>
> This is because above, you appeared to have created a new branch called
> 'alternatives' with no remote name.
>
> So when you run "git pull -u -v" in that checked out branch ( what
> layman does ), it will be going "Ok, you want to update the current
> branch, hold on, the hell? update from what?!.
>  

thanks for a good explanation

>
>     What am I doing wrong?
>
>     Anyway, thanks for advice :)
>
>     P.S.
>     5.10.1 out - woohoo :)
>
>     --
>     Sergiy Borodych
>     http://bor.org.ua
>
>
>
> But you no longer need to worry about the branch, as we just merged the
> branch back into master :D
>
> Note, we have 5.10.1 out, *and in overlay* now :D

yep
already install it ;)

>
> $ cd /tmp/
> $ mkdir overlay
> $ cd overlay
> $ git clone git://git.overlays.gentoo.org/proj/perl-overlay
> <http://git.overlays.gentoo.org/proj/perl-overlay>
>
> Initialized empty Git repository in /tmp/overlay/perl-overlay/.git/
> remote: Counting objects: 11533, done.
> remote: Compressing objects: 100% (6340/6340), done.
> remote: Total 11533 (delta 6653), reused 8927 (delta 5110)
> Receiving objects: 100% (11533/11533), 2.14 MiB | 426 KiB/s, done.
> Resolving deltas: 100% (6653/6653), done.
>
> $ cd perl-overlay/
> $ find dev-lang/perl
>
> dev-lang/perl/
> dev-lang/perl/perl-5.10.1-r11.ebuild
> dev-lang/perl/metadata.xml
> dev-lang/perl/Manifest
> dev-lang/perl/ChangeLog
>
> $ git pull -u -v
>
> From git://git.overlays.gentoo.org/proj/perl-overlay
> <http://git.overlays.gentoo.org/proj/perl-overlay>
>  = [up to date]      master     -> origin/master
> Already up-to-date.
>
>
>
> --
> Kent
>
> perl -e  "print substr( \"edrgmaM  SPA NOcomil.ic\\@tfrken\", \$_ * 3, 3
> ) for ( 9,8,0,7,1,6,5,4,3,2 );"
>
> http://kent-fredric.fox.geek.nz


--
Sergiy Borodych
http://bor.org.ua