Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71630 - x11-libs/gtk+extra-0.99.17.ebuild does not emerge on amd64. Should change "missing keyword" for something else.
Summary: x11-libs/gtk+extra-0.99.17.ebuild does not emerge on amd64. Should change "mi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 74997
  Show dependency tree
 
Reported: 2004-11-17 19:07 UTC by Giovani M. Faccin
Modified: 2005-01-04 16:21 UTC (History)
0 users

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


Attachments
updated ebuild (gtk+extra-0.99.17.ebuild,980 bytes, application/octet-stream)
2004-12-19 16:18 UTC, Aris Adamantiadis
Details
library patch (gtk+extra-amd64.patch,558.77 KB, patch)
2004-12-19 16:20 UTC, Aris Adamantiadis
Details | Diff
cleaned patch (gtk+extra-amd64.patch,57.52 KB, patch)
2004-12-20 14:24 UTC, Aris Adamantiadis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Giovani M. Faccin 2004-11-17 19:07:39 UTC
When trying to emerge the ebuild:

x11-libs/gtk+extra-0.99.17

I get a warning saying that its masked by missing keyword which, according to Gentoo documentation: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1
means that the package has not been tested on amd64. Well, I've tested it and it does not build:

[/code]
bash-2.05b# emerge gtk+extra-0.99.17.ebuild
emerging by path implies --oneshot... adding --oneshot to options.

*** emerging by path is broken and may not always work!!!

Calculating dependencies
*** You are emerging a masked package. It is MUCH better to use
*** /etc/portage/package.* to accomplish this. See portage(5) man
*** page for details.
>>> Waiting 10 seconds before starting...
>>> (Control-C to abort)...
Continuing... in: 10 9 8 7 6 5 4 3 2 1
 ...done!
>>> emerge (1 of 1) x11-libs/gtk+extra-0.99.17 to /
>>> Downloading http://gentoo.osuosl.org/distfiles/gtk+extra-0.99.17.tar.gz
--00:37:36--  http://gentoo.osuosl.org/distfiles/gtk+extra-0.99.17.tar.gz
           => `/usr/portage/distfiles/gtk+extra-0.99.17.tar.gz'
Resolving gentoo.osuosl.org... 140.211.166.134
Connecting to gentoo.osuosl.org[140.211.166.134]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 426,952 [application/x-gzip]

100%[====================================>] 426,952       18.24K/s    ETA 00:00

00:38:05 (14.89 KB/s) - `/usr/portage/distfiles/gtk+extra-0.99.17.tar.gz' saved[426952/426952]

>>> md5 src_uri ;-) gtk+extra-0.99.17.tar.gz
>>> Unpacking source...
>>> Unpacking gtk+extra-0.99.17.tar.gz to /var/tmp/portage/gtk+extra-0.99.17/work
>>> Source unpacked.
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether build environment is sane... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=k8 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=k8 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for POSIXized ISC... no
checking for gcc option to accept ANSI C... none needed
checking for a BSD compatible install... /bin/install -c
checking whether make sets ${MAKE}... (cached) yes
checking host system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized

checking build system type... Invalid configuration `x86_64-pc-linux-gnu': machine `x86_64-pc' not recognized

checking for ranlib... ranlib
checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
ltconfig: you must specify a host type if you use `--no-verify'
Try `ltconfig --help' for more information.
configure: error: libtool configure failed

!!! ERROR: x11-libs/gtk+extra-0.99.17 failed.
!!! Function src_compile, Line 22, Exitcode 1
!!! Configuration Failed
!!! If you need support, post the topmost build error, NOT this status message.
[code]

Perhaps should change package status from "missing keyword" to "package.mask" or something else. I've tested it on amd64, but I don't know how it performs on other archs.

Reproducible: Always
Steps to Reproduce:
1. emerge /usr/portage/x11-libs/gtk+extra/gtk+extra-0.99.17.ebuild


Actual Results:  
Package fails during system check phase. See Details for terminal log.

Expected Results:  
Should have emerged sucessfully

Portage 2.0.51-r3 (default-amd64-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r1, 2.6
.7-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.7-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.6-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm arts avi berkdb bitmap-fonts bonobo cdr crypt encode esd
f77 foomaticdb fortran gdbm gif gpm gtk gtk2 guile imlib java jpeg kde libg++
libwww mikmod motif mpeg multilib ncurses nls nogcj oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd tetex
truetype xml2 xmms xv zlib"
Comment 1 Aris Adamantiadis 2004-12-19 16:18:57 UTC
Created attachment 46377 [details]
updated ebuild

updated ebuild so it will patch if running amd64
Comment 2 Aris Adamantiadis 2004-12-19 16:20:14 UTC
Created attachment 46378 [details, diff]
library patch

I've "stolen" it to debian tree, I hope there is no problem on doing that
Comment 3 Aris Adamantiadis 2004-12-19 16:21:29 UTC
here it fixes it. I'm using an application (gpsim) which needs it so I will followup if there are problems.
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2004-12-20 13:09:55 UTC
Aris: Where did you get this patch from? It's not a problem because it's from Debian, but it's over 500 kb huge.. Is this patch only for making it compile on amd64 or are they backporting anything from cvs or something like that?
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2004-12-20 13:10:48 UTC
whoops, dependancy got lost
Comment 6 Aris Adamantiadis 2004-12-20 14:24:05 UTC
Created attachment 46480 [details, diff]
cleaned patch

Ok, I've found out the main thing debian patch made was to update config.guess
and config.sub which are outdated in initial distro. So this patch only update
those two files
Comment 7 Daniel Black (RETIRED) gentoo-dev 2005-01-02 16:29:19 UTC
Alternately:
diff -u -b -B -r1.15 gtk+extra-0.99.17.ebuild
--- gtk+extra-0.99.17.ebuild    3 Sep 2004 15:35:19 -0000       1.15
+++ gtk+extra-0.99.17.ebuild    3 Jan 2005 00:27:20 -0000
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/x11-libs/gtk+extra/gtk+extra-0.99.17.ebuild,v 1.15 2004/09/03 15:35:19 pvdabeel Exp $

+inherit gnuconfig
+
 DESCRIPTION="Useful set of widgets for creating GUI's for the Xwindows system using GTK+."
 HOMEPAGE="http://gtkextra.sourceforge.net/"
 SRC_URI="http://gtkextra.sourceforge.net/src/${P}.tar.gz"
@@ -15,6 +17,7 @@
        =dev-libs/glib-1.2*"

 src_compile() {
+       gnuconfig_update
        ./configure \
                --host=${CHOST} \
                --prefix=/usr \



Aris to get you over these problems in future you can use FEATURES=autoconfig and this will happen automagicly.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2005-01-02 18:01:21 UTC
Amd64 when you commit this can you remove the TODO and NEWS from the dodoc
from output:
/usr/lib/portage/bin/dodoc: NEWS does not exist.
/usr/lib/portage/bin/dodoc: TODO does not exist.
Comment 9 Mike Doty (RETIRED) gentoo-dev 2005-01-04 16:21:20 UTC
comments #7 and #8 applied, incvs, thanks