Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117298 - zoinks in portage is too old and doesn't compile
Summary: zoinks in portage is too old and doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Marius Mauch (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 148861
Blocks:
  Show dependency tree
 
Reported: 2005-12-31 11:44 UTC by Wolfram Umlauf
Modified: 2006-09-23 15:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Umlauf 2005-12-31 11:44:43 UTC
*  app-editors/zoinks
      Latest version available: 0.3.8-r1

this version doesn't compile under linux-2.6.14-gentoo-r2 but the version 0.4.0 at http://zoinks.mikelockwood.com does and is working perfectly. Maybe someone can fix/update the ebuild?
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2006-01-22 12:57:12 UTC
0.4.0 in portage, though I haven't seen any breakage with 0.3.8-r1 (and even then wouldn't be caused by the kernel certainly).
Comment 2 Wulf Krueger (RETIRED) gentoo-dev 2006-08-04 10:19:42 UTC
There does exist a problem with 0.3.8-r1:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..     -mtune=pentium3 -march=pentium3 -O2 -pipe -g -Werror -Wall -I -DLOCALEDIR=\""/usr/share/locale"\" -c -o TBehavior.o `test -f TBehavior.cpp || echo './'`TBehavior.cpp
TApplication.cpp: In member function `virtual void TApplication::Initialize()':
TApplication.cpp:136: error: `LOCALEDIR' was not declared in this scope
TApplication.cpp:136: warning: unused variable 'LOCALEDIR'

Notice the "-I" without a path before the definition of LOCALEDIR that causes the compilation to fail.

The reason lies in configure.in:

configure.in:MY_CXXFLAGS="-g -Werror -Wall -I$x_includes"

$x_includes is supposed to be filled with the include path when configure is called:

# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
if test "x$with_x" = xno; then
  # The user explicitly disabled X.
  have_x=disabled
else
  if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
    # Both variables are already set.
    have_x=yes
  else
    if test "${ac_cv_have_x+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6
else
  # One or both of the vars are not set, and there is no cached value.
ac_x_includes=no ac_x_libraries=no
rm -fr conftest.dir

(x_includes gets initialised to "NONE" earlier.)

But in spite of the test and the fact that Zoinks' configure finds my X...

config.log:ac_cv_have_x='have_x=yes             ac_x_includes= ac_x_libraries='

... x_includes stays empty and the lonely-"-I" problem occurs. 

This happens on three different systems here. 0.4.0 compiles and works but it's marked unstable. Maybe it should be stabilised?


emerge --info

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-usermode-r4-bs2 i686)
=================================================================
System uname: 2.6.16-usermode-r4-bs2 i686 UML
Gentoo Base System version 1.6.15
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:  0.4.2-r1
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="-mtune=pentium3 -march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /mnt/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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/ /var/www/localhost /var/www/localhost/cgi-bin /var/www/localhost/htdig /var/www/localhost/htdocs/phpmyadmin"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mtune=pentium3 -march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
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/overlays/portage /usr/local/overlays/ecatmur"
SYNC="rsync://private rsync mirror"
USE="x86 X X509 Xaw3d async bash-completion bdf berkdb bitmap-fonts bzip2 c++ chroot cracklib crypt curl curlwrappers dga dio dlloader dmi dri emacs emacs-w3 extensions fam font-server gdbm gif glibc-omitfp iconv idn innodb ipv6 java javascript jce jpeg leim libwww mmap mmx mmxext mng multi-tty ncurses nls nptl nptlonly offensive pam pcntl pcre perl png posix python qt3 qt4 readline recode session sharedmem sockets sse ssl sysvipc tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode xml xorg xpm xrandr xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_apm video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS