Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 193505
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo TreeCleaner Project <treecleaner@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Arvid Norlander <anmaster@tele2.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193505 depends on: 204265 Show dependency tree
Bug 193505 blocks: 204249
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-09-23 11:20 0000
Trying to emerge ddd but it fails to compile. See below for error message.

Reproducible: Always

Steps to Reproduce:
1. emerge ddd


Actual Results:  
End of emerge output:
GraphEdit.C: In function 'void graphEditSizeChanged(_WidgetRec*)':
GraphEdit.C:478: warning: dereferencing type-punned pointer will break
strict-aliasing rules
GraphEdit.C:478: warning: dereferencing type-punned pointer will break
strict-aliasing rules
GraphEdit.C:478: warning: dereferencing type-punned pointer will break
strict-aliasing rules
GraphEdit.C:480: warning: dereferencing type-punned pointer will break
strict-aliasing rules
GraphEdit.C:480: warning: dereferencing type-punned pointer will break
strict-aliasing rules
GraphEdit.C:480: warning: dereferencing type-punned pointer will break
strict-aliasing rules
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT GraphGC.o -MD -MP -MF
".deps/GraphGC.Tpo" -c -o GraphGC.o GraphGC.C; \
        then mv -f ".deps/GraphGC.Tpo" ".deps/GraphGC.Po"; else rm -f
".deps/GraphGC.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT GraphNode.o -MD -MP -MF
".deps/GraphNode.Tpo" -c -o GraphNode.o GraphNode.C; \
        then mv -f ".deps/GraphNode.Tpo" ".deps/GraphNode.Po"; else rm -f
".deps/GraphNode.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT HintGraphN.o -MD -MP -MF
".deps/HintGraphN.Tpo" -c -o HintGraphN.o HintGraphN.C; \
        then mv -f ".deps/HintGraphN.Tpo" ".deps/HintGraphN.Po"; else rm -f
".deps/HintGraphN.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT LineGraphE.o -MD -MP -MF
".deps/LineGraphE.Tpo" -c -o LineGraphE.o LineGraphE.C; \
        then mv -f ".deps/LineGraphE.Tpo" ".deps/LineGraphE.Po"; else rm -f
".deps/LineGraphE.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT LineGESI.o -MD -MP -MF
".deps/LineGESI.Tpo" -c -o LineGESI.o LineGESI.C; \
        then mv -f ".deps/LineGESI.Tpo" ".deps/LineGESI.Po"; else rm -f
".deps/LineGESI.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT PannedGE.o -MD -MP -MF
".deps/PannedGE.Tpo" -c -o PannedGE.o PannedGE.C; \
        then mv -f ".deps/PannedGE.Tpo" ".deps/PannedGE.Po"; else rm -f
".deps/PannedGE.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT PosGraphN.o -MD -MP -MF
".deps/PosGraphN.Tpo" -c -o PosGraphN.o PosGraphN.C; \
        then mv -f ".deps/PosGraphN.Tpo" ".deps/PosGraphN.Po"; else rm -f
".deps/PosGraphN.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT RegionGN.o -MD -MP -MF
".deps/RegionGN.Tpo" -c -o RegionGN.o RegionGN.C; \
        then mv -f ".deps/RegionGN.Tpo" ".deps/RegionGN.Po"; else rm -f
".deps/RegionGN.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./..    -O2  -Wall -W
-Wwrite-strings -march=k8 -pipe -msse3 -trigraphs  -MT ScrolledGE.o -MD -MP -MF
".deps/ScrolledGE.Tpo" -c -o ScrolledGE.o ScrolledGE.C; \
        then mv -f ".deps/ScrolledGE.Tpo" ".deps/ScrolledGE.Po"; else rm -f
