Re: binary packages for 2012Q1

2012-05-23 Thread Pierre Abbat
Just passed 10%, though the big ones qt4 and kdelibs4 are already built.

Pierre
-- 
li fi'u vu'u fi'u fi'u du li pa


Re: binary packages for 2012Q1

2012-05-19 Thread Pierre Abbat
On Friday 18 May 2012 14:14:45 Pierre Abbat wrote:
> Packages for i386 are building. It's about 4% done, by number of packages,
> though qt4 and maybe some packages that depend on it will take a day or
> more.

It's currently at 6% by number of packages, but it spent all the time I was at 
church building qt4, which will probably finish tomorrow. It's also slow to 
respond to other things, even though swap usage and load average are low.

Pierre
-- 
La sal en el mar es más que en la sangre.
Le sel dans la mer est plus que dans le sang.



Re: binary packages for 2012Q1

2012-05-18 Thread Pierre Abbat
Packages for i386 are building. It's about 4% done, by number of packages, 
though qt4 and maybe some packages that depend on it will take a day or more.

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci


Re: binary packages for 2012Q1

2012-05-08 Thread Chris Turner

On 05/08/12 14:17, Pierre Abbat wrote:


The problem is that py26-twisted is required for some packages, and it
conflicts with py27-twisted, which is apparently required for some packages
that it will upgrade later.


You might review the python options from iirc lang/python/buildlink3.mk -
there are some knobs for 'allowed / preferred, etc' python versions which
may/may not work to help with those packages.

Cheers,

- Chris


Re: binary packages for 2012Q1

2012-05-08 Thread Pierre Abbat
# pkg_rolling-replace -u -D MAKE_JOBS=3 -x orc -x coreutils -x py27-twisted

...
changing mode of /usr/obj/pkgsrc/net/py-
twisted/work/.destdir/usr/pkg/bin/twistd to 755
changing mode of /usr/obj/pkgsrc/net/py-
twisted/work/.destdir/usr/pkg/bin/ckeygen to 755
=> Automatic manual page handling
===> Building binary package for py27-twisted-11.0.0
=> Creating binary package /usr/pkgsrc/packages/All/py27-twisted-11.0.0.tgz
===> Replacing for py27-twisted-11.0.0
WARNING: experimental target - DATA LOSS MAY OCCUR.
Creating binary package: py27-twisted-10.1.0
Creating package /usr/obj/pkgsrc/net/py-twisted/work/py27-twisted-10.1.0
===> Updating using binary package of py27-twisted-11.0.0
/usr/pkg/sbin/pkg_add -K /var/db/pkg -U -D /usr/pkgsrc/packages/All/py27-
twisted-11.0.0.tgz
pkg_add: Conflicting PLIST with py26-twisted-10.1.0: bin/cftp
pkg_add: 1 package addition failed
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/py-twisted
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/py-twisted
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/py-twisted
*** 'make replace' failed for package py27-twisted.
*** Please read the errors listed above, fix the problem,
*** then re-run pkg_rolling-replace to continue.

The problem is that py26-twisted is required for some packages, and it 
conflicts with py27-twisted, which is apparently required for some packages 
that it will upgrade later. I'm going to run it with -k. It's already taken 
several days, and from "ls -lrt /usr/pkg/bin" it looks like it's not even a 
fourth done.

Pierre
-- 
gau do li'i co'e kei do


Re: binary packages for 2012Q1

2012-05-07 Thread Pierre Abbat
On Monday, May 07, 2012 08:56:29 Pierre Abbat wrote:
> orc is required by gst-plugins0.10-base, which is required by swfdec, which
> isn't required by anything. I'm going to remove it and see what happens.

orc turned out to be required by a bunch of KDE programs.

===> Building for coreutils-8.13
/usr/pkg/bin/bmake  all-recursive
Making all in lib
/usr/pkg/bin/bmake  all-recursive
Making all in src
/usr/pkg/bin/bmake  all-am
  CCLD who
  CCLD users
  CCLD uptime
  CCLD stty
  CCLD stdbuf
  CCLD sort
