Re: CFT: pkgng support for tinderbox

2012-03-01 Thread Philip M. Gollucci
On 03/01/12 07:18, Beat Gätzi wrote:
 This one is already fixed:
 http://tmp.chruetertee.ch/tinderbox-pkgng-v2.patch

D'oh.  Thanks!

What to do about failures of these types ?

http://people.freebsd.org/~pgollucci/FreeBSD/logs/10-CURRENT-amd64/font-misc-meltho-1.0.3.log

AFAIK, thats pretty much my last major blocker to using it at $work and
in my Dev TB exclusively.



-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


Re: CFT: pkgng support for tinderbox

2012-03-01 Thread Baptiste Daroussin
On Thu, Mar 01, 2012 at 09:19:15PM +, Philip M. Gollucci wrote:
 On 03/01/12 07:18, Beat Gätzi wrote:
  This one is already fixed:
  http://tmp.chruetertee.ch/tinderbox-pkgng-v2.patch
 
 D'oh.  Thanks!
 
 What to do about failures of these types ?
 
 http://people.freebsd.org/~pgollucci/FreeBSD/logs/10-CURRENT-amd64/font-misc-meltho-1.0.3.log
 
 AFAIK, thats pretty much my last major blocker to using it at $work and
 in my Dev TB exclusively.
 

This is not a failure from tinderbox, but from pkgng itself, actually it is not
a real failure, but the font handling needs to be reworked.

Sure it needs to be fixed :)

regards,
Bapt


pgpOABXhHzPqS.pgp
Description: PGP signature


Re: CFT: pkgng support for tinderbox

2012-02-29 Thread Philip M. Gollucci

 pkgng support for tinderbox (written by bapt@) is ready and is looking for
 some review and testers. The patch is against tinderbox HEAD:

 http://tmp.chruetertee.ch/tinderbox-pkgng.patch
All,

Building devel/otrs or any random port for that matter --
(also attached)
http://p6m7g8.com/~pgollucci/phase5.png

The TEST_DEPENDS are not cleaned up correctly in the use_pkgng case for
phase5 of lib/buildscript.  It seems like its only the MAN* files in
Makefile of these that are being orphaned.

I will attempt to debug this tonight(ish) but I'll probably distracted.







-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


signature.asc
Description: OpenPGP digital signature


Re: CFT: pkgng support for tinderbox

2012-02-29 Thread Philip M. Gollucci
On 02/29/12 18:06, Philip M. Gollucci wrote:
 
 pkgng support for tinderbox (written by bapt@) is ready and is looking for
 some review and testers. The patch is against tinderbox HEAD:

 http://tmp.chruetertee.ch/tinderbox-pkgng.patch
 All,
 
 Building devel/otrs or any random port for that matter --
 (also attached)
 http://p6m7g8.com/~pgollucci/phase5.png
 
 The TEST_DEPENDS are not cleaned up correctly in the use_pkgng case for
 phase5 of lib/buildscript.  It seems like its only the MAN* files in
 Makefile of these that are being orphaned.
 
 I will attempt to debug this tonight(ish) but I'll probably distracted.

And the fix.  Wait for it.. a typo

line 326 of lib/buildscript (after the patch from beat)
326 - pkg info -qa | sort  /tmp/pkgs_pre_test

That should clearly be s/pre/post/

  325   if [ $use_pkgng = yes ]; then
  326 - pkg info -qa | sort  /tmp/pkgs_pre_test
  327   else
  328 - pkg_info | awk '{print $1}' | sort  /tmp/pkgs_post_test
  329   fi



-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Director Operations,  Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



signature.asc
Description: OpenPGP digital signature


Re: CFT: pkgng support for tinderbox

2012-02-29 Thread Beat Gätzi
2012/2/29 Philip M. Gollucci pgollu...@gmail.com:
 On 02/29/12 18:06, Philip M. Gollucci wrote:

 pkgng support for tinderbox (written by bapt@) is ready and is looking for
 some review and testers. The patch is against tinderbox HEAD:

 http://tmp.chruetertee.ch/tinderbox-pkgng.patch
 All,

 Building devel/otrs or any random port for that matter --
 (also attached)
 http://p6m7g8.com/~pgollucci/phase5.png

 The TEST_DEPENDS are not cleaned up correctly in the use_pkgng case for
 phase5 of lib/buildscript.  It seems like its only the MAN* files in
 Makefile of these that are being orphaned.

 I will attempt to debug this tonight(ish) but I'll probably distracted.