".deps/ScrolledGE.Tpo"; exit 1; fi
/usr/include/X11/VendorP.h:87: error: previous declaration of
'VendorShellClassRec vendorShellClassRec' with 'C++' linkage
/usr/include/Xm/VendorSP.h:58: error: conflicts with new declaration with 'C'
linkage
make[2]: *** [ScrolledGE.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/dev-util/ddd-3.3.11/work/ddd-3.3.11/ddd'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/dev-util/ddd-3.3.11/work/ddd-3.3.11/ddd'
make: *** [all-recursive] Error 1
 *
 * ERROR: dev-util/ddd-3.3.11 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ddd-3.3.11.ebuild, line 29:   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
'/var/log/portage/dev-util:ddd-3.3.11:20070923-110111.log'.


Expected Results:  
The package should install correctly as it is marked as stable on amd64

# emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4,
2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Sempron(tm) Processor 3300+
Timestamp of tree: Sun, 23 Sep 2007 09:50:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
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.17
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.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
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"
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/terminfo"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.linux.ee/pub/gentoo/distfiles/
http://mirror.uni-c.dk/pub/gentoo/"
LINGUAS="en en_GB sv sv_SE"
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/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 apache2 arts audiofile
bash-completion berkdb bitmap-fonts bzip2 cairo caps ccache cdb cdr cli
cracklib crypt cups curl dri dvd dvdr dvdread emacs emboss encode evo exif
expat fam fbcon firefox flac fontconfig foomaticdb fortran gd gdbm gif glep gmp
gnutls gpm gstreamer gtk iconv idea idn ieee1394 imlib ipv6 isdnlog jack
javascript jpeg jpeg2k kde 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
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" 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:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Robert Miesen 2007-09-24 21:17:26 0000 -------
I'm also having the same problem. Here's the (relevant) error output I got:

In file included from /usr/include/Xm/XmP.h:1647,
                 from ScrolleGEP.h:38,
                 from ScrolledGE.C:34:
/usr/include/X11/VendorP.h:87: error: previous declaration of
'VendorShellClassRec vendorShellClassRec' with 'C++' linkage
/usr/include/Xm/VendorSP.h:58: error: conflicts with new declaration with 'C'
linkage
make[2]: *** [ScrolledGE.o] Error 1


BTW, while I'm no authority on this matter, I think that the gentoo bug killers
only care about the errors. However, definitely don't go quoting me on that.
Below is my output for 'emerge --info':


Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0,
2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Genuine Intel(R) CPU T2050 @ 1.60GHz
Timestamp of tree: Mon, 24 Sep 2007 04:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
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/X11/xkb /usr/share/config"
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="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j5"
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.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa apache2 arts bash-completion bcmath
berkdb bindist bitmap-fonts bzip2 cairo caps cddp cdr cjk clamav cli cracklib
crypt cscope ctype cups curl curlwrappers dbase dbm dbus dga directfb dri dts
dvd dvdr dvdread eds emacs emboss encode evo examples exif expat fam fastcgi
fbcron ffmpeg fftw firefox flac foomaticdb fortran freetds ftp gd gdbm geoip
ggi gif glut gmp gnome gnustep gnutls gpm graphviz gstreamer gtk gtkhtml hal
howl icc iconv icq idn imagemagick imap imlib informix innodb ipod ipv6 isdnlog
jabber jack java javascript jbig joystick jpeg jpeg2k junit kde kdexdeltas
kerberos krb4 ladspa lapack lcms ldap leim lesstif libcaca libg++ libnotify
libsamplerate libwww lirc lm_sensors mad maildir matroska matrox mbox mcal midi
mikmod mime mmx mono mp3 mpeg mpi mplayer mpm-threadpool msn mudflap mule
musepack musicbrainz mysql mysqli nas ncurses nls nntp nocd nptl nptlonly
offensive ofx ogg openexr opengl openmp osc oscar oss pam pcntl pcre pdf perl
php plotutils png postfix ppds pppd profile python qt3 qt3support qt4 quicktime
rdesktop readline reflection sdl session sharedext shorten smp snmp soap
sockets source speex spell spl sse sse2 ssl startup-notification svg svga
symlink sysvipc tcpd tetex theora threads tidy tiff tokenizer truetype
truetype-fonts type1-fonts unicode usb vcd vhosts videos vorbis win32codecs x86
xcomposite xface xine xml xorg xosd xpm xprint xscreensaver xsl xulrunner xv
xvid yahoo 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="apm ark chips cirrus cyrix
dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon
rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l
vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #2 From Andrew Church 2007-12-25 20:04:48 0000 -------
This looks like a problem with lesstif-0.95.0; I get the same
VendorShellClassRec error when compiling xpdf.  While I don't know whether it's
the correct fix, moving the line
    #include <X11/ShellP.h>
to below the
    #ifdef __cplusplus
    extern "C" {
    #endif
in /usr/include/Xm/VendorSP.h solved the problem for me.

------- Comment #3 From Jakub Moc (RETIRED) 2008-01-04 08:19:47 0000 -------
*** Bug 204246 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2008-01-04 08:21:49 0000 -------
(In reply to comment #2)
> This looks like a problem with lesstif-0.95.0

Does 0.94.4 work, or is it broken as well?

------- Comment #5 From Seblu 2008-01-04 08:27:17 0000 -------
(In reply to comment #4)
> (In reply to comment #2)
> > This looks like a problem with lesstif-0.95.0
> 
> Does 0.94.4 work, or is it broken as well?
> 

i use lesstif-0.94.4 and xpdf compilation also fail.

------- Comment #6 From Jakub Moc (RETIRED) 2008-01-04 08:29:03 0000 -------
Maybe try w/ openmotif instead, then... 

------- Comment #7 From Seblu 2008-01-04 08:38:59 0000 -------
(In reply to comment #6)
> Maybe try w/ openmotif instead, then... 
> 

this works ! Thanks.

------- Comment #8 From Jakub Moc (RETIRED) 2008-01-04 08:44:06 0000 -------
(In reply to comment #7)
> (In reply to comment #6)
> > Maybe try w/ openmotif instead, then... 
> this works ! Thanks.

Well, one more reason to get rid of lesstif, the broken motif-config thingy &
co. 

------- Comment #9 From Jakub Moc (RETIRED) 2008-01-04 08:59:19 0000 -------
*** Bug 199554 has been marked as a duplicate of this bug. ***

------- Comment #10 From Jakub Moc (RETIRED) 2008-02-12 19:14:31 0000 -------
Going away, nothing to fix here...

------- Comment #11 From Jakub Moc (RETIRED) 2008-02-13 13:06:04 0000 -------
Reopening for removal; will be done as soon as Bug 204265 is finished.

------- Comment #12 From Arvid Norlander 2008-02-14 17:33:59 0000 -------
This would be a disaster for me, I need some software that doesn't compile with
openmotif, only with lesstif. Therefore I hope you do not remove the package.

------- Comment #13 From Jakub Moc (RETIRED) 2008-02-14 17:42:42 0000 -------
(In reply to comment #12)
> This would be a disaster for me, I need some software that doesn't compile with
> openmotif, only with lesstif. Therefore I hope you do not remove the package.

You are welcome to maintain it in your overlay. The reasons for removal have
been states numerous times, see Bug 204249 and the dependent bugs.

------- Comment #14 From Ulrich Müller 2008-02-16 15:40:16 0000 -------
Reassigning to treecleaners.

------- Comment #15 From Ulrich Müller 2008-02-22 23:55:22 0000 -------
Package.masked, since lesstif is not installable anyway.

Here are some thoughts:
In case that this package should be revived, it IMHO makes only sense with
mutual blockers between openmotif and lesstif. See bug 29388, bug 117458, and
the bugs depending on bug 204249 for the reasons why motif-config cannot work;
no need to repeat it once again.

However, we already know that many packages in the tree do not work properly
with lesstif. It is not-quite Motif 2.1, incomplete, orders of magnitude more
buggy, and even uglier than the original (one wouldn't think that this is
possible ;-) ).

So, about the only reason to prefer lesstif could be the licence issue. But in
this case, it would be paradoxical to have openmotif installed alongside
lesstif, and we could have the mutual blockers as well.

In short: I am for removing it (but I don't have a vote).

------- Comment #16 From Arvid Norlander 2008-02-23 00:49:45 0000 -------
I don't see why slotted versions does not work. After all, don't they have
different SONAMEs? Shouldn't that be enough?

------- Comment #17 From Jakub Moc (RETIRED) 2008-02-23 00:52:13 0000 -------
(In reply to comment #16)
> I don't see why slotted versions does not work. After all, don't they have
> different SONAMEs? Shouldn't that be enough?

Maybe you should re-read the previous comment and act accordingly before
commenting here.

------- Comment #18 From Ulrich Müller 2008-02-23 01:01:24 0000 -------
(In reply to comment #16)
> I don't see why slotted versions does not work. After all, don't they
> have different SONAMEs? Shouldn't that be enough?

No, since the libraries are not everything, there are also header files and
binaries (like mwm). See again the references that I have cited in comment #15.

And it doesn't work to have both packages installed at the same time; the
following line from openmotif-2.2.3-r9.ebuild pretty much summarizes it:

    emake -j1 || die "make failed, if you have lesstif installed removed it,    
    compile openmotif and recompile lesstif"

------- Comment #19 From Arvid Norlander 2008-02-23 01:08:30 0000 -------
(In reply to comment #17)
> Maybe you should re-read the previous comment and act accordingly before
> commenting here.
> 
I did read those bugs you mentioned but I'm afraid it seems to mostly be
different developers fighting each other, rather than trying to fix issues. As
far as I know different versions of a library can co-exist. ABI is incompatible
sure, but portage should record the needed information for that IMO. Lesstif
and openmotif got partly incompatible APIs. That is much worse and means having
to provide alternatives.

After all, GCC broke the C++ ABI a few times (I think). No one objected to
that. Both gcc 3.x and gcc 4.x are still provided, slotted.

(In reply to comment #18)
> No, since the libraries are not everything, there are also header files and
> binaries (like mwm)
Uhh, IMO a window manager does not belong in same package as a programming
library for general use. Should be a separate package.

For header files you got a point, but other packages manages, for example,
wx-config --version=2.6 --unicode=yes and so on.

> And it doesn't work to have both packages installed at the same time; the
> following line from openmotif-2.2.3-r9.ebuild pretty much summarizes it:
>    emake -j1 || die "make failed, if you have lesstif installed removed it,    
>    compile openmotif and recompile lesstif
That looks broken. OpenMotif is clearly broken if it can't handle lesstif being
installed. It should be reported upstream IMO.

------- Comment #20 From Jakub Moc (RETIRED) 2008-02-23 01:12:44 0000 -------
(In reply to comment #19)
> That looks broken. OpenMotif is clearly broken if it can't handle lesstif being
> installed. It should be reported upstream IMO.

Please, stop producing more noise on this bug before doing a basic research at
least. Seriously - once and for all. I'm going to restrict the bug to prevent
totally unproductive noise otherwise.

These two packages are basically two implementations of the exact same thing.
Complaining that they can't be installed at the same time is like complaining
that cdrkit and cdrtools can't be installed at the same time.

They are *not* binary compatible -> they cannot co-exist on the system in a
sane way. Tested and it does NOT work. Please, save us from more completely
uninformed comments.

------- Comment #21 From Ryan Hill 2008-02-23 02:22:10 0000 -------
the only way wxGTK installing two different versions side by side works is it
was _designed that way_.  The headers are installed in version separated
directories and written in a way that the correct version will be used.

slotted gcc versions work because they are _designed to_.

and in both cases, you're talking about different versions of the same project.
 but here we're talking about two completely different projects.  they simply
cannot be installed together.  this isn't an uncommon thing.  most packages
providing a virtual can't be installed together.

------- Comment #22 From Stephan Sokolow 2008-02-24 01:40:28 0000 -------
What is the proper approach for contesting something like this because you
consider the non-libre alternative morally wrong? (Besides switching to Debian)

------- Comment #23 From Ulrich Müller 2008-02-24 05:50:05 0000 -------
(In reply to comment #22)
> What is the proper approach for contesting something like this because
> you consider the non-libre alternative morally wrong? (Besides switching
> to Debian)

Please read comment #13 and comment #15 again.

Or find a developer for us who is going to maintain the lesstif package.
Preferably, it should be someone who has never looked at the openmotif source
code (because of the licence issue: he might be in the situation that he has to
submit patches upstream).

------- Comment #24 From Jakub Moc (RETIRED) 2008-02-24 08:02:46 0000 -------
(In reply to comment #22)
> What is the proper approach for contesting something like this because you
> consider the non-libre alternative morally wrong? (Besides switching to Debian)

I think switching to Debian is an excellent solution... seriously. You've
chosen a a wrong distribution if you consider 'non-libre' software to be
immoral.

------- Comment #25 From Raúl Porcel 2008-03-24 19:33:03 0000 -------
so...? Remove it or what?

------- Comment #26 From Jakub Moc (RETIRED) 2008-03-24 19:41:49 0000 -------
About time; noone can install it.

------- Comment #27 From Raúl Porcel 2008-03-25 14:32:23 0000 -------
Let's vote then, treecleaners, +1 from me

------- Comment #28 From Jakub Moc (RETIRED) 2008-03-25 16:02:51 0000 -------
+2 - voting doesn't make much sense here, it is not installable at all because
it depends on its own blocker (motif-config blocks lesstif now).

------- Comment #29 From Torsten Grote 2008-03-28 17:27:58 0000 -------
I was able to install x11-libs/lesstif-0.95.0 with paludis on an amd64 machine.
openmotif is no Free Software and that's why no option for me.

------- Comment #30 From Jakub Moc (RETIRED) 2008-03-28 17:41:17 0000 -------
(In reply to comment #29)
> I was able to install x11-libs/lesstif-0.95.0 with paludis on an amd64 machine.

If paludis ignores the blockers in place, you should file a bug about it.

> openmotif is no Free Software and that's why no option for me.

So maintain it in your own overlay. Been explained over and over again, this
doesn't bring anything new here. 

------- Comment #31 From Ulrich Müller 2008-05-10 11:24:42 0000 -------
Since nothing is happening here, I have now committed the ebuild that I had in
my private overlay since three months:

*lesstif-0.95.0-r1 (10 May 2008)

  10 May 2008; Ulrich Mueller <ulm@gentoo.org>
  +files/lesstif-0.95.0-vendorsp-cxx.patch, +lesstif-0.95.0-r1.ebuild:
  Ebuild completely rewritten: SLOTting is finally gone. Install libraries,
  include files, and man pages in their standard locations. No more need for
  motif-config and profile manipulation. Libtool tweaks to fix linkage against
  already installed version are no longer needed. Fix issue with inclusion
  of VendorSP.h in C++ code, original issue of bug 193505, patch extracted
  from upstream CVS. Update LICENSE: add libXpm; add GPL-2 and FVWM for mwm.
  Dependencies scrutinised and fixed: libXft/freetype is needed also at run
  time, remove unnecessary libXaw and perl, remove redundant printproto.
  Block against openmotif and motif-config.

Of course this fixes none of the issues that packages are broken with LessTif.
Therefore I suggest that we leave it in package.mask indefinitely, to make
clear that it is an unsupported package and that users are on their own if they
use it.

Reassigning to maintainer-needed again. (Treecleaners, take it back if you
disagree.)

I shall remove the old revisions 0.94.4 and 0.95.0 together with removal of
x11-libs/motif-config (bug 117057) in a few days. This implies dropping of all
keywords to unstable, but the stable version isn't installable anyway.

------- Comment #32 From Ulrich Müller 2009-05-15 16:25:15 0000 -------
Another year has passed, so probably it's time to reopen this bug. Last
upstream release was three years ago.

------- Comment #33 From Ulrich Müller 2009-05-15 16:27:32 0000 -------
Reassigning to treecleaners, since I'd like to know your opinion on this.

------- Comment #34 From Ryan Hill 2009-05-17 02:43:08 0000 -------
Vote for removal unless someone is willing to keep it maintained.

------- Comment #35 From Jeremy Olexa (darkside) 2009-05-28 03:34:27 0000 -------
I will update the mask when the treecleaner queue gets processed in a few days.

30 days left for this one.

------- Comment #36 From Chet Hosmer 2009-05-28 12:39:02 0000 -------
(In reply to comment #2)
> This looks like a problem with lesstif-0.95.0; I get the same
> VendorShellClassRec error when compiling xpdf.  While I don't know whether it's
> the correct fix, moving the line
>     #include <X11/ShellP.h>
> to below the
>     #ifdef __cplusplus
>     extern "C" {
>     #endif
> in /usr/include/Xm/VendorSP.h solved the problem for me.

This fix works perfectly, thanks for the help
> 

------- Comment #37 From Jeremy Olexa (darkside) 2009-05-30 01:14:16 0000 -------
# Ulrich Mueller <ulm@gentoo.org> (10 May 2008)
# LessTif is unsupported since it has open issues with several packages.
# See bug 193505 and bug 204249. You are on your own here.
# Jeremy Olexa <darkside@gentoo.org> (30 May 2009)
# Treecleaners will remove in 30 days. bug 193505
x11-libs/lesstif

------- Comment #38 From Jeremy Olexa (darkside) 2009-07-03 15:38:33 0000 -------
removed from tree, fixed

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug