Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154997 - app-editors/ted removal request
Summary: app-editors/ted removal request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
: 214585 (view as bug list)
Depends on:
Blocks: 196939
  Show dependency tree
 
Reported: 2006-11-13 04:29 UTC by Evil Compile Person
Modified: 2008-09-14 17:53 UTC (History)
6 users (show)

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


Attachments
ted-2.17-gtk.patch (ted-2.17-gtk.patch,649 bytes, patch)
2008-03-25 01:43 UTC, Ryan Hill (RETIRED)
Details | Diff
build.log (build.log,170.59 KB, text/plain)
2008-03-26 10:04 UTC, Raúl Porcel (RETIRED)
Details
build.log (build.log,54.50 KB, text/plain)
2008-09-13 03:12 UTC, Jeremy Olexa (darkside) (RETIRED)
Details
Ted/config.log (config.log,12.63 KB, text/plain)
2008-09-13 05:13 UTC, Jeremy Olexa (darkside) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2006-11-13 04:29:25 UTC
a - appCgiIn.o
make[1]: Leaving directory `/var/tmp/portage/ted-2.12/work/Ted-2.12/appUtil'
cd appFrame && make
make[1]: Entering directory `/var/tmp/portage/ted-2.12/work/Ted-2.12/appFrame'
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe    -I../appFrame -I../appUtil -I../bitmap -I../ind -I../include  -DAFMDIR=\"/usr/share/Ted/afm\" -DINDDIR=\"/usr/share/Ted/ind\"   -c -o sioCopyPasteMotif.o sioCopyPasteMotif.c
In file included from sioCopyPasteMotif.c:11:
../appFrame/sioXprop.h:11: error: expected ')' before 'w'
../appFrame/sioXprop.h:14: error: expected ')' before 'w'
../appFrame/sioXprop.h:16: error: expected ')' before 'w'
../appFrame/sioXprop.h:19: error: expected ')' before 'w'
make[1]: *** [sioCopyPasteMotif.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ted-2.12/work/Ted-2.12/appFrame'
make: *** [lib/appFrame.a] Error 2

!!! ERROR: app-editors/ted-2.12 failed.

Gentoo Base System version 1.12.6
Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.16.16 i686)
=================================================================
System uname: 2.6.16.16 i686 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Fri, 10 Nov 2006 16:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.60
sys-devel/automake:  1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_vga xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeffery Martin 2007-03-28 22:18:04 UTC
I think it gets much farther now, but there are still some failures toward the end.

>>> Completed installing ted-2.12 into /var/tmp/portage/app-editors/ted-2.12/ima

/usr/lib/portage/bin/ebuild.sh: line 1695: /var/tmp/portage/app-editors/ted-2.12
tee: /var/tmp/portage/app-editors/ted-2.12/temp/build.log: No such file or direc
/usr/lib/portage/bin/prepallman: line 10: /var/tmp/portage/app-editors/ted-2.12/
/usr/lib/portage/bin/prepallman: line 15: /var/tmp/portage/app-editors/ted-2.12/
strip: i686-pc-linux-gnu-strip --strip-unneeded
   usr/bin/Ted
!!! install_qa_check failed; exiting.



# emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.12.1
Timestamp of tree: Mon, 26 Mar 2007 19:00:08 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="bitmap-fonts cli cracklib crypt cups dri firefox gdbm gpm gtk2 isdnlog lesstif libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection ssl truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa vga i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Konstantin Nebel 2007-05-25 09:00:37 UTC
whats with this bug. I have this problem, too.
Comment 3 John Hardin 2007-06-24 01:24:46 UTC
Somebody did let the forum know about this, but didn't tell bugzilla...

http://readlist.com/lists/gentoo.org/gentoo-user/18/91757.html
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 14:11:47 UTC
No release upstream for almost 3 years, no maintainer, doesn't compile, the ebuild is FUBARed and uses fugly openmotif, I won't touch this... 

treecleaners, all yours, remove this.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-16 14:13:32 UTC
Please vote. +1
Comment 6 Konstantin Nebel 2007-11-18 12:21:04 UTC
+1
Comment 7 Konstantin Nebel 2007-11-18 12:21:12 UTC
+1
Comment 8 Ingo 2008-01-03 04:50:31 UTC
I could emerge Ted-2.17 on an amd64 system by removing
the "rm -rf" from "src_install()" in "ted-2.17.ebuild".

