Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217901 - games-server/greenhouse-1.0.1 ebuild has wrong dependencies
Summary: games-server/greenhouse-1.0.1 ebuild has wrong dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-16 04:56 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2009-01-20 01:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
greenhouse-1.0.1.ebuild (greenhouse-1.0.1.ebuild,1013 bytes, text/plain)
2008-04-16 05:19 UTC, Alexandre Rostovtsev (RETIRED)
Details
games-server/greenhouse-1.0.1.ebuild (fixed deps, added ~amd64, using newbin) (greenhouse-1.0.1.ebuild,1004 bytes, text/plain)
2008-05-04 04:08 UTC, Josh Glover (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-04-16 04:56:26 UTC
games-server/greenhouse-1.0.1 ebuild lists no dependencies because (according to the ebuild) "Greenhouse is statically linked, so it has no external dependencies".

That is *blatantly wrong*. Greenhouse is dynamically linked, and requires a gtk libs, as can be verified by running

#ldd /usr/bin/greenhouse
	linux-gate.so.1 =>  (0xb7f80000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7be4000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7bde000)
	libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libstdc++.so.6 (0xb7af3000)
	libm.so.6 => /lib/libm.so.6 (0xb7ace000)
	libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.2.3/libgcc_s.so.1 (0xb7ac2000)
	libc.so.6 => /lib/libc.so.6 (0xb798b000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7972000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb78ee000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb78b0000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0xb77c6000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb778a000)
	libdl.so.2 => /lib/libdl.so.2 (0xb7786000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb76b5000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb769d000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7699000)
	libz.so.1 => /lib/libz.so.1 (0xb7687000)
	libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7662000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7657000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7653000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7650000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb764b000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb762f000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb762a000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb75bf000)
	librt.so.1 => /lib/librt.so.1 (0xb75b5000)
	/lib/ld-linux.so.2 (0xb7f81000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb758a000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0xb757b000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7572000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0xb7569000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7560000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7556000)
	libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7553000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7538000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7510000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7492000)
	libglitz-glx.so.1 => /usr/lib/libglitz-glx.so.1 (0xb748c000)
	libxcb-render-util.so.0 => /usr/lib/libxcb-render-util.so.0 (0xb7488000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xb7480000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb7455000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7336000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0xb7333000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb732e000)
	libglitz.so.1 => /usr/lib/libglitz.so.1 (0xb7309000)
	libGL.so.1 => /usr/lib/opengl/xorg-x11/lib/libGL.so.1 (0xb72a2000)
	libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb729c000)
	libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7293000)
	libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0xb7290000)
	libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0xb727d000)

Also, it works fine on amd64 with the emul-linux-x86 packages. And it does not work on any other architecture (since it's x86 binary).
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-04-16 05:19:01 UTC
Created attachment 149896 [details]
greenhouse-1.0.1.ebuild

An ebuild with correct dependencies.

Also that the "Greenhouse" license that the current ebuild lists is not in /usr/portage/licenses. Please put it there, otherwise the ebuild is invalid.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-16 22:11:51 UTC
Also, please add games as the herd to the metadata.xml file so that we're listed as a backup.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-04-22 16:29:41 UTC
Looks odd, why not use "newbin" ?

src_install() {
	mv DownloaderLin ${PN}
	dobin ${PN}
}
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-04-23 05:35:03 UTC
(In reply to comment #3)
> Looks odd, why not use "newbin" ?

I just copied the existing ebuild without looking. You are right, it should be newbin.
Comment 5 Josh Glover (RETIRED) gentoo-dev 2008-05-04 02:53:56 UTC
OK, will fix. Sorry about this; I should have run scanelf. :(
Comment 6 Josh Glover (RETIRED) gentoo-dev 2008-05-04 04:08:34 UTC
Created attachment 151749 [details]
games-server/greenhouse-1.0.1.ebuild (fixed deps, added ~amd64, using newbin)
Comment 7 Josh Glover (RETIRED) gentoo-dev 2008-05-04 04:08:53 UTC
Committed to CVS and unmasked.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2008-05-05 05:19:02 UTC
The license is still missing and there are still broken deps:

games-server/greenhouse-1.0.1: no license files: Greenhouse
games-server/greenhouse-1.0.1: nonsolvable depset(rdepends) keyword(~amd64) profile (default-linux/amd64/2006.1/no-multilib): solutions: [ app-emulation/emul-linux-x86-gtklibs, app-emulation/emul-linux-x86-xlibs, app-emulation/emul-linux-x86-baselibs ]
Comment 9 Josh Glover (RETIRED) gentoo-dev 2008-05-10 03:08:01 UTC
Sorry, will try to fix now.
Comment 10 Josh Glover (RETIRED) gentoo-dev 2008-05-10 07:47:19 UTC
Mr.Bones., I updated gentoo-x86/profiles in CVS, and the repoman error went away.

I committed the license file (is there no way to have Repoman commit the licence file?) and added the games herd to metadata.xml.

Will you please verify that this bug can safely be resolved?
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2008-05-10 14:35:49 UTC
nope, still broken.

games-server/greenhouse-1.0.1: nonsolvable depset(rdepends) keyword(~amd64) profile (default-linux/amd64/2006.1/no-multilib): solutions: [ app-emulation/emul-linux-x86-gtklibs, app-emulation/emul-linux-x86-xlibs, app-emulation/emul-linux-x86-baselibs ]

You should be able to verify it yourself with repoman.
Comment 12 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-05-10 14:51:56 UTC
Just add games-server/greenhouse to

arch/amd64/no-multilib/package.mask
default-linux/amd64/2006.0/no-multilib/package.mask
default-linux/amd64/2006.1/no-multilib/package.mask
default-linux/amd64/2007.0/no-multilib/package.mask
features/64bit-native/package.mask

to stop repoman complaining.
Comment 13 Josh Glover (RETIRED) gentoo-dev 2008-05-11 02:44:33 UTC
Repoman is happy from here:


: jglover@jglover; PORTAGE_CVS_PATH="$HOME/coding/gentoo-x86"
: jglover@jglover; cd "PORTAGE_CVS_PATH/games-server/greenhouse/"
: jglover@jglover; PORTDIR_OVERLAY="${PORTAGE_CVS_PATH}" FEATURES="cvs autoaddcvs fixpackages"   repoman fix

Setting paths:
PORTDIR = "/mnt/hdpg/coding/gentoo-x86"
PORTDIR_OVERLAY = ""

RepoMan scours the neighborhood...
>>> Creating Manifest for /home/jglover/coding/gentoo-x86/games-server/greenhouse

  ebuild.allmasked              1
   games-server/greenhouse
RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."


I just did a cvs up -d from gentoo-x86/ yesterday. What gives?
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2008-05-11 04:07:58 UTC
repoman doesn't warn for this if the package is package masked.
Comment 15 Łukasz Damentko (RETIRED) gentoo-dev 2008-10-30 16:42:55 UTC
Reassinging to herd since jmglov has left Gentoo.
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2009-01-20 01:41:52 UTC
fixed up the mask for amd multi-lib and unmasked in global package.mask