Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163907 - app-office/texmacs-1.0.6-r1 failed w/ guile-1.8.x
Summary: app-office/texmacs-1.0.6-r1 failed w/ guile-1.8.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
: 163910 192053 195951 198102 (view as bug list)
Depends on: 223601
Blocks: guile-1.8
  Show dependency tree
 
Reported: 2007-01-26 14:14 UTC by August Hörandl
Modified: 2009-01-03 06:41 UTC (History)
25 users (show)

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


Attachments
Guile libs from 1.6.7 (Bildschirmphoto5.png,103.68 KB, image/png)
2007-11-04 22:52 UTC, roland.graf
Details
Changes from 1.0.6-r1 to 1.0.6.12 (r1-12.diff,1005 bytes, patch)
2008-01-12 02:17 UTC, Jouni Kosonen
Details | Diff
Full ebuild for texmacs-1.0.6.12 (texmacs-1.0.6.12.ebuild,1.99 KB, text/plain)
2008-01-12 02:20 UTC, Jouni Kosonen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description August Hörandl 2007-01-26 14:14:50 UTC
i686-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -I/usr/include/freetype2 -pthread -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Guile/Scheme/evaluate.cpp -o Objects/evaluate.o
In file included from ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:57:1: warning: "scm_is_symbol" redefined
In file included from /usr/include/libguile.h:122,
                 from /usr/include/guile/gh.h:24,
                 from Guile/guile.hpp:17,
                 from ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/symbols.h:28:1: warning: this is the location of the previous definition
In file included from ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:58:1: warning: "scm_is_null" redefined
In file included from /usr/include/libguile.h:95,
                 from /usr/include/guile/gh.h:24,
                 from Guile/guile.hpp:17,
                 from ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/pairs.h:36:1: warning: this is the location of the previous definition
