[SOLVED] xorg-server build from abs fails

Hi,
ever since I installed the update to gcc-5.1.0 the building of xorg-server from abs fails:
$ makepkg -s
CCLD libXextdpmsstubs.la
xvdisp.c: In function ‘XineramifyXv’:
xvdisp.c:1783:37: error: array subscript is above array bounds [-Werror=array-bounds]
if (MatchingAdaptors[k] && (MatchingAdaptors[k]->nPorts > j))
^
xvdisp.c:1784:31: error: array subscript is above array bounds [-Werror=array-bounds]
port->info[k].id = MatchingAdaptors[k]->base_id + j;
^
xvdisp.c:1786:31: error: array subscript is above array bounds [-Werror=array-bounds]
port->info[k].id = 0;
^
cc1: some warnings being treated as errors
Makefile:777: recipe for target 'xvdisp.lo' failed
make[1]: *** [xvdisp.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
This happens for xorg-server-1.17.1-6 and up as well as for xorg-server-1.17.2-1 .
$ gcc --version
gcc (GCC) 5.1.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I searched for a solution or a patch, but couldn't find anything.
xorg-server-1.17.2 supposedly has build fixes with gcc-5.1, but obviously that didn't help much for me.
Otherwise my arch installation is up-to-date.
I'm building on x86-64 (Haswell) with
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
LDFLAGS="-Wl,-O2,--sort-common,--as-needed,-z,relro"
MAKEFLAGS="-j16"
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
Has anyone else seen this or any idea how to fix it?
Last edited by pgzh (2015-06-19 15:03:20)

Using
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
in makepkg.conf actually worked, I totally forgot about changing the optimization level.
Since this is the first time for a very long time I've encountered a problem with -O3, do you think this should be reported as a bug for xorg-server?
With gcc-4.9 building xorg-server with -O3 optimization level worked perfectly fine for me (I built 1.17.1 like that) and gcc-5.1 causes this culprit.
Anyways, thank you very much for your help!

Similar Messages

  • Building pidgin with meanwhile support from ABS failing

    I've been building pidgin manually from ABS in order to incorporate meanwhile support for use on IBM Lotus Sametime. This entails editing pidgin's PKGBUILD and removing this line:
    --disable-meanwhile \
    Then I simply run `makepkg -si`. Recently (last week and after trying again today after a fresh pacman -Syu), I get this fail in the build:
    Making all in sametime
    make[5]: Entering directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols/sametime'
    CC libsametime_la-sametime.lo
    In file included from /usr/include/meanwhile/mw_srvc_conf.h:25:0,
    from sametime.c:57:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    In file included from /usr/include/meanwhile/mw_srvc_place.h:25:0,
    from sametime.c:60:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    In file included from /usr/include/meanwhile/mw_srvc_resolve.h:26:0,
    from sametime.c:61:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    In file included from /usr/include/meanwhile/mw_st_list.h:32:0,
    from sametime.c:63:
    /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
    sametime.c: In function 'blist_merge':
    sametime.c:989:16: warning: variable 'buddy' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'blist_node_menu_cb':
    sametime.c:1340:16: warning: variable 'group' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_conf_peer_joined':
    sametime.c:2033:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_conf_peer_parted':
    sametime.c:2059:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_place_peerJoined':
    sametime.c:3053:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    sametime.c: In function 'mw_place_peerParted':
    sametime.c:3078:21: warning: variable 'gc' set but not used [-Wunused-but-set-variable]
    make[5]: *** [libsametime_la-sametime.lo] Error 1
    make[5]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols/sametime'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple/protocols'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4/libpurple'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/jwhendy/installed/abs/pidgin/src/pidgin-2.10.4'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    If I build with --disable-meanwhile present, it succeeds. Something is occurring when I try to being in meanwhile support, which I believe entails libpurple integration.
    Any suggestions on debugging further?

    You need to fix the source files with something like
    sed -i 's|glib/*.h|glib.h|' src/*
    There have been several similar errrors with builds of other packages.  I don't know the details, but I gather glib has been revised  such that there is now a single unified glib.h that should be included in source files.
    EDIT: you'll have to edit the target files in the sed command as there is a deeper tree structure than src/*, but I'll let you sort that out.  Once done, this sed command can be added to the PKGBUILD.
    Last edited by Trilby (2012-05-08 18:39:40)

  • [solved]xorg server 1.6 and dbus (???)

    hello everyone
    first of all, i'm fairly new to arch, however, i do have experience with linux. i've been using gentoo for about 4 years and a few other distributions before that.
    secondly, i'd like to apologize  if this is the wrong place to post this, but i couldn't really find a place where it'd fit in.
    today i've installed arch on my macbook (one of the late 2008 models) and so far, quite a few things work. there is, however, one thing i noticed as soon as i started dbus, keyboard events in xorg got repeated. to be more precise, if i hit the letter a, it would print an a on key press and another one on key release. i have xorg server 1.6.3.901-1.
    did anyone else have a similar problem and/or knows how this can be fixed?
    thanks in advance for anything that might help
    edit: quite oddly, a reboot (which did not help previously) fixed it this time...
    Last edited by MrDStar (2009-10-25 20:44:42)

    Thanks!
    xf86-video-intel
    xf86-input-synaptics
    from testing is the solution - more or less .
    testing disabled again:
    # pacman -Syu
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date
    kdemod-core is up to date
    kdemod-extragear is up to date
    archlinuxfr is up to date
    :: Starting full system upgrade...
    warning: intel-dri: local (7.3-1) is newer than extra (7.2-2)
    warning: libgl: local (7.3-1) is newer than extra (7.2-1)
    warning: xf86-input-evdev: local (2.2.0-1) is newer than extra (2.1.2-1)
    warning: xf86-input-synaptics: local (1.1.0-1) is newer than extra (1.0.0-1)
    warning: xorg-server: local (1.6.0-1) is newer than extra (1.5.3-4)
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: intel-dri: requires libdrm>=2.4.4
    :: libgl: requires libdrm>=2.4.5
    Any ideas?
    Last edited by Llama (2009-03-31 19:15:25)

  • ['Solved'] xorg-server 1.9.0-1 split into several xorg servers

    So what's up with the [Testing]'s xorg-server 1.9(.0-1) being split into xorg-server/-common/-devel/-xdmx/-xephyr/-xnest/-xvfb?
    Last edited by algorythm (2010-08-24 16:24:35)

    nvidia doesn't get built, just repackaged, so it doesn't require any xorg-server-* stuff to build. The -devel package is required to build drivers from source. The xorg-server and xorg-server-common packages are the usual packages that will become installed on all desktop systems.

  • [Solved] xorg server & keyboard conf error messages after upgrade

    I ran my daily upgrade (today was big, from FF to the kernel to xorg) and I was not able to login on GDM afterwards.
    It's weird. The X server will start, and so will the GDM login screen. But entering the password will result in a GDM crash (I later found out that KDM and SLIM have the same issue; KDM not starting and SLIM refusing the keyboard input). So after starting an alternate console and trying to start x (startx), I have this error message:
    "Th e XKEYBOARDMAP keymap compiler (xbcomp) reports:
    Error: Cannot close "/tmp/server-0.xkm" properly (not enough space?)
              Output file "/tmp/server-0.xkm" removed
    Errors from xkbcomp are not fatal to the X server
    XKB: Failed to compile keymap
    Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
    Fatal server error:
    Failed to activate core devices "
    I have been fiddling with the keyboard config on xorg.conf but I'm not sure I'm getting anywhere. Also, I downgraded the xorg-server and xkeyboard config packages just to be sure.
    Any clue?
    Thanks!
    Last edited by southerncross (2012-07-24 15:46:38)

    Well... seems I didn't have any answer on this. I fiddled a bit more but I have to say that I really came to wits' end at this stage. A couple of observations though:
    * I don't really understand this notion of a keyboard issue. My keyboard and its layout work properly but I will not be able to login regardless of login through GDM, KDM or Slim. Yet it's worth noting that in the case of GDM and SLIM the X server starts; I see the graphical interface, I click, etc. but when I type the trouble starts.
    * I tried to check my xsessions-errors file. The file is really big under a frame buffer, and it wasn't clear to me, but I found strange that the log was reporting all sorts of attempts to start KDE. I don't exactly know what's going on.
    If anybody has any clue, let me know... It's becoming very frustrating.
    Thanks!

  • [solved/cannot be solved]Xorg-server and gnome-power-manager

    I was wondering if there is hope that someone will put patches to main tree of Xorg-server which are here: http://blogs.gnome.org/hughsie/2009/08/ … of-bodges/
    It should remove this weird blanking effect and time gap before screen is backlighted again. I didn't tested it, because it requires rebuild of xorg-server and I don't want to use git version, but guys there says that it's working.
    Last edited by megawebmaster (2010-02-08 22:24:26)

    OK, thanks for advice, I'll try building xorg-server with ABS.
    I've got another problem with automatic turn off screen - media players don't prevent turning screen off while they are playing film. Is there any possibility to fix it? Only way I've found is to turn off automatic screen backlight off after couple of minutes, but it's not how tigers want this to work

  • [SOLVED]xorg-server 1.14.4-1 - mouse wheel not responding while moving

    I notice a relapse of the bug (https://bugs.archlinux.org/task/29191 and https://bugs.freedesktop.org/show_bug.cgi?id=48167) since the xorg-server upgrade. Downgrade to 1.14.3-2 solves the problem. The problem is noticed in ioQuake3 engines.
    UPDATE:
    The problem was relative to the mouse brand and model since other mouses didn't have issues. After a few kernel upgrades the problem went away thus I'm marking this thread SOLVED.
    Last edited by rationalperseus (2014-01-03 19:13:41)

    I've just tested some of the games that had that bug and they all seem fine so I'm thinking it's a different bug, perhaps in ioQuake3.

  • [Solved]Xorg-server and nvidia binary driver don't work

    See topic. When updating to xf86-input-evdev-2.8.2-2  xf86-input-joystick-1.6.2-3  xf86-input-keyboard-1.8.0-2  xf86-input-mouse-1.9.0-2 and xorg-server-1.15.0-1 X won't start and 'systemctl status kdm.service' states that the X server has died. According to Phoronix this should not happen.
    Harvey
    Last edited by Harey (2014-01-14 11:06:53)

    The ABI check is there for a purpose:
    [ 38.018] Loading extension NV-GLX
    [ 38.027] (EE)
    [ 38.027] (EE) Backtrace:
    [ 38.029] (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x5834c8]
    [ 38.029] (EE) 1: /usr/bin/X (0x400000+0x1871a9) [0x5871a9]
    [ 38.029] (EE) 2: /usr/lib/libpthread.so.0 (0x7ff70edbf000+0xf870) [0x7ff70edce870]
    [ 38.029] (EE) 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7ff708c51000+0x4e427f) [0x7ff70913527f]
    [ 38.029] (EE) 4: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7ff708c51000+0x4eb501) [0x7ff70913c501]
    [ 38.029] (EE) 5: /usr/bin/X (AddScreen+0x71) [0x435c81]
    [ 38.029] (EE) 6: /usr/bin/X (InitOutput+0x3df) [0x4769df]
    [ 38.029] (EE) 7: /usr/bin/X (0x400000+0x3961b) [0x43961b]
    [ 38.029] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7ff70dc35b05]
    [ 38.029] (EE) 9: /usr/bin/X (0x400000+0x24dae) [0x424dae]
    [ 38.029] (EE)
    [ 38.029] (EE) Segmentation fault at address 0x18
    [ 38.029] (EE)
    Fatal server error:
    [ 38.029] (EE) Caught signal 11 (Segmentation fault). Server aborting
    Seems we have to wait for nvidia to include xorg-server 1.15 into their driver
    Harvey

  • [SOLVED] Compiling kernel PKGBUILD from ABS (2.6.34)

    So I'm currently compiling a kernel from ABS, and its been running som docbook stuff for 2-3 hours now which I've never seen before when compiling a kernel with ABS.
    I commented out the line that allowed me to edit the config with make menuconfig. I tweaked the kernel to 1000hz and set up my cpu family.
    Is this normal? Im pretty sure this didnt happen when I compiled 2.6.33.4 from ABS
    This is what its been spamming for the past ~2 hours:
    Note: Writing struct_usb_host_ss_ep_comp.9
    Warn: meta author : no refentry/info/author struct usb_host_endpoint
    Note: meta author : see http://docbook.sf.net/el/author struct usb_host_endpoint
    Warn: meta author : no author data, so inserted a fixme struct usb_host_endpoint
    Note: Writing struct_usb_host_endpoint.9
    Warn: meta author : no refentry/info/author struct usb_interface
    Note: meta author : see http://docbook.sf.net/el/author struct usb_interface
    Warn: meta author : no author data, so inserted a fixme struct usb_interface
    Note: Writing struct_usb_interface.9
    Warn: meta author : no refentry/info/author struct usb_interface_cache
    Note: meta author : see http://docbook.sf.net/el/author struct usb_interface_cache
    Warn: meta author : no author data, so inserted a fixme struct usb_interface_cache
    Last edited by XAM (2010-06-29 06:19:50)

    Coacher wrote:Since 2.6.34 there is also kernel26-manpages and kernel26-docs packages that also placed in kernel26 PKGBUILD.
    I've never compiled that docs stuff for myself so cant say how long it takes, but if you need only new kernel26 package you can safely wipe out that lines from PKGBUILD.
    wow, thats good to hear. Took ages compiling with it there.

  • [Solved] pcsx2 segfaults on run, can't build from ABS or AUR (x86_64)

    pcsx2 1.0.0-5 from multilib segfaults immediately after running the command.
    [alexis@cuddles ~]$ pcsx2
    Segmentation fault (core dumped)
    Trying to compile with ABS produces this:
    [alexis@cuddles pcsx2]$ makepkg -s
    ==> Making package: pcsx2 1.0.0-5 (Wed Jul 3 22:29:01 MDT 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Installing missing dependencies...
    resolving dependencies...
    looking for inter-conflicts...
    :: lib32-mesa-libgl and lib32-catalyst-utils are in conflict (lib32-libgl). Remove lib32-catalyst-utils? [y/N]
    I'm pretty sure (but not positive) that lib32-catalyst-utils should be providing lib32-libgl. If I patch the PKGBUILD to remove the dependency on lib32-mesa-libgl (might be a bad idea, but it doesn't seem to be causing the issue), it fails when linking, producing thousands of lines like:
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_tree_view_scroll_to_cell'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_widget_is_composited'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_widget_set_size_request'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_notebook_set_current_page'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_text_buffer_place_cursor'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_editable_delete_selection'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_text_iter_begins_tag'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_tree_view_new_with_model'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_entry_get_text'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_editable_get_position'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_toggle_button_set_active'
    /usr/lib32/libwx_gtk2u_core-2.8.so: undefined reference to `gtk_toolbar_remove_space'
    collect2: error: ld returned 1 exit status
    make[2]: *** [pcsx2/pcsx2] Error 1
    make[1]: *** [pcsx2/CMakeFiles/pcsx2.dir/all] Error 2
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    gtk packages I have installed:
    [alexis@cuddles pcsx2]$ sudo pacman -Q | grep gtk
    gtk-engines 2.21.0-1
    gtk-sharp-2 2.12.11-1
    gtk-update-icon-cache 2.24.19-1
    gtk2 2.24.19-1
    gtk3 3.8.2-1
    gtkmm 2.24.4-1
    gtkmm3 3.8.1-1
    lib32-gtk2 2.24.19-1
    lib32-wxgtk 2.8.12.1-5
    libdbusmenu-gtk2 12.10.2-1
    pygtk 2.24.0-3
    pywebkitgtk 1.1.8-2
    transmission-gtk 2.77-3
    webkitgtk2 1.10.2-7
    wireshark-gtk 1.10.0-3
    wxgtk 2.8.12.1-5
    wxgtk2.9 2.9.4-3
    Hope I provided enough info. Any help is appreciated :3.
    Edit: Oh, and the AUR package (the svn build) fails to compile a dependency, lib32-gtk-engines (another AUR package), with the following error:
    ==> Making package: lib32-gtk-engines 2.21.0-2 (Wed Jul 3 22:45:55 MDT 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found gtk-engines-2.21.0.tar.gz
    ==> Validating source files with md5sums...
    gtk-engines-2.21.0.tar.gz ... Passed
    ==> Extracting sources...
    -> Extracting gtk-engines-2.21.0.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for gcc... gcc -m32
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc -m32 accepts -g... yes
    checking for gcc -m32 option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc -m32... gcc3
    checking whether make sets $(MAKE)... (cached) yes
    checking whether gcc -m32 and cc understand -c and -o together... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc -m32... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... dlltool
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc -m32 object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -m32 -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc -m32 supports -fno-rtti -fno-exceptions... no
    checking for gcc -m32 option to produce PIC... -fPIC -DPIC
    checking if gcc -m32 PIC flag -fPIC -DPIC works... yes
    checking if gcc -m32 static flag -static works... yes
    checking if gcc -m32 supports -c -o file.o... yes
    checking if gcc -m32 supports -c -o file.o... (cached) yes
    checking whether the gcc -m32 linker (/usr/bin/ld -m elf_i386) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking whether NLS is requested... yes
    checking for intltool >= 0.31.0... 0.50.2 found
    checking for intltool-update... /usr/bin/intltool-update
    checking for intltool-merge... /usr/bin/intltool-merge
    checking for intltool-extract... /usr/bin/intltool-extract
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for perl... /usr/bin/perl
    checking for perl >= 5.8.1... 5.18.0
    checking for XML::Parser... ok
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking for LC_MESSAGES... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking for ngettext in libc... yes
    checking for dgettext in libc... yes
    checking for bind_textdomain_codeset... yes
    checking for msgfmt... (cached) /usr/bin/msgfmt
    checking for dcgettext... yes
    checking if msgfmt accepts -c... yes
    checking for gmsgfmt... (cached) /usr/bin/msgfmt
    checking for xgettext... (cached) /usr/bin/xgettext
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for GTK... no
    configure: error: GTK+-2.12 is required to compile gtk-engines
    ==> ERROR: A failure occurred in build().
    Aborting...
    edit #2: backtrace!
    Reading symbols from /usr/bin/pcsx2...(no debugging symbols found)...done.
    (gdb) run
    Starting program: /usr/bin/pcsx2
    warning: Could not load shared library symbols for linux-gate.so.1.
    Do you need "set solib-search-path" or "set sysroot"?
    Program received signal SIGSEGV, Segmentation fault.
    0xf7fe6b43 in _dl_relocate_object () from /lib/ld-linux.so.2
    (gdb) bt
    #0 0xf7fe6b43 in _dl_relocate_object () from /lib/ld-linux.so.2
    #1 0xf7fe0508 in dl_main () from /lib/ld-linux.so.2
    #2 0xf7ff1013 in _dl_sysdep_start () from /lib/ld-linux.so.2
    #3 0xf7fe0a6b in _dl_start () from /lib/ld-linux.so.2
    #4 0xf7fdd097 in _start () from /lib/ld-linux.so.2
    Last edited by alexis_evo (2013-07-05 16:55:23)

    alexis_evo wrote:I wonder why pacman/makepkg is trying to install lib32-mesa-libgl over it. I am using Vi0L0's unofficial catalyst (and xorg) repositories, if it matters.
    Because pcsx2's PKGBUILD has "lib32-mesa-libgl" as makedepends, while I think it should be the virtual name "lib32-gl". It can cause pacman to uninstall nvidia (lib32-nvidia-libgl) or ATI (lib32-catalyst-utils) in order to install mesa files -- not good, I suppose.
    Please file a bug report against pcsx2 package.
    Last edited by josephg (2013-07-04 17:09:14)

  • [SOLVED] vi/vim/gvim rebuild from ABS failed

    Hi, tried to rebuild vi from source (to get rid of ruby dependence of vim,gvim by modifing PKGBUILD) and got this message.
    having patch file:7.2.166
    having patch file:7.2.001-100.gz
    Number of patches does not match the patchlevel!
    Edit the PKGBUILD accordingly!
    If I change the PKGBUILD so that
    _patchlevel=167
    instead of
    _patchlevel=65
    It gives me the following message
    having patch file:7.2.166
    having patch file:7.2.001-100.gz
    patching file src/pty.c
    patching file src/version.c
    patch unexpectedly ends in middle of line
    patch: **** Only garbage was found in the patch input.
    How should I modify PKGBUILD to actually build it
    Last edited by ogronom (2009-05-11 13:21:07)

    patchlevel should only be 166, as there isn't a patch 167 yet.
    ftp://ftp.vim.org/pub/vim/patches/7.2/
    I think the problem might be that the 1-100 file is a collection of individual patches (inclusive from 1 to 100). The patch fetch/apply scriptlet might be trying to apply all those twice. It is a fairly simple shell script (not alot of logic).
    on line 21 of get_patches.sh
    for _line in $(/bin/cat MD5SUMS); do
    you could try changing that to
    for _line in $(/bin/cat MD5SUMS | grep -vF '-'); do
    that should work, in conjunction with changing the patchlevel to 166
    EDIT: You should also file a bug report about the get_patches script failing if there are patch bundles included in the md5sum file from the vim patch directory, as it appears to be trying to add the patch bundle as well as the individual patches.
    Last edited by cactus (2009-05-11 02:56:35)

  • [Solved]Error compiling kernel from abs

    Hello Everyone,
    I've hit a wall trying to compile the kernel from the abs. I get this error message:
    patching file fs/fat/inode.c
    Hunk #1 succeeded at 800 (offset 74 lines).
    HOSTCC scripts/basic/fixdep
    /bin/sh: scripts/basic/fixdep: cannot execute binary file
    make[2]: *** [scripts/basic/fixdep] Error 126
    make[1]: *** [scripts_basic] Error 2
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32.h
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64.h
    make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
    make: *** Waiting for unfinished jobs....
    HOSTCC scripts/basic/fixdep
    SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_x32.h
    SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
    /bin/sh: scripts/basic/fixdep: cannot execute binary file
    make[1]: *** [scripts/basic/fixdep] Error 126
    make: *** [scripts_basic] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    While trying to figure this out I came across this post: https://bbs.archlinux.org/viewtopic.php?id=99089 and have tried the solutions presented. I did end up having to change my fstab to include defaults,
    /dev/sda3 /home ext4 defaults,exec,rw,relatime,data=ordered 0 2
    and the permissions on scripts/basic/fixdep are: -rwxr-xr-x which i think it correct.
    Unfortunately, the problem still exists and I don't know how to continue trouble shooting. Can someone point me in a direction to troubleshoot this?
    Last edited by magyarm (2012-12-20 01:55:00)

    magyarm wrote:So now, I need to figure out a good way to handle multiple compilers on my system to prevent this from happening again. If anyone has any tips I would love to hear them.
    Set up a file that you source from bash to prepend the cross compiler to your path, that would only be active for that shell, and when you're done just close it. Means you only activate the cross compiler when you need it.

  • [solved] xorg-server 1.6 under Mobility Radeon X2300

    Hello.
    Situation with older ATI graphic cards and their Linux drivers went a bit strange lately. I understand why Catalyst is no more present in official repository - if I can still get it from AUR, then its fine for me. But now I just don't know what to do...
    Can't use catalyst (fglrx): 9.4 doesn't support my card, older drivers doesn't work with new xorg (1.6).
    RadeonHD is very slow for my card.
    Opensource ATI (radeon) driver is almost good but I have strange problem with thin lines on the right side of my screen when something moves. As far as I know this driver doesn't yet work with DRI2/UXA - only experimental support for those now.
    Here's my xorg.conf:
    Section "ServerLayout"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "ServerFlags"
    Option "DontZap" "false"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "record"
    Load "glx"
    Load "extmod"
    Load "dri"
    # Load "dri2"
    Load "dbe"
    Load "drm"
    Load "synaptics"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    #DisplaySize 330 210 # mm
    Identifier "Monitor0"
    VendorName "CMO"
    ModelName "1526"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "NoAccel" # [<bool>]
    #Option "SWcursor" # [<bool>]
    #Option "Dac6Bit" # [<bool>]
    #Option "Dac8Bit" # [<bool>]
    #Option "BusType" # [<str>]
    #Option "CPPIOMode" # [<bool>]
    #Option "CPusecTimeout" # <i>
    Option "AGPMode" "4"
    #Option "AGPFastWrite" # [<bool>]
    #Option "AGPSize" # <i>
    #Option "GARTSize" # <i>
    #Option "RingSize" # <i>
    #Option "BufferSize" # <i>
    #Option "EnableDepthMoves" # [<bool>]
    Option "EnablePageFlip" "on"
    #Option "NoBackBuffer" # [<bool>]
    #Option "DMAForXv" # [<bool>]
    #Option "FBTexPercent" # <i>
    #Option "DepthBits" # <i>
    #Option "PCIAPERSize" # <i>
    #Option "AccelDFS" # [<bool>]
    #Option "IgnoreEDID" # [<bool>]
    #Option "DisplayPriority" # [<str>]
    #Option "PanelSize" # [<str>]
    #Option "ForceMinDotClock" # <freq>
    Option "ColorTiling" "on"
    #Option "VideoKey" # <i>
    #Option "RageTheatreCrystal" # <i>
    #Option "RageTheatreTunerPort" # <i>
    #Option "RageTheatreCompositePort" # <i>
    #Option "RageTheatreSVideoPort" # <i>
    #Option "TunerType" # <i>
    #Option "RageTheatreMicrocPath" # <str>
    #Option "RageTheatreMicrocType" # <str>
    #Option "ScalerWidth" # <i>
    #Option "RenderAccel" # [<bool>]
    #Option "SubPixelOrder" # [<str>]
    #Option "ShowCache" # [<bool>]
    #Option "DynamicClocks" # [<bool>]
    #Option "VGAAccess" "false"
    #Option "ReverseDDC" # [<bool>]
    #Option "LVDSProbePLL" # [<bool>]
    Option "AccelMethod" "EXA"
    #Option "DRI" # [<bool>]
    #Option "ConnectorTable" # <str>
    #Option "DefaultConnectorTable" # [<bool>]
    #Option "DefaultTMDSPLL" # [<bool>]
    #Option "TVDACLoadDetect" # [<bool>]
    #Option "ForceTVOut" # [<bool>]
    #Option "TVStandard" # <str>
    #Option "IgnoreLidStatus" # [<bool>]
    #Option "DefaultTVDACAdj" # [<bool>]
    #Option "Int10" # [<bool>]
    #Option "EXAVSync" # [<bool>]
    #Option "ATOMTVOut" # [<bool>]
    #Option "R4xxATOM" # [<bool>]
    Identifier "Card0"
    Driver "radeon"
    VendorName "ATI Technologies Inc"
    BoardName "Mobility Radeon X2300"
    BusID "PCI:1:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Section "DRI"
    Group "video"
    Mode 0666
    EndSection
    And here;s my question to Arch community: what should I do?
    Should I do something with my xorg.conf?
    Or should I wait for new release of Catalyst driver - will it ever support my X2300? Maybe after final release of Ubuntu 9.04 (I've heard that ATI releases its drivers soon after that)?
    Thanks in advance.
    Last edited by weakhead (2009-04-20 19:02:27)

    i m using x2300 also and i just keep using xorg 1.5.3 (luckily i hvn't clear my pacman cache) and catalyst-old 9.3 from the AUR.  and according to the phoronix site :
    http://www.phoronix.com/vr.php?view=13724
    something more usable on the 3d side for the open radeonhd driver is coming.
    Last edited by monovibe (2009-04-19 19:14:55)

  • [SOLVED] Arch Linux Boot from USB fails while loading kernel

    I am attempting to get arch linux booting off my usb. I use cfdisk to create a /dev/sdb1 partition then use mkfs.ext4 /dev/sdb1, mount the usb, pacstrap it, use install-syslinux_update -iam, generate fstab and then attempt to boot from it.
    The boot extracts the kernel but then complains that DEVICE is missing in the option APPEND root=DEVICE (in syslinux.cfg). I looked in /dev/disk (on the temporary filesystem shell), it showed my ssd and cd drive but not the usb. Does anyone know what could be causing the USB to not load in that particular section of the kernel?
    Last edited by afree10 (2013-12-11 14:28:14)

    afree10 wrote:
    Due to my situation I have to type the file in from scratch so I will only type uncommented lines:
    MODULES=""
    BINARIES=""
    FILES=""
    HOOKS="base udev autodetect modconf block filesystems keyboard fsck"
    I will reboot and get that lsmod output.
    Since you'll probably want to boot from different computers (portable USB system), you want to remove 'autodetect' from that line. This is the same as always booting the initramfs-linux-fallback.img image. To save some space, you could remove 'autodetect' from the configuration file, disable the fallback image in /etc/mkinitcpio.d/linux.preset  and delete initramfs-linux.img (otherwise, you'll get two identical images).
    Of course, run mkinitcpio -P when you're done.

  • [Solved] Can't build Xorg-Server-Git.

    Hello
    I want to build xorg-server-git from AUR I modifeted PKGBUILD becouse old can't be build.
    That's my PKGBUILD:
    pkgname=xorg-server-git
    pkgver=20090731
    pkgrel=1
    pkgdesc="X.Org X servers"
    arch=('x86_64')
    license=('custom')
    url="http://xorg.freedesktop.org"
    depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.6' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xkeyboard-config>=1.6' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils' )
    makedepends=('libx11>=1.2.1' 'mesa>=7.5' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'glproto>=1.4.9' 'xorg-util-macros')
    conflicts=('catalyst-utils<=9.2')
    options=('!libtool')
    _gitver=1.6.2.1
    provides=('x-server')
    groups=('xorg')
    install=xorg-server.install
    _gitroot="git://anongit.freedesktop.org/git/xorg/xserver"
    _gitname="xserver"
    source=("xorg-redhat-die-ugly-pattern-die-die-die.patch")
    md5sums=('1a336eb22e27cbf443ec5a2ecddfa93c')
    build() {
    msg "Connecting to git.freedesktop.org GIT server...."
    if [ -d $startdir/src/$_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot
    fi
    cp -a "${srcdir}/$_gitname/" "${srcdir}/$_gitname-build/"
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    cd "${srcdir}/$_gitname-build"
    msg "Patching sources..."
    # Fix dbus config path
    sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
    msg "Preparing sources for configure..."
    autoreconf -v --install || return 1
    msg "Starting configure for: $pkgname"
    ./configure --prefix=/usr \
    --disable-ipv6 \
    --disable-dri2 \
    --disable-dri \
    --disable-dmx \
    --disable-xvfb \
    --disable-xnest \
    --disable-composite \
    --disable-xcsecurity \
    --enable-xorg \
    --disable-xephyr \
    --disable-glx-tls \
    --disable-kdrive \
    --enable-install-setuid \
    --disable-config-hal \
    --enable-config-dbus \
    --disable-record \
    --disable-xfbdev \
    --disable-xfake \
    --disable-xsdl \
    --disable-static \
    --sysconfdir=/etc/X11 \
    --localstatedir=/var \
    --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
    --with-xkb-path=/usr/share/X11/xkb \
    --with-xkb-output=/var/lib/xkb \
    # --without-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
    msg "Starting make..."
    make || return 1
    make DESTDIR="${pkgdir}" install || return 1
    msg "Creating the appropriate X.org directories..."
    install -m755 -d "${pkgdir}/etc/X11" || return 1
    install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
    msg "Backing up libwfb.so..."
    mv "${pkgdir}/usr/lib/xorg/modules/libwfb.so" \
    "${pkgdir}/usr/lib/xorg/modules/libwfb.so.1.4" || return 1
    msg "Fixes for non-Mesa drivers..."
    ln -s "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
    "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
    msg "Cleaning build area..."
    rm -rf "${srcdir}/$_gitname-build"
    rm -rf "${pkgdir}/var/log"
    And It's my error when i try to make it:
    In file included from xfixesint.h:63,
    from xfixes.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    In file included from xfixesint.h:63,
    from saveset.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    make[1]: *** [xfixes.lo] Błąd 1
    make[1]: *** Oczekiwanie na niezakończone zadania....
    make[1]: *** [saveset.lo] Błąd 1
    In file included from xfixesint.h:63,
    from region.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    In file included from xfixesint.h:63,
    from select.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    In file included from xfixesint.h:63,
    from cursor.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: Nie ma takiego pliku ani katalogu
    region.c: In function 'ProcXFixesSetWindowShapeRegion':
    region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
    region.c:695: error: (Each undeclared identifier is reported only once
    region.c:695: error: for each function it appears in.)
    region.c:696: error: 'ShapeClip' undeclared (first use in this function)
    region.c:697: error: 'ShapeInput' undeclared (first use in this function)
    make[1]: *** [region.lo] Błąd 1
    make[1]: *** [select.lo] Błąd 1
    make[1]: *** [cursor.lo] Błąd 1
    make: *** [all-recursive] Błąd 1
    ==> BŁĄD: Budowanie nie powiodło się.
    Przerywam...
    Thanks for help and advice
    Last edited by SpeedVin (2009-07-31 14:06:30)

    flamelab wrote:
    Can you please post an output of this error with english messages ? I don't understand Polish
    It says "No such file or directory" I suppose ?
    Yes that's right I'm not good at tranlate but I will try
    In file included from xfixesint.h:63,
    from saveset.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    In file included from xfixesint.h:63,
    from cursor.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    make[1]: *** [saveset.lo] Error 1
    make[1]: *** Waiting for not end tasks....
    In file included from xfixesint.h:63,
    from region.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    make[1]: *** [cursor.lo] Error 1
    In file included from xfixesint.h:63,
    from select.c:27:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    region.c: In function 'ProcXFixesSetWindowShapeRegion':
    region.c:695: error: 'ShapeBounding' undeclared (first use in this function)
    region.c:695: error: (Each undeclared identifier is reported only once
    region.c:695: error: for each function it appears in.)
    region.c:696: error: 'ShapeClip' undeclared (first use in this function)
    region.c:697: error: 'ShapeInput' undeclared (first use in this function)
    make[1]: *** [select.lo] Błąd 1
    In file included from xfixesint.h:63,
    from xfixes.c:54:
    /usr/include/X11/extensions/xfixesproto.h:51:34: error: X11/extensions/shape.h: No such file or directory
    make[1]: *** [region.lo] Error 1
    make[1]: *** [xfixes.lo] Error 1
    make: *** [all-recursive] Error 1
    ==> Error: Make fail
    Last edited by SpeedVin (2009-07-31 14:02:05)

Maybe you are looking for

  • Suppl

    Hi, I am working on supplier site open interface. I succesfully loaded data into 'ap_supplier_sites_int' interface table. After submitting supplier site open interface program, it's giving '*Operating Unit Info is null*' error. But, i have operating

  • Can you set a pdf to default the page scaling to 'off'?

    We have a pdf that our customers will print to measure their arm, but most printers tend to page scale and therefore the measurements will be off, is there a way to turn this option off in the pdf settings?

  • Combobox and arrow keys

    how can i disable the arrow keys in combobox component. i use as2. thnks

  • Apapter light is green, but MacBook is not fully charged.

    My MacBook's power adapter light stays green, but my computer is not fully charged, the indicator in the menu bar says 98%. I am very confused, anyone have a possible solution?

  • Printing from CS3 since Raw 4.5

    Since installing Camera Raw 4.5 printing from CS3 with an icc profile has improved greatly - but, when printing using custom size the sizes come out wrong. The windows all look fine - including the preview window, but the the print comes out with onl