Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92503 - gtk-sharp-1.9.3* ebuilds doesn't compile
Summary: gtk-sharp-1.9.3* ebuilds doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-05-13 07:56 UTC by Christian Rudh
Modified: 2005-05-16 02:24 UTC (History)
3 users (show)

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


Attachments
configure.in (configure.in,10.96 KB, text/plain)
2005-05-13 12:50 UTC, Jose daLuz
Details
My configure.in (configure.in,10.96 KB, text/plain)
2005-05-13 13:46 UTC, Christian Rudh
Details
another_configure.in (another_configure.in,10.96 KB, text/plain)
2005-05-14 04:58 UTC, Robert R. Richter
Details
gtk-sharp-component.eclass (gtk-sharp-component.eclass,5.58 KB, text/plain)
2005-05-16 01:50 UTC, Kristiaan Lenaerts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Rudh 2005-05-13 07:56:41 UTC
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 Peter Johanson (RETIRED) gentoo-dev 2005-05-13 08:29:48 UTC
Interesting, can you please post the output of "emerge info"? Thanks.
Comment 2 Timothy Hoffmeyer 2005-05-13 10:07:21 UTC
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 Peter Johanson (RETIRED) gentoo-dev 2005-05-13 10:13:38 UTC
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 Jose daLuz 2005-05-13 12:50:49 UTC
Created attachment 58832 [details]
configure.in

Here's the configure.in after a failed emerge, as requested.
Comment 5 Christian Rudh 2005-05-13 13:42:42 UTC
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 Christian Rudh 2005-05-13 13:46:54 UTC
Created attachment 58834 [details]
My configure.in

My configure.in
Comment 7 Ed Catmur 2005-05-13 15:26:09 UTC
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 Ed Catmur 2005-05-13 15:26:09 UTC
From http://www.robot101.net/2005/04/24/things-that-just-dont-work/ :

> As of version 0.16 of pkg-config, pkg-configs m4 script disallows any other to 
> use variables matching _PKG_* or PKG_*, as those variables are part of 
> pkg-configs namespace. Just kick the upstream maintainer for trespassing on 
> other peoples 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 Ed Catmur 2005-05-13 15:41:38 UTC
Yes, it works.
Comment 10 gad.kadosh 2005-05-14 02:21:26 UTC
What do you mean it works? it haven't yet been fixed in portage I think, at least not for me...
Comment 11 Robert R. Richter 2005-05-14 04:58:09 UTC
Created attachment 58860 [details]
another_configure.in
Comment 12 Robert R. Richter 2005-05-14 04:59:32 UTC
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 Ed Catmur 2005-05-14 07:34:27 UTC
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 Doug Goldstein (RETIRED) gentoo-dev 2005-05-15 02:11:52 UTC
Fixed InCVS.

Pete,

Urilith ok'd my commit on this. But feel free to yell at me.
Comment 15 gad.kadosh 2005-05-15 06:38:12 UTC
It's not yet working. only gtk-sharp works, the components don't...
Comment 16 Kristiaan Lenaerts 2005-05-16 01:50:03 UTC
Created attachment 58987 [details]
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 gad.kadosh 2005-05-16 02:24:13 UTC
It is already fixed in the tree... :)