So far it seems to work OK. (Even if I did not manage to open up a more
complex RTF file, because Ted complained that this actually was not
an RTF file :-(.)

On the other hand: As long as it seems to emerge OK I don't really
see why it should be removed...

Comment 9 Ryan Hill (RETIRED) gentoo-dev 2008-01-17 01:47:13 UTC
seems like an easy fix.  will have a look.
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2008-01-18 01:02:50 UTC
wtf is going on in src_install?
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2008-01-18 03:19:39 UTC
Fixed.
Comment 12 Ingo 2008-01-18 16:47:55 UTC
(In reply to comment #10)
> wtf is going on in src_install?
> 

:-) Thought the same when I saw it :-)
Comment 13 Raúl Porcel (RETIRED) gentoo-dev 2008-03-24 20:13:04 UTC
*** Bug 214585 has been marked as a duplicate of this bug. ***
Comment 14 Raúl Porcel (RETIRED) gentoo-dev 2008-03-24 20:13:53 UTC
2.17-r1 fails to build for me on x86 and sparc, see bug 214585
Comment 15 Ryan Hill (RETIRED) gentoo-dev 2008-03-25 01:43:20 UTC
Created attachment 147199 [details, diff]
ted-2.17-gtk.patch

this should do it.  if you want to remove it instead feel free.
Comment 16 Raúl Porcel (RETIRED) gentoo-dev 2008-03-25 14:54:25 UTC
With that patch it compiles, but it doesn't work...it shows up and stuff, but whether i try to open a document or a new one, it doesn't do anything.
Comment 17 Harald van Dijk (RETIRED) gentoo-dev 2008-03-25 18:44:14 UTC
No objections if you want to remove it, but if you're going to try to fix it, it might be easier to figure out why openmotif isn't being detected, rather than making gtk work. Raúl, you didn't include a build log in #214585, but could you see what configure logs show for openmotif checks?
Comment 18 Raúl Porcel (RETIRED) gentoo-dev 2008-03-26 10:04:37 UTC
Created attachment 147358 [details]
build.log