Guile/Glue/glue.hpp:35: error: new declaration 'bool scm_to_bool(scm_unused_struct*)'
/usr/include/libguile/boolean.h:39: error: ambiguates old declaration 'int scm_to_bool(scm_unused_struct*)'
make[1]: *** [Objects/evaluate.o] Error 1
make[1]: Leaving directory `/mnt/data/portage/portage/app-office/texmacs-1.0.6-r1/work/TeXmacs-1.0.6-src/src'
make: *** [TEXMACS] Error 2

!!! ERROR: app-office/texmacs-1.0.6-r1 failed.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-26 14:44:19 UTC
*** Bug 163910 has been marked as a duplicate of this bug. ***
Comment 2 Peter Gantner (a.k.a. nephros) 2007-02-13 15:04:31 UTC
I can confirm this - holler if you need any info.
Guile version is the same here.
(BTW games-action/trackballs has a similar problem so maybe it's a guile issue)
Comment 3 Artemii 2007-02-15 17:47:32 UTC
if dev-scheme/guile is installed with USE="deprecated", texmacs compile without errors.
Comment 4 Cliff Yapp 2007-03-11 13:50:55 UTC
Confirmed - USE="deprecated" emerge guile allowed the texmacs build to proceed.  Not sure how to require this in the ebuild though.
Comment 5 Émilien Tlapale 2007-03-11 22:15:17 UTC
I'm trying to emerge app-office/texmacs-1.0.6-r1 with a dev-scheme/guile-1.8.1-r3 compiled with the USE="deprecated" flag but got the error:

x86_64-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -I/usr/include/freetype2 -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Typeset/Graphics/equations.cpp -o Objects/equations.o 
x86_64-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -I/usr/include/freetype2 -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Guile/Scheme/evaluate.cpp -o Objects/evaluate.o 
Dans le fichier inclus à partir de ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:57:1: attention : « scm_is_symbol » redéfini
Dans le fichier inclus à partir de /usr/include/libguile.h:122,
          à partir de /usr/include/guile/gh.h:24,
          à partir de Guile/guile.hpp:17,
          à partir de ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/symbols.h:28:1: attention : ceci est la localisation d'une précédente définition
Dans le fichier inclus à partir de ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:58:1: attention : « scm_is_null » redéfini
Dans le fichier inclus à partir de /usr/include/libguile.h:95,
          à partir de /usr/include/guile/gh.h:24,
          à partir de Guile/guile.hpp:17,
          à partir de ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/pairs.h:36:1: attention : ceci est la localisation d'une précédente définition
Guile/Glue/glue.hpp:35: erreur: new declaration ‘bool scm_to_bool(scm_unused_struct*)’
/usr/include/libguile/boolean.h:39: erreur: ambiguates old declaration ‘int scm_to_bool(scm_unused_struct*)’
make[1]: *** [Objects/evaluate.o] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/app-office/texmacs-1.0.6-r1/work/TeXmacs-1.0.6-src/src »
make: *** [TEXMACS] Erreur 2

Comment 6 Zac Medico gentoo-dev 2007-03-24 06:29:31 UTC
(In reply to comment #5)
> I'm trying to emerge app-office/texmacs-1.0.6-r1 with a
> dev-scheme/guile-1.8.1-r3 compiled with the USE="deprecated" flag but got the
> error:

I had the same problem.  However, texmacs-1.0.6.9 seems to build without any trouble.  I just copied texmacs-1.0.6-r1.ebuild to texmacs-1.0.6.9.ebuild and removed the epatch lines from src_unpack().
Comment 7 Ilya Schurov 2007-03-30 19:21:11 UTC
USE="deprecated" emerge guile doesn't help. Building vanilla texmacs-1.0.6.9 fails as well. (I'm under AMD64.)
Comment 8 Brice Arnould (un_brice) 2007-04-07 07:26:33 UTC
(In reply to comment #7)
> USE="deprecated" emerge guile doesn't help. Building vanilla texmacs-1.0.6.9
> fails as well. (I'm under AMD64.)
texmacs-1.0.6.9 from the gentoo-science repository ( http://gentooscience.org/ ) builds fine on my x86 system. Could you test it ? 
Comment 9 Brice Arnould (un_brice) 2007-04-07 07:29:19 UTC
I mean ` could you test it and give the failure backtrace '. Sorry for the noise.
Comment 10 schwaahed 2007-07-09 14:08:18 UTC
i686-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -I/usr/include/freetype2 -pthread -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Typeset/Env/env_semantics.cpp -o Objects/env_semantics.o 
i686-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -I/usr/include/freetype2 -pthread -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Typeset/Graphics/equations.cpp -o Objects/equations.o 
i686-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -I/usr/include/freetype2 -pthread -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Guile/Scheme/evaluate.cpp -o Objects/evaluate.o 
In file included from ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:57:1: warning: "scm_is_symbol" redefined
In file included from /usr/include/libguile.h:122,
                 from /usr/include/guile/gh.h:24,
                 from Guile/guile.hpp:17,
                 from ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/symbols.h:28:1: warning: this is the location of the previous definition
In file included from ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:58:1: warning: "scm_is_null" redefined
In file included from /usr/include/libguile.h:95,
                 from /usr/include/guile/gh.h:24,
                 from Guile/guile.hpp:17,
                 from ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/pairs.h:36:1: warning: this is the location of the previous definition
