First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 92503
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: dotnet AT gentoo DOT org <dotnet@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Rudh <christian@rudh.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
configure.in configure.in text/plain Jose daLuz 2005-05-13 12:50 0000 10.96 KB Details
configure.in My configure.in text/plain Christian Rudh 2005-05-13 13:46 0000 10.96 KB Details
another_configure.in another_configure.in text/plain Robert R. Richter 2005-05-14 04:58 0000 10.96 KB Details
gtk-sharp-component.eclass gtk-sharp-component.eclass text/plain Kristiaan Lenaerts 2005-05-16 01:50 0000 5.58 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 92503 depends on: Show dependency tree
Show dependency graph
Bug 92503 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2005-05-13 07:56 0000
I unmasked the masked version of gtk-sharp, and no matter which of them I try
(I tried 1.9.3, 1.9.3-r1 and 1.9.3.1) they all fail with the same message
before compilation starts.



Reproducible: Always
Steps to Reproduce:
1. Unmask one of the ebuilds.
2. Emerge the ebuild.
3.

Actual Results:  
vindex ~ # emerge gtk-sharp
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-dotnet/gtk-sharp-1.9.3 to /
>>> md5 files   ;-) gtk-sharp-1.9.3-r1.ebuild
>>> md5 files   ;-) gtk-sharp-1.9.2.ebuild
>>> md5 files   ;-) gtk-sharp-1.0.6.ebuild
>>> md5 files   ;-) gtk-sharp-1.0.8.ebuild
>>> md5 files   ;-) gtk-sharp-1.9.3.1.ebuild
>>> md5 files   ;-) gtk-sharp-1.9.3.ebuild
>>> md5 files   ;-) files/digest-gtk-sharp-1.9.3-r1
>>> md5 files   ;-) files/digest-gtk-sharp-1.9.3.1
>>> md5 files   ;-) files/digest-gtk-sharp-1.0.6
>>> md5 files   ;-) files/digest-gtk-sharp-1.0.8
>>> md5 files   ;-) files/digest-gtk-sharp-1.9.2
>>> md5 files   ;-) files/digest-gtk-sharp-1.9.3
>>> md5 src_uri ;-) gtk-sharp-1.9.3.tar.gz
>>> md5 src_uri ;-) gtk-sharp-1.9.3-configurable.diff.gz
>>> Unpacking source...
>>> Unpacking gtk-sharp-1.9.3.tar.gz to /var/tmp/portage/gtk-sharp-1.9.3/work
>>> Unpacking gtk-sharp-1.9.3-configurable.diff.gz to
/var/tmp/portage/gtk-sharp-1.9.3/work
 * Applying gtk-sharp-1.9.3-configurable.diff ...                         [ ok
]/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
configure.in:58: error: possibly undefined macro: PKG_PATH
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

!!! ERROR: dev-dotnet/gtk-sharp-1.9.3 failed.
!!! Function src_unpack, Line 35, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
It should compile.

Line 35 in the ebuild is the following:

autoconf || die

------- Comment #1 From Peter Johanson (RETIRED) 2005-05-13 08:29:48 0000 -------
Interesting, can you please post the output of "emerge info"? Thanks.

------- Comment #2 From Timothy Hoffmeyer 2005-05-13 10:07:21 0000 -------
This does the same thing to me, but I have 1.9.3-r1 already emerged. This is
doing when I try to update it to 1.9.3.1.

*[root@phakison:~] emerge info
Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-rc4-nitro1 i686)
=================================================================
System uname: 2.6.12-rc4-nitro1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.7
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/
ftp://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/
ftp://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com
http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo
http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://mirror.tucdemonic.org/gentoo/
http://mirror.clarkson.edu/pub/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aac adns aim alsa apache2 apm arts audiofile avi
bash-completion berkdb bitmap-fonts bzip2 bzlib ccache cddb cdr chroot crypt
cups curl dba dbase dbmaker directfb distcache dvb dvd dvdr eds emboss encode
escreen esd fam fbcon festival filepro flac font-server foomaticdb fortran ftp
gd gdbm gif gmail gnome gpm gstreamer gtk gtk2 gtkhtml guile hardenedphp iconv
icq imagemagick imap imlib ipv6 jabber java jpeg junit kde ldap libcaca libg++
libwww lm_sensors mad memlimit mhash mikmod ming mmx mmx2 mng motif mozilla mp3
mpeg mysql ncurses nls nptl nptlonly nvidia odbc offensive ogg oggvorbis opengl
oss pam pdflib perl php pic png postgres python qt quicktime readline ruby sdl
snmp socks5 spell sqlite sse ssl svga tcltk tcpd tetex tidy tiff truetype
truetype-fonts type1-fonts userlocales vhosts vorbis xine xml2 xmms
xscreensaver xslt xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #3 From Peter Johanson (RETIRED) 2005-05-13 10:13:38 0000 -------
Just to confirm there's not something very funky going on here, can people
please post the configure.in file from
/var/tmp/portage/gtk-sharp-1.9.3.1/work/gtk-sharp-1.9.3.1/ after this fails?
Thanks.

