Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143311 - Stabilize dev-ml/lablgtk-2.6.0
Summary: Stabilize dev-ml/lablgtk-2.6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 138373
  Show dependency tree
 
Reported: 2006-08-09 03:13 UTC by spiralvoice
Modified: 2007-05-26 16:44 UTC (History)
3 users (show)

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


Attachments
Executable stack log file for lablgtk-2.6.0 (scanelf-execstack.log,4.29 KB, text/plain)
2006-10-11 08:13 UTC, Abraham Marin Perez
Details
emerge output (emerge-lablgtk-2.6.0.log,4.28 KB, text/plain)
2007-02-01 09:09 UTC, Steven Elling
Details
emerge info (emerge-info.txt,4.96 KB, text/plain)
2007-02-01 09:10 UTC, Steven Elling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spiralvoice 2006-08-09 03:13:03 UTC
This version works for me on ~x86
Comment 1 spiralvoice 2006-08-15 07:22:43 UTC
Stabilizing this is needed for net-p2p/mldonkey
http://bugs.gentoo.org/show_bug.cgi?id=138373#c9
Comment 2 spiralvoice 2006-08-21 03:50:18 UTC
ping
Comment 3 spiralvoice 2006-08-27 02:36:49 UTC
ping
Comment 4 spiralvoice 2006-08-27 02:40:49 UTC
Arch testers: please mark dev-ml/lablgtk-2.6.0 stable
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-08-27 23:44:41 UTC
1) emerges fine so far
a) QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
 For more information, see http://hardened.gentoo.org/gnu-stack.xml
 Please include this file in your report:
 /var/tmp/portage/lablgtk-2.6.0/temp/scanelf-execstack.log
"!WX --- --- usr/lib/ocaml/lablgtk2/gtkThread.o"
"!WX --- --- usr/lib/ocaml/lablgtk2/gtkInit.o"
b) /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR
  run info '(automake)Extending aclocal'

2) passes collision test
3) works

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
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"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 alsa arts artworkextra asf audiofile avi bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox foomaticdb fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg jpeg2k ldap leim libg++ libwww lm_sensors mad maildir matroska mbox mikmod mime mmx mmxext mng mono motif mp3 mpeg mpeg2 mule nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl pam pcre pdf pdflib perl plotutils pmu png ppds pppd preview-latex print python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb vcd videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Jason Wever (RETIRED) gentoo-dev 2006-08-28 12:20:42 UTC
Please re-add us when the actual application maintainer feels this is necessary.
Comment 7 spiralvoice 2006-08-28 13:53:43 UTC
The problem is the actual application maintainer did not update this ebuild since February 2006, in March 2006 this ebuild was marked stable in ia64.

There is a serious bug in current stable net-p2p/mldonkey, updating it
to the unstable version is blocked by this ebuild.
I do not want to sound rude nor do I want to rant but is there a
quick way of getting both ebuilds marked stable?
Comment 8 Matthieu Sozeau (RETIRED) gentoo-dev 2006-08-28 14:03:41 UTC
It is ok to mark it stable, I just can't do it for arches other that x86 and amd64, which I've done just now. Sorry for the delay.
Comment 9 Jason Wever (RETIRED) gentoo-dev 2006-08-28 14:38:49 UTC
Please do not add an arch to a ticket if you are not the package maintainer or someone affiliated with Gentoo.  The arch teams are likely to disregard the ticket if you do.
Comment 10 spiralvoice 2006-08-29 09:25:59 UTC
@Matthieu Sozeau: Glad to see you are still around, thx for making lablgtk stable!

