Re: pkgsrc2012Q1-firefox build fails(finished)

2012-05-11 Thread Pierre Abbat
On Sunday 06 May 2012 00:02:25 Edward wrote:
 Thanks everyone for the support

Exhausted after 15 hrs of compiling, pkg_delete and
 pkg_rolling-replace, finally finished.
last message reads: no more packages to replace; done  Hope my apps
 will run and everything is sync. 8-)

Only 15 hours? My box has taken 22.5 hours so far just on Qt, and several days 
to rebuild everything.

Pierre
-- 
The Black Garden on the Mountain is not on the Black Mountain.


Re: pkgsrc2012Q1-firefox build fails

2012-05-07 Thread Matthias Rampke
Hi,

the problem is that some packages try to use the installed versions of their 
own shared libraries or tools during the build process. In the past I've worked 
around this by

- linking (ln -s) from the old library file to the new one
- 'make replace'ing the package in question
to be sure:
- delete the symlink
- 'make replace' again
then:
- continue with pkg_rolling-replace

I think you can, if pressed on time and this happens a lot for a particular 
.so, just create the symlink, let pkg_rolling-replace run through, then delete 
it.

Not sure if this whole thing is a bug and if so, where.

Best,
Matthias


Re: pkgsrc2012Q1-firefox build fails

2012-05-07 Thread Pierre Abbat
On Monday, May 07, 2012 14:50:31 Matthias Rampke wrote:
 I think you can, if pressed on time and this happens a lot for a particular
 .so, just create the symlink, let pkg_rolling-replace run through, then
 delete it.

pkg_rolling-replace stopped at glib2, which is a big package, saying that 
libpcre.so.0 was missing. I also couldn't get Konqueror to format a webpage as 
HTML, citing the same reason. I copied the so file from a snapshot. Only on 
DragonFly :)

Pierre
-- 
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.


Re: pkgsrc2012Q1-firefox build fails

2012-05-04 Thread Edward

On 05/03/2012 10:46 PM, Justin Sherrill wrote:

I recommend pkg_rolling-replace in general when building from source.
Off the top of my head, this should mark firefox for rebuilding and
then rebuild it and all its dependencies.

pkg_admin set rebuild=YES firefox
pkg_rolling-replace -rsv

You can then tackle other packages for upgrades as you like or run
'pkg_rolling-replace -uv' to rebuild everything.  I'm writing from
memory, so check the man pages for these tools and get an idea for
what they do before you copy and paste anything I typed.


   Hi ,

   I read the pkgsrc howto and used pkg_rolling-replace.
   However now the firefox-11.0 pkgsrc  stops with the following error:

  /usr/libexec/ld-elf.so.2: Shared object libpcre.so.0 not found, 
required by

  libglib-2.0.so.0






Re: pkgsrc2012Q1-firefox build fails

2012-05-04 Thread Justin Sherrill
On Fri, May 4, 2012 at 2:01 PM, Edward martinezedward...@gmail.com wrote:
 On 05/03/2012 10:46 PM, Justin Sherrill wrote:

 I recommend pkg_rolling-replace in general when building from source.
 Off the top of my head, this should mark firefox for rebuilding and
 then rebuild it and all its dependencies.

 pkg_admin set rebuild=YES firefox
 pkg_rolling-replace -rsv

 You can then tackle other packages for upgrades as you like or run
 'pkg_rolling-replace -uv' to rebuild everything.  I'm writing from
 memory, so check the man pages for these tools and get an idea for
 what they do before you copy and paste anything I typed.


   Hi ,

   I read the pkgsrc howto and used pkg_rolling-replace.
   However now the firefox-11.0 pkgsrc  stops with the following error:

      /usr/libexec/ld-elf.so.2: Shared object libpcre.so.0 not found,
 required by
      libglib-2.0.so.0

Maybe try rebuilding devel/glib2 and devel/pcre the same way?

pkg_admin set rebuild=YES glib2
pkg_rolling-replace -rsv

pkg_admin set rebuild=YES pcre
pkg_rolling-replace -rsv

Again, a guess on my part.  I would have thought they'd get rebuilt in
the right order, together.



Re: pkgsrc2012Q1-firefox build fails

2012-05-04 Thread Goetz Isenmann
On Fri, May 04, 2012 at 11:01:54AM -0700, Edward wrote:
 On 05/03/2012 10:46 PM, Justin Sherrill wrote:
 I recommend pkg_rolling-replace in general when building from source.
 Off the top of my head, this should mark firefox for rebuilding and
 then rebuild it and all its dependencies.
 
 pkg_admin set rebuild=YES firefox
 pkg_rolling-replace -rsv
 
 You can then tackle other packages for upgrades as you like or run
 'pkg_rolling-replace -uv' to rebuild everything.  I'm writing from
 memory, so check the man pages for these tools and get an idea for
 what they do before you copy and paste anything I typed.
 
Hi ,
 
I read the pkgsrc howto and used pkg_rolling-replace.
However now the firefox-11.0 pkgsrc  stops with the following error:
 
   /usr/libexec/ld-elf.so.2: Shared object libpcre.so.0 not
 found, required by
   libglib-2.0.so.0

Saw this, when I used pkg_rolling-replace to upgrade from one quaterly
pkgsrc release to the next. In most (all?) cases I got this error,
when the package was rebuild, that contained the shared library
mentioned in the error message. Removing the old package (pkg_delete
-f glib2 in this case) and restaring the pkg_rolling-replace worked
for me. Had to repeat this several times for different packages.




Re: pkgsrc2012Q1-firefox build fails

2012-05-03 Thread Justin Sherrill
On Thu, May 3, 2012 at 11:27 PM, Edward martinezedward...@gmail.com wrote:
 Hi,

 I downloaded and untar pkgsrc2012Q1 into a DragonflyBSD 3.0.2 new install.
 when i tried to build firefox 11.0 from www/firefox it error stops with
 the following message:

   pkg_add: A different version of cairo-1.10.2nb4 is already installed

 any tips how to fix this or i need to use pkgsrc2011Q1 instead?

Installing and upgrading are two different activities in pkgsrc.
There's a bunch of different ways to do it - see:

http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index4h2

I recommend pkg_rolling-replace in general when building from source.
Off the top of my head, this should mark firefox for rebuilding and
then rebuild it and all its dependencies.

pkg_admin set rebuild=YES firefox
pkg_rolling-replace -rsv

You can then tackle other packages for upgrades as you like or run
'pkg_rolling-replace -uv' to rebuild everything.  I'm writing from
memory, so check the man pages for these tools and get an idea for
what they do before you copy and paste anything I typed.