Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 15369

Summary: --buildpkgonly minor issue
Product: Portage Development Reporter: Maurizio Disimino <h3y>
Component: UnclassifiedAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maurizio Disimino 2003-02-09 09:23:33 UTC
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:
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-02-21 05:28:17 UTC
Fixed in cvs.
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-02-22 07:58:33 UTC
out shortly
Comment 3 Maurizio Disimino 2003-02-23 06:13:46 UTC
# 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
Comment 4 Maurizio Disimino 2003-02-23 14:14:02 UTC
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)
Comment 5 Maurizio Disimino 2003-02-26 08:16:07 UTC
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.