sort.o: In function `sortlines':
sort.c:(.text+0x35bb): undefined reference to `pthread_create'
*** Error code 1

I'm continuing without upgrading orc or coreutils.

Pierre
-- 
Don't buy a French car in Holland. It may be a citroen.


Re: binary packages for 2012Q1

2012-05-07 Thread Pierre Abbat
I ran into another snag:

gmake[2]: Leaving directory `/usr/obj/pkgsrc/devel/orc/work/orc-0.4.16/tools'
Making all in examples
gmake[2]: Entering directory 
`/usr/obj/pkgsrc/devel/orc/work/orc-0.4.16/examples'
../tools/orcc --implementation -o example1orc.c ./example1orc.orc
../tools/orcc --header -o example1orc.h ./example1orc.orc
../tools/orcc --implementation -o example2orc.c ./example2orc.orc
../tools/orcc --header -o example2orc.h ./example2orc.orc
../tools/orcc --implementation -o example3orc.c ./example3orc.orc
../tools/orcc --header -o example3orc.h ./example3orc.orc
gmake[2]: *** [example3orc.h] Segmentation fault: 11 (core dumped)
gmake[2]: *** Deleting file `example3orc.h'
gmake[2]: *** Waiting for unfinished jobs
gmake[2]: *** [example3orc.c] Segmentation fault: 11 (core dumped)
gmake[2]: *** Deleting file `example3orc.c'
gmake[2]: Leaving directory 
`/usr/obj/pkgsrc/devel/orc/work/orc-0.4.16/examples'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/obj/pkgsrc/devel/orc/work/orc-0.4.16'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/devel/orc
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/orc
*** 'make replace' failed for package orc.
*** Please read the errors listed above, fix the problem,
*** then re-run pkg_rolling-replace to continue.

orc is required by gst-plugins0.10-base, which is required by swfdec, which 
isn't required by anything. I'm going to remove it and see what happens.

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci


Re: binary packages for 2012Q1

2012-05-07 Thread Justin Sherrill
On Mon, May 7, 2012 at 1:54 AM, Pierre Abbat  wrote:
> On Sunday, May 06, 2012 21:10:24 Justin Sherrill wrote:
>> pkgtools/pbulk will build everything, upload it, and produce a report.
>>  There's very little documentation, though.  I think you can also
>> 'bmake package' for individual items and it will create packages in
>> /usr/pkgsrc/packages.
>
> I installed pbulk and am looking at the conf file. It looks like I need to
> change these:
> base_url should end in 3.1.
> master_mode should be off; I have only one DragonFly box.
> bulklog should be /var/log/bulklog ?
> packages is where the completed packages are stored? If so, it should be
> /olv/packages .
>
> I have a few entries in mk.conf to allow certain licenses and build Firefox
> with the official branding. These should not be enabled when building packages
> for public consumption. Do I have to rename mk.conf when building packages?

Build in a chroot so that it doesn't interfere with the machine's
normal files.  I wrote down my steps here:

http://www.dragonflybsd.org/docs/developer/PbulkBuilding/

And I tried to put them in scripts.  A caveat: this was done to reduce
the amount of work it takes to set up, not to make the documentation
any clearer.

http://shiningsilence.com/simplepbulk/



Re: binary packages for 2012Q1

2012-05-06 Thread Pierre Abbat
On Sunday, May 06, 2012 21:10:24 Justin Sherrill wrote:
> pkgtools/pbulk will build everything, upload it, and produce a report.
>  There's very little documentation, though.  I think you can also
> 'bmake package' for individual items and it will create packages in
> /usr/pkgsrc/packages.

I installed pbulk and am looking at the conf file. It looks like I need to 
change these:
base_url should end in 3.1.
master_mode should be off; I have only one DragonFly box.
bulklog should be /var/log/bulklog ?
packages is where the completed packages are stored? If so, it should be 
/olv/packages .

I have a few entries in mk.conf to allow certain licenses and build Firefox 
with the official branding. These should not be enabled when building packages 
for public consumption. Do I have to rename mk.conf when building packages?

Pierre
-- 
loi mintu se ckaji danlu cu jmaji


Re: binary packages for 2012Q1

2012-05-06 Thread Justin Sherrill
On Sun, May 6, 2012 at 10:16 PM, Pierre Abbat  wrote:
> I ran into a snag. I ran pkg_rolling-replace -u -D MAKE_JOBS=3 a few times. I
> ran into a backup program with a license it didn't like; since I'm not using
> it, I removed it. Then I ran into this:
>
> rr> x11/xfontsel - xfontsel-1.0.2nb1 < xfontsel-1.0.2nb2
> rr> x11/xlogo - xlogo-1.0.2 < xlogo-1.0.2nb1
> rr> x11/xscreensaver - xscreensaver-5.14 < xscreensaver-5.15
> rr> x11/xterm - xterm-259 < xterm-259nb2
> rr> x11/zenity - zenity-2.32.1nb2 < zenity-2.32.1nb5
> *** Unable to read PKGCHK_CONF '/usr/pkgsrc/pkgchk_update-
> darner.ixazon.lan.conf'
> RR> Excluding the following mismatched packages:
> rr> EXCLUDE=[]
> RR> Checking for rebuild-requested installed packages (rebuild=YES)
> RR> Checking for unsafe installed packages (unsafe_depends=YES)
> RR> Building dependency graph for installed packages
> RR> Tsorting dependency graph
> RR> Selecting autoconf (devel/autoconf) as next package to replace
> RR> Checking if autoconf has new depends...
> RR> autoconf has the following new depends (need to re-tsort):
> rr> [help2man]
> RR> Tsorting dependency graph
> RR> Selecting py26-asn1 (security/py-asn1) as next package to replace
> RR> Checking if py26-asn1 has new depends...
> RR> py26-asn1 has the following new depends (need to re-tsort):
> rr> [py27-setuptools python27]
> RR> Tsorting dependency graph
> pkg_info: can't find package `py27-setuptools'
> *** Couldn't extract PKGPATH from installed package py27-setuptools
> *** Please read the errors listed above, fix the problem,
> *** then re-run pkg_rolling-replace to continue.
>
> There are lots of packages with "py27" in their names in pkgin, but none is
> installed. In pkgsrc 2012Q1, there's only one package with a name containing
> py27: lang/py27-html-docs. py27-setuptools is present in pkgin, but not
> installed. How do I fix the problem?

