Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 71630
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Giovani <giovanifaccin@yahoo.com.br>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gtk+extra-0.99.17.ebuild updated ebuild application/octet-stream Aris Adamantiadis 2004-12-19 16:18 0000 980 bytes Details
gtk+extra-amd64.patch library patch patch Aris Adamantiadis 2004-12-19 16:20 0000 558.77 KB Details | Diff
gtk+extra-amd64.patch cleaned patch patch Aris Adamantiadis 2004-12-20 14:24 0000 57.52 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 71630 depends on: Show dependency tree
Bug 71630 blocks: 74997
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-17 19:07 0000
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 From Aris Adamantiadis 2004-12-19 16:18:57 0000 -------
Created an attachment (id=46377) [details]
updated portage

updated ebuild so it will patch if running amd64

------- Comment #2 From Aris Adamantiadis 2004-12-19 16:20:14 0000 -------
Created an attachment (id=46378) [details]
library patch

I've "stolen" it to debian tree, I hope there is no problem on doing that

------- Comment #3 From Aris Adamantiadis 2004-12-19 16:21:29 0000 -------
here it fixes it. I'm using an application (gpsim) which needs it so I will
followup if there are problems.

------- Comment #4 From Simon Stelling (RETIRED) 2004-12-20 13:09:55 0000 -------
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 From Simon Stelling (RETIRED) 2004-12-20 13:10:48 0000 -------
whoops, dependancy got lost

------- Comment #6 From Aris Adamantiadis 2004-12-20 14:24:05 0000 -------
Created an attachment (id=46480) [details]
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 From Daniel Black 2005-01-02 16:29:19 0000 -------
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 From Daniel Black 2005-01-02 18:01:21 0000 -------
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 From Mike Doty 2005-01-04 16:21:20 0000 -------
comments #7 and #8 applied, incvs, thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug