Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58826

Summary: cvsup fails to compile properly with cm3.
Product: Gentoo Linux Reporter: Jacek Rosik <paproch>
Component: [OLD] DevelopmentAssignee: SpanKY <vapier>
Status: RESOLVED DUPLICATE    
Severity: normal CC: pappy, squinky86
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jacek Rosik 2004-07-29 14:03:29 UTC
When I tried to compile cvsup it emerged also cm3 modula compiler and used it to compile cvsup. During client compilation there was some errror and client was not compieled but whole build ended sucessfully. Whena I've changed dependencie from `virtual/m3' to 'dev-lang/ezm3' client was compiled and insalled properly.

Reproducible: Always
Steps to Reproduce:
1.emerge unmerge dev-lang/ezm3 (if installed)
2.change dev-util/cvsup/cvsup-1.16h.ebuild to depend on 'dev-lang/cm3' instead of 'virtual/m4' (this is only to force it to use cm3, in my syetup it always depends on cm3 even if ezm3 is installed!?)
3.emerge cvsup
Actual Results:  
cvsup client was not compiled/installed
Comment 1 Jacek Rosik 2004-07-29 14:18:55 UTC
This is error I get when compiling with cm3:


make[2]: Leaving directory `/var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/server'
===> client
make[2]: Entering directory `/var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/client'
m3build
package "suptcp" is already overridden to /var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/client/src/../.., ignoring new override to /var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/suplib/src/../..
 
"/var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/client/src/m3makefile", line 86: quake runtime error: unable to open "/usr/lib/cm3//pkg/formsvbt/LINUXLIBC6/.M3EXPORTS" for reading
 
--procedure--  -line-  -file---
import             --  <builtin>
include_dir        86  /var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/client/src/m3makefile
                    4  /var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/client/LINUXLIBC6/m3make.args
 
Fatal Error: package build failed
make[2]: *** [all] B&#322;&#261;d 2
make[2]: Leaving directory `/var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/client'
===> cvpasswd
make[2]: Entering directory `/var/tmp/portage/cvsup-16.1h/work/cvsup-snap-16.1h/cvpasswd'
Comment 2 SpanKY gentoo-dev 2004-07-30 06:24:31 UTC
works fine for me ... re-opeen once you provided `emerge info` like the bug report page said to
Comment 3 Jacek Rosik 2004-07-30 11:53:02 UTC
Here goes 'emerge info', sorry i haven't noticed it is required.


Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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="-mcpu=athlon-xp -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs notitles sandbox userpriv usersandbox"
GENTOO_MIRRORS="        ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/        http://gentoo.prz.rzeszow.pl    http://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/       http://gentoo.zie.pg.gda.pl http://ftp.lug.ro/gentoo/   http://ftp6.uni-erlangen.de/pub/mirrors/gentoo      http://gentoo.ynet.sk/pub"
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="3dfx 3dnow X Xaw3d aalib acl acpi adns alsa apache2 audiofile avi bcmath berkdb bonobo bzlib calendar caps cdr cpdflib crypt cscope ctype cups curl curlwrappers dba dbx dedicated dga dio directfb divx4linux doc dvd dvdr encode esd evo exif fam fbcon fftw flac flash flatfile foomaticdb ftp gb gd gdbm gif ginac gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile iconv icq imagemagick imap imlib inifile innodb iodbc ipv6 jabber java joystick jpeg junit lcms ldap leim lesstif libedit libg++ libgda libwww lirc mad maildir mailwrapper matrox mbox mcal mhash mikmod ming mmap mmx motif mozilla mpeg mpi msession mule mysql mysqli ncurses nis nls nocardbus nocd odbc offensive oggvorbis opengl oss pam pcntl pcre pdflib perl php pic plotutils png pnp posix postgres ppds python quicktime readline ruby samba sasl scanner sdl session shared simplexml slang slp snmp soap sockets speex spell sse ssl svg sysvipc szip tcltk tcpd tetex theora tiff truetype unicode usb vhosts videos voodoo3 wmf wxwindows x86 xface xinerama xml xml2 xmlrpc xmms xosd xsl xv xvid zlib"
Comment 4 Alexander Gabert (RETIRED) gentoo-dev 2004-09-23 21:36:06 UTC
had the same error, also fixed it with adding the ezm3 to the depends in my local copy...


[0] pappy@PAPILLON pappy $ sudo emerge info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.27-IBMA31)
=================================================================
System uname: 2.4.27-IBMA31 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-g -ggdb -O2"
CHOST="i386-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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g -ggdb -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs debug nostrip sandbox static strict"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/pappy/dev/gentoo/cvs/gentoo-x86"
SYNC="rsync://spout.ussg.indiana.edu/gentoo-portage"
USE="X aalib apm arts avi berkdb bitmap-fonts cdr crypt cups debug encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"

Comment 5 SpanKY gentoo-dev 2004-11-15 22:00:54 UTC
what does `emerge cm3 -pv` show ?
Comment 6 Jacek Rosik 2004-11-17 00:33:14 UTC
This is the output oof `emerege cm3 -pv':

These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] dev-lang/cm3-bin-5.2.6  0 kB
[ebuild  N    ] dev-lang/cm3-5.2.6  +tcltk 0 kB
 
Total size of downloads: 0 kB


But I had this problem long time ego but I may try to reproduce it if You wish.
Comment 7 Jon Hood (RETIRED) gentoo-dev 2005-02-25 09:43:51 UTC
same prob. here. cm3 won't let the client build correctly; ezm3 is required. Please change the dependency.
Comment 8 SpanKY gentoo-dev 2005-04-01 20:11:08 UTC

*** This bug has been marked as a duplicate of 81798 ***