Thanks for testing. I will take a look at it.

 And the fix.  Wait for it.. a typo

 line 326 of lib/buildscript (after the patch from beat)
 326 -         pkg info -qa | sort  /tmp/pkgs_pre_test

 That should clearly be s/pre/post/

  325   if [ $use_pkgng = yes ]; then
  326 -         pkg info -qa | sort  /tmp/pkgs_pre_test
  327   else
  328 -         pkg_info | awk '{print $1}' | sort  /tmp/pkgs_post_test
  329   fi

This one is already fixed:
http://tmp.chruetertee.ch/tinderbox-pkgng-v2.patch

Beat
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-27 Thread Beat Gätzi
On Feb 21, 2012, at 9:51 PM, Andrey Zonov wrote:
 On 22.02.2012 0:24, Andrey Zonov wrote:
 On 16.02.2012 1:07, Beat Gätzi wrote:
 Hi,
 
 pkgng support for tinderbox (written by bapt@) is ready and is looking
 for
 some review and testers. The patch is against tinderbox HEAD:
 
 http://tmp.chruetertee.ch/tinderbox-pkgng.patch
 
 
 One more fix:
 
 
 And more:
 
 --- lib/buildscript.prev2012-02-22 00:44:58.0 +0400
 +++ lib/buildscript 2012-02-22 00:45:18.0 +0400
 @@ -323,7 +323,7 @@
   fi
   add_pkg ${TD}
   if [ $use_pkgng = yes ]; then
 - pkg info -qa | sort  /tmp/pkgs_pre_test
 + pkg info -qa | sort  /tmp/pkgs_post_test
   else
  pkg_info | awk '{print $1}' | sort  /tmp/pkgs_post_test
   fi

Thanks! I've updated the patch with your fixes and the hook to create a pkg
repo:
http://tmp.chruetertee.ch/tinderbox-pkgng-v2.patch

Beat___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-21 Thread Andrey Zonov

On 16.02.2012 1:07, Beat Gätzi wrote:

Hi,

pkgng support for tinderbox (written by bapt@) is ready and is looking for
some review and testers. The patch is against tinderbox HEAD:

http://tmp.chruetertee.ch/tinderbox-pkgng.patch



One more fix:

--- lib/buildscript.prev2012-02-22 00:16:17.0 +0400
+++ lib/buildscript 2012-02-22 00:17:24.0 +0400
@@ -146,7 +146,7 @@
 RD=$7
 TD=$8
 PKGD=$9
-PLISTCHECK=$10
+PLISTCHECK=${10}

 use_pkgng=no

Thanks to vim.  It's highlighted me 0 as separated character.

--
Andrey Zonov
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-21 Thread Andrey Zonov

On 22.02.2012 0:24, Andrey Zonov wrote:

On 16.02.2012 1:07, Beat Gätzi wrote:

Hi,

pkgng support for tinderbox (written by bapt@) is ready and is looking
for
some review and testers. The patch is against tinderbox HEAD:

http://tmp.chruetertee.ch/tinderbox-pkgng.patch



One more fix:



And more:

--- lib/buildscript.prev2012-02-22 00:44:58.0 +0400
+++ lib/buildscript 2012-02-22 00:45:18.0 +0400
@@ -323,7 +323,7 @@
   fi
   add_pkg ${TD}
   if [ $use_pkgng = yes ]; then
- pkg info -qa | sort  /tmp/pkgs_pre_test
+ pkg info -qa | sort  /tmp/pkgs_post_test
   else
  pkg_info | awk '{print $1}' | sort  /tmp/pkgs_post_test
   fi


--
Andrey Zonov
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-20 Thread Beat Gätzi
2012/2/18 George Liaskos geo.lias...@gmail.com:
 There seems to be an issue with most of the x11-font ports, fonts.dir
 and fonts.cache are not handled correctly.

 http://tinderbox.cybertron.gr/index.php?action=failed_buildportsbuild=9.0-AMD64-FBSD

Thanks for your feedback. I will take a look at it.

