Problem with pkgdb : /bin/sh:Argument list too long.

Patrick Lamaizière patfbsdp at davenulle.org
Sat Sep 8 11:59:49 PDT 2007


Hi,

I've got a problem with portupgrade/pkgdb with a stale dependency to
xorg-server-snap (because i replaced it by xorg-server).

I can't fix the pkgdb, i think there is a bug
because "/bin/sh:Argument list too long".

(i tried with portupgrade-devel too but there is the same problem)

# pkgdb -Fv
--->  Checking the package registry database
Checking the origin of ImageMagick-6.3.3.5_1
Checking the origin of ORBit2-2.14.8
[...]
Checking for origin duplicates
Checking ImageMagick-6.3.3.5_1
Checking ORBit2-2.14.8
[...]
Checking xf86-input-palmax-1.1.0
Stale dependency: xf86-input-palmax-1.1.0 -> xorg-server-1.2.99.903_1,1
(x11-servers/xorg-server-snap): 
Disclose depends for xf86-input-palmax-1.1.0
/bin/sh:Argument list too long 
-> Deleted. (irrelevant)
--->  Modifying /var/db/pkg/xf86-input-palmax-1.1.0/+CONTENTS
Checking xf86-input-penmount-1.2.0
Stale dependency: xf86-input-penmount-1.2.0 ->
xorg-server-1.2.99.903_1,1 (x11-servers/xorg-server-snap): 
Disclose depends for xf86-input-penmount-1.2.0 
^C^C
Interrupted.

-----

I do not really understand Ruby but i think that the problem is
somewhere here into pkgdb :
    puts "Disclose depends for #{pkgname}" if $verbose

    $origins[pkgname] = Hash.new
    `cd #{$portsdb.portdir(origin)} && #{shelljoin(*make_env)} make
#{shelljoin(*ma ke_args)} package-depends-list`.map { |line|
      a = line.chomp.split(/ /)
      $origins[pkgname].store(a[0], a[2])
    }.compact
  end

-----

Thanks, regards.


More information about the freebsd-ports mailing list