First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 200477
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: TCL/TK Herd Maintainers <tcltk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: M. B. <borgcube@gmx.li>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
expect-ebuild-5.43.0-to-5.44.1.diff updates to expect-5.44.1.ebuild from expect-5.43.0.ebuild patch M. B. 2007-11-27 03:51 0000 2.44 KB Details | Diff
expect-to-work-with-tcl-8.5.patch patch required by expect-5.44.1.ebuild patch M. B. 2007-11-27 03:53 0000 237 bytes Details | Diff
expect-ebuild-5.43.0-to-5.44.1.diff Patch to install 5.44.1 (fixing sandbox violations) patch Jose Medellin 2008-01-31 04:04 0000 2.64 KB Details | Diff
expect-makefile-sandbox-patch.patch Patch needed by new ebuild patch Jose Medellin 2008-01-31 04:05 0000 1.03 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 200477 depends on: 182278 Show dependency tree
Bug 200477 blocks: 173467
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2007-11-27 03:48 0000
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 From M. B. 2007-11-27 03:51:45 0000 -------
Created an attachment (id=137093) [details]
updates to expect-5.44.1.ebuild from expect-5.43.0.ebuild

------- Comment #2 From M. B. 2007-11-27 03:53:10 0000 -------
Created an attachment (id=137094) [details]
patch required by expect-5.44.1.ebuild

This patch enables expect-5.44.1 to compile against tcl-8.5.

------- Comment #3 From Jakub Moc (RETIRED) 2008-01-03 03:25:35 0000 -------
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 From Jose Medellin 2008-01-31 03:58:42 0000 -------
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 From Jose Medellin 2008-01-31 04:01:22 0000 -------
Forgot to say I also added DESTDIR="${D}" to the make install
INSTALL_ROOT="{D}" command

------- Comment #6 From Jose Medellin 2008-01-31 04:04:36 0000 -------
Created an attachment (id=142250) [details]
Patch to install 5.44.1 (fixing sandbox violations)

This actually makes the previous one obsolete

------- Comment #7 From Jose Medellin 2008-01-31 04:05:17 0000 -------
Created an attachment (id=142252) [details]
Patch needed by new ebuild

Patch to Makefile.in to fix sandbox violation (put in files subdir)

------- Comment #8 From Jakub Moc (RETIRED) 2008-02-25 13:20:20 0000 -------
*** Bug 211373 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2008-03-08 09:00:48 0000 -------
*** Bug 212686 has been marked as a duplicate of this bug. ***

------- Comment #10 From Jakub Moc (RETIRED) 2008-03-09 12:57:02 0000 -------
*** Bug 212816 has been marked as a duplicate of this bug. ***

------- Comment #11 From Andreas Proteus 2008-03-09 15:25:07 0000 -------
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 From Federico Ferri 2008-06-01 14:05:02 0000 -------
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 From Federico Ferri 2008-10-26 12:41:19 0000 -------
expect-5.44.1 in CVS

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