Guile/Glue/glue.hpp:35: error: new declaration 'bool scm_to_bool(scm_unused_struct*)'
/usr/include/libguile/boolean.h:39: error: ambiguates old declaration 'int scm_to_bool(scm_unused_struct*)'
make[1]: *** [Objects/evaluate.o] Error 1
make[1]: Leaving directory `/schwaa/tmp/portage/app-office/texmacs-1.0.6-r1/work/TeXmacs-1.0.6-src/src'
make: *** [TEXMACS] Error 2
 * 
 * ERROR: app-office/texmacs-1.0.6-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1647:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   texmacs-1.0.6-r1.ebuild, line 61:   Called die
 * 
 * (no error message)
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/schwaa/tmp/portage/app-office/texmacs-1.0.6-r1/temp/build.log'.
 * 
2 502 schwaahed 10:02:46 ~ $   emerge -pv guile

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-scheme/guile-1.8.1-r3  USE="deprecated elisp networking nls regex threads -debug -debug-freelist -debug-malloc -discouraged" 3,723 kB 

Total: 1 package (1 reinstall), Size of downloads: 3,723 kB
3 503 schwaahed 10:03:14 ~ $   
Comment 11 Patrizio Bassi 2007-08-31 14:53:23 UTC
same issue here 
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2007-09-10 22:28:19 UTC
*** Bug 192053 has been marked as a duplicate of this bug. ***
Comment 13 Ben Gamari 2007-10-05 18:59:33 UTC
Has there been any updates on this matter?
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-10-15 18:27:16 UTC
*** Bug 195951 has been marked as a duplicate of this bug. ***
Comment 15 Hugo 2007-10-26 09:00:57 UTC
Problem persists with:
 - app-office/texmacs-1.0.6-r1
 - dev-scheme/guile-1.8.2 

....

i686-pc-linux-gnu-g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -IClasses/Abstract -IClasses/Atomic -IClasses/Compound -IData/Drd -IData/String -IData/Tree -IData/Convert -IGuile -IResource -IWindow -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -I/usr/include/freetype2 -Wall -Wno-return-type -O3 -fexpensive-optimizations -fno-rtti -fno-exceptions -c ./Guile/Scheme/evaluate.cpp -o Objects/evaluate.o 
In file included from ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:57:1: warning: "scm_is_symbol" redefined
In file included from /usr/include/libguile.h:122,
                 from /usr/include/guile/gh.h:24,
                 from Guile/guile.hpp:17,
                 from ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/symbols.h:28:1: warning: this is the location of the previous definition
In file included from ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:58:1: warning: "scm_is_null" redefined
In file included from /usr/include/libguile.h:95,
                 from /usr/include/guile/gh.h:24,
                 from Guile/guile.hpp:17,
                 from ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/pairs.h:36:1: warning: this is the location of the previous definition
Guile/Glue/glue.hpp:35: error: new declaration 'bool scm_to_bool(scm_unused_struct*)'
/usr/include/libguile/boolean.h:39: error: ambiguates old declaration 'int scm_to_bool(scm_unused_struct*)'
make[1]: *** [Objects/evaluate.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/texmacs-1.0.6-r1/work/TeXmacs-1.0.6-src/src'
make: *** [TEXMACS] Error 2
 * 
 * ERROR: app-office/texmacs-1.0.6-r1 failed.


Comment 16 David Holl 2007-11-03 17:58:17 UTC
same issue here, too
Comment 17 roland.graf 2007-11-04 22:52:40 UTC
Created attachment 135210 [details]
Guile libs from 1.6.7

Here are the file of guile 1.6.7.
Comment 18 roland.graf 2007-11-04 22:59:03 UTC
Comment on attachment 135210 [details]
Guile libs from 1.6.7

Texmacs with guile-1.8.2 will nit comlile because there are not the necessary symlinks. You can have a look at the Screenshot which is from the the guile 1.6.7. After upgrading to 1.8.2 the there was no libguile-tdl.? and no libguile.so For first try to downgrade to guile 1.6.7 and recompile texmacs. For the rest I'm working on it.
Greetings Roland
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-11-04 23:11:23 UTC
*** Bug 198102 has been marked as a duplicate of this bug. ***
Comment 20 craven 2007-11-14 15:40:42 UTC
same problem here. I use 

dev-scheme/guile-1.8.2  USE="deprecated networking nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp"

and

app-office/texmacs-1.0.6-r1  USE="spell -static"

on x86_64
Comment 21 Qian Qiao 2007-12-07 01:34:52 UTC
Masking >=dev-scheme/guile-1.8 solves the problem.
Comment 22 Evil Compile Person 2008-01-05 01:39:04 UTC
Any chance to get this one done before its first anniversary?
Comment 23 Jouni Kosonen 2008-01-12 02:16:30 UTC
Anniversary approaching, so how about bumping the version?

It seems that at least on x86 app-office/texmacs-1.0.6.12 compiles, installs and appears to work with dev-scheme/guile-1.8.2

I'll attach an ebuild for testing purposes.

Comment 24 Jouni Kosonen 2008-01-12 02:17:22 UTC
Created attachment 140752 [details, diff]
Changes from 1.0.6-r1 to 1.0.6.12
Comment 25 Jouni Kosonen 2008-01-12 02:20:32 UTC
Created attachment 140753 [details]
Full ebuild for texmacs-1.0.6.12
Comment 26 Jouni Kosonen 2008-01-26 21:02:42 UTC
Happy birthday to you, #163907 !

Comment 27 Patrizio Bassi 2008-01-29 20:40:59 UTC
if noone in 1 year took care of this it's better to assign to mainteiner-needed....
Comment 28 letrec@gmail.com 2008-01-30 20:35:18 UTC
bug confirmed with :
 dev-scheme/guile-1.8.2  USE="deprecated nls threads -debug -debug-freelist -debug-malloc -discouraged -elisp -networking -regex"

and

 app-office/texmacs-1.0.6-r1  USE="spell -static" 


 So there is no texmacs on gentoo now?
Comment 29 Dirk Heinrichs 2008-01-31 17:53:40 UTC
(In reply to comment #28)

>  So there is no texmacs on gentoo now?

I have 1.0.6.12-r1 installed from the science overlay.
Comment 30 Gerben Vos 2008-01-31 19:43:55 UTC
(In reply to comment #29)
> (In reply to comment #28)
> >  So there is no texmacs on gentoo now?
> I have 1.0.6.12-r1 installed from the science overlay.

The solution from comment #6 works for me. But yes, it seems that on plain Gentoo there's no texmacs now. You have to find and read this thread. :-)
Comment 31 Patrizio Bassi 2008-02-01 23:10:45 UTC
mainteiner ping.

please bump from overlay...
Comment 32 Arvid Norlander 2008-02-10 09:48:53 UTC
This happens for me too. Sigh...
Comment 33 Arvid Norlander 2008-02-10 10:03:32 UTC
Oh and for your information. This bug happens with:
[ebuild   R   ] dev-scheme/guile-1.8.2 USE="deprecated networking nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp"
[ebuild  N    ] app-office/texmacs-1.0.6-r1  USE="spell -static"


# emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo x86_64)
=================================================================
System uname: 2.6.24-gentoo x86_64 AMD Sempron(tm) Processor 3300+
Timestamp of tree: Sat, 09 Feb 2008 07:16:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
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.10-r5
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.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
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 /var/bind /var/gopher/gophermap"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict suidctl unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.gentoo.no/"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j1"
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/local/portage/crossdev-overlay /usr/local/portage/cpan-overlay /usr/local/portage/nethack-overlay /usr/local/portage/generic-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 arts audiofile bash-completion berkdb bitmap-fonts bzip2 cairo caps ccache cdb cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread emacs emboss encode evo exif expat fam fastcgi fbcon firefox flac fontconfig foomaticdb fortran gd gdbm gif glep gmp gnutls gpm gstreamer gtk iconv idea idn ieee1394 imlib iproute2 ipv6 isdnlog javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kqemu lcms lm_sensors logrotate mad mbox midi mikmod mmx mmxext mng mono mozdevelop mp3 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin objc ogg openexr opengl openmp pam pcre pdf perl php physfs pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rle scanner sdl session sndfile spell spl sqlite sse sse2 ssl svg tcl tcpd tiff tk truetype truetype-fonts type1-fonts unicode usb utempter vorbis xcomposite xorg xpm xv zlib zsh-completion" ALSA_CARDS="emu10k1 loopback seq-dummy dummy" 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa fbdev r128 nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 34 Jorge Blengino 2008-03-18 19:53:23 UTC
With:

[ebuild  N    ] dev-scheme/guile-1.8.3-r2  USE="deprecated nls regex threads -debug -debug-freelist -debug-malloc -discouraged -elisp -networking" 0 kB
[ebuild  N    ] app-office/texmacs-1.0.6-r1  USE="spell -static" 0 kB

I get

En el fichero incluído de ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:57:1: aviso: se redefinió "scm_is_symbol"
En el fichero incluído de /usr/include/libguile.h:122,
                 de /usr/include/guile/gh.h:24,
                 de Guile/guile.hpp:17,
                 de ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/symbols.h:28:1: aviso: esta es la ubicación de la definición previa
En el fichero incluído de ./Guile/Scheme/evaluate.cpp:13:
Guile/guile.hpp:58:1: aviso: se redefinió "scm_is_null"
En el fichero incluído de /usr/include/libguile.h:95,
                 de /usr/include/guile/gh.h:24,
                 de Guile/guile.hpp:17,
                 de ./Guile/Scheme/evaluate.cpp:13:
/usr/include/libguile/pairs.h:36:1: aviso: esta es la ubicación de la definición previa
Guile/Glue/glue.hpp:35: error: declaración nueva ‘bool scm_to_bool(scm_unused_struct*)’
/usr/include/libguile/boolean.h:39: error: hace ambigua la declaración antigua ‘int scm_to_bool(scm_unused_struct*)’
make[1]: *** [Objects/evaluate.o] Error 1
make[1]: Leaving directory `/home/tmp/portage/app-office/texmacs-1.0.6-r1/work/TeXmacs-1.0.6-src/src'
make: *** [TEXMACS] Error 2
 *
 * ERROR: app-office/texmacs-1.0.6-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2332:  Called die
 * The specific snippet of code:
 *           emake -j1 || die;
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/tmp/portage/app-office/texmacs-1.0.6-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/tmp/portage/app-office/texmacs-1.0.6-r1/temp/environment'.
 *

 * Messages for package app-office/texmacs-1.0.6-r1:

 *
 * ERROR: app-office/texmacs-1.0.6-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2332:  Called die
 * The specific snippet of code:
 *           emake -j1 || die;
 *  The die message:
 *   (no error message)
 *