Install py-setuptools.


Re: binary packages for 2012Q1

2012-05-06 Thread Pierre Abbat
I ran into a snag. I ran pkg_rolling-replace -u -D MAKE_JOBS=3 a few times. I 
ran into a backup program with a license it didn't like; since I'm not using 
it, I removed it. Then I ran into this:

rr> x11/xfontsel - xfontsel-1.0.2nb1 < xfontsel-1.0.2nb2
rr> x11/xlogo - xlogo-1.0.2 < xlogo-1.0.2nb1
rr> x11/xscreensaver - xscreensaver-5.14 < xscreensaver-5.15
rr> x11/xterm - xterm-259 < xterm-259nb2
rr> x11/zenity - zenity-2.32.1nb2 < zenity-2.32.1nb5
*** Unable to read PKGCHK_CONF '/usr/pkgsrc/pkgchk_update-
darner.ixazon.lan.conf'
RR> Excluding the following mismatched packages:
rr> EXCLUDE=[]
RR> Checking for rebuild-requested installed packages (rebuild=YES)
RR> Checking for unsafe installed packages (unsafe_depends=YES)
RR> Building dependency graph for installed packages
RR> Tsorting dependency graph
RR> Selecting autoconf (devel/autoconf) as next package to replace
RR> Checking if autoconf has new depends...
RR> autoconf has the following new depends (need to re-tsort):
rr> [help2man]
RR> Tsorting dependency graph
RR> Selecting py26-asn1 (security/py-asn1) as next package to replace
RR> Checking if py26-asn1 has new depends...
RR> py26-asn1 has the following new depends (need to re-tsort):
rr> [py27-setuptools python27]
RR> Tsorting dependency graph
pkg_info: can't find package `py27-setuptools'
*** Couldn't extract PKGPATH from installed package py27-setuptools
*** Please read the errors listed above, fix the problem,
*** then re-run pkg_rolling-replace to continue.

