Short version: If you make a pkg repo with poudriere that includes
java/diablo-jdk16 and tell pkg to install it, it knows pkgconf is a
dep of xproto but it installs it in the wrong order so it fails.
diablo-jdk16 is not on pkgbeta so I cannot test with that repo.
I realize there are other jdk choices but this issue is about why
pkg would get the install order wrong (it also seems to be missing
a newline on the error).  Please let me know if I can provide more
information or test something.  Thanks.

This is on a recent 9.x-amd64 test system with no packages old or new:

root@test:/root # env 
PACKAGESITE="http://my.local.server/pkg/freebsd:9:x86:64/latest"; pkg update
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg please wait
Installing pkg-1.0.1... done
If you are upgrading from the old package format, first run:

  # pkg2ng
Updating repository catalogue
repo.txz                                                                        
   100%  792KB 791.5KB/s 791.5KB/s   
00:00    
root@test:/root # pkg info
pkg-1.0.1                      New generation package manager
root@test:/root # pkg install java/diablo-jdk16
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
The following packages will be installed:

        Installing javavmwrapper: 2.4
        Installing compat7x-amd64: 7.3.703000.201008_1
        Installing xextproto: 7.2.0
        Installing xproto: 7.0.22
        Installing pkgconf: 0.8.9
        Installing diablo-jdk: 1.6.0.07.02_20

The installation will require 166 MB more space

56 MB to be downloaded

Proceed with installing packages [y/N]: y
javavmwrapper-2.4.txz                                                           
   100%   18KB  17.6KB/s  17.6KB/s   
00:00    
compat7x-amd64-7.3.703000.201008_1.txz                                          
   100% 5010KB   4.9MB/s   4.9MB/s   
00:00    
xextproto-7.2.0.txz                                                             
   100%   23KB  22.7KB/s  22.7KB/s   
00:00    
xproto-7.0.22.txz                                                               
   100%   59KB  59.2KB/s  59.2KB/s   
00:00    
pkgconf-0.8.9.txz                                                               
   100%   22KB  21.9KB/s  21.9KB/s   
00:00    
diablo-jdk-1.6.0.07.02_20.txz                                                   
   100%   52MB  51.7MB/s  51.7MB/s   
00:00    
Checking integrity... done
Installing javavmwrapper-2.4... done
Installing compat7x-amd64-7.3.703000.201008_1... done
Installing xextproto-7.2.0... done
Installing xproto-7.0.22...missing dependency pkgconf-0.8.9root@test:/root #
root@test:/root #
root@test:/root # pkg install java/diablo-jdk16
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
The following packages will be installed:

        Installing xproto: 7.0.22
        Installing pkgconf: 0.8.9
        Installing diablo-jdk: 1.6.0.07.02_20

The installation will require 149 MB more space

0 B to be downloaded

Proceed with installing packages [y/N]: y
Checking integrity... done
Installing xproto-7.0.22...missing dependency pkgconf-0.8.9root@test:/root # 
root@test:/root # 
root@test:/root # 



If I go ahead and install pkgconf manually, xproto and thus diablo-jdk succeed.

Interestingly, if I only request to install xproto, it gets the order right:


root@test:/root # pkg install xproto
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
The following packages will be installed:

        Installing pkgconf: 0.8.9
        Installing xproto: 7.0.22

The installation will require 428 kB more space

0 B to be downloaded

Proceed with installing packages [y/N]: y
Checking integrity... done
Installing pkgconf-0.8.9... done
Installing xproto-7.0.22... done



_______________________________________________
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"

Reply via email to