@Jason: Ok, sorry, will never do it again. I was a bit desperate because things did not move but now everything is ok.
Comment 11 Tobias Scherbaum (RETIRED) gentoo-dev 2006-08-30 05:00:55 UTC
ppc stable
Comment 12 Gustavo Zacarias (RETIRED) gentoo-dev 2006-09-05 12:08:38 UTC
sparc stable.
Comment 13 Gustavo Zacarias (RETIRED) gentoo-dev 2006-09-26 13:55:25 UTC
hppa stable.
Comment 14 Abraham Marin Perez 2006-10-11 08:12:42 UTC
Hi everyone. I was about to post a new bug related to the executable stacks in lablgtk when I noticed someone already said something about it in this bug (see Comment #5); however, I'm not pretty sure people are dealing with that here, shall I open a new bug for that matter?

Just in case, I'll attach log file for QA notice.

##################
emerge --info:

Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.5-r2, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.5
Last Sync: Thu, 05 Oct 2006 06:50:01 +0000
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 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.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 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.8.1-r1, 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict stricter test"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="es_ES.UTF-8@euro"
LC_ALL="es_ES.UTF-8@euro"
LINGUAS="es 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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 acpi alsa apache2 asf audiofile avi bash-completion bidi bitmap-fonts bzip2 bzlib canna cdr cjk cli crypt cups dbus dga directfb divx4linux dlloader doc dri dvb dvd dvdr dvdread eds elibc_glibc emboss encode esd evo exif fbcon fftw firefox flac foomaticdb freewnn ftp gb gcj gd gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse iodbc isdnlog java jikes jpeg kde kernel_linux libg++ libwww linguas_en linguas_es mad memlimit mikmod mime mmx motif mozilla mp3 mpeg msn nas nls nptl nptlonly nsplugin nvidia odbc offensive ogg oggvorbis openal opengl pam pcre pdflib perl png pnp posix ppds pppd qt3 qt4 quicktime readline reflection sdl session sharedmem simplexml spell spl ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nvidia videos vorbis win32codecs wmf x86 xine xml xmms xorg xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 15 Abraham Marin Perez 2006-10-11 08:13:39 UTC
Created attachment 99369 [details]
Executable stack log file for lablgtk-2.6.0

Reported as requested by QA notice.
Comment 16 Alexandre Buisse (RETIRED) gentoo-dev 2006-10-30 18:51:02 UTC
@alpha: ping

@Abraham: this is a different issue that has been discussed already, see bug 153382 for instance.
Comment 17 Abraham Marin Perez 2006-10-31 00:21:29 UTC
@Alexandre: Got it, I'll put an ear on that other bug and wait for things to happen. Thx for the clarification ;-)
Comment 18 Steven Elling 2007-02-01 09:09:34 UTC
Created attachment 108827 [details]
emerge output
Comment 19 Steven Elling 2007-02-01 09:10:46 UTC
Created attachment 108828 [details]
emerge info
Comment 20 Steven Elling 2007-02-01 09:10:57 UTC
Will not compile here.  I disable all my LDFLAGS and it still fails when running configure.
Comment 21 Alexandre Buisse (RETIRED) gentoo-dev 2007-02-01 09:54:24 UTC
Your error is that configure says that "C compiler cannot create executables". This is a common issue that can come from various reasons, but it is quite unlikely to be lablgtk's fault. I suggest you check the forums, there are some threads dealing with this issue.
Comment 22 Steven Elling 2007-02-07 09:33:19 UTC
The "C compiler cannot create executables" error was probably not caused by something common for me but then I did not scour the forums.  I started reading one forum topic when the problem slapped me in the face.

During configure the following was displayed:

checking for ocaml dll support... yes
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
OCaml uses gcc gcc: -z: linker input file unused because linking not done gcc: now: linker input file unused because linking
 not done gcc: -z: linker input file unused because linking not done gcc: now: linker input file unused because linking not
done to compile C files
checking for i686-pc-linux-gnu-gcc... gcc
gcc: -z: linker input file unused because linking not done
gcc: now: linker input file unused because linking not done
gcc: -z: linker input file unused because linking not done
gcc: now: linker input file unused because linking not done
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: WARNING: Cache variable ac_cv_prog_CC contains a newline.
-----

Notice the line that starts with 'OCaml uses gcc gcc: -z:'.  I found that /usr/lib/ocaml/Makefile.config had the following in it:

BYTECCCOMPOPTS=-fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -march=athlon-xp -m3dnow -mmmx -msse -O2 -ggdb -Wl,-z,now -pipe -mfpmath=sse
NATIVECCCOMPOPTS=-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -march=athlon-xp -m3dnow -mmmx -msse -O2 -ggdb -Wl,-z,now -pipe -mfpmath=sse
-----


I knew the flag to disable lazy bindings was a problem due to past compiles of lablgtk that failed to compile with it enabled.

How did the flag to disable lazy bindings get there?  Well, there was a forum posting a while back that talked about disabling lazy bindings and to put it in the CFLAGS.  I blindly did so but did not remember LDFLAGS from my LFS days until recently reading an article about optimized linker output and only linking against the libraries actually needed.  I promptly moved the flag to disable lazy bindings to LDFLAGS in /etc/make.conf and added the other LDFLAGS but did not rebuild my system because I did not think it caused problems.  Little did I know.

Anyway, I rebuilt dev-lang/ocaml but the following error came up:

ocamlopt.opt -I +lablGL -w s -c glGtk.ml
/usr/lib/ocaml/lablGL/gl.cmx is not a compilation unit description.
make[1]: *** [glGtk.cmx] Error 2
make[1]: Leaving directory `/var/tmp/portage/lablgtk-2.6.0/work/lablgtk-2.6.0/src'
make: *** [opt] Error 2
-----


'qfile /usr/lib/ocaml/lablGL/gl.cmx' showed 'dev-ml/lablgl' owned the file.  Hmmm, probably the same cause so I rebuilt lablgl.  Lo and behold, this fix my problems with compiling lablgtk.
Comment 23 Raúl Porcel (RETIRED) gentoo-dev 2007-05-26 16:44:00 UTC
alpha stable, sorry for the delay, closing.