public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Howto continue after failed emerge
@ 2003-06-07  9:45 Norbert Kamenicky
  2003-06-07 10:01 ` gabor
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Norbert Kamenicky @ 2003-06-07  9:45 UTC (permalink / raw
  To: gentoo-dev

Hi,

I  added support for slovak language to openoffice-1.0.3-r1.ebuild, and 
tried it to emerge.

After 11 hours (5 h localization !!! + 6 h compilation)
it fails on missing file ...
How can I continue without waiting another 11 hours ?

Noro








--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [gentoo-dev] Howto continue after failed emerge
@ 2003-06-07  9:53 Norbert Kamenicky
  2003-06-08 10:44 ` Norbert Kamenicky
  0 siblings, 1 reply; 10+ messages in thread
From: Norbert Kamenicky @ 2003-06-07  9:53 UTC (permalink / raw
  To: gentoo-dev

Hi,

I added support for slovak language to openoffice-1.0.3-r1.ebuild, and
tried it to emerge.

After 11 hours (5 h localization !!! + 6 h compilation)
it fails on missing file ...

How can I continue without waiting another 11 hours ?
(Missing file-dictionary already copied to the tree.)

Noro









--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-07  9:45 [gentoo-dev] Howto continue after failed emerge Norbert Kamenicky
@ 2003-06-07 10:01 ` gabor
  2003-06-07 10:10 ` Philippe Lafoucrière
  2003-06-07 10:39 ` Paul de Vrieze
  2 siblings, 0 replies; 10+ messages in thread
From: gabor @ 2003-06-07 10:01 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

On Sat, 2003-06-07 at 11:45, Norbert Kamenicky wrote:
> Hi,
> 
> I  added support for slovak language to openoffice-1.0.3-r1.ebuild, and 
> tried it to emerge.
> 
> After 11 hours (5 h localization !!! + 6 h compilation)
> it fails on missing file ...
> How can I continue without waiting another 11 hours ?

in short: you can't.


but you can do the following:

emerge ccache.

this will cache the compilation results... 

so if you emerge a package the second time, it will use the
already-compiled files => the compilation will go a LOT faster.




gabor

-- 
"Don't worry. I used the back of my sword. Oh, it's double-sided. 
Sorry." -Zelgadis, Slayers 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-07  9:45 [gentoo-dev] Howto continue after failed emerge Norbert Kamenicky
  2003-06-07 10:01 ` gabor
@ 2003-06-07 10:10 ` Philippe Lafoucrière
  2003-06-07 16:24   ` Daniel Armyr
  2003-06-07 10:39 ` Paul de Vrieze
  2 siblings, 1 reply; 10+ messages in thread
From: Philippe Lafoucrière @ 2003-06-07 10:10 UTC (permalink / raw
  To: Norbert Kamenicky; +Cc: gentoo-dev

On Sat, 2003-06-07 at 11:45, Norbert Kamenicky wrote:
> Hi,
> 
> I  added support for slovak language to openoffice-1.0.3-r1.ebuild, and 
> tried it to emerge.
> 
> After 11 hours (5 h localization !!! + 6 h compilation)
> it fails on missing file ...
> How can I continue without waiting another 11 hours ?


try 

emerge openoffice --resume


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-07  9:45 [gentoo-dev] Howto continue after failed emerge Norbert Kamenicky
  2003-06-07 10:01 ` gabor
  2003-06-07 10:10 ` Philippe Lafoucrière
@ 2003-06-07 10:39 ` Paul de Vrieze
  2003-06-07 11:25   ` Norbert Kamenicky
  2 siblings, 1 reply; 10+ messages in thread
From: Paul de Vrieze @ 2003-06-07 10:39 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 844 bytes --]

On Saturday 07 June 2003 11:45, Norbert Kamenicky wrote:
> Hi,
>
> I  added support for slovak language to openoffice-1.0.3-r1.ebuild, and
> tried it to emerge.
>
> After 11 hours (5 h localization !!! + 6 h compilation)
> it fails on missing file ...
> How can I continue without waiting another 11 hours ?
>
> Noro
>
>

ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild compile
ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild install
ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild package
ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild qmerge

Do all this, then all compiled files will stay where they are and will not be 
recompiled.

Paul

-- 
Paul de Vrieze
Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-07 10:39 ` Paul de Vrieze
@ 2003-06-07 11:25   ` Norbert Kamenicky
  2003-06-07 11:34     ` Paul de Vrieze
  0 siblings, 1 reply; 10+ messages in thread
From: Norbert Kamenicky @ 2003-06-07 11:25 UTC (permalink / raw
  To: gentoo-dev


Paul de Vrieze wrote:

>On Saturday 07 June 2003 11:45, Norbert Kamenicky wrote:
>  
>
>>Hi,
>>
>>I  added support for slovak language to openoffice-1.0.3-r1.ebuild, and
>>tried it to emerge.
>>
>>After 11 hours (5 h localization !!! + 6 h compilation)
>>it fails on missing file ...
>>How can I continue without waiting another 11 hours ?
>>
>>Noro
>>
>>
>>    
>>
>
>ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild compile
>ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild install
>ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild package
>ebuild /usr/portage/app-office/openoffice/openoffice-1.0.3-r1.ebuild qmerge
>

This looks very nice ... :-)
but I once tried to run "ebuid some_another.ebuid compile", but it
deleted source tree
and made it again (I haven't ccache emerged ... mayby that's the reason ?)

since I started emerge with USE and LANGUAGE flags is it necessary to run
"USE="x" LANGUAGE="x" ebuild  path_to/office.ebuild compile"  or  all
environment
will be catched from temp/environment ?



>Do all this, then all compiled files will stay where they are and will not be 
>recompiled.
>
>Paul
>
>  
>



--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-07 11:25   ` Norbert Kamenicky
@ 2003-06-07 11:34     ` Paul de Vrieze
  0 siblings, 0 replies; 10+ messages in thread
From: Paul de Vrieze @ 2003-06-07 11:34 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 793 bytes --]

On Saturday 07 June 2003 13:25, Norbert Kamenicky wrote:
>
> This looks very nice ... :-)
> but I once tried to run "ebuid some_another.ebuid compile", but it
> deleted source tree
> and made it again (I haven't ccache emerged ... mayby that's the reason ?)
>
If you change an ebuild the default configuration indeed reunpacks things. 
There is a feature to stop that, I believe it is called noauto.


> since I started emerge with USE and LANGUAGE flags is it necessary to run
> "USE="x" LANGUAGE="x" ebuild  path_to/office.ebuild compile"  or  all
> environment
> will be catched from temp/environment ?

To be safe use the flags, but I believe it might not be necessary.

Paul

-- 
Paul de Vrieze
Researcher
Mail: pauldv@cs.kun.nl
Homepage: http://www.devrieze.net

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-07 10:10 ` Philippe Lafoucrière
@ 2003-06-07 16:24   ` Daniel Armyr
  0 siblings, 0 replies; 10+ messages in thread
From: Daniel Armyr @ 2003-06-07 16:24 UTC (permalink / raw
  Cc: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

> try 
> 
> emerge openoffice --resume
> 

That will resume the emerge, but the package that failed to compile will still be started from scratch.


-- 
++++++++++++++++++++++++++++++++++++++++
daniel.armyr@home.se	f00-dar@f.kth.se
Tegnergatan 40 rum 505	+46 8 8 31 52 17	
113 59 Stockholm	
++++++++++++++++++++++++++++++++++++++++

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-07  9:53 Norbert Kamenicky
@ 2003-06-08 10:44 ` Norbert Kamenicky
  2003-06-08 14:51   ` Georgi Georgiev
  0 siblings, 1 reply; 10+ messages in thread
From: Norbert Kamenicky @ 2003-06-08 10:44 UTC (permalink / raw
  To: gentoo-dev

Norbert Kamenicky wrote:

> Hi,
>
> I added support for slovak language to openoffice-1.0.3-r1.ebuild, and
> tried it to emerge.
>
> After 11 hours (5 h localization !!! + 6 h compilation)
> it fails on missing file ...
>
> How can I continue without waiting another 11 hours ?
> (Missing file-dictionary already copied to the tree.)
>
> Noro 

Thanks to your answers  I found a way how it's possible ...

to be able to run just compilation, minimally method src_compile()
must be re/written to allow it ...
- it have to include all needed environmental setup,
- if some special monkey thinks have to be done [like localization :-) ],
it's very usefull if it is in extra subroutine, lets it can be easy
to comment out if needed

Compilation then can be done like this:

[VAR]  FEATURES="sandbox ccache noclean noautobuild"  openoffice compile

where "VAR" is a list of needed variables, like USE="...", 
LANGUAGE="...",  ...

in case installation should follow, do not touch the ebuild file, othervise
it will erase complete build tree and start from source unpacking :-( ...

[VAR]  FEATURES="sandbox ccache noclean noautobuild"  openoffice install
[VAR]  FEATURES="sandbox ccache noclean noautobuild"  openoffice qmerge

finish !

PS: "emerge ccache"  before starting to build openoffice is very recommended

Noro


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [gentoo-dev] Howto continue after failed emerge
  2003-06-08 10:44 ` Norbert Kamenicky
@ 2003-06-08 14:51   ` Georgi Georgiev
  0 siblings, 0 replies; 10+ messages in thread
From: Georgi Georgiev @ 2003-06-08 14:51 UTC (permalink / raw
  To: gentoo-dev

On 08/06/2003 at 12:44:19(+0200), Norbert Kamenicky used 1.3Kbytes just to say:
> in case installation should follow, do not touch the ebuild file, othervise
> it will erase complete build tree and start from source unpacking :-( ...

If you do touch the ebuild... make sure you touch /var/tmp/portage/$P/.unpacked
and it's gonna be fine. You may need to touch $WORKDIR first though.

touch /var/tmp/portage/$P/work; sleep 1; touch /var/tmp/portage/$P/.unpacked

-- 
 /^^^^^^^^^^^^^^^^^^^^^^^^^^^\/^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\
/ Georgi Georgiev    (-<     / The most common form of marriage \
\ chutz@chubaka.net  /\   .o)\ proposal: "YOU'RE WHAT!?"        /
/ +81(90)6266-1163  V_/_ |(/)/                                  \
\___________________________/\__________________________________/

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-06-08 14:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-07  9:45 [gentoo-dev] Howto continue after failed emerge Norbert Kamenicky
2003-06-07 10:01 ` gabor
2003-06-07 10:10 ` Philippe Lafoucrière
2003-06-07 16:24   ` Daniel Armyr
2003-06-07 10:39 ` Paul de Vrieze
2003-06-07 11:25   ` Norbert Kamenicky
2003-06-07 11:34     ` Paul de Vrieze
  -- strict thread matches above, loose matches on Subject: below --
2003-06-07  9:53 Norbert Kamenicky
2003-06-08 10:44 ` Norbert Kamenicky
2003-06-08 14:51   ` Georgi Georgiev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox