Tried to emerge net-dialup/cutecom, but it exited with an error stating that the build system for the package had changed. Reproducible: Always Steps to Reproduce: 1. emerge =net-dialup/cutecom-0.20.0-r1 2. ??? 3. Error! Actual Results: >>> Emerging (40 of 500) net-dialup/cutecom-0.20.0-r1 * cutecom-0.20.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking cutecom-0.20.0.tar.gz to /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/work * Applying cutecom-0.20.0-manpath.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/work >>> Compiling source in /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/work/cutecom-0.20.0 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 CuteCom uses the CMake build system, at least version 2.4.3 is required. If there is no package for your distribution, you can get it from http://www.cmake.org/HTML/Download.html So instead of running ./configure, you need to run cmake: $ cmake . >>> Source compiled. >>> Test phase [not enabled]: net-dialup/cutecom-0.20.0-r1 >>> Install cutecom-0.20.0-r1 into /var/tmp/portage/net-dialup/cutecom-0.20.0-r1/image/ category net-dialup make: *** No rule to make target `install'. Stop. * * ERROR: net-dialup/cutecom-0.20.0-r1 failed. * Call stack: * ebuild.sh, line 48: Called src_install * environment, line 3261: Called base_src_install * environment, line 517: Called base_src_install 'all' * environment, line 527: Called base_src_install 'make' * environment, line 523: Called die * The specific snippet of code: * make DESTDIR="${D}" install || die "died running make install, $FUNCNAME:make" * The die message: * died running make install, base_src_install:make * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-dialup/cutecom-0.20.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/cutecom-0.20.0-r1/temp/environment'. * >>> Failed to emerge net-dialup/cutecom-0.20.0-r1, Log file: >>> '/var/tmp/portage/net-dialup/cutecom-0.20.0-r1/temp/build.log' Expected Results: Installation of the software. Need to change to build system to CMake (i.e. substitute the call to "./configure" for "cmake .", or something like it).
*** Bug 263163 has been marked as a duplicate of this bug. ***
How exactly you managed to hit this? cutecom-0.20.0-r1 inherits cmake-utils eclass and this class do use cmake to build the package. It would help us if you post here the emerge --info output.
Emerge --info: Portage 2.2_rc26 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r4-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.2.5 Timestamp of tree: Sun, 22 Mar 2009 13:30:01 +0000 app-shells/bash: 4.0_p10-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -msse4.2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe -msse4.2" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-O1" LINGUAS="sv se us ja en" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/vmware /usr/portage/local/layman/java-overlay /usr/portage/local/myebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi aiglx aim akonadi alsa amarok amd64 anthy apache2 audiofile avahi bash-completion berkdb bidi blender-game bluetooth branding bzip2 c++ cairo calendar canna caps cdaudio cddb cdparanoia cdr chasen cjk clamav cli cracklib crypt cscope css ctype cups daap dbus device-mapper dga disk-partition djvu doc dot dri dts dv dvb dvd dvdr dvdread eds emacs emboss emul-linux-x86 encode evo exif fam fat fbcon fbcondecor ffmpeg firefox flac fortran ftp galago gdbm geoip gif git glitz glut google-gadgets gpm gstreamer hal helix hfs http iconv icq ide idn ieee1394 imagemagick imap immqt-bc inifile inotify ipod iproute2 ipv6 isdnlog ithreads ivtv jabber jack java jce jfs joystick jpeg jpeg2k kde kdeprefix kdrive kerberos kexi kpathsea lame latex lcms ldap libnotify lirc lm_sensors logitech-mouse logrotate lyx mad madwifi matroska mbox mdnsresponder-compat messenger midi mikmod mime mjpeg mmap mmx mng mono mp3 mp4 mpeg mplayer msn mudflap multilib musicbrainz mysqlmysqli ncurses nepomuk nls nptl nptlonly nsplugin ntfs obex offensive ogg oggvorbis openal openbabel openexr opengl openmp openobex oscar oss otr pam pcre pcsc-lite pdf perl phonon plasma png portaudio posix postscript ppds pppd preview-latex pulseaudio python qt3 qt3support qt4 quicktime radio readline reflection reiserfs restrict-javascript sdl session smartcard smp smtp sndfile sockets spell spl sse sse2 ssl startup-notification subversion svg sysfs szip taglib tcpd teamarena tetex theora threads tidy tiff truetype unicode upnp usb utempter v4l v4l2 vcd videos vim-syntax vorbis wifi wlan wlm wma wmf wpa x264 xattrxcb xcomposite xface xfs xine xinetd xml xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_aliasauthn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv se us ja en" LIRC_DEVICES="mceusb2" NETBEANS_MODULES="websvccommon groovy gsf harness ide java j2ee profiler nb " USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I ran into the bug when I did an emerge -e world after changing motherboard/processor (athlon 64 -> intel core i7), though I still get the same error if I try to emerge it on its own. This package version is already installed on my computer, so it obviously worked at one point. Looking in the ebuild I do see that it inherits cmake-utils on my computer as well. I have no problem emerging other packages using cmake (i.e. kde4).
Reassigned to portage team. To resume: portage-2.2 seems to break functionality implemented in cmake-utils.eclass.
> To resume: portage-2.2 seems to break functionality implemented in > cmake-utils.eclass. When I did the 'emerge -e world', I had portage-2.1.6.9 installed. I then emerged 2.2 to be able to use the sets feature. So I don't think it's 2.2-specific
Versions of portage less then 2.1.6.7 actually have buggy inherit/EXPORT_FUNCTIONS behavior in some cases. It's fixed in newer versions by this commit: http://sources.gentoo.org/viewcvs.py/portage?view=rev&rev=13026 Specifically, the bug was in the restoration of the $ECLASS variable upon return from inherit calls, which affected EXPORT_FUNCTIONS behavior since it used the $ECLASS variable. So, I've updated cutecom-0.14.2.ebuild to inherit the cmake-utils eclass last. With this change, it seems to work correctly with both newer and older portage.
Works for me as well. Thanks.