pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Anton Shterenlikht
Updating ports-mgmt/pkg to b11:

===  Installing for pkg-1.0.b11
===   Generating temporary packing list
===  Checking if ports-mgmt/pkg already installed
pkg-static: The database is outdated and opened readonly
*** Error code 74

Stop in /usr/ports/ports-mgmt/pkg.

Please advise

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Julien Laffaye

On 04/16/2012 10:20 AM, Anton Shterenlikht wrote:

Updating ports-mgmt/pkg to b11:

===   Installing for pkg-1.0.b11
===Generating temporary packing list
===   Checking if ports-mgmt/pkg already installed
pkg-static: The database is outdated and opened readonly
*** Error code 74

Stop in /usr/ports/ports-mgmt/pkg.

Please advise

The database schema changed so pkgng try to upgrade it. But here pkgng 
does not have rights to do so. Try re-run pkgng as root.

___
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: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 09:20:41AM +0100, Anton Shterenlikht wrote:
 Updating ports-mgmt/pkg to b11:
 
 ===  Installing for pkg-1.0.b11
 ===   Generating temporary packing list
 ===  Checking if ports-mgmt/pkg already installed
 pkg-static: The database is outdated and opened readonly
 *** Error code 74
 
 Stop in /usr/ports/ports-mgmt/pkg.
 
 Please advise

Looking at the bit which issued the error:

# grep -C3 The database is outdated ./work/pkg-1.0-beta11/libpkg/pkgdb.c