with a system
Portage 2.1.4.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Timestamp of tree: Sun, 16 Mar 2008 23:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 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.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ "
LANG="es_AR.UTF-8"
LC_ALL="es_AR.UTF-8"
LINGUAS="en es de es_AR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr eds emboss encode esd examples fam firefox fortran gcj gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia offensive ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session slang slp spell spl ssl svg symlink tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xv 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es de es_AR" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 35 Jakub Moc (RETIRED) gentoo-dev 2008-03-20 14:26:38 UTC
(In reply to comment #27)
> if noone in 1 year took care of this it's better to assign to
> mainteiner-needed....

Agreed, plus CCing treecleaners. 

Comment 36 Arvid Norlander 2008-03-22 12:22:47 UTC
You want to remove this great product from portage? That's sad.
Comment 37 Hans de Graaff gentoo-dev Security 2008-03-22 12:43:05 UTC
This package just got a version bump in the science overlay, where Andrey Grozin has been maintaining it for some time. It makes sense to bump the version in CVS and/or to find a proxy maintainer for Andrey so that the version in CVS can be brought back to live again.
Comment 38 Jakub Moc (RETIRED) gentoo-dev 2008-03-22 12:52:16 UTC
(In reply to comment #36)
> You want to remove this great product from portage? That's sad.

No, I don't want to remove it, but if a maintainer ignores a major incompatibility for 13 months, which in effects results in making the package unusable for every user on a stable uptodate system, the ebuild becomes useless.

(In reply to comment #37)
> This package just got a version bump in the science overlay, where Andrey
> Grozin has been maintaining it for some time.

Please bumb the thing in the *official* *tree* and not in overlays since it's *totally* useless on any stable system ATM. I really don't see how it could be worse.
Comment 39 Hans de Graaff gentoo-dev Security 2008-03-22 13:57:21 UTC
I've just added the app-office/texmacs 1.0.6.14 ebuild from the science overlay to CVS. I've verified that this version does compile properly with a recent guile.

I've also added Andrey, the author of the ebuilds in the overlay, to this bug. Andrey, it's great that you are putting effort in maintaining the texmacs ebuilds. Hopefully you can set up some kind of arrangement so that the new ebuilds are also provided in the official Gentoo tree so that more people can benefit from them.

Note that texmacs still lacks an official maintainer, as I'm just doing this for the treecleaner project.
Comment 40 Andrey Grozin gentoo-dev 2008-03-23 11:07:17 UTC
I'm now passing final exams to become a Gentoo dev. After that, I'll be happy to maintain texmacs in the tree.
Comment 41 Arvid Norlander 2008-03-26 10:17:13 UTC
I tested 1.0.6.14, it compiles and works but cause random(?) segfauls. I'm currently recompiling with debug info and will get back with a backtrace.
Comment 42 Arvid Norlander 2008-03-26 10:47:18 UTC
I'm still waiting for it to recompile but I found what cause it now, Help->Manual->Browse then File->Close document
Comment 43 Arvid Norlander 2008-03-26 11:13:04 UTC
Even when built with CFLAGS and CXXFLAGS to include -g and FEATURES to include splitdebug the backtrace is unusable, no idea how to fix. Here it is anyway:

(gdb) bt
#0  0x000000000054ca4b in ?? ()
#1  0x00000000005471fa in ?? ()
#2  0x000000000054fd2a in ?? ()
#3  0x00000000007f5905 in ?? ()
#4  0x00000000007f6f01 in ?? ()
#5  0x0000000000800387 in ?? ()
#6  0x00000000006821ad in ?? ()
#7  0x0000003bbbe4f958 in ?? () from /usr/lib/libguile.so.17
#8  0x0000003bbbe4db5a in scm_dapply () from /usr/lib/libguile.so.17
#9  0x0000003bbbea223a in scm_c_catch () from /usr/lib/libguile.so.17
#10 0x0000003bbbea2347 in scm_catch_with_pre_unwind_handler () from /usr/lib/libguile.so.17
#11 0x0000003bbbe4d7e0 in scm_dapply () from /usr/lib/libguile.so.17
#12 0x0000003bbbe4fbbd in ?? () from /usr/lib/libguile.so.17
#13 0x0000003bbbe4fb02 in ?? () from /usr/lib/libguile.so.17
#14 0x0000003bbbe4fb02 in ?? () from /usr/lib/libguile.so.17
#15 0x0000003bbbe4d953 in scm_dapply () from /usr/lib/libguile.so.17
#16 0x0000003bbbea1dff in scm_c_with_throw_handler () from /usr/lib/libguile.so.17
#17 0x0000003bbbea223a in scm_c_catch () from /usr/lib/libguile.so.17
#18 0x0000003bbbea2394 in scm_internal_catch () from /usr/lib/libguile.so.17
#19 0x00000000006249a3 in ?? ()
#20 0x0000000000734796 in ?? ()
#21 0x00000000007348c5 in ?? ()
#22 0x000000000081037f in ?? ()
#23 0x00000000008d0877 in ?? ()
#24 0x00000000007dd193 in ?? ()
#25 0x0000003bbbe6776f in ?? () from /usr/lib/libguile.so.17
#26 0x0000003bbbe3fc0a in ?? () from /usr/lib/libguile.so.17
#27 0x0000003bbbea223a in scm_c_catch () from /usr/lib/libguile.so.17
#28 0x0000003bbbe40061 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
#29 0x0000003bbbe40100 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
#30 0x0000003bbbea1673 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#31 0x0000003bbbe67735 in scm_boot_guile () from /usr/lib/libguile.so.17
#32 0x00000000007dcbaf in ?? ()
#33 0x0000003aa741db74 in __libc_start_main () from /lib/libc.so.6
#34 0x0000000000405a49 in ?? ()
#35 0x00007fffa6b8b198 in ?? ()
#36 0x0000000000000000 in ?? ()


# emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 AMD Sempron(tm) Processor 3300+
Timestamp of tree: Wed, 26 Mar 2008 07:16:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
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.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2 -msse3 -g"
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/config /var/bind /var/gopher/gophermap"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -pipe -O2 -msse3 -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.muntinternet.net/pub/gentoo/ http://mirror.gentoo.no/"
LINGUAS="en en_GB sv sv_SE"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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/local/portage/crossdev-overlay /usr/local/portage/cpan-overlay /usr/local/portage/nethack-overlay /usr/local/portage/generic-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 arts audiofile bash-completion berkdb bzip2 cairo caps ccache cdb cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread emacs emboss encode evo exif expat fam fastcgi fbcon firefox flac fontconfig foomaticdb fortran gd gdbm gif glep gmp gnutls gpm gstreamer gtk iconv idea idn ieee1394 imlib iproute2 ipv6 isdnlog javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kqemu lcms lm_sensors logrotate mad mbox midi mikmod mmx mmxext mng mono mozdevelop mp3 mpeg mudflap mysql mysqli ncurses nls nodrm nptl nptlonly nsplugin objc ogg openexr opengl openmp pam pcre pdf perl php physfs pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rle scanner sdl session sndfile spell spl sqlite sse sse2 ssl svg tcl tcpd tetex tiff tk truetype unicode usb utempter vorbis xcomposite xorg xpm xv zlib zsh-completion" ALSA_CARDS="emu10k1 loopback seq-dummy dummy" 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 joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB sv sv_SE" USERLAND="GNU" VIDEO_CARDS="ati radeon vesa fbdev r128 nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 44 Patrizio Bassi 2008-03-26 14:28:08 UTC
because it got stripped by portage....
Comment 45 Arvid Norlander 2008-03-27 08:32:14 UTC
(In reply to comment #44)
> because it got stripped by portage....
> 
That can't be right, I used FEATURES=splitdebug when installing TeXmacs. That would mean it end up in /usr/lib/debug, which it didn't.
Comment 46 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 09:37:06 UTC
Broken, no maintainer -> Treecleaners please vote

+1 for removing from tree.
Comment 47 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 09:59:29 UTC
(In reply to comment #40)
> I'm now passing final exams to become a Gentoo dev. After that, I'll be happy
> to maintain texmacs in the tree.
> 

Missed the entire comment. Any word? ;-)
Comment 48 Andrey Grozin gentoo-dev 2008-05-15 11:36:21 UTC
(In reply to comment #47)
> Missed the entire comment. Any word? ;-)
Well, now I'm a gentoo dev, and can maintain texmacs. I'll change its herd to sci (this seems logical - texmacs is *scientific* text processor). I have a patch which improves the interface to maxima, and it works fine on Linux; I am delaying this patch because it does not work on MacOS, and I'm investigating this now. When I'll be ready, I'll commit 1.0.6.14-r1 which will work with maxima-5.15.0 and future versions of maxima.
About segfaults: I cannot reproduce them. There was some discussion about this on the texmacs-dev mailing list; Joris van der Hoeven also cannot reproduce such segfaults reported by several users. Anybody who knows a reproducible way to see this bug, *please*, report to texmacs-dev mailing list. Then fixing it will be much more likely.
Comment 49 Samuli Suominen (RETIRED) gentoo-dev 2008-05-15 14:15:29 UTC
Thanks grozin, this bug belongs to you then - I take it.
Comment 50 Andrey Grozin gentoo-dev 2009-01-03 06:41:29 UTC
It's time to close this bug. Newer versions of TeXmacs are in the tree. They compile with any version of guile provided that guile is emerged with USE=+deprecated (the texmacs-1.0.7.1.ebuild uses EAPI=2 to require this, older ebuilds have old-fashioned pkg_setup().