Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150645 - stabilize x11-plugins/wmbutton-0.6.1 (was: 0.5 fails to compile)
Summary: stabilize x11-plugins/wmbutton-0.6.1 (was: 0.5 fails to compile)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dockapp Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2006-10-09 13:41 UTC by Patrick Lauer
Modified: 2008-01-14 13:27 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2006-10-09 13:41:44 UTC
>>> Compiling source in /var/tmp/portage/wmbutton-0.5/work/wmbutton-0.5 ...
gcc -c -Wall -I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11  -O2 -march=i686 -pipe wmbutton.c -o wmbutton.o
In file included from wmbutton.c:41:
wmbutton.h:5:18: error: Xlib.h: No such file or directory
wmbutton.h:6:19: error: Xutil.h: No such file or directory
wmbutton.h:7:17: error: xpm.h: No such file or directory
wmbutton.h:8:30: error: extensions/shape.h: No such file or directory
wmbutton.h:9:20: error: keysym.h: No such file or directory
In file included from wmbutton.c:41:
wmbutton.h:79: error: expected ')' before 'w'
wmbutton.h:89: error: expected ')' before 'pix'
wmbutton.h:90: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'createTooltipPixmap'
wmbutton.h:94: error: expected ')' before 'w'
wmbutton.c:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
wmbutton.c:55: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rootwin'
wmbutton.c:56: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gc'
wmbutton.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bg_pixel'
wmbutton.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xsizehints'
wmbutton.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
wmbutton.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'xclasshint'
wmbutton.c:67: error: expected specifier-qualifier-list before 'Pixmap'
wmbutton.c:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pixmask'
wmbutton.c: In function 'main':

long cascade of errors until failure happens

Gentoo Base System version 1.12.5
Portage 2.1.2_pre2-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 x86_64)
=================================================================
System uname: 2.6.16.16 x86_64 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Mon, 02 Oct 2006 14:50:01 +0000
ccache version 2.3 [enabled]
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.13, 2.59-r7
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/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://85.25.128.62 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://rsync12.de.gentoo.org/gentoo-portage"
USE="x86 X berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fortran gdbm gpm 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_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michele Noberasco (RETIRED) gentoo-dev 2006-10-27 01:37:13 UTC
Fixed. Thanks for the submission!
Comment 2 Evil Compile Person 2008-01-09 16:37:48 UTC
 * ERROR: x11-plugins/wmbutton-0.5 failed.

It seems to not be fixed ...

gcc -c -Wall -I/usr/X11R6/include/X11 -I/usr/local/include -I/usr/include/X11R6/X11  -O2 -pipe wmbutton.c -o wmbutton.o

^^ the include path is quite wrong...ish :)
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-01-13 06:49:03 UTC
..
Comment 4 nixnut (RETIRED) gentoo-dev 2008-01-13 15:17:26 UTC
ppc stable
Comment 5 Markus Meier gentoo-dev 2008-01-13 22:57:38 UTC
fails here:

>>> Compiling source in /var/tmp/portage/x11-plugins/wmbutton-0.6.1/work/wmbutton-0.6.1 ...
i686-pc-linux-gnu-gcc -c -O2 -march=i686 -fomit-frame-pointer -pipe -I/usr/include/X11 wmbutton.c -o wmbutton.o
i686-pc-linux-gnu-gcc -c -O2 -march=i686 -fomit-frame-pointer -pipe -I/usr/include/X11 wmb_libs.c -o wmb_libs.o
i686-pc-linux-gnu-gcc  wmbutton.o wmb_libs.o -lX11 -lXpm -lXext -o wmbutton
ctags *.[ch]
/bin/sh: ctags: command not found
make: *** [tags] Error 127
 *
 * ERROR: x11-plugins/wmbutton-0.6.1 failed.
 * Call stack:
 *               ebuild.sh, line 1701:  Called dyn_compile
 *               ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *               ebuild.sh, line   44:  Called src_compile
 *   wmbutton-0.6.1.ebuild, line   32:  Called die
 * The specific snippet of code:
 *      emake CC="$(tc-getCC)" || die "emake failed."
 *  The die message:
 *   emake failed.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2008-01-14 10:27:53 UTC
(In reply to comment #5)
> fails here:
> 
> >>> Compiling source in /var/tmp/portage/x11-plugins/wmbutton-0.6.1/work/wmbutton-0.6.1 ...
> i686-pc-linux-gnu-gcc -c -O2 -march=i686 -fomit-frame-pointer -pipe
> -I/usr/include/X11 wmbutton.c -o wmbutton.o
> i686-pc-linux-gnu-gcc -c -O2 -march=i686 -fomit-frame-pointer -pipe
> -I/usr/include/X11 wmb_libs.c -o wmb_libs.o
> i686-pc-linux-gnu-gcc  wmbutton.o wmb_libs.o -lX11 -lXpm -lXext -o wmbutton
> ctags *.[ch]
> /bin/sh: ctags: command not found

Seems to be missing DEPEND for "dev-util/ctags". Could you add it while marking?
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-14 13:27:20 UTC
x86 stable, closing as we are last one