There are lots of packages with "py27" in their names in pkgin, but none is 
installed. In pkgsrc 2012Q1, there's only one package with a name containing 
py27: lang/py27-html-docs. py27-setuptools is present in pkgin, but not 
installed. How do I fix the problem?

Pierre
-- 
loi mintu se ckaji danlu cu jmaji


Re: binary packages for 2012Q1

2012-05-06 Thread Justin Sherrill
On Sun, May 6, 2012 at 4:19 PM, Pierre Abbat  wrote:
> On Sunday, May 06, 2012 13:17:39 Justin Sherrill wrote:
>> When packages get name changes, there's no automated way to
>> transition.  I assume what happened is postfix-current became postfix
>> and some of the KDE packages were renamed.  Looking at the kde4
>> meta-package, I don't see any of those listed as dependencies.
>
> kde4 doesn't depend on kdebase4?!
>
> Also how can I set up my computer to build packages for others to use?

pkgtools/pbulk will build everything, upload it, and produce a report.
 There's very little documentation, though.  I think you can also
'bmake package' for individual items and it will create packages in
/usr/pkgsrc/packages.



Re: binary packages for 2012Q1

2012-05-06 Thread Pierre Abbat
On Sunday, May 06, 2012 13:17:39 Justin Sherrill wrote:
> When packages get name changes, there's no automated way to
> transition.  I assume what happened is postfix-current became postfix
> and some of the KDE packages were renamed.  Looking at the kde4
> meta-package, I don't see any of those listed as dependencies.

kde4 doesn't depend on kdebase4?!

Also how can I set up my computer to build packages for others to use?

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci


Re: binary packages for 2012Q1

2012-05-06 Thread Justin Sherrill
On Sun, May 6, 2012 at 9:59 AM, Pierre Abbat  wrote:
> On Wednesday, May 02, 2012 22:02:18 Justin Sherrill wrote:
>> My preferred method, when binary packages aren't available, is to
>> update /usr/pkgsrc to the appropriate release and then use
>> pkg_rolling-replace to upgrade the packages I use.  It'll take a
>> little bit to build programs, but the amount of actual downtime will
>> be minimal.  You can say, "upgrade everything" using that, though it's
>> more manageable if you tackle it major app by major app, in my
>> opinion.  You certainly have enough space to update.
>
> What do you count as downtime? When it's in the middle of rebuilding kde, and
> I want to use kde, I consider kde down. I've been in that situation with
> Source Mage, and I got kwrite windows with the toolbar icons totally mixed up.
>
> I'm running pkg_check before starting to rebuild, and I got this:
>
> WARNING: No graphics/kdegraphics4/Makefile - package moved or obsolete?
> WARNING: No misc/kdeutils4/Makefile - package moved or obsolete?
> WARNING: No mail/postfix-current/Makefile - package moved or obsolete?
> WARNING: No x11/kdebase-runtime4/Makefile - package moved or obsolete?
> WARNING: No x11/kdebase-workspace4/Makefile - package moved or obsolete?
> WARNING: No x11/kdebase4/Makefile - package moved or obsolete?
> WARNING: No x11/kdebindings4-python/Makefile - package moved or obsolete?
>
> The kde packages are still in wip (which I just updated); there is a
> mail/postfix.

When packages get name changes, there's no automated way to
transition.  I assume what happened is postfix-current became postfix
and some of the KDE packages were renamed.  Looking at the kde4
meta-package, I don't see any of those listed as dependencies.



Re: binary packages for 2012Q1

2012-05-06 Thread Pierre Abbat
On Wednesday, May 02, 2012 22:02:18 Justin Sherrill wrote:
> My preferred method, when binary packages aren't available, is to
> update /usr/pkgsrc to the appropriate release and then use
> pkg_rolling-replace to upgrade the packages I use.  It'll take a
> little bit to build programs, but the amount of actual downtime will
> be minimal.  You can say, "upgrade everything" using that, though it's
> more manageable if you tackle it major app by major app, in my
> opinion.  You certainly have enough space to update.