------- Comment #4 From Jose daLuz 2005-05-13 12:50:49 0000 -------
Created an attachment (id=58832) [edit]
configure.in

Here's the configure.in after a failed emerge, as requested.

------- Comment #5 From Christian Rudh 2005-05-13 13:42:42 0000 -------
And here is my emerge info:

Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686)
=================================================================
System uname: 2.6.11-gentoo-r8 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.6
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aim alsa apache2 apm audiofile avi berkdb bitmap-fonts bluetooth cairo cdr crypt cups dbus dga divx4linux dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg flac foomaticdb fortran ftp gd gdbm gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal howl icq imagemagick imlib ipv6 jabber java jpeg ldap libg++ libwww lm_sensors mad matroska mikmod mime mmx mmxext mono motif mozilla mp3 mpeg msn mysql ncurses nls nptl nvidia odbc ogg oggvorbis opengl oscar oss osspam pam pdflib perl php pic png postgres python quicktime readline ruby samba scanner sdl soap sockets speex spell sse ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts usb v4l vcd vorbis win32codecs xml2 xmlrpc xosd xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #6 From Christian Rudh 2005-05-13 13:46:54 0000 -------
Created an attachment (id=58834) [edit]
My configure.in

My configure.in

------- Comment #7 From Ed Catmur 2005-05-13 15:26:09 0000 -------
From http://www.robot101.net/2005/04/24/things-that-just-dont-work/ :

> As of version 0.16 of pkg-config, pkg-config

------- Comment #8 From Ed Catmur 2005-05-13 15:26:09 0000 -------
From http://www.robot101.net/2005/04/24/things-that-just-dont-work/ :

> As of version 0.16 of pkg-config, pkg-config’s m4 script disallows any other to 
> use variables matching _PKG_* or PKG_*, as those variables are part of 
> pkg-config’s namespace. Just kick the upstream maintainer for trespassing on 
> other people’s namespaces and get it changed and all should be fine.

If this analysis is correct, a simple 
    sed -i -e 's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g'
should be sufficient. Testing.

------- Comment #9 From Ed Catmur 2005-05-13 15:41:38 0000 -------
Yes, it works.

------- Comment #10 From Gad Kadosh 2005-05-14 02:21:26 0000 -------
What do you mean it works? it haven't yet been fixed in portage I think, at
least not for me...

------- Comment #11 From Robert R. Richter 2005-05-14 04:58:09 0000 -------
Created an attachment (id=58860) [edit]
another_configure.in

------- Comment #12 From Robert R. Richter 2005-05-14 04:59:32 0000 -------
same prob. here - added file 'another_configure.in'...

Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.11
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="~x86 x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/MozillaFirefox/defaults/pref /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -msse -mmmx -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdread dxr3 eds emboss encode escreen esd etwin fam flac foomaticdb fortran freetds gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib jpeg kde ldap libg++ libwww mad mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nvidia odbc ogg oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang speex spell sqlite sse ssl svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts vidix vorbis win32codecs xine xml2 xmms xv xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS

------- Comment #13 From Ed Catmur 2005-05-14 07:34:27 0000 -------
Re comment #9:

What works is to issue a 

    sed -i -e 's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g' configure.in

before autoconf. 

In other words: we know what the problem is, we know what the fix is, and we're just waiting for the fix to be committed to Portage.

------- Comment #14 From Doug Goldstein 2005-05-15 02:11:52 0000 -------
Fixed InCVS.

Pete,

Urilith ok'd my commit on this. But feel free to yell at me.

------- Comment #15 From Gad Kadosh 2005-05-15 06:38:12 0000 -------
It's not yet working. only gtk-sharp works, the components don't...

------- Comment #16 From Kristiaan Lenaerts 2005-05-16 01:50:03 0000 -------
Created an attachment (id=58987) [edit]
gtk-sharp-component.eclass

The eclass was changed to include "sed -i -e
's/\<PKG_PATH\>/GTK_SHARP_PKG_PATH/g' configure.in", but it was located after
automake/autoconf... placing it above that solves the problem, I've succesfully
merged art-sharp, gnome-sharp and gnomevfs-sharp...

------- Comment #17 From Gad Kadosh 2005-05-16 02:24:13 0000 -------
It is already fixed in the tree... :)

First Last Prev Next    No search results available      Search page      Enter new bug