while (db_version  DBVERSION) {
if (!sqlite3_db_readonly(db-sqlite, main)) {
pkg_emit_error(The database is outdated and opened 
readonly);
return (EPKG_FATAL);
}
db_version++;
# 

I decided to update sqlite3, only to discover
that I can no longer do it:

# make -C  /usr/ports/databases/sqlite3 
/usr/local/sbin/pkg: not found
===  License unknown accepted by the user
===  Found saved configuration for sqlite3-3.7.11
===   sqlite3-3.7.11 depends on file: /usr/local/sbin/pkg - not found
===Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===  Installing for pkg-1.0.b11
===   Generating temporary packing list
===  Checking if ports-mgmt/pkg already installed
pkg-static: The database is outdated and opened readonly
*** Error code 74

Stop in /usr/ports/ports-mgmt/pkg.
*** Error code 1


How can I recover from this?

Is it a good idea to switch to
the old tools for recovery?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Julien Laffaye

On 04/16/2012 11:03 AM, Anton Shterenlikht wrote:

On Mon, Apr 16, 2012 at 09:20:41AM +0100, Anton Shterenlikht wrote:

Updating ports-mgmt/pkg to b11:

===   Installing for pkg-1.0.b11
===Generating temporary packing list
===   Checking if ports-mgmt/pkg already installed
pkg-static: The database is outdated and opened readonly
*** Error code 74

Stop in /usr/ports/ports-mgmt/pkg.

Please advise

Looking at the bit which issued the error:

# grep -C3 The database is outdated ./work/pkg-1.0-beta11/libpkg/pkgdb.c

 while (db_version  DBVERSION) {
 if (!sqlite3_db_readonly(db-sqlite, main)) {
 pkg_emit_error(The database is outdated and opened 
readonly);
 return (EPKG_FATAL);
 }
 db_version++;
#

I decided to update sqlite3, only to discover
that I can no longer do it:

# make -C  /usr/ports/databases/sqlite3
/usr/local/sbin/pkg: not found
===   License unknown accepted by the user
===   Found saved configuration for sqlite3-3.7.11
===sqlite3-3.7.11 depends on file: /usr/local/sbin/pkg - not found
=== Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===   Installing for pkg-1.0.b11
===Generating temporary packing list
===   Checking if ports-mgmt/pkg already installed
pkg-static: The database is outdated and opened readonly
*** Error code 74

Stop in /usr/ports/ports-mgmt/pkg.
*** Error code 1


How can I recover from this?

Is it a good idea to switch to
the old tools for recovery?

pkgng does not use the ports's sqlite but its own version. Updating the 
sqlite port has no effect on pkgng.

___
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: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 11:02:09AM +0200, Julien Laffaye wrote:
 On 04/16/2012 10:20 AM, Anton Shterenlikht wrote:
 Updating ports-mgmt/pkg to b11:
 
 ===   Installing for pkg-1.0.b11
 ===Generating temporary packing list
 ===   Checking if ports-mgmt/pkg already installed
 pkg-static: The database is outdated and opened readonly
 *** Error code 74
 
 Stop in /usr/ports/ports-mgmt/pkg.
 
 Please advise
 
 The database schema changed so pkgng try to upgrade it. But here pkgng 
 does not have rights to do so. Try re-run pkgng as root.

YOu mean pkg2ng?

I get:

Registering autoconf-wrapper-20101119... pkg: The database is outdated and 
opened readonly
pkg: The database is outdated and opened readonly
failed.

and the same for all other ports.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


Current unassigned ports problem reports

2012-04-16 Thread FreeBSD bugmaster
(Note: an HTML version of this report is available at
http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports .)

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

o ports/166988[maintainer] [patch] mail/mimedefang: update to 2.73
f ports/166987net/nss_ldap: ports/152982 causes nss_ldap to not func
f ports/166986java/jboss5 won't build on FreeBSD 9.0
o ports/166966A script to make light pkg-plist files for new FreeBSD
f ports/166964New version of x11/slim now out
o ports/166959Maintainer Update: lang/squeak version up to 4.4.7-237
o ports/166946Update multimedia/mplayer and mencoder to a recent sna
o ports/166915[new port] comms/ems-flasher: software for flashing th
o ports/166901update port: audio/mp3splt-gtk
f ports/166872devel/boost-libs fails to build
o ports/166854New Port: games/twind, Match and remove all of the blo
f ports/166853[patch] security/prelude-pflogger compilation when net
f ports/166838www/speedtest-mini needs upgrading
o ports/166826New port: misc/libphidget The driver for Phidgets devi
o ports/166825New port: cad/openvsp NASA open source parametric airc
f ports/166824sysutils/facter always depends on dmidecode
o ports/166812New port: mail/bounceHammer
o ports/166811[NEW PORT] net/nss-pam-ldapd-sasl: Advanced fork of ns
o ports/166810[MAINTAINER-UPDATE] net/nss-pam-ldapd: update to 0.8.6
o ports/166802new port: devel/swig, new version of devel/swig13
f ports/166752mail/imapsync: update to 1.487
o ports/166745[UPDATE] graphics/mupdf to 1.0rc1
o ports/166728New port: science/fvcom-mpi
o ports/166726New port: science/fvcom
o ports/166725New port: science/dlpoly-classic
o ports/166722graphics/ufraw: port fails to build if GTK option is
o ports/166716New ports: chinese/fcitx-libpinyin  chinese/libpinyin
o ports/166711New port: japanese/fcitx-mozc - Mozc Japanese input me
o ports/166689[UPDATE] chinese/fcitx and its addons to 4.2.1
o ports/15[new port] java/jboss-as: JBoss 7.1 new port
o ports/12www/asterisk-stat - pgsql select substring() problem
o ports/166658audio/rplay: rplayd crashes on amd64
o ports/166645emulators/virtio-kmod: rxcsum breaks checksum for loca
o ports/166593[MAINTAINER] ports-mgmt/porttools: CVS expansion of $F
o ports/166587Maintainer update: sysutils/radmind
o ports/166572New port: deskutils/devd-notifier  -  a simple daemon 
o ports/166534finance/openerp-server, finance/openerp-web: OpenERP m
o ports/166522lang/f77: Fortran 77 compiler always exits with error 
o ports/166506www/py-prewikka bug using [auth cgi]
o ports/166438New port: devel/libarms: library for developing SMFv2/
f ports/166388security/libgcrypt is broken
o ports/166341devel/valgrind crash on binaries built with gcc46
f ports/166313please, update net-mgmt/zabbix-server to 1.8.11
o ports/166275[new port] sysutils/automount devd(8) based automounte
o ports/166248sendmail dies of signal 11 on freebsd in a virtualbox 
o ports/166244[maintainer update] databases/powerarchitect version u
o ports/166243New port databases/jdbc-oracle10g: JDBD driver for Ora
o ports/166237New port: devel/arduino-glcd: A Graphical LCD library 
o ports/166209[PATCH] cad/verilog-mode.el port update
f ports/166204Update port: print/reportlab2 Fix fonts search path
o ports/166117add knobs in math/grace to make features selectable an
o ports/166055[patch] x11/fireflies does not build with x11-toolkits
o ports/166006Problem with mail/postfix and mail/mailman integration
f ports/166004www/squid31 3.1.19 crashes on first request
f ports/165918unable to build net-mgmt/zenoss with subversion
o ports/165900[new port] emulators/linux_base-c6
o ports/165899devel/wand-libconfig and devel/libconfig conflict (sam
o ports/165865New port: devel/pure-stllib: Deprecate pure-stldict  
o ports/165842[maintainer-update] games/ioquake3 and slaves
o ports/165799utmpx fix for japanese/emacs-emcws
f ports/165672sysutils/bacula-server doesn't install all symlinks ne
o ports/165586New port german/lx-office-erp, sql-ledger fork with ex
o ports/165361   

pkgng beta11 problem with sqlitedb locks

2012-04-16 Thread Oleg Ginzburg
Hi, i found some issues on the parallel work with pkgng base.

For example while pkg2ng works, on the second console try to install 
something:

% pkg install deco

current process can show multiple lines like:

Checking integrity...pkg: WARNING: locally installed (null)-(null) conflicts 
on (null) with:
..

and pkg2ng session can show something like that: http://pastebin.com/3P3vYFAM


___
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


ports/comms/dfu-util

2012-04-16 Thread Matthias Apitz
El día Monday, April 16, 2012 a las 02:25:37PM +0200, Martin Jansa escribió:

  'dfu-util' from FreeBSD:
  
  $ dfu-util -V
  dfu-util - (C) 2007-2008 by OpenMoko Inc.
  This program is Free Software and has ABSOLUTELY NO WARRANTY
  dfu-util version 0.1+svnUnversioned directory
 
 Latest version is 0.5 see
 http://dfu-util.gnumonks.org/
 I'm not using dfu-util so I've messed the name and I'm not sure when or why 
 it started 
 to generate broken fs, but I've got reports also about directories being 
 writen as symlinks
 to some other dir and other really scary stories (and then the same .jffs2 
 written with
 nandwrite working fine).
 

Hi Bruce,

Your port in ports/comms/dfu-util is version 0.1 from from Feb 2009; any
chance that you could update it to a more recent version?

Thanks in advance

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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


pkg audit segfault

2012-04-16 Thread Anton Shterenlikht
On ia64 r231193M:

# pkg audit -F 
http://portaudit.FreeBSD.org/auditfile.tbz  100%   76KB  75.8KB/s  
75.8KB/s   00:00
0 problem(s) in your installed packages found.
Segmentation fault (core dumped)
# 

# gdb /usr/local/sbin/pkg pkg.core
*skip loading symbols*
Reading symbols from /lib/libncurses.so.8...done.
Loaded symbols for /lib/libncurses.so.8
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000120142310 in sqlite3_test_control () from 
/usr/local/lib/libpkg.so.0
[New Thread 121004400 (LWP 102347/pkg)]
(gdb) bt
#0  0x000120142310 in sqlite3_test_control () from 
/usr/local/lib/libpkg.so.0
#1  0x000120142600 in sqlite3_db_readonly () from /usr/local/lib/libpkg.so.0
#2  0x0001200ea690 in pkgdb_it_free (it=0x121092500) at pkgdb.c:779
#3  0x00018cb0 in exec_audit (argc=0, argv=0x7fffecd0) at 
audit.c:418
#4  0x000100014a00 in main (argc=2, argv=0x7fffecc0) at main.c:299
(gdb) 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


portmaster --check-depends with pkgng exits immediately

2012-04-16 Thread Anton Shterenlikht
portmaster --check-depends used to take many seconds,
sometimes a minute to run. Now, with pkgng, it
exits immediately. Is this due to the efficiency
of the new tools? Or maybe this portmaster
option now does nothing and pkg tools should
be used directly instead?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


pkg check -a doesn't work

2012-04-16 Thread Anton Shterenlikht
# pkg check -a
usage: pkg check [-yadsr]
   pkg check [-ygxXdsr] pattern

For more information see 'pkg help check'.
# 

According to the man page, this
should've worked, by processing
all packages.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: pkg audit segfault

2012-04-16 Thread Julien Laffaye

On 04/16/2012 04:21 PM, Anton Shterenlikht wrote:

pkg audit -F

On my 9.0-RELEASE amd64, it works fine.

BTW, did you manage to upgrade your local database?
___
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: pkg audit segfault

2012-04-16 Thread Baptiste Daroussin
On Mon, Apr 16, 2012 at 03:21:24PM +0100, Anton Shterenlikht wrote:
 On ia64 r231193M:
 
 # pkg audit -F 
 http://portaudit.FreeBSD.org/auditfile.tbz  100%   76KB  75.8KB/s 
  75.8KB/s   00:00
 0 problem(s) in your installed packages found.
 Segmentation fault (core dumped)
 # 
 
 # gdb /usr/local/sbin/pkg pkg.core
 *skip loading symbols*
 Reading symbols from /lib/libncurses.so.8...done.
 Loaded symbols for /lib/libncurses.so.8
 Reading symbols from /libexec/ld-elf.so.1...done.
 Loaded symbols for /libexec/ld-elf.so.1
 #0  0x000120142310 in sqlite3_test_control () from 
 /usr/local/lib/libpkg.so.0
 [New Thread 121004400 (LWP 102347/pkg)]
 (gdb) bt
 #0  0x000120142310 in sqlite3_test_control () from 
 /usr/local/lib/libpkg.so.0
 #1  0x000120142600 in sqlite3_db_readonly () from 
 /usr/local/lib/libpkg.so.0
 #2  0x0001200ea690 in pkgdb_it_free (it=0x121092500) at pkgdb.c:779
 #3  0x00018cb0 in exec_audit (argc=0, argv=0x7fffecd0) at 
 audit.c:418
 #4  0x000100014a00 in main (argc=2, argv=0x7fffecc0) at main.c:299
 (gdb) 

thanks for reporting, what version are you using?
Can you send pkg -v and if supported by your version
pkg -vvv

regards,
Bapt


pgpPlQPhwkqyq.pgp
Description: PGP signature


Re: pkg check -a doesn't work

2012-04-16 Thread Baptiste Daroussin
On Mon, Apr 16, 2012 at 03:46:04PM +0100, Anton Shterenlikht wrote:
 # pkg check -a
 usage: pkg check [-yadsr]
pkg check [-ygxXdsr] pattern
 
 For more information see 'pkg help check'.
 # 
 
 According to the man page, this
 should've worked, by processing
 all packages.

-a is for processing all packages, it should be used with one of the possible
actions:
-d -s -r

Maybe the manpage is not really accurate. Can you open an issue about this
problem?

regards,
Bapt



pgpdcYmSBEYUe.pgp
Description: PGP signature


Re: portmaster --check-depends with pkgng exits immediately

2012-04-16 Thread Baptiste Daroussin
On Mon, Apr 16, 2012 at 03:45:11PM +0100, Anton Shterenlikht wrote:
 portmaster --check-depends used to take many seconds,
 sometimes a minute to run. Now, with pkgng, it
 exits immediately. Is this due to the efficiency
 of the new tools? Or maybe this portmaster
 option now does nothing and pkg tools should
 be used directly instead?
 

portmaster --check-depends is useless with pkgng that is why it return
immediatly.

regards,
Bapt


pgphOiV4KAtMj.pgp
Description: PGP signature


Re: pkgng beta11 problem with sqlitedb locks

2012-04-16 Thread Baptiste Daroussin

 Hi, i found some issues on the parallel work with pkgng base.
 
 For example while pkg2ng works, on the second console try to install 
 something:
 
 % pkg install deco
 
 current process can show multiple lines like:
 
 Checking integrity...pkg: WARNING: locally installed (null)-(null) conflicts 
 on (null) with:
 ..
 
 and pkg2ng session can show something like that: http://pastebin.com/3P3vYFAM
 

Yes known there is some work to do for pkgng to be more gentle in case of lock,
still the problem you are showing is weird (I guess some memory database has
been dropped by pkg2ng at the moment you were willing to install your software.

Can you open an issue about that?

regards,
Bapt


pgpZO8uA5miZj.pgp
Description: PGP signature


Re: pkg audit segfault

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 05:07:29PM +0200, Baptiste Daroussin wrote:
 On Mon, Apr 16, 2012 at 03:21:24PM +0100, Anton Shterenlikht wrote:
  On ia64 r231193M:
  
  # pkg audit -F 
  http://portaudit.FreeBSD.org/auditfile.tbz  100%   76KB  
  75.8KB/s  75.8KB/s   00:00
  0 problem(s) in your installed packages found.
  Segmentation fault (core dumped)
  # 
  
  # gdb /usr/local/sbin/pkg pkg.core
  *skip loading symbols*
  Reading symbols from /lib/libncurses.so.8...done.
  Loaded symbols for /lib/libncurses.so.8
  Reading symbols from /libexec/ld-elf.so.1...done.
  Loaded symbols for /libexec/ld-elf.so.1
  #0  0x000120142310 in sqlite3_test_control () from 
  /usr/local/lib/libpkg.so.0
  [New Thread 121004400 (LWP 102347/pkg)]
  (gdb) bt
  #0  0x000120142310 in sqlite3_test_control () from 
  /usr/local/lib/libpkg.so.0
  #1  0x000120142600 in sqlite3_db_readonly () from 
  /usr/local/lib/libpkg.so.0
  #2  0x0001200ea690 in pkgdb_it_free (it=0x121092500) at pkgdb.c:779
  #3  0x00018cb0 in exec_audit (argc=0, argv=0x7fffecd0) at 
  audit.c:418
  #4  0x000100014a00 in main (argc=2, argv=0x7fffecc0) at 
  main.c:299
  (gdb) 
 
 thanks for reporting, what version are you using?
 Can you send pkg -v and if supported by your version
 pkg -vvv


# pkg -v
1.0-beta11

# pkg -vvv
version: 1.0-beta11
abi: freebsd:10:ia64:64
db dir: /var/db/pkg
cache dir: /var/cache/pkg
ports dir: /usr/ports
Log into syslog: yes
Assume always yes: no
Handle rc scripts: no
Track shlibs: no
Automatic depdency tracking: no
Custom keywords directory: none
Repository: none
# 

Just to emphasise, this is on ia64.

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Baptiste Daroussin
On Mon, Apr 16, 2012 at 10:22:49AM +0100, Anton Shterenlikht wrote:
 On Mon, Apr 16, 2012 at 11:02:09AM +0200, Julien Laffaye wrote:
  On 04/16/2012 10:20 AM, Anton Shterenlikht wrote:
  Updating ports-mgmt/pkg to b11:
  
  ===   Installing for pkg-1.0.b11
  ===Generating temporary packing list
  ===   Checking if ports-mgmt/pkg already installed
  pkg-static: The database is outdated and opened readonly
  *** Error code 74
  
  Stop in /usr/ports/ports-mgmt/pkg.
  
  Please advise
  
  The database schema changed so pkgng try to upgrade it. But here pkgng 
  does not have rights to do so. Try re-run pkgng as root.
 
 YOu mean pkg2ng?
 
 I get:
 
 Registering autoconf-wrapper-20101119... pkg: The database is outdated and 
 opened readonly
 pkg: The database is outdated and opened readonly
 failed.
 
 and the same for all other ports.
 

Well you should be upgrading from beta8 it is known there are problems for
upgrading from beta8 to newer version, but it is really hard to determine where
the problem comes from.

regards,
Bapt


pgpXyVeOj1yVw.pgp
Description: PGP signature


Re: OPTIONS-NG (was: port variants)

2012-04-16 Thread Baptiste Daroussin
On Mon, Apr 16, 2012 at 12:54:07AM +0300, Vitaly Magerya wrote:
 Ion-Mihai Tetcu ite...@freebsd.org wrote:
  I hope things will change once we get OPTIONS-NG in, since the new
  framework will address (AFAIK) all the objections people have against
  our current OPTIONS.
 
 Is that a thing in existence? Is there anywhere I can read about it?

http://people.freebsd.org/~bapt/optionsng.pdf

It is almost finish, missing someone to polish it.

regards,
Bapt


pgp50KzriajT0.pgp
Description: PGP signature


Re: portmaster --check-depends with pkgng exits immediately

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 05:11:17PM +0200, Baptiste Daroussin wrote:
 On Mon, Apr 16, 2012 at 03:45:11PM +0100, Anton Shterenlikht wrote:
  portmaster --check-depends used to take many seconds,
  sometimes a minute to run. Now, with pkgng, it
  exits immediately. Is this due to the efficiency
  of the new tools? Or maybe this portmaster
  option now does nothing and pkg tools should
  be used directly instead?
  
 
 portmaster --check-depends is useless with pkgng that is why it return
 immediatly.

So does pkg check -ad do exactly what portmaster --check-depends
did before?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 05:15:35PM +0200, Baptiste Daroussin wrote:
 On Mon, Apr 16, 2012 at 10:22:49AM +0100, Anton Shterenlikht wrote:
  On Mon, Apr 16, 2012 at 11:02:09AM +0200, Julien Laffaye wrote:
   On 04/16/2012 10:20 AM, Anton Shterenlikht wrote:
   Updating ports-mgmt/pkg to b11:
   
   ===   Installing for pkg-1.0.b11
   ===Generating temporary packing list
   ===   Checking if ports-mgmt/pkg already installed
   pkg-static: The database is outdated and opened readonly
   *** Error code 74
   
   Stop in /usr/ports/ports-mgmt/pkg.
   
   Please advise
   
   The database schema changed so pkgng try to upgrade it. But here pkgng 
   does not have rights to do so. Try re-run pkgng as root.
  
  YOu mean pkg2ng?
  
  I get:
  
  Registering autoconf-wrapper-20101119... pkg: The database is outdated and 
  opened readonly
  pkg: The database is outdated and opened readonly
  failed.
  
  and the same for all other ports.
  
 
 Well you should be upgrading from beta8 it is known there are problems for
 upgrading from beta8 to newer version, but it is really hard to determine 
 where
 the problem comes from.
 
 regards,
 Bapt

Anyway, I just need to recover somehow.
Which database are we talking about,
is it /var/db/pkg? Will it help if
I remove it, and start from scratch?

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: autodetecting dependencies

2012-04-16 Thread A.J. Kehoe IV (Nanoman)

A.J. Kehoe IV (Nanoman) wrote:

[...]


In my opinion, it's best to use the OPTIONS framework and to avoid automatic 
detection entirely.  Consider this problem:

http://docs.freebsd.org/cgi/mid.cgi?20120304190922.GA58789


[...]

It turns out that other people feel the same way about automatic dependencies, and 
there's nothing in FreeBSD that counters their negative impact on indexing and 
port/package management.  This subject is now covered by the FreeBSD Porter's Handbook 
under Problems Caused by Automatic Dependencies:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#AEN2421

You can use grep to get a list of ports that probably suffer from this 
affliction:

grep -l 'exists(\${LOCALBASE}' /usr/ports/*/*/Makefile

If your shell complains about the number of arguments or something, try this in 
/bin/sh:

find /usr/ports/ -regex '/usr/ports/[^\/]*/[^\/]*/Makefile' -print | awk '{ system(grep -l 
\exists(\\${LOCALBASE}\  $0); }'

My thanks to everybody who gave me feedback regarding this issue, especially 
the FreeBSD Ports Management Team and Warren Block.

--
A.J. Kehoe IV (Nanoman) |  /\  ASCII Ribbon Campaign
Nanoman's Company   |  \ /   - No HTML/RTF in E-mail
E-mail: nano...@nanoman.ca  |   X- No proprietary attachments
WWW: http://www.nanoman.ca/ |  / \   - Respect for open standards


smime.p7s
Description: S/MIME cryptographic signature


Re: portmaster --check-depends with pkgng exits immediately

2012-04-16 Thread Alberto Villa
On Monday 16 April 2012 16:17:52 Anton Shterenlikht wrote:
 So does pkg check -ad do exactly what portmaster --check-depends
 did before?

I've been maintaining the portmaster patch so far, and didn't enable that 
option yet. In few days I'll push some updates, and one should be --check-
depends (I was waiting for a man page).
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

I'll pretend to trust you if you'll pretend to trust me.


signature.asc
Description: This is a digitally signed message part.


Re: Mason 2 - anyone updating? (www/p5-HTML-Mason)

2012-04-16 Thread G. Paul Ziemba
5u623...@gmail.com (Muhammad Moinur Rahman) writes:
I have submitted a PR for Mason 2.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166952

Great work! Thanks for your efforts. I look forward to using this port.

 ~!paul
-- 
G. Paul Ziemba
FreeBSD unix:
11:56AM  up 56 days, 20:49, 34 users, load averages: 0.30, 0.25, 0.19
___
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


net/bwi-firmware-kmod /sys/conf/kmod.mk, line 111: Malformed conditional (${MK_CLANG_IS_CC} == no ${CC:T:Mclang} != clang)

2012-04-16 Thread Anton Shterenlikht
on amd64 r231158M:

===  Building for bwi-firmware-kmod-3.130.20
cd /usr/ports/net/bwi-firmware-kmod/workb43-fwcutter -w 
/usr/ports/net/bwi-firmware-kmod/work /usr/ports/distfiles/wl_apsta-3.130.20.0.o
This file is recognised as:
  filename   :  wl_apsta.o
  version:  295.14
  MD5:  e08665c5c5b66beb9c3b2dd54aa80cb3
Extracting v3/ucode2.fw
Extracting v3/ucode4.fw
Extracting v3/ucode5.fw
Extracting v3/ucode11.fw
Extracting v3/pcm4.fw
Extracting v3/pcm5.fw
Extracting v3/a0g0bsinitvals2.fw
Extracting v3/b0g0bsinitvals5.fw
Extracting v3/a0g0initvals5.fw
Extracting v3/a0g1bsinitvals5.fw
Extracting v3/a0g0initvals2.fw
Extracting v3/a0g1initvals5.fw
Extracting v3/b0g0bsinitvals2.fw
Extracting v3/b0g0initvals5.fw
Extracting v3/b0g0initvals2.fw
Extracting v3/a0g0bsinitvals5.fw
/usr/bin/touch /usr/ports/net/bwi-firmware-kmod/work/v3/ucode.fw
/sys/conf/kmod.mk, line 111: Malformed conditional (${MK_CLANG_IS_CC} == no 
 ${CC:T:Mclang} != clang)
/sys/conf/kmod.mk, line 115: if-less endif
/sys/conf/kern.mk, line 18: Malformed conditional (${MK_CLANG_IS_CC} != no 
|| ${CC:T:Mclang} == clang)
/sys/conf/kern.mk, line 32: if-less endif
/sys/conf/kern.mk, line 102: Malformed conditional (${MK_CLANG_IS_CC} != no 
|| ${CC:T:Mclang} == clang)
/sys/conf/kern.mk, line 108: if-less endif
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/ports/net/bwi-firmware-kmod.
# 

Please advise

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: portmaster --check-depends with pkgng exits immediately

2012-04-16 Thread Graham Todd
On Mon, 16 Apr 2012 13:34:32 -0400, Alberto Villa avi...@freebsd.org  
wrote:



On Monday 16 April 2012 16:17:52 Anton Shterenlikht wrote:

So does pkg check -ad do exactly what portmaster --check-depends
did before?


I've been maintaining the portmaster patch so far, and didn't enable that
option yet. In few days I'll push some updates, and one should be  
--check-

depends (I was waiting for a man page).


Is this the patch?

https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch

When installing from a port can a patched portmaster update *both* pkgng  
databases and /var/db/pkg/*/  ?
Installing from source with the regular version of portmaster and then  
trying to incrementally sync up with pkg2ng doesn't work too well.

___
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: net/bwi-firmware-kmod and net/bwn-firmware-kmod /sys/conf/kmod.mk, line 111: Malformed conditional (${MK_CLANG_IS_CC} == no ${CC:T:Mclang} != clang)

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 08:33:11PM +0100, Anton Shterenlikht wrote:
 on amd64 r231158M:
 
 ===  Building for bwi-firmware-kmod-3.130.20
 cd /usr/ports/net/bwi-firmware-kmod/workb43-fwcutter -w 
 /usr/ports/net/bwi-firmware-kmod/work 
 /usr/ports/distfiles/wl_apsta-3.130.20.0.o
 This file is recognised as:
   filename   :  wl_apsta.o
   version:  295.14
   MD5:  e08665c5c5b66beb9c3b2dd54aa80cb3
 Extracting v3/ucode2.fw
 Extracting v3/ucode4.fw
 Extracting v3/ucode5.fw
 Extracting v3/ucode11.fw
 Extracting v3/pcm4.fw
 Extracting v3/pcm5.fw
 Extracting v3/a0g0bsinitvals2.fw
 Extracting v3/b0g0bsinitvals5.fw
 Extracting v3/a0g0initvals5.fw
 Extracting v3/a0g1bsinitvals5.fw
 Extracting v3/a0g0initvals2.fw
 Extracting v3/a0g1initvals5.fw
 Extracting v3/b0g0bsinitvals2.fw
 Extracting v3/b0g0initvals5.fw
 Extracting v3/b0g0initvals2.fw
 Extracting v3/a0g0bsinitvals5.fw
 /usr/bin/touch /usr/ports/net/bwi-firmware-kmod/work/v3/ucode.fw
 /sys/conf/kmod.mk, line 111: Malformed conditional (${MK_CLANG_IS_CC} == 
 no  ${CC:T:Mclang} != clang)
 /sys/conf/kmod.mk, line 115: if-less endif
 /sys/conf/kern.mk, line 18: Malformed conditional (${MK_CLANG_IS_CC} != 
 no || ${CC:T:Mclang} == clang)
 /sys/conf/kern.mk, line 32: if-less endif
 /sys/conf/kern.mk, line 102: Malformed conditional (${MK_CLANG_IS_CC} != 
 no || ${CC:T:Mclang} == clang)
 /sys/conf/kern.mk, line 108: if-less endif
 make: fatal errors encountered -- cannot continue
 *** Error code 1
 
 Stop in /usr/ports/net/bwi-firmware-kmod.
 # 
 

And the same error for net/bwn-firmware-kmod.

===  Building for bwn-firmware-kmod-0.1.0
cd /usr/ports/net/bwn-firmware-kmod/work   tar xjf 
/usr/ports/distfiles/broadcom-wl-4.150.10.5.tar.bz2
mkdir -p /usr/ports/net/bwn-firmware-kmod/work/bg
b43-fwcutter -w /usr/ports/net/bwn-firmware-kmod/work/bg  
/usr/ports/net/bwn-firmware-kmod/work/broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o
This file is recognised as:
  filename   :  wl_apsta_mimo.o
  version:  410.2160
  MD5:  cb8d70972b885b1f8883b943c0261a3c
Extracting v4/pcm5.fw
Extracting v4/ucode15.fw
Extracting v4/ucode14.fw
Extracting v4/ucode13.fw
Extracting v4/ucode11.fw
Extracting v4/ucode9.fw
Extracting v4/ucode5.fw
Extracting v4/lp0bsinitvals15.fw
Extracting v4/lp0initvals15.fw
Extracting v4/lp0bsinitvals14.fw
Extracting v4/lp0initvals14.fw
Extracting v4/a0g1bsinitvals13.fw
Extracting v4/a0g1initvals13.fw
Extracting v4/b0g0bsinitvals13.fw
Extracting v4/b0g0initvals13.fw
Extracting v4/lp0bsinitvals13.fw
Extracting v4/lp0initvals13.fw
Extracting v4/n0absinitvals11.fw
Extracting v4/n0bsinitvals11.fw
Extracting v4/n0initvals11.fw
Extracting v4/a0g1bsinitvals9.fw
Extracting v4/a0g0bsinitvals9.fw
Extracting v4/a0g1initvals9.fw
Extracting v4/a0g0initvals9.fw
Extracting v4/b0g0bsinitvals9.fw
Extracting v4/b0g0initvals9.fw
Extracting v4/a0g1bsinitvals5.fw
Extracting v4/a0g0bsinitvals5.fw
Extracting v4/a0g1initvals5.fw
Extracting v4/a0g0initvals5.fw
Extracting v4/b0g0bsinitvals5.fw
Extracting v4/b0g0initvals5.fw
/usr/bin/touch /usr/ports/net/bwn-firmware-kmod/work/bg/v4/ucode.fw
/sys/conf/kmod.mk, line 111: Malformed conditional (${MK_CLANG_IS_CC} == no 
 ${CC:T:Mclang} != clang)
/sys/conf/kmod.mk, line 115: if-less endif
/sys/conf/kern.mk, line 18: Malformed conditional (${MK_CLANG_IS_CC} != no 
|| ${CC:T:Mclang} == clang)
/sys/conf/kern.mk, line 32: if-less endif
/sys/conf/kern.mk, line 102: Malformed conditional (${MK_CLANG_IS_CC} != no 
|| ${CC:T:Mclang} == clang)
/sys/conf/kern.mk, line 108: if-less endif
make: fatal errors encountered -- cannot continue
*** Error code 1

Stop in /usr/ports/net/bwn-firmware-kmod.
# 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: portmaster --check-depends with pkgng exits immediately

2012-04-16 Thread Alberto Villa
On Monday 16 April 2012 15:39:27 Graham Todd wrote:
 Is this the patch?
 
 https://github.com/pkgng/pkgng/blob/master/ports/portmaster.patch

Yes.

 When installing from a port can a patched portmaster update *both* pkgng
 databases and /var/db/pkg/*/  ?
 Installing from source with the regular version of portmaster and then
 trying to incrementally sync up with pkg2ng doesn't work too well.

I think I can try to make that optional, yes.
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla

The louder he talked of his honour, the faster we counted our spoons.
-- Ralph Waldo Emerson


signature.asc
Description: This is a digitally signed message part.


Re: pkg check -a doesn't work

2012-04-16 Thread Bryan Drewery
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/16/2012 10:09 AM, Baptiste Daroussin wrote:
 On Mon, Apr 16, 2012 at 03:46:04PM +0100, Anton Shterenlikht
 wrote:
 # pkg check -a usage: pkg check [-yadsr] pkg check [-ygxXdsr]
 pattern
 
 For more information see 'pkg help check'. #
 
 According to the man page, this should've worked, by processing 
 all packages.
 
 -a is for processing all packages, it should be used with one of
 the possible actions: -d -s -r
 
 Maybe the manpage is not really accurate. Can you open an issue
 about this problem?
 
 regards, Bapt

Anton,

I've logged this here: https://github.com/pkgng/pkgng/issues/199

I'm working on a usage/manpage update for it.

Thanks,
Bryan Drewery
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPjHsrAAoJEG54KsA8mwz57A8P/39FcYCLLajR1E8H1Hcz0qZQ
uK1g3eA0wx+l37a04Szo+5kTBOufo5qfzB6x9fl12DZm6gN/UShUNsn8CDo339LI
Wkn6t6Ef/T7veBczHC9cANNnaGbPC3hWwYUYwylJkQiFHtJmXlSPia2nuzmOr6w0
G9z0PnkRxhuhkVSG1Gzqk6hBct/f7d3mEeTqr64OLMNLCGU2pNsQ0MbsqgeqstC2
IymG1XM8d/auZQGfgI5Qar46g8kDC9I+m0/DkI9EErQaXI413eaMrBFu+JMgdizl
7DYCDXOhf/X+SMRjqjNlmdifC3p+PCUodOosut753Fix6mLdGZvm7eOalNHuhsTp
TEuyoEXeYtyjJuyCSdq0Z2ROizd5h/eZEILLucpp27zPt+rkoFGYKwBg2xE2OPRZ
Cr2duRtL43tdrZoW27WTXl6rvxljNwB8PmW8+nUYD7CgMhD3g6W6VdHjgisBtM5G
aVcr7WlqZw+T7C7eaOUXbZmSwnOPEbBlMCqMP0IP3azGHwLr14CBRR58ELXRDiVJ
j0qpcuHbDvWsT7Pqs0NlkOtI9iOBjYUWWaEhZ7Qu8fcbTptpsanbHPhRYNhy6OCh
EHimnwlOx4K/yz3YiCPFjITUbTUC91Qff7cqd690ylMk3K6MnTjy1QwlFMpNwGNA
p0k8P4ldDdFb2k2lfnNF
=8u3t
-END PGP SIGNATURE-
___
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: pkg check [WAS: Re: portmaster --check-depends with pkgng exits immediately]

2012-04-16 Thread Ruslan Mahmatkhanov

Anton Shterenlikht wrote on 16.04.2012 19:39:

On Mon, Apr 16, 2012 at 05:11:17PM +0200, Baptiste Daroussin wrote:

On Mon, Apr 16, 2012 at 03:45:11PM +0100, Anton Shterenlikht wrote:

portmaster --check-depends used to take many seconds,
sometimes a minute to run. Now, with pkgng, it
exits immediately. Is this due to the efficiency
of the new tools? Or maybe this portmaster
option now does nothing and pkg tools should
be used directly instead?



portmaster --check-depends is useless with pkgng that is why it return
immediatly.


Does the following pkg check output indicate
problems with my installation, or something
the ports maintainers should be alerted to?

# pkg check -as
py27-numpy-1.6.1_1,1: checksum mismatch for 
/usr/local/lib/python2.7/site-packages/numpy/f2py/rulepyc
py27-numpy-1.6.1_1,1: checksum mismatch for 
/usr/local/lib/python2.7/site-packages/numpy/ma/timer_mparison.pyc


This particular errors are common when you rebuild/update python, but 
didn't rebuilded third-party py-* modules. So this is probably local issue.


--
Regards,
Ruslan

Tinderboxing kills... the drives.
___
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: pkg check -a doesn't work

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 03:04:00PM -0500, Bryan Drewery wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 04/16/2012 10:09 AM, Baptiste Daroussin wrote:
  On Mon, Apr 16, 2012 at 03:46:04PM +0100, Anton Shterenlikht
  wrote:
  # pkg check -a usage: pkg check [-yadsr] pkg check [-ygxXdsr]
  pattern
  
  For more information see 'pkg help check'. #
  
  According to the man page, this should've worked, by processing 
  all packages.
  
  -a is for processing all packages, it should be used with one of
  the possible actions: -d -s -r
  
  Maybe the manpage is not really accurate. Can you open an issue
  about this problem?
  
  regards, Bapt
 
 Anton,
 
 I've logged this here: https://github.com/pkgng/pkgng/issues/199
 
 I'm working on a usage/manpage update for it.

I've started the pr already:

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/166997

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: pkg check -a doesn't work

2012-04-16 Thread Julien Laffaye

On 4/16/2012 10:18 PM, Anton Shterenlikht wrote:

On Mon, Apr 16, 2012 at 03:04:00PM -0500, Bryan Drewery wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/16/2012 10:09 AM, Baptiste Daroussin wrote:

On Mon, Apr 16, 2012 at 03:46:04PM +0100, Anton Shterenlikht
wrote:

# pkg check -a usage: pkg check [-yadsr] pkg check [-ygxXdsr]
pattern

For more information see 'pkg help check'. #

According to the man page, this should've worked, by processing
all packages.

-a is for processing all packages, it should be used with one of
the possible actions: -d -s -r

Maybe the manpage is not really accurate. Can you open an issue
about this problem?

regards, Bapt

Anton,

I've logged this here: https://github.com/pkgng/pkgng/issues/199

I'm working on a usage/manpage update for it.

I've started the pr already:

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/166997

We work with github issues and not with PRs as pkgng is developed 
outside officials FreeBSD source repositories.

___
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: pkg check -a doesn't work

2012-04-16 Thread Anton Shterenlikht
On Mon, Apr 16, 2012 at 10:26:42PM +0200, Julien Laffaye wrote:
 On 4/16/2012 10:18 PM, Anton Shterenlikht wrote:
 On Mon, Apr 16, 2012 at 03:04:00PM -0500, Bryan Drewery wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 04/16/2012 10:09 AM, Baptiste Daroussin wrote:
 On Mon, Apr 16, 2012 at 03:46:04PM +0100, Anton Shterenlikht
 wrote:
 # pkg check -a usage: pkg check [-yadsr] pkg check [-ygxXdsr]
 pattern
 
 For more information see 'pkg help check'. #
 
 According to the man page, this should've worked, by processing
 all packages.
 -a is for processing all packages, it should be used with one of
 the possible actions: -d -s -r
 
 Maybe the manpage is not really accurate. Can you open an issue
 about this problem?
 
 regards, Bapt
 Anton,
 
 I've logged this here: https://github.com/pkgng/pkgng/issues/199
 
 I'm working on a usage/manpage update for it.
 I've started the pr already:
 
 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/166997
 
 We work with github issues and not with PRs as pkgng is developed 
 outside officials FreeBSD source repositories.

oh.. I see, so when Bapt asked me to
open an issue, he didn't mean a PR? 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


FreeBSD Port HFS Utilities Homepage

2012-04-16 Thread nemysis
Hello the Homepage for HFS Utilities is

http://www.mars.org/home/rob/proj/hfs/

Please add this in Port.

-- 
MfG / With best Regards
___
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: pkg check -a doesn't work

2012-04-16 Thread Baptiste Daroussin
On Mon, Apr 16, 2012 at 09:31:24PM +0100, Anton Shterenlikht wrote:
 On Mon, Apr 16, 2012 at 10:26:42PM +0200, Julien Laffaye wrote:
  On 4/16/2012 10:18 PM, Anton Shterenlikht wrote:
  On Mon, Apr 16, 2012 at 03:04:00PM -0500, Bryan Drewery wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  On 04/16/2012 10:09 AM, Baptiste Daroussin wrote:
  On Mon, Apr 16, 2012 at 03:46:04PM +0100, Anton Shterenlikht
  wrote:
  # pkg check -a usage: pkg check [-yadsr] pkg check [-ygxXdsr]
  pattern
  
  For more information see 'pkg help check'. #
  
  According to the man page, this should've worked, by processing
  all packages.
  -a is for processing all packages, it should be used with one of
  the possible actions: -d -s -r
  
  Maybe the manpage is not really accurate. Can you open an issue
  about this problem?
  
  regards, Bapt
  Anton,
  
  I've logged this here: https://github.com/pkgng/pkgng/issues/199
  
  I'm working on a usage/manpage update for it.
  I've started the pr already:
  
  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/166997
  
  We work with github issues and not with PRs as pkgng is developed 
  outside officials FreeBSD source repositories.
 
 oh.. I see, so when Bapt asked me to
 open an issue, he didn't mean a PR? 
 

Yes I should have given more precision, I'll translate you PRs into issues and
close them.

Thanks for having reported them.

regards,
Bapt


pgpDrX4VmveV0.pgp
Description: PGP signature


Re: pkgng beta 11: pkg-static: The database is outdated and opened readonly *** Error code 74

2012-04-16 Thread Baptiste Daroussin
On Mon, Apr 16, 2012 at 04:25:08PM +0100, Anton Shterenlikht wrote:
 On Mon, Apr 16, 2012 at 05:15:35PM +0200, Baptiste Daroussin wrote:
  On Mon, Apr 16, 2012 at 10:22:49AM +0100, Anton Shterenlikht wrote:
   On Mon, Apr 16, 2012 at 11:02:09AM +0200, Julien Laffaye wrote:
On 04/16/2012 10:20 AM, Anton Shterenlikht wrote:
Updating ports-mgmt/pkg to b11:

===   Installing for pkg-1.0.b11
===Generating temporary packing list
===   Checking if ports-mgmt/pkg already installed
pkg-static: The database is outdated and opened readonly
*** Error code 74

Stop in /usr/ports/ports-mgmt/pkg.

Please advise

The database schema changed so pkgng try to upgrade it. But here pkgng 
does not have rights to do so. Try re-run pkgng as root.
   
   YOu mean pkg2ng?
   
   I get:
   
   Registering autoconf-wrapper-20101119... pkg: The database is outdated 
   and opened readonly
   pkg: The database is outdated and opened readonly
   failed.
   
   and the same for all other ports.
   
  
  Well you should be upgrading from beta8 it is known there are problems for
  upgrading from beta8 to newer version, but it is really hard to determine 
  where
  the problem comes from.
  
  regards,
  Bapt
 
 Anyway, I just need to recover somehow.
 Which database are we talking about,
 is it /var/db/pkg? Will it help if
 I remove it, and start from scratch?
 

Well normally just once you have build your port (before installing) just make
deinstall, ./work/pkg-beta11/pkg-static/pkg-static info, it should upgrade your
database.

Then make install should finish the work.

regards,
Bapt


pgpQN1vYhIYGt.pgp
Description: PGP signature


Re: FreeBSD Port HFS Utilities Homepage

2012-04-16 Thread Eitan Adler
On 16 April 2012 16:55, nemysis nemy...@gmx.ch wrote:
 Hello the Homepage for HFS Utilities is

 http://www.mars.org/home/rob/proj/hfs/

 Please add this in Port.

done. Next time please indicate which port you are talking about.

-- 
Eitan Adler
___
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