What do you count as downtime? When it's in the middle of rebuilding kde, and 
I want to use kde, I consider kde down. I've been in that situation with 
Source Mage, and I got kwrite windows with the toolbar icons totally mixed up.

I'm running pkg_check before starting to rebuild, and I got this:

WARNING: No graphics/kdegraphics4/Makefile - package moved or obsolete?
WARNING: No misc/kdeutils4/Makefile - package moved or obsolete?
WARNING: No mail/postfix-current/Makefile - package moved or obsolete?
WARNING: No x11/kdebase-runtime4/Makefile - package moved or obsolete?
WARNING: No x11/kdebase-workspace4/Makefile - package moved or obsolete?
WARNING: No x11/kdebase4/Makefile - package moved or obsolete?
WARNING: No x11/kdebindings4-python/Makefile - package moved or obsolete?

The kde packages are still in wip (which I just updated); there is a 
mail/postfix.

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


Re: binary packages for 2012Q1

2012-05-02 Thread Justin Sherrill
On Wed, May 2, 2012 at 11:05 AM, Pierre Abbat  wrote:
> On Tuesday, May 01, 2012 21:06:14 Justin Sherrill wrote:
>> Are you asking about doing a full bulk build of all the packages, or
>> adding/upgrading packages on your system?
>
> Both. I'd like to upgrade the packages on my system, but I don't want a long
> time when the packages installed are partly old and partly new because it's
> still compiling them.

My preferred method, when binary packages aren't available, is to
update /usr/pkgsrc to the appropriate release and then use
pkg_rolling-replace to upgrade the packages I use.  It'll take a
little bit to build programs, but the amount of actual downtime will
be minimal.  You can say, "upgrade everything" using that, though it's
more manageable if you tackle it major app by major app, in my
opinion.  You certainly have enough space to update.


Re: binary packages for 2012Q1

2012-05-02 Thread Edward

On 05/01/2012 12:22 PM, Justin Sherrill wrote:

It will

On Tue, May 1, 2012 at 1:17 PM, Edward M  wrote:

On 05/01/2012 06:30 AM, Justin Sherrill wrote:

I'd advise building from source instead of waiting for binaries at
this point for 2012Q1.

  This may sound like a noob question:-)
   Will 2012Q1 work on DFlyBSD 3.0.2 or I have to continue using 2011Q4?


It should work.  If you already have 2011Q4 in /usr/pkgsrc, you can
change it like so:

cd /usr/pkgsrc
git branch pkgsrc-2012Q1 origin/pkgsrc-2012Q1
git checkout pkgsrc-2012Q1
git pull

You might need to 'git fetch origin' if you haven't updated in quite a
while and it doesn't realize 2012Q1 is there.  I'm typing this from
memory, not from actually doing it, so be careful.

I've used pkg_rolling-replace to perform updates in the past.  This
page is a good resource to check:

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


  Thanks for the link. I"ll give it a go:-)


Re: binary packages for 2012Q1

2012-05-02 Thread Pierre Abbat
On Tuesday, May 01, 2012 21:06:14 Justin Sherrill wrote:
> Are you asking about doing a full bulk build of all the packages, or
> adding/upgrading packages on your system?

Both. I'd like to upgrade the packages on my system, but I don't want a long 
time when the packages installed are partly old and partly new because it's 
still compiling them.

Pierre
-- 
gau do li'i co'e kei do


Re: binary packages for 2012Q1

2012-05-01 Thread Pierre Abbat
On Tuesday, May 01, 2012 15:26:04 Justin Sherrill wrote:
> On Tue, May 1, 2012 at 2:50 PM, Pierre Abbat  wrote:
> If everything goes well, maybe a week and <50G, though I haven't
> tracked disk usage over the whole history of the build.
> 
> It never goes well.  Disks fill from hammer history, packages hang
> during build, machines crash, etc.  Yeah, I'm whining.

