Project

General

Profile

unexist.dev

subtle

Assorted tidbits and projects

can't compile subtle-hg from AUR on x86

Added by murth murth over 14 years ago

Hi, I've been getting this for weeks, but have been too busy with uni to try getting on IRC and fixing it etc. Anyone got any suggestions?

Running otherwise completely up-to-date arch system, x86. My desktop 64bit can update subtle fine, just my eee can't. Currently on my eee I have subtle 0.8.1528.

===================
yaourt -S subtle-hg

...

> Determining latest hg revision...
pulling from http://hg.scrapping.cc/subtle
searching for changes
no changes found
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-> Version found: 1573
> Making package: subtle-hg 1573-1 i686 (Fri Nov 13 12:48:06 EST 2009)
> Checking Runtime Dependencies...
> Checking Buildtime Dependencies...
> Retrieving Sources...
> Extracting Sources...
> Removing existing pkg/ directory...
> Starting build()...
> Connecting to mercurial repository...
destination directory: subtle
abort: destination 'subtle' is not empty
> Mercurial clone finished.

Starting rake...

(in /var/abs/local/yaourtbuild/subtle-hg/src/subtle-build)
CC build/display.o
In file included from src/subtle/display.c:17:
/usr/include/X11/extensions/Xrandr.h:61: error: expected specifier-qualifier-list before ‘SizeID’
/usr/include/X11/extensions/Xrandr.h:89: error: expected specifier-qualifier-list before ‘Rotation’
/usr/include/X11/extensions/Xrandr.h:103: error: expected specifier-qualifier-list before ‘Rotation’
/usr/include/X11/extensions/Xrandr.h:147: error: expected declaration specifiers or ‘...’ before ‘Rotation’
/usr/include/X11/extensions/Xrandr.h:155: error: expected declaration specifiers or ‘...’ before ‘Rotation’
/usr/include/X11/extensions/Xrandr.h:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRRConfigRotations’
/usr/include/X11/extensions/Xrandr.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRRConfigCurrentConfiguration’
/usr/include/X11/extensions/Xrandr.h:192: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRRRotations’
/usr/include/X11/extensions/Xrandr.h:253: error: expected specifier-qualifier-list before ‘Connection’
/usr/include/X11/extensions/Xrandr.h:329: error: expected specifier-qualifier-list before ‘Rotation’
/usr/include/X11/extensions/Xrandr.h:350: error: expected declaration specifiers or ‘...’ before ‘Rotation’
src/subtle/display.c: In function ‘subDisplayInit’:
src/subtle/display.c:119: error: ‘RRScreenChangeNotifyMask’ undeclared (first use in this function)
src/subtle/display.c:119: error: (Each undeclared identifier is reported only once
src/subtle/display.c:119: error: for each function it appears in.)
rake aborted!
Compiler failed with status 1
/var/abs/local/yaourtbuild/subtle-hg/src/subtle-build/Rakefile:129:in `block in compile'
(See full trace by running task with --trace)
> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build subtle-hg package.

=================
$ rake --trace (in /var/abs/local/yaourtbuild/subtle-hg/src/subtle-build)
  • Invoke default (first_time)
  • Invoke config (first_time)
  • Execute config
  • Invoke build (first_time)
  • Invoke config
  • Invoke subtle (first_time)
  • Invoke config
  • Invoke build/shared.wm.o (first_time, not_needed)
  • Invoke src/shared/shared.c (first_time, not_needed)
  • Invoke build/grab.o (first_time, not_needed)
  • Invoke src/subtle/grab.c (first_time, not_needed)
  • Invoke build/icon.o (first_time, not_needed)
  • Invoke src/subtle/icon.c (first_time, not_needed)
  • Invoke build/array.o (first_time, not_needed)
  • Invoke src/subtle/array.c (first_time, not_needed)
  • Invoke build/tray.o (first_time, not_needed)
  • Invoke src/subtle/tray.c (first_time, not_needed)
  • Invoke build/view.o (first_time, not_needed)
  • Invoke src/subtle/view.c (first_time, not_needed)
  • Invoke build/display.o (first_time)
  • Invoke src/subtle/display.c (first_time, not_needed)
  • Execute build/display.o
    gcc -o build/display.o -c -Wall -Werror -Wpointer-arith -Wstrict-prototypes -Wunused -Wshadow -std=gnu99 -g -DNDEBUG -DWM -I. -Ibuild -Isrc -Isrc/shared -Isrc/subtle -idirafter/usr/include/ruby-1.9.1 -idirafter/usr/include/ruby-1.9.1/i686-linux src/subtle/display.c
    In file included from src/subtle/display.c:17:
    /usr/include/X11/extensions/Xrandr.h:61: error: expected specifier-qualifier-list before ‘SizeID’
    /usr/include/X11/extensions/Xrandr.h:89: error: expected specifier-qualifier-list before ‘Rotation’
    /usr/include/X11/extensions/Xrandr.h:103: error: expected specifier-qualifier-list before ‘Rotation’
    /usr/include/X11/extensions/Xrandr.h:147: error: expected declaration specifiers or ‘...’ before ‘Rotation’
    /usr/include/X11/extensions/Xrandr.h:155: error: expected declaration specifiers or ‘...’ before ‘Rotation’
    /usr/include/X11/extensions/Xrandr.h:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRRConfigRotations’
    /usr/include/X11/extensions/Xrandr.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRRConfigCurrentConfiguration’
    /usr/include/X11/extensions/Xrandr.h:192: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘XRRRotations’
    /usr/include/X11/extensions/Xrandr.h:253: error: expected specifier-qualifier-list before ‘Connection’
    /usr/include/X11/extensions/Xrandr.h:329: error: expected specifier-qualifier-list before ‘Rotation’
    /usr/include/X11/extensions/Xrandr.h:350: error: expected declaration specifiers or ‘...’ before ‘Rotation’
    src/subtle/display.c: In function ‘subDisplayInit’:
    src/subtle/display.c:119: error: ‘RRScreenChangeNotifyMask’ undeclared (first use in this function)
    src/subtle/display.c:119: error: (Each undeclared identifier is reported only once
    src/subtle/display.c:119: error: for each function it appears in.)
    rake aborted!
    Compiler failed with status 1
    /var/abs/local/yaourtbuild/subtle-hg/src/subtle-build/Rakefile:129:in `block in compile'
    /var/abs/local/yaourtbuild/subtle-hg/src/subtle-build/Rakefile:94:in `call'
    /var/abs/local/yaourtbuild/subtle-hg/src/subtle-build/Rakefile:94:in `silent_sh'
    /var/abs/local/yaourtbuild/subtle-hg/src/subtle-build/Rakefile:127:in `compile'
    /var/abs/local/yaourtbuild/subtle-hg/src/subtle-build/Rakefile:353:in `block (2 levels) in <top (required)>'
    /usr/lib/ruby/1.9.1/rake.rb:613:in `call'
    /usr/lib/ruby/1.9.1/rake.rb:613:in `block in execute'
    /usr/lib/ruby/1.9.1/rake.rb:608:in `each'
    /usr/lib/ruby/1.9.1/rake.rb:608:in `execute'
    /usr/lib/ruby/1.9.1/rake.rb:574:in `block in invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
    /usr/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/rake.rb:584:in `block in invoke_prerequisites'
    /usr/lib/ruby/1.9.1/rake.rb:581:in `each'
    /usr/lib/ruby/1.9.1/rake.rb:581:in `invoke_prerequisites'
    /usr/lib/ruby/1.9.1/rake.rb:573:in `block in invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
    /usr/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/rake.rb:584:in `block in invoke_prerequisites'
    /usr/lib/ruby/1.9.1/rake.rb:581:in `each'
    /usr/lib/ruby/1.9.1/rake.rb:581:in `invoke_prerequisites'
    /usr/lib/ruby/1.9.1/rake.rb:573:in `block in invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
    /usr/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/rake.rb:584:in `block in invoke_prerequisites'
    /usr/lib/ruby/1.9.1/rake.rb:581:in `each'
    /usr/lib/ruby/1.9.1/rake.rb:581:in `invoke_prerequisites'
    /usr/lib/ruby/1.9.1/rake.rb:573:in `block in invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/monitor.rb:190:in `mon_synchronize'
    /usr/lib/ruby/1.9.1/rake.rb:567:in `invoke_with_call_chain'
    /usr/lib/ruby/1.9.1/rake.rb:560:in `invoke'
    /usr/lib/ruby/1.9.1/rake.rb:2012:in `invoke_task'
    /usr/lib/ruby/1.9.1/rake.rb:1990:in `block (2 levels) in top_level'
    /usr/lib/ruby/1.9.1/rake.rb:1990:in `each'
    /usr/lib/ruby/1.9.1/rake.rb:1990:in `block in top_level'
    /usr/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling'
    /usr/lib/ruby/1.9.1/rake.rb:1984:in `top_level'
    /usr/lib/ruby/1.9.1/rake.rb:1963:in `block in run'
    /usr/lib/ruby/1.9.1/rake.rb:2029:in `standard_exception_handling'
    /usr/lib/ruby/1.9.1/rake.rb:1960:in `run'
    /usr/bin/rake:31:in `<main>'

Replies (2)

RE: can't compile subtle-hg from AUR on x86 - Added by Christoph Kappel over 14 years ago

Hmm, this is really odd. Did you somehow modified your /usr/include/X11/extensions/Xrandr.h? Can you diff it with the xrandr.h ony our desktop or post it here? It's an error inside of this header, is arch there running too?

RE: can't compile subtle-hg from AUR on x86 - Added by murth murth over 14 years ago

Yeah I haven't modified anything. I just diffed the file mentoined and the 64bit desktop running arch has no diff to eee x86 with arch.
I re-installed libxrandr on the eee to no effect.

It's very odd.

    (1-2/2)