Beat
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-20 Thread Beat Gätzi
2012/2/19 Andrey Zonov and...@zonov.org:
 On 16.02.2012 1:07, Beat Gätzi wrote:

 Hi,

 pkgng support for tinderbox (written by bapt@) is ready and is looking for
 some review and testers. The patch is against tinderbox HEAD:

 http://tmp.chruetertee.ch/tinderbox-pkgng.patch


 Hi,

 Tinderbox doesn't create repository (pkg repo) after building.  Is this
 intention behaviour?

Yes. Probably it is possible to create a pkg repo with a hook but I
haven't tried it yet.

Beat
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-20 Thread Baptiste Daroussin
On Mon, Feb 20, 2012 at 10:50:38AM +0100, Beat Gätzi wrote:
 2012/2/18 George Liaskos geo.lias...@gmail.com:
  There seems to be an issue with most of the x11-font ports, fonts.dir
  and fonts.cache are not handled correctly.
 
  http://tinderbox.cybertron.gr/index.php?action=failed_buildportsbuild=9.0-AMD64-FBSD
 
 Thanks for your feedback. I will take a look at it.
 
 Beat

This is known and i'm working on a fix, this is due to one of the main
difference between pkg_install and pkgng (the way the plist in particular the
@exec are handled) anyway this proves the tinderbox support for pkgng is working
as espected which is good :)

btw the way the fonts (mkfontdir/mkfontscale) are handled by most of the ports
is just crappy it should be sanitized and be more consistent across the
different fonts port (should the the font.cache and font.dir be embedded on the
package or not, when to execute the mkfontdir/mkfontscale, should we force it to
run at each font installations etc)

if someone has knowledge about X11 and fonts handling it will be good if he
could tackle this task or at least share the knowledge so that we have an
efficient and consistent way to manage it. (should we still have messages about
the line to had to xorg.conf now that fontconfig manager everything? etc)

Back to the pkgng support in tinderbox subject, thanks for having tested it,
this means the support is good which mean we can probably go further (release?)
but let the tinderbox guys decide about it :)

regards,
Bapt


pgpelXZWVLRB8.pgp
Description: PGP signature


Re: CFT: pkgng support for tinderbox

2012-02-20 Thread Andrey Zonov
On Mon, Feb 20, 2012 at 1:52 PM, Beat Gätzi b...@chruetertee.ch wrote:

 2012/2/19 Andrey Zonov and...@zonov.org:
  On 16.02.2012 1:07, Beat Gätzi wrote:
 
  Hi,
 
  pkgng support for tinderbox (written by bapt@) is ready and is looking
 for
  some review and testers. The patch is against tinderbox HEAD:
 
  http://tmp.chruetertee.ch/tinderbox-pkgng.patch
 
 
  Hi,
 
  Tinderbox doesn't create repository (pkg repo) after building.  Is this
  intention behaviour?

 Yes. Probably it is possible to create a pkg repo with a hook but I
 haven't tried it yet.


Hmmm, OK.  This hook does all work:

# cat postPortBuild-hook.sh
#!/bin/sh
pkg repo $PB/packages/$BUILD
# tc updateHookCmd -h postPortBuild -c postPortBuild-hook.sh

Thanks!

-- 
Andrey Zonov
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-19 Thread Andrey Zonov

On 16.02.2012 1:07, Beat Gätzi wrote:

Hi,

pkgng support for tinderbox (written by bapt@) is ready and is looking for
some review and testers. The patch is against tinderbox HEAD:

http://tmp.chruetertee.ch/tinderbox-pkgng.patch



Hi,

Tinderbox doesn't create repository (pkg repo) after building.  Is this 
intention behaviour?


--
Andrey Zonov
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-18 Thread George Liaskos
There seems to be an issue with most of the x11-font ports, fonts.dir
and fonts.cache are not handled correctly.

http://tinderbox.cybertron.gr/index.php?action=failed_buildportsbuild=9.0-AMD64-FBSD


Regards,
George
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-17 Thread Doug Barton
On 02/15/2012 15:23, Chuck Swiger wrote:
 especially if you consider packages/ports to be external to the FreeBSD 
 operating system itself.

Good thing the ports are an integral part of the operating SYSTEM. :)


-- 

It's always a long day; 86400 doesn't fit into a short.

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


CFT: pkgng support for tinderbox

2012-02-15 Thread Beat Gätzi
Hi,

pkgng support for tinderbox (written by bapt@) is ready and is looking for
some review and testers. The patch is against tinderbox HEAD:

http://tmp.chruetertee.ch/tinderbox-pkgng.patch

It also needs a database change:

