Well, I'm ebuilding net-misc/tightvnc. Since net-misc/vnc provides basically the same stuff ... here's the DEPEND/RDEPEND section of the tightvnc ebuild: --------------------------------------- DEPEND=">=x11-base/xfree-4.2.1 ~media-libs/jpeg-6b sys-libs/zlib tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" RDEPEND="${DEPEND} sys-devel/perl !net-misc/vnc java? ( || ( >=virtual/jdk-1.3.1-r7 >=virtual/jre-1.3.1-r7 ) )" --------------------------------------- Please note the "!net-misc/vnc" part in RDEPEND. Even if you have net-misc/vnc already installed, you should be able to build a tightvnc tbz2 using --buildpkgonly. Here's portage .46-r12 behavior: # emerge tightvnc-1.2.8.ebuild -Bp && emerge tightvnc-1.2.8.ebuild -B These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] net-misc/vnc (from pkg net-misc/tightvnc-1.2.8) [ebuild N ] net-misc/tightvnc-1.2.8 Calculating dependencies ...done! !!! --buildpkgonly requires all dependancies to be merged. !!! Cannot merge requested packages. Merge deps and try again. Reproducible: Always Steps to Reproduce:
Fixed in cvs.
out shortly
# emerge -p vnc && grep -B 3 -A 2 net-misc/vnc tightvnc-1.2.8.ebuild && emerge -p tightvnc-1.2.8.ebuild && emerge -V These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] net-misc/vnc-3.3.6 RDEPEND="${DEPEND} sys-devel/perl !net-misc/vnc java? ( || ( >=virtual/jdk-1.3.1-r7 >=virtual/jre-1.3.1-r7 ) )" These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] net-misc/tightvnc-1.2.8 Portage 2.0.47-r3 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) -- emerge tightvnc will end overwriting the current vnc installation. the tightvnc ebuild I'm using is at http://web.losingtime.net/gentoo/working/tightvnc
wonder how this is happening but .. after few hours, three rsyncs, and an `emerge regen` : # emerge tightvnc-1.2.8.ebuild -pB && emerge tightvnc-1.2.8.ebuild -B ; These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] net-misc/vnc (from pkg net-misc/tightvnc-1.2.8) [ebuild N ] net-misc/tightvnc-1.2.8 Calculating dependencies ...done! !!! --buildpkgonly requires all dependancies to be merged. !!! Cannot merge requested packages. Merge deps and try again. RDEPEND="${DEPEND} sys-devel/perl !net-misc/vnc java? ( || ( >=virtual/jdk-1.3.1-r7 >=virtual/jre-1.3.1-r7 ) )" Portage 2.0.47-r3 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
ok, my last issue was due to cache stuff. however, the initial behavior is not changed. NOTE: the tightvnc ebuild below is the one with !net-misc/vnc in RDEPEND. # emerge -p /usr/portage/net-misc/tightvnc/tightvnc-1.2.8.ebuild >>> /var/cache/edb/dep doesn't exist, creating it... These are the packages that I would merge, in order: Calculating dependencies ...done! [blocks B ] net-misc/vnc (from pkg net-misc/tightvnc-1.2.8) [ebuild N ] net-misc/tightvnc-1.2.8 beryllium tightvnc # emerge -B /usr/portage/net-misc/tightvnc/tightvnc-1.2.8.ebuild Calculating dependencies ...done! !!! --buildpkgonly requires all dependancies to be merged. !!! Cannot merge requested packages. Merge deps and try again.