Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200477 - dev-tcltk/expect-5.44.1 version bump
Summary: dev-tcltk/expect-5.44.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
: 211373 212686 212816 (view as bug list)
Depends on: 182278
Blocks: tcltk-8.5
  Show dependency tree
 
Reported: 2007-11-27 03:48 UTC by M. B.
Modified: 2008-10-26 12:41 UTC (History)
13 users (show)

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


Attachments
updates to expect-5.44.1.ebuild from expect-5.43.0.ebuild (expect-ebuild-5.43.0-to-5.44.1.diff,2.44 KB, patch)
2007-11-27 03:51 UTC, M. B.
Details | Diff
patch required by expect-5.44.1.ebuild (expect-to-work-with-tcl-8.5.patch,237 bytes, patch)
2007-11-27 03:53 UTC, M. B.
Details | Diff
Patch to install 5.44.1 (fixing sandbox violations) (expect-ebuild-5.43.0-to-5.44.1.diff,2.64 KB, patch)
2008-01-31 04:04 UTC, Jose Medellin
Details | Diff
Patch needed by new ebuild (expect-makefile-sandbox-patch.patch,1.03 KB, patch)
2008-01-31 04:05 UTC, Jose Medellin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description M. B. 2007-11-27 03:48:54 UTC
With the beta-versions of tcl-8.5 in portage, expect breaks. According to #tcl on freenode, only expect-5.44 compiles against tcl-8.5, which is why i made this ebuild.

The following issues remain:
- http://bugs.gentoo.org/show_bug.cgi?id=115688 is still an issue.
   -> Workaround: The new ebuild nukes the testsuite. It is not invoked by a manual ./configure anyway. Only by econf.
- autoconf does not work (at least not on my amd64)
   -> the sed-replacements included in the old ebuilds are not incorporated
- a bug in the source-code needs to be patched
   -> upstream suggests expect-to-work-with-tcl-8.5.patch

The build works on my machine. I have neither tried building against <tcl-8.5 nor tested it extensively.

# emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 2800+
Timestamp of tree: Mon, 26 Nov 2007 12:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://gentoo.mirror.solnet.ch http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/berkano /usr/portage/local/layman/science /usr/portage/local/mine"
SYNC="rsync://10.2.3.4/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acl acpi aim alsa amd amd64 amr amrnb amrwb ansi apache2 arts audacious avahi bash-completion berkdb bidi binary-drivers bindist bitmap-fonts blender-game bluetooth bonjour boost branding buttons bzip2 cairo calendar caps cdio cdparanoia cdr cjk cli clisp cpudetection cracklib crypt css cups cursors daap dbus de_tvtoday devil dga directfb divx doc dri dts dv dvb dvd dvdr dvdread eds emboss enca encode esd evo exif fam fame fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gcl gd gdbm ggi gif gimp gimpprint ginac glsa glut gmedia gnokii gnome gnomecanvas gnutls gphoto2 gpm graphviz groupwise gs gstreamer gtk hal hbci hddtemp hdri hpn iconv icq id3 idn ieee1394 imagemagick imlib injection insecure-savers ipv6 irmc isdnlog jabber java javascript jbig jce jikes jpeg jpeg2k kde kerberos lame lcms ldap libcaca libnotify libsamplerate live lm_sensors logitech-mouse lua lzo mad madwifi maps matroska mcal midi mikmod mime mixer mjpeg mmap mmx mmxext mng mono mp2 mp3 mpd mpeg mplayer msn mtp mudflap musepack music musicbrainz mysql ncurses network nls nntp nowin nptl nptlonly nsplugin octave offensive ofx ogg openal openexr opengl openmp oscar oss pam parse-clocks passwordsave pcre pdf perl php physfs pmu png ppds pppd print python qq qt3 qt3support qt4 quicktime rar readline realmedia reflection rt61pci rtc ruby samba sasl sbcl sdk sdl sensord session silc skins slang sndfile sockets speex spell spl sql sqlite srt sse sse2 ssl startup-notification stroke subtitles subversion svg svgz symlink sysfs syslog tcl tcpd tetex tga themes theora threads tidy tiff tk tokenizer truetype truetype-fonts tv_check type1 type1-fonts uml unicode usb v4l v4l2 vcd videos vim-syntax vim-with-x visualization vlm vorbis vorbis-psy webdav wifi wma wmf wmp wxwindows x264 xanim xcomposite xine xml xmlwriter xorg xscreensaver xv xvid xvmc yahoo zip zlib zvbi" ALSA_CARDS="ca0106" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="ati fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 M. B. 2007-11-27 03:51:45 UTC
Created attachment 137093 [details, diff]
updates to expect-5.44.1.ebuild from expect-5.43.0.ebuild
Comment 2 M. B. 2007-11-27 03:53:10 UTC
Created attachment 137094 [details, diff]
patch required by expect-5.44.1.ebuild

This patch enables expect-5.44.1 to compile against tcl-8.5.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-03 03:25:35 UTC
On a side note, I find something like tclv=="$(echo 'puts [info tclversion]' | $(type -P tclsh))" a lot better than the nasty grep in the installed headers, though using versionator eclass and tclv="$(get_version_component_range 1-2 $(best_version dev-lang/tcl))" or similar would be probably preferred.

Bug 182278 needs to be fixed as well.
Comment 4 Jose Medellin 2008-01-31 03:58:42 UTC
Couldn't build because of some sandbox violations.

(hehe, I feel as if I was a real developer hehe...)

Thing is, I had to patch the ebuild and also add a Makefile patch for the aforementioned violations..

If I could, I'd delete the previos 5.43.0->5.44.1 patch

Greets!

PS.  It builds with or without doc use-flag.. Builds against tcl-8.5 just that don't know if it actually works or not. I only need expect because I have freenx and at least freenx hasn't stopped working..
Comment 5 Jose Medellin 2008-01-31 04:01:22 UTC
Forgot to say I also added DESTDIR="${D}" to the make install INSTALL_ROOT="{D}" command
Comment 6 Jose Medellin 2008-01-31 04:04:36 UTC
Created attachment 142250 [details, diff]
Patch to install 5.44.1 (fixing sandbox violations)

This actually makes the previous one obsolete
Comment 7 Jose Medellin 2008-01-31 04:05:17 UTC
Created attachment 142252 [details, diff]
Patch needed by new ebuild

Patch to Makefile.in to fix sandbox violation (put in files subdir)
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-02-25 13:20:20 UTC
*** Bug 211373 has been marked as a duplicate of this bug. ***
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2008-03-08 09:00:48 UTC
*** Bug 212686 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-03-09 12:57:02 UTC
*** Bug 212816 has been marked as a duplicate of this bug. ***
Comment 11 Andreas Proteus 2008-03-09 15:25:07 UTC
I applied the patches and expect-5.44.1 compiled and installed fine.

however, expectk fails with: 

Application initialization failed: version conflict for package "Tcl": have 8.5.1, need exactly 8.5
Comment 12 Federico Ferri (RETIRED) gentoo-dev 2008-06-01 14:05:02 UTC
see my comment in bug #213852.

it is a common problem; easily solved with:

sed -e 's/package require -exact/package require/g' pkgIndex.tcl


(bug #212711 is a more complex case, where package require sits in the source code, called by Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 1))
Comment 13 Federico Ferri (RETIRED) gentoo-dev 2008-10-26 12:41:19 UTC
expect-5.44.1 in CVS