I have two disks, one with 21 GB free and one with 440 GB free. /usr/obj and 
/usr/pkgsrc are on the small disk. How do I build the packages?

Pierre
-- 
Don't buy a French car in Holland. It may be a citroen.


Re: binary packages for 2012Q1

2012-05-01 Thread Justin Sherrill
On Tue, May 1, 2012 at 2:50 PM, Pierre Abbat  wrote:
> On Tuesday, May 01, 2012 09:30:50 Justin Sherrill wrote:
>> On Tue, May 1, 2012 at 9:20 AM, Justin Sherrill
>>
>>  wrote:
>> I'd advise building from source instead of waiting for binaries at
>> this point for 2012Q1.
>
> How long does it take to build from source, and how much disk space does it
> take?

If everything goes well, maybe a week and <50G, though I haven't
tracked disk usage over the whole history of the build.

It never goes well.  Disks fill from hammer history, packages hang
during build, machines crash, etc.  Yeah, I'm whining.


Re: binary packages for 2012Q1

2012-05-01 Thread Justin Sherrill
It will

On Tue, May 1, 2012 at 1:17 PM, Edward M  wrote:
> On 05/01/2012 06:30 AM, Justin Sherrill wrote:
>>
>> I'd advise building from source instead of waiting for binaries at
>> this point for 2012Q1.
>
>  This may sound like a noob question:-)
>   Will 2012Q1 work on DFlyBSD 3.0.2 or I have to continue using 2011Q4?
>

It should work.  If you already have 2011Q4 in /usr/pkgsrc, you can
change it like so:

cd /usr/pkgsrc
git branch pkgsrc-2012Q1 origin/pkgsrc-2012Q1
git checkout pkgsrc-2012Q1
git pull

You might need to 'git fetch origin' if you haven't updated in quite a
while and it doesn't realize 2012Q1 is there.  I'm typing this from
memory, not from actually doing it, so be careful.

I've used pkg_rolling-replace to perform updates in the past.  This
page is a good resource to check:

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



Re: binary packages for 2012Q1

2012-05-01 Thread Pierre Abbat
On Tuesday, May 01, 2012 09:30:50 Justin Sherrill wrote:
> On Tue, May 1, 2012 at 9:20 AM, Justin Sherrill
> 
>  wrote:
> I'd advise building from source instead of waiting for binaries at
> this point for 2012Q1.

How long does it take to build from source, and how much disk space does it 
take?

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


Re: binary packages for 2012Q1

2012-05-01 Thread Edward M

On 05/01/2012 06:30 AM, Justin Sherrill wrote:

I'd advise building from source instead of waiting for binaries at
this point for 2012Q1.

  This may sound like a noob question:-)
   Will 2012Q1 work on DFlyBSD 3.0.2 or I have to continue using 2011Q4?



Re: binary packages for 2012Q1

2012-05-01 Thread Justin Sherrill
On Tue, May 1, 2012 at 9:20 AM, Justin Sherrill
 wrote:
> On Mon, Apr 30, 2012 at 11:45 PM, Pierre Abbat  wrote:
>> Do you know when the packages for 2012Q1 will be available?
>>
>> Pierre
>
> 64-bit build just finished this morning, so it'll be at least a day or
> two for uploading.  32-bit build is on a machine that has crashed and
> I don't have back up yet.

Scratch what I said; there's an unusual number of failures in the
64-bit build - probably something local to that machine, as it was
restarted partly through the build.

I'd advise building from source instead of waiting for binaries at
this point for 2012Q1.



Re: binary packages for 2012Q1

2012-05-01 Thread Justin Sherrill
On Mon, Apr 30, 2012 at 11:45 PM, Pierre Abbat  wrote:
> Do you know when the packages for 2012Q1 will be available?
>
> Pierre

64-bit build just finished this morning, so it'll be at least a day or
two for uploading.  32-bit build is on a machine that has crashed and
I don't have back up yet.


binary packages for 2012Q1

2012-04-30 Thread Pierre Abbat
Do you know when the packages for 2012Q1 will be available?

Pierre
-- 
sei do'anai mi'a djuno puze'e noroi nalselganse srera