See yourself :)
Comment 19 Ulrich Müller gentoo-dev 2008-03-26 15:41:53 UTC
(In reply to comment #18)
> Created an attachment (id=147358) [edit]
> build.log

There are some automagic dependencies:
| Choosing a GUI...
| Found GTK
| [...]
|    -L/usr/lib -ltiff -L/usr/lib -ljpeg -L/usr/lib -lpng -L/usr/lib -lz -lXpm
| -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
| -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm

while gtk+ is not in DEPEND (and looks like this isn't the only one missing).
Comment 20 Harald van Dijk (RETIRED) gentoo-dev 2008-03-26 18:26:42 UTC
(In reply to comment #18)
> See yourself :)
> 
> Checking for Motif...

Thanks. Unfortunately, there's not much to see... I hadn't noticed the configure checks don't even tell you whether they found anything. Could you please also attach Ted/config.log?

(In reply to comment #19)
> There are some automagic dependencies:
> | Choosing a GUI...
> | Found GTK
> | [...]
> |    -L/usr/lib -ltiff -L/usr/lib -ljpeg -L/usr/lib -lpng -L/usr/lib -lz -lXpm
> | -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0
> | -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lm
> while gtk+ is not in DEPEND (and looks like this isn't the only one missing).

That isn't and shouldn't be in DEPEND. When both openmotif and gtk are detected, Ted defaults to openmotif, which is listed as a dependency in the ebuild. For some reason, it apparently isn't being detected, but when it is, Ted doesn't use GTK at all.
Comment 21 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 13:09:24 UTC
I'm not sure is voting needed at this point.. but +1 from me, it's going to the next p.mask round unless someone fixes it
Comment 22 Harald van Dijk (RETIRED) gentoo-dev 2008-05-15 15:56:40 UTC
> I'm not sure is voting needed at this point.. but +1 from me, it's going to the
> next p.mask round unless someone fixes it

I had tried to, but I really needed Ted/config.log for that, as I requested in comment #20. ted builds and runs without problems here, and I haven't been able to reproduce the openmotif misdetection.
Comment 23 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 16:31:21 UTC
Armin, mind doing as asked in Comment #20? Having this bug stale here for another year is not an option, considering we have a developer intrested in fixing it.
Comment 24 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-13 03:11:12 UTC
appInspector.c:323: error: expected expression before ‘AppInspectorResources’
appInspector.c:323: error: initializer element is not constant
appInspector.c:323: error: (near initialization for ‘APP_InspectorResourceTable[0].acrStructOffset’)
appInspector.c:327: error: expected expression before ‘AppInspectorResources’
appInspector.c:327: error: initializer element is not constant
appInspector.c:327: error: (near initialization for ‘APP_InspectorResourceTable[1].acrStructOffset’)
make[1]: *** [appInspector.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/app-editors/ted-2.17-r1/work/Ted-2.17/appFrame'
make: *** [lib/appFrame.a] Error 2
 * ERROR: app-editors/ted-2.17-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  169:  Called die
 * The specific snippet of code:
 *       emake DEF_AFMDIR=-DAFMDIR=\\"/usr/share/Ted/afm\\" DEF_INDDIR=-DINDDIR=\\"/usr/share/Ted/ind\\" package.shared || die "emake failed"
 *  The die message:
 *   emake failed
 * 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/app-editors/ted-2.17-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-editors/ted-2.17-r1/temp/environment'.

Comment 25 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-13 03:12:12 UTC
Created attachment 165313 [details]
build.log
Comment 26 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-13 03:15:51 UTC
# Jeremy Olexa <darkside@gentoo.org> (13 Sep 2008)
# Masked for removal in 60 days. Multiple issues, broke for some people. Needs
# maintainer. automagic deps. See bug #154997
app-editors/ted
Comment 27 Harald van Dijk (RETIRED) gentoo-dev 2008-09-13 04:20:53 UTC
I already offered to take a look at Raúl's config.log, I would take a look at yours as well, but you need to attach it for me to be able to do so. And there was no reason to immediately mask it just because you can't compile it...
Comment 28 Harald van Dijk (RETIRED) gentoo-dev 2008-09-13 04:21:59 UTC
Oh, and I already explained that it doesn't actually have automagic deps as you claimed.
Comment 29 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-13 05:10:39 UTC
(In reply to comment #27)
> I already offered to take a look at Raúl's config.log, I would take a look at
> yours as well, but you need to attach it for me to be able to do so. And there
> was no reason to immediately mask it just because you can't compile it...
> 

Sorry you feel that way, feel free to put yourself in metadata.xml, remove the mask, and reply to the my last rites when it gets delivered. I masked it because the rest of the treecleaner voted in favor of masking and I didn't know its status. Don't be offended, it wasn't my decision alone. requested log coming in a second.
Comment 30 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-13 05:13:10 UTC
Created attachment 165317 [details]
Ted/config.log
Comment 31 Harald van Dijk (RETIRED) gentoo-dev 2008-09-14 16:43:11 UTC
Thank you. As it turned out, there was nothing interesting in the config.log as well... However, the fresh look did help to spot the problem, and why it worked for me but not for you: it searches for Motif headers in /usr/X11R6/include/Xm and in /usr/include, but not in /usr/include/Xm (and similar problems for the libraries). I have x11-base/xorg-x11 installed, so I have a symlink /usr/X11R6 -> ../usr which makes things work. I have committed a fix for this, but before I unmask this and mark myself as maintainer, would you please verify that it now works for you?
Comment 32 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-14 17:12:33 UTC
(In reply to comment #31)
> Thank you. As it turned out, there was nothing interesting in the config.log as
> well... However, the fresh look did help to spot the problem, and why it worked
> for me but not for you: it searches for Motif headers in /usr/X11R6/include/Xm
> and in /usr/include, but not in /usr/include/Xm (and similar problems for the
> libraries). I have x11-base/xorg-x11 installed, so I have a symlink /usr/X11R6
> -> ../usr which makes things work. I have committed a fix for this, but before
> I unmask this and mark myself as maintainer, would you please verify that it
> now works for you?
> 

Confirmed fixed, thanks for saving this package! =D
Comment 33 Harald van Dijk (RETIRED) gentoo-dev 2008-09-14 17:39:23 UTC
Thanks for checking. I've listed myself in metadata.xml and unmasked ted now. Given the subject change of this bug, I'm not sure if this should be closed as FIXED or WONTFIX, but I'll pick the former. I'll reply to the last rites mail in a bit.
Comment 34 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-14 17:53:19 UTC
(In reply to comment #33)
> Thanks for checking. I've listed myself in metadata.xml and unmasked ted now.
> Given the subject change of this bug, I'm not sure if this should be closed as
> FIXED or WONTFIX, but I'll pick the former. I'll reply to the last rites mail
> in a bit.
> 

We aren't that picky. Thanks again.