alter table port_dependencies CHANGE dependency_type dependency_type \
ENUM('UNKNOWN', 'PKG_DEPENDS', 'EXTRACT_DEPENDS', 'PATCH_DEPENDS', \
'FETCH_DEPENDS', 'BUILD_DEPENDS', 'LIB_DEPENDS', 'RUN_DEPENDS', \
'TEST_DEPENDS') DEFAULT 'UNKNOWN';

To enable pkgng support please update your portstree in the tinderbox and
add these lines to your portstree environment in scripts/etc/env:

export WITH_PKGNG=yes
export PKGSUFFIX=.txz

Thanks,
Beat
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-15 Thread Baptiste Daroussin
On Wed, Feb 15, 2012 at 10:07:18PM +0100, Beat Gätzi wrote:
 Hi,
 
 pkgng support for tinderbox (written by bapt@) is ready and is looking for
 some review and testers. The patch is against tinderbox HEAD:
 
 http://tmp.chruetertee.ch/tinderbox-pkgng.patch
 
 It also needs a database change:
 
 alter table port_dependencies CHANGE dependency_type dependency_type \
 ENUM('UNKNOWN', 'PKG_DEPENDS', 'EXTRACT_DEPENDS', 'PATCH_DEPENDS', \
 'FETCH_DEPENDS', 'BUILD_DEPENDS', 'LIB_DEPENDS', 'RUN_DEPENDS', \
 'TEST_DEPENDS') DEFAULT 'UNKNOWN';
 
 To enable pkgng support please update your portstree in the tinderbox and
 add these lines to your portstree environment in scripts/etc/env:
 
 export WITH_PKGNG=yes
 export PKGSUFFIX=.txz
 
 Thanks,
 Beat
 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Thank you very much for you hard work on fixing the patch and doing all the hard
work.

regards,
Bapt


pgp0hVIDjG5mI.pgp
Description: PGP signature


Re: CFT: pkgng support for tinderbox

2012-02-15 Thread George Liaskos
Thank you for the great work, pkg-updating.1 should be added in the MAN1
because pkg is currently falling under tinderbox.

Regards,
George
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-15 Thread Doug Barton
On 02/15/2012 14:27, George Liaskos wrote:
 Thank you for the great work, pkg-updating.1 should be added in the MAN1
 because pkg is currently falling under tinderbox.

Shouldn't stuff like updating packages be in sbin  man section 8?


Doug

-- 

It's always a long day; 86400 doesn't fit into a short.

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-15 Thread Chuck Swiger
On Feb 15, 2012, at 3:04 PM, Doug Barton wrote:
 On 02/15/2012 14:27, George Liaskos wrote:
 Thank you for the great work, pkg-updating.1 should be added in the MAN1
 because pkg is currently falling under tinderbox.
 
 Shouldn't stuff like updating packages be in sbin  man section 8?

Comparing intro.1 to intro.8:

 Section one of the manual contains most of the commands which comprise
 the BSD user environment.  Some of the commands included in section one
 are text editors, command shell interpreters, searching and sorting
 tools, file manipulation commands, system status commands, remote file
 copy commands, mail commands, compilers and compiler tools, formatted
 output tools, and line printer commands.

-

 This section contains information related to system operation and 
maintenance.

 It describes commands used to create new file systems (newfs(8)), verify
 the integrity of the file systems (fsck(8)), control disk usage
 (edquota(8)), maintain system backups (dump(8)), and recover files when
 disks die an untimely death (restore(8)).  Network related services like
 inetd(8) and ftpd(8) are also described.

Well, yes, I suppose you could make a case for section 8, but it's not a 
perfect fit, especially if you consider packages/ports to be external to the 
FreeBSD operating system itself.

Regards,
-- 
-Chuck

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: CFT: pkgng support for tinderbox

2012-02-15 Thread Baptiste Daroussin
On Wed, Feb 15, 2012 at 03:04:48PM -0800, Doug Barton wrote:
 On 02/15/2012 14:27, George Liaskos wrote:
  Thank you for the great work, pkg-updating.1 should be added in the MAN1
  because pkg is currently falling under tinderbox.
 
 Shouldn't stuff like updating packages be in sbin  man section 8?
 
 
 Doug
 

everything is in sbin, and you are right for the man beta7 will have it in
section 8.

regards,
Bapt


pgpCrEfebiuFU.pgp
Description: PGP signature