LCD Brightness, sony_acpi from aur won't build

I'm using a Sony VAIO vgn-sz430n, and the Fn keys won't work to change the brightness. I'm not so concerned about the Fn keys, for I've seen tons of documentation to get those working with xbindkeys, xmonad, openbox, etc. and I will worry about that later.
Most importantly, I cannot change the screen brightness. Xbacklight does not do anything, laptop-mode-tools and gnome/xfce4-power-manager do nothing. The screen brightness is always at the maximum.
I have an nvidia Geforce Go 7400 card with the proprietary nvidia driver
I read that I need the sony_acpi module, and I've been trying to install it from the AUR, but I get errors and I don't know what to do. I've tried with yaourt and manually. Here are the results from yaourt:
==> Building and installing package
==> Making package: sony_acpi 1-1 i686 (Sun Jun 14 14:56:12 CDT 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found sony_acpi.tar.gz in build dir
==> Validating source files with md5sums...
sony_acpi.tar.gz ... Passed
==> Extracting Sources...
-> bsdtar -x -f sony_acpi.tar.gz
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
make -C /lib/modules/2.6.29-ARCH/build SUBDIRS=/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi modules
make[1]: Entering directory `/usr/src/linux-2.6.29-ARCH'
CC [M] /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.o
/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:55: warning: initialization from incompatible pointer type
/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c: In function 'sony_walk_callback':
/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:253: error: dereferencing pointer to incomplete type
/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:255: error: dereferencing pointer to incomplete type
/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:256: error: dereferencing pointer to incomplete type
/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c: In function 'sony_acpi_add':
/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:269: error: lvalue required as left operand of assignment
make[2]: *** [/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.o] Error 1
make[1]: *** [_module_/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.29-ARCH'
make: *** [default] Error 2
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build sony_acpi package.
The strange thing is this works in other distributions, such as Ubuntu. If I fired up a live cd and tested out my Fn keys, the brightness would change and there would be an on screen display for feedback.
What is Ubuntu doing, specifically, that Arch is not doing? Is there any way I could load an ubuntu live cd and then find what files/programs/modules/whatever are in place that allow brightness changes? Does anyone know this offhand?
Help!

I have Sony Vaio VGN-FZ38M with Nvidia 8400M GT. I used package 'nvclock' (it is in repo) to control lcd brightness, here site with more info: NVClock.  Some time ago I also configured Fn keys to work with it (on Ubuntu), but on Arch I didn't  manged but I didn't try hard (in general i don't need, my laptop is stationary all the time). Solution I've found somwehere in Ubuntu forums.
edit: typo in address
edit2:
here's the solution from Ubuntu: http://newyork.ubuntuforums.org/showthr … ?t=1004568
Last edited by folletto (2009-06-14 20:58:56)

Similar Messages

  • [SOLVED] rt3090 driver from AUR won't build

    Here is the output from makepkg -si from the relevant directory:
    [imran@arch rt3090]$ makepkg -si
    ==> Making package: rt3090 2.4.0.4-1 (Tue Apr 2 23:39:55 AST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 972k 100 972k 0 0 177k 0 0:00:05 0:00:05 --:--:-- 239k
    -> Found config.mk.new
    -> Found Makefile.new
    ==> Validating source files with md5sums...
    2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip ... Passed
    config.mk.new ... Passed
    Makefile.new ... Passed
    ==> Extracting Sources...
    -> Extracting 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip with bsdtar
    ==> Starting build()...
    make -C tools
    make[1]: Entering directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools/bin2h
    cp -f os/linux/Makefile.6 /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/Makefile
    make -C /lib/modules/3.8.4-1-ARCH/build SUBDIRS=/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux modules
    make[1]: Entering directory `/usr/src/linux-3.8.4-1-ARCH'
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_md5.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_sha2.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_hmac.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_aes.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_arc4.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'MlmeResetRalinkCounters':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'BssTableSetEntry':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:5822:39: warning: operation on 'Tab->BssOverlapNr' may be undefined [-Wsequence-point]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wep.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/action.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_tkip.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_aes.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sync.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/eeprom.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sanity.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_info.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cfg.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wpa.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/dfs.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c: In function 'PeerMeasureReportAction':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c:1966:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_timer.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_channel.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_profile.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_asic.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cmd.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/assoc.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth_rsp.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sync.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sanity.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/rtmp_data.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/connect.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/wpa.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/ags.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sta_cfg.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init_inf.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_profile.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/sta_ioctl.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'duplicate_pkt':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:484:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
    In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string.h:4:0,
    from include/linux/string.h:17,
    from include/linux/bitmap.h:8,
    from include/linux/cpumask.h:11,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/thread_info.h:22,
    from include/linux/thread_info.h:54,
    from include/linux/preempt.h:9,
    from include/linux/spinlock.h:50,
    from include/linux/seqlock.h:29,
    from include/linux/time.h:5,
    from include/linux/stat.h:18,
    from include/linux/module.h:10,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
    /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:486:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
    In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string.h:4:0,
    from include/linux/string.h:17,
    from include/linux/bitmap.h:8,
    from include/linux/cpumask.h:11,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/thread_info.h:22,
    from include/linux/thread_info.h:54,
    from include/linux/preempt.h:9,
    from include/linux/spinlock.h:50,
    from include/linux/seqlock.h:29,
    from include/linux/time.h:5,
    from include/linux/stat.h:18,
    from include/linux/module.h:10,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
    /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'ClonePacket':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:636:23: warning: assignment makes integer from pointer without a cast [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'update_os_packet_info':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:658:15: warning: assignment makes integer from pointer without a cast [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'wlan_802_11_to_802_3_packet':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:679:15: warning: assignment makes integer from pointer without a cast [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'send_monitor_packets':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:952:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevDetach':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1701:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevAttach':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1738:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c: In function 'MainVirtualIF_close':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c:121:13: warning: unused variable 'Cancelled' [-Wunused-variable]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c: In function 'convert_reordering_packet_to_preAMSDU_or_802_3_packet':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c:1568:2: warning: assignment makes integer from pointer without a cast [enabled by default]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_mac_pci.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data_pci.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_prom.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_efuse.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c: In function 'RtmpAsicLoadFirmware':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:352:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:355:2: warning: passing argument 1 of 'writel' makes integer from pointer without a cast [enabled by default]
    In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/realmode.h:5:0,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/acpi.h:32,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/fixmap.h:19,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/apic.h:12,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/smp.h:13,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone_64.h:10,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone.h:4,
    from include/linux/mmzone.h:909,
    from include/linux/gfp.h:4,
    from include/linux/kmod.h:22,
    from include/linux/module.h:13,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:28:
    /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/io.h:63:1: note: expected 'unsigned int' but argument is of type 'ULONG *'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:356:2: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ULONG' [-Wformat]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt30xx.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_rf.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt3090.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_pci_rbus.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_rbus_pci_util.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:37:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:38:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:60:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__devinitdata'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:87:17: error: 'rt2860_pci_tbl' undeclared here (not in a function)
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:88:17: error: 'rt2860_probe' undeclared here (not in a function)
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:5: error: implicit declaration of function '__devexit_p' [-Werror=implicit-function-declaration]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:29: error: 'rt2860_remove_one' undeclared here (not in a function)
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:283:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:449:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: In function 'RTMPrt3xSetPCIePowerLinkCtrl':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:941:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:974:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:986:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:949:11: warning: unused variable 'vendor_id' [-Wunused-variable]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1000:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1027:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:934:8: warning: unused variable 'offset' [-Wunused-variable]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:933:8: warning: unused variable 'Vendor' [-Wunused-variable]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: At top level:
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:514:14: warning: 'RTMPInitPCIeDevice' defined but not used [-Wunused-function]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:73:1: error: '__mod_pci_device_table' aliased to undefined symbol 'rt2860_pci_tbl'
    cc1: some warnings being treated as errors
    make[2]: *** [/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o] Error 1
    make[1]: *** [_module_/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.8.4-1-ARCH'
    make: *** [LINUX] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by TwoFlower (2013-07-09 07:21:31)

    sudo modprobe rt2800pci
    solves the problem for me.

  • Enemylines3 from AUR doesn't build

    Hi everyone,
    I tried building enemylines3 from AUR and it stops building with the following error:
    hiscore.cc:4:24: fatal error: curl/types.h: No such file or directory
    compilation terminated.
    The file /usr/include/curl/types.h is indeed missing on my up-to-date system. As I'm not that much into programming to fix the code with the file missing I just wrote a patch to remove the curl dependency alltogether.
    diff -urB enemylines3-1.2/hiscore.cc enemylines3-1.2-patched/hiscore.cc
    --- enemylines3-1.2/hiscore.cc 2006-03-30 18:16:47.000000000 +0200
    +++ enemylines3-1.2-patched/hiscore.cc 2013-03-02 12:34:29.618621436 +0100
    @@ -1,4 +1,5 @@
    #include <sstream>
    +#define NOCURL
    #ifndef NOCURL
    #include <curl/curl.h>
    #include <curl/types.h>
    and updated the PKGBUILD file accordingly
    pkgname=enemylines3
    pkgver=1.2
    pkgrel=1
    pkgdesc="Semi-abstract first person 3d-shooter game."
    arch=('i686' 'x86_64')
    url="http://proj.phk.at/el/3/"
    license=('GPL')
    depends=('sdl' 'sdl_mixer' 'sdl_ttf')
    makedepends=()
    provides=()
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    source=(http://proj.phk.at/el/3/$pkgname-$pkgver.tar.bz2
    enemylines_gcc43.patch
    enemylines3_rmcurldep.patch)
    noextract=()
    md5sums=('aa9538749df25bc967195fefe1439791'
    'd35dfc6f66bbed7d0c936da15b945d64'
    'cd6c20ae8a971fdfaa247c7eb808f4f9' )
    build() {
    cd "$srcdir"
    patch -p0 -i enemylines_gcc43.patch || return 1
    patch -p0 -i enemylines3_rmcurldep.patch || return 1
    cd "$pkgname-$pkgver"
    make || return 1
    make DESTDIR="$pkgdir/usr" install
    # vim:set ts=2 sw=2 et:
    Now it builds fine but of course without the hiscore functionality (which I don't need).
    What should I/we do now? Of course it makes no sense to have a broken package in the AUR but on the other hand some users probably want the hiscore functionality. Is there anyone willing to write another patch to make it work again or is it even an error in the curl package (why is the file missing?).

    http://projects.springlobby.info/issues/1575
    https://wiki.openstreetmap.org/wiki/Talk:Gosmore
    https://bugs.archlinux.org/task/27094
    curl/types.h is deprecated by curl devs and seems to be removed completely since curl version 7.21.7 .
    using sed to replace curl/types.h with curl/curl.h seems like it's worth a try.

  • Ruby-audio from AUR fails to build [SOLVED]

    I'm attempting to install ruby-audio from AUR.  Got the PKGBUILD file.  Running makepkg results in a complaint about options for an install directory.   I'm not expert enough at the ruby ecosystem and gem to see any obvious problem.  What is the fix? 
    => makepkg
    ==> Making package: ruby-audio 1.6.1-1 (Mon Jun 16 09:51:10 PDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
      -> Found ruby-audio-1.6.1.gem
    ==> Validating source files with md5sums...
        ruby-audio-1.6.1.gem ... Passed
    ==> Extracting sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ERROR:  Use --install-dir or --user-install but not both
    ==> ERROR: A failure occurred in package().
        Aborting...
    Apparently the error is in the package() routine in PKGBUILD:
    package() {
      cd "$srcdir"
      # _gemdir is defined inside package() because if ruby[gems] is not installed on
      # the system, makepkg will exit with an error when sourcing the PKGBUILD.
      local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
      gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
        "$_gemname-$pkgver.gem"
    A search here in the Arch forums turned up nothing.
    Last edited by darenw (2014-06-19 03:43:00)

    Tell me if this works for you:
    # Maintainer: Josh Klar <[email protected]>
    # Contributor: Joel Almeida <aullidolunar at gmail dot c0m>
    pkgname=ruby-audio
    pkgver=1.6.1
    pkgrel=2
    pkgdesc="Wrapper around libsndfile to provide simplified sound reading and writing support for Ruby"
    arch=("any")
    url="http://rubygems.org/gems/ruby-audio"
    license=('GPL')
    depends=("ruby" "libsndfile")
    source=("https://rubygems.org/downloads/$pkgname-$pkgver.gem")
    noextract=('$pkgname-$pkgver.gem')
    md5sums=('d4f5cea4c14190ca67231a0349b6e141')
    package() {
    cd "$srcdir"
    local _gemdir="$(ruby -e'puts Gem.default_dir')"
    gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $pkgname-$pkgver.gem
    rm "$pkgdir/$_gemdir/cache/$pkgname-$pkgver.gem"
    install -Dm644 "$pkgdir$_gemdir/gems/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE"
    build() {
    cd "$srcdir"
    Last edited by Joel (2014-06-19 01:22:00)

  • [SOLVED] Surf-hg and tabbed-hg from aur fail to build

    Hi,
    I'm trying to install surf-hg and tabbed-hg from aur and when I makepkg -i this happens:
    ==> ERROR: A failure occurred in build().
    Aborting...
    I've tried to apply this patch to surf's config.mk but it fails anyway.
    diff -paur surf/config.mk surf.new/config.mk
    --- surf/config.mk 2012-01-29 11:46:00.851597838 +0100
    +++ surf.new/config.mk 2012-01-29 11:46:36.633503895 +0100
    @@ -15,7 +15,7 @@ GTKLIB = `pkg-config --libs gtk+-2.0 web
    # includes and libs
    INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
    -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
    +LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 -ljavascriptcoregtk-1.0
    # flags
    CPPFLAGS = -DVERSION=\"${VERSION}\"
    Can anyone help me please?
    Last edited by whooper (2012-03-01 21:42:10)

    Yes they both fail to build, manually or with packer.
    I deleted the src directory but it still fails.
    packer -S surf-hg
    Aur Targets (1): surf-hg
    Proceed with installation? [Y/n] y
    Edit surf-hg PKGBUILD with $EDITOR? [Y/n] n
    ==> Determining latest hg revision...
    pulling from http://hg.suckless.org/surf
    searching for changes
    no changes found
    -> Version found: 238
    ==> Making package: surf-hg 238-1 (Thu Mar 1 00:27:47 WET 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    cleaning
    pulling from http://hg.suckless.org/surf
    searching for changes
    no changes found
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.

  • DarkRadiant from AUR fails to build

    Hello,
    I am trying to install DarkRadiant (Doom 3 and Dark Mod level editor) from AUR using yaourt, but all I get is this:
    darkradiant 1.1.0-1 : Open-source fork of GtkRadiant: a level editor for Doom 3 and The Dark Mod
    ( Unsupported package: Potentally dangerous ! )
    ==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> darkradiant dependencies:
    - boost (already installed)
    - freealut (already installed)
    - glew (already installed)
    - gtkglext (already installed)
    - gtksourceview2 (already installed)
    - openal (already installed)
    - python (already installed)
    - svn (package that provides svn already installed)
    ==> Continue the building of darkradiant ? [Y/n]
    ==> ----------------------------------------------
    ==>
    ==> Install or build missing dependencies for darkradiant:
    ==> Building and installing package
    ==> darkradiant dependencies:
    - boost (already installed)
    - freealut (already installed)
    - glew (already installed)
    - gtkglext (already installed)
    - gtksourceview2 (already installed)
    - openal (already installed)
    - python (already installed)
    - svn (package that provides svn already installed)
    ==> Making package: darkradiant 1.1.0-1 x86_64 (Mon Feb 22 16:48:50 EET 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Retrieving sources via svn for darkradiant version 1.1.0...
    -> Done
    ==> Validating sources from svn: if building fails here try to
    ==> delete the directory 'sources' and try again.
    ==> If it continues to fails the sources are changed and
    ==> the package needs to be updated.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build darkradiant package.
    I have tried to delete sources folder but it did not help. Any ideas?

    Seems MD5Sums outdated, i don't know the yaourt way but here's the manual fix to bypass stepbystep:
    $ wget http://aur.archlinux.org/packages/darkr … ant.tar.gz
    $ tar xvzf darkradiant.tar.gz
    $ cd darkradiant
    $ nano PKBUILD <- edit this file and remove theese two lines:
        echo "a79fe9432899ccdd883fd1c56cef4f2b  -" >"$srcdir"/md5sources
        find . -type f -print0 | xargs -0 cat | md5sum --status -c "$srcdir"/md5sources || return 1
    $ makepkg -c -i -s
    Hope that helps...

  • Mingw32-gcc-base from AUR won't compile

    I'm having trouble compiling mingw32-gcc-base from AUR. I kept to the order listed in mingw32-gcc and ming32-binutils installed fine.
    The compile log can be found at http://www.vexocide.org/mingw32-gcc-base.txt.
    Thanks for any help, VeXocide

    MAKEFLAGS=-j1 fixed the problem

  • [SOLVED] l2tp-ipsec-vpn-daemon from AUR fails to build

    Please let me know if there are other details that require posting:-
    ==> Starting build()...
    /usr/bin/qmake -o qttmp-Release.mk -after "OBJECTS_DIR=build/Release" "DESTDIR=dist/Release" nbproject/qt-Release.pro
    mv -f qttmp-Release.mk nbproject/qt-Release.mk
    make -f nbproject/qt-Release.mk dist/Release/L2tpIPsecVpnControlDaemon
    make[1]: Entering directory '/tmp/yaourt-tmp-nimda/aur-l2tp-ipsec-vpn-daemon/src/l2tp-ipsec-vpn-daemon'
    g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -Inbproject -isystem /usr/include/qt -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Isrc/generated -I. -o build/Release/main.o src/main.cpp
    g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -Inbproject -isystem /usr/include/qt -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Isrc/generated -I. -o build/Release/VpnClientConnection.o src/VpnClientConnection.cpp
    src/VpnClientConnection.cpp: In member function 'void VpnClientConnection::readyRead()':
    src/VpnClientConnection.cpp:133:99: error: 'class QString' has no member named 'toAscii'
    ::syslog(LOG_DEBUG|LOG_DAEMON, "Executing command %s", m_strActiveCommand.toAscii().constData());
    ^
    src/VpnClientConnection.cpp:140:75: error: 'class QString' has no member named 'toAscii'
    if (COMMANDS[iCommand].pPipe->write(strCommand.toAscii().constData()) == strCommand.length())
    ^
    src/VpnClientConnection.cpp:159:63: error: 'class QString' has no member named 'toAscii'
    if (::mkfifo(strCommandParts[1].toAscii().constData(), DEFFILEMODE) == 0)
    ^
    src/VpnClientConnection.cpp:161:84: error: 'class QString' has no member named 'toAscii'
    const int iChmodResult(::chmod(strCommandParts[1].toAscii().constData(), DEFFILEMODE));
    ^
    src/VpnClientConnection.cpp:168:87: error: 'class QString' has no member named 'toAscii'
    const int iChownResult(::chown(strCommandParts[1].toAscii().constData(), pPwdInfo->pw_uid, pPwdInfo->pw_gid));
    ^
    src/VpnClientConnection.cpp:193:77: error: 'const class QString' has no member named 'toAscii'
    if (COMMANDS[iCommand].pPipe->write(str.toAscii().constData()) != str.length())
    ^
    src/VpnClientConnection.cpp: In member function 'void VpnClientConnection::onCommandError(QProcess::ProcessError)':
    src/VpnClientConnection.cpp:250:96: error: 'class QString' has no member named 'toAscii'
    ::syslog(LOG_DEBUG|LOG_DAEMON, "Command %s finished with error code %d", m_strActiveCommand.toAscii().constData(), ERR_COMMAND_FAILED_TO_START + iError);
    ^
    src/VpnClientConnection.cpp: In member function 'void VpnClientConnection::onCommandFinished(int)':
    src/VpnClientConnection.cpp:257:95: error: 'class QString' has no member named 'toAscii'
    ::syslog(LOG_DEBUG|LOG_DAEMON, "Command %s finished with exit code %d", m_strActiveCommand.toAscii().constData(), iExitCode);
    ^
    src/VpnClientConnection.cpp: In member function 'bool VpnClientConnection::send(VpnClientConnection::ResponseType, VpnClientConnection::ResponseResult, const QString&)':
    src/VpnClientConnection.cpp:268:118: error: 'const class QString' has no member named 'toAscii'
    m_pSocket->write((QString::number(responseType) + " " + QString::number(resultCode) + " " + strCommand + '\n').toAscii().constData());
    ^
    src/VpnClientConnection.cpp: In member function 'bool VpnClientConnection::send(VpnClientConnection::ResponseType, VpnClientConnection::ResponseInformation)':
    src/VpnClientConnection.cpp:281:108: error: 'const class QString' has no member named 'toAscii'
    m_pSocket->write((QString::number(responseType) + " " + QString::number(responseInformation) + '\n').toAscii().constData());
    ^
    src/VpnClientConnection.cpp: In member function 'bool VpnClientConnection::send(VpnClientConnection::ResponseType, const QString&)':
    src/VpnClientConnection.cpp:294:78: error: 'const class QString' has no member named 'toAscii'
    m_pSocket->write((QString::number(responseType) + " " + strOutputline).toAscii().constData());
    ^
    nbproject/qt-Release.mk:319: recipe for target 'build/Release/VpnClientConnection.o' failed
    make[1]: *** [build/Release/VpnClientConnection.o] Error 1
    make[1]: Leaving directory '/tmp/yaourt-tmp-nimda/aur-l2tp-ipsec-vpn-daemon/src/l2tp-ipsec-vpn-daemon'
    Makefile:62: recipe for target 'build' failed
    make: *** [build] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build l2tp-ipsec-vpn-daemon.
    Last edited by n1md4 (2014-06-06 09:47:25)

    Have you tried 0.9.9-2 from the comments: https://aur.archlinux.org/packages/l2tp … pn-daemon/ ?

  • Lancelot from aur fails to build

    I tried installing the lancelot menu from the AUR and it fails at compile time. Here's the output. http://pastie.org/436602
    this seems to be the only place to get the lancelot menu, as kdemod dropped it from their repositories.

    theringmaster wrote:
    I tried installing the lancelot menu from the AUR and it fails at compile time. Here's the output. http://pastie.org/436602
    this seems to be the only place to get the lancelot menu, as kdemod dropped it from their repositories.
    The error message mentions that the FindPlasma.cmake has been deprecated. You can go in and change all the constant values that it asks you to change and see if it will successfully build. The other thing you could do is, wait until the maintainer of the app fixes it.

  • Sage-mathematics from AUR fails to build

    Anyone have any ideas why eclib shared libraries failed to build. I'd like to get the program running quickly, as I'm using it for college. On an unrelated note, why hasn't it remained in the repos? Its takes quite a long time to build. Let me know if anything else will help.
    [duke@cii ~]$ cd '/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0' && '/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/sage' -sh
    Starting subshell with Sage environment variables set.
    Be sure to exit when you are done and do not do anything
    with other copies of Sage!
    Bypassing shell configuration files ...
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ make
    make: *** No targets specified and no makefile found. Stop.
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ ./configure
    bash: ./configure: No such file or directory
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ ls
    spkg-check spkg-install SPKG.txt src
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ ./spkg-install
    Deleting old versions of eclib libraries, which
    would interfere with new builds.
    rm: cannot remove `libcurvesntl.*': No such file or directory
    rm: cannot remove `libg0nntl.*': No such file or directory
    rm: cannot remove `libjcntl.*': No such file or directory
    rm: cannot remove `librankntl.*': No such file or directory
    rm: cannot remove `libmwrank.*': No such file or directory
    Deleting old include directory
    mkdir -p include
    mkdir -p lib
    cd procs && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    Makefile:92: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:95: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:108: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    ar r libjcntl.a interface_n.o arith_n.o marith_n.o gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o illl_n.o hilbert_n.o parifact_n.o p2points_n.o compproc_n.o kbessel_n.o vector_n.o matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o polys_n.o realroots_n.o gf_n.o
    ranlib libjcntl.a
    chmod a+r *
    (cd ../include; rm -f interface.h templates.h arith.h xmod.h marith.h gpslave.h compproc.h vec.h vector.h mat.h matrix.h sub.h subspace.h rat.h bigrat.h kbessel.h svec.h svector.h smat.h smatrix.h smat_elim.h smatrix_elim.h mvector.h mmatrix.h msubspace.h method.h splitbase.h xsplit.h conic.h legendre.h quadratic.h unimod.h illl.h hilbert.h timer.h cubic.h gf.h polys.h realroots.h parifact.h p2points.h)
    cp -p interface.h templates.h arith.h xmod.h marith.h gpslave.h compproc.h vec.h vector.h mat.h matrix.h sub.h subspace.h rat.h bigrat.h kbessel.h svec.h svector.h smat.h smatrix.h smat_elim.h smatrix_elim.h mvector.h mmatrix.h msubspace.h method.h splitbase.h xsplit.h conic.h legendre.h quadratic.h unimod.h illl.h hilbert.h timer.h cubic.h gf.h polys.h realroots.h parifact.h p2points.h ../include
    chmod a+r ../include/*.h
    rm -f ../lib/libjcntl.a
    ar r ../lib/libjcntl.a interface_n.o arith_n.o marith_n.o gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o illl_n.o hilbert_n.o parifact_n.o p2points_n.o compproc_n.o kbessel_n.o vector_n.o matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o polys_n.o realroots_n.o gf_n.o
    ar: creating ../lib/libjcntl.a
    ranlib ../lib/libjcntl.a
    chmod a+rx ../lib/libjcntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    cd qcurves && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    Makefile:123: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:126: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:134: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `lib'.
    (cd ../include; rm -f curve.h points.h cperiods.h isogs.h reader.h mwprocs.h lambda.h sifter.h sieve_search.h htconst.h egr.h saturate.h divpol.h pointsmod.h curvemod.h ffmod.h tlss.h elog.h getcurve.h )
    for f in curve.h points.h cperiods.h isogs.h reader.h mwprocs.h lambda.h sifter.h sieve_search.h htconst.h egr.h saturate.h divpol.h pointsmod.h curvemod.h ffmod.h tlss.h elog.h getcurve.h ; \
    do cp ${f} ../include; \
    done
    chmod a+r ../include/*
    rm -f ../lib/libcurvesntl.a
    cp libcurvesntl.a ../lib
    chmod a+rx ../lib/libcurvesntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    cd qrank && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    Makefile:78: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:122: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:146: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    rm -f librankntl.a
    ar r librankntl.a mrank1_n.o mrank2_n.o mequiv_n.o mquartic_n.o mlocsol_n.o mglobsol_n.o qc_n.o sqfdiv_n.o desc2_n.o transform_n.o minim_n.o reduce_n.o bitspace_n.o GetOpt_n.o twoadic_n.o descent_n.o
    ar: creating librankntl.a
    ranlib librankntl.a
    (cd ../include; rm -f mrank2.h mequiv.h mlocsol.h mglobsol.h msoluble.h mquartic.h mrank1.h qc.h sqfdiv.h version.h minim.h reduce.h transform.h desc2.h bitspace.h options.h GetOpt.h twoadic.h descent.h)
    for f in mrank2.h mequiv.h mlocsol.h mglobsol.h msoluble.h mquartic.h mrank1.h qc.h sqfdiv.h version.h minim.h reduce.h transform.h desc2.h bitspace.h options.h GetOpt.h twoadic.h descent.h; \
    do cp ${f} ../include; \
    done
    chmod a+r ../include/*
    rm -f ../lib/librankntl.a
    cp librankntl.a ../lib
    chmod a+rx ../lib/librankntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    cd g0n && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/g0n'
    Makefile:115: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:118: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:121: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `lib'.
    (cd ../include; rm -f periods.h cusp.h homspace.h newforms.h nflist.h moddata.h oldforms.h symb.h fixc6.h pcprocs.h)
    for f in periods.h cusp.h homspace.h newforms.h nflist.h moddata.h oldforms.h symb.h fixc6.h pcprocs.h; \
    do cp ${f} ../include; \
    done
    chmod a+r ../include/*
    rm -f ../lib/libg0nntl.a
    cp libg0nntl.a ../lib
    chmod a+rx ../lib/libg0nntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/g0n'
    cd procs && make install_so && make tests progs
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    Makefile:92: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:95: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:108: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    g++ -fPIC --shared libjcntl.a interface_n.o arith_n.o marith_n.o gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o illl_n.o hilbert_n.o parifact_n.o p2points_n.o compproc_n.o kbessel_n.o vector_n.o matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o polys_n.o realroots_n.o gf_n.o -o libjcntl.so -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -lgmp -lpari -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -lgmp -lpari -lm
    cp libjcntl.so ../lib/
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    Makefile:92: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:95: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:108: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `tests'.
    make[1]: Nothing to be done for `progs'.
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    cd qcurves && make install_so && make tests progs
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    Makefile:123: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:126: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:134: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    cp libcurvesntl.so ../lib/
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    Makefile:123: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:126: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:134: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `tests'.
    g++ -o ./torsion torsion_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include conductor.cc -o conductor_n.o
    g++ -o ./conductor conductor_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include twist.cc -o twist_n.o
    g++ -o ./twist twist_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include allisog.cc -o allisog_n.o
    g++ -o ./allisog allisog_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include findinf.cc -o findinf_n.o
    g++ -o ./findinf findinf_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include indep.cc -o indep_n.o
    g++ -o ./indep indep_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    cd qrank && make install_so && make tests progs
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    Makefile:78: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:122: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:146: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    g++ -fPIC --shared librankntl.a mrank1_n.o mrank2_n.o mequiv_n.o mquartic_n.o mlocsol_n.o mglobsol_n.o qc_n.o sqfdiv_n.o desc2_n.o transform_n.o minim_n.o reduce_n.o bitspace_n.o GetOpt_n.o twoadic_n.o descent_n.o -o librankntl.so -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -L../lib -lcurvesntl -ljcntl -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lpari -lm
    cp librankntl.so ../lib/
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    Makefile:78: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:122: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:146: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include version.cc -o version_n.o
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include mwrank.cc -o mwrank_n.o
    chmod og+r *
    g++ -o mwrank version_n.o mwrank_n.o descent_n.o mrank1_n.o mrank2_n.o mequiv_n.o mquartic_n.o \
    mlocsol_n.o mglobsol_n.o qc_n.o sqfdiv_n.o desc2_n.o \
    transform_n.o minim_n.o reduce_n.o bitspace_n.o GetOpt_n.o twoadic_n.o \
    -L../lib -lcurvesntl -ljcntl -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lpari -lm
    collect2: ld returned 1 exit status
    make[1]: *** [mwrank] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    make: *** [so] Error 2
    Error building eclib shared libraries
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8

    I'm getting something slightly different when I try to build this package. They all seem to be the same as this, except with different function names.
    error: ‘mulColDense’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    Does anyone have any ideas on how to remedy this?

  • [SOLVED]yaourt wants to build dependencies from AUR

    Hi,
    I've installed kdemod4... the only problem is that yaourt wants ti install all the dependences of the package(s) i've choose from aur, altough dependencies are present in extra (correct version). How can i solve this??
    An example is:
    cairo-lcd: i have to build all the dependencies from aur, like libpng,etc; but i see from PKGBUILD that the version that needs cairo-lcd is present in extra repository...
    thanks in advance
    Last edited by chesterfork (2009-07-13 10:07:26)

    ..i'm running kdemod 4 x86_64...so if i try install everything using yaourt the dependencies are shown in this way:
    ==> lib32-cairo-lcd dependencies:
    - lib32-gcc-libs (building from AUR)
    - lib32-libpng (building from AUR)
    - lib32-libxrender (building from AUR)
    - lib32-fontconfig (building from AUR)
    - lib32-pixman (building from AUR)
    - lib32-xcb-util (building from AUR)
    if it could help i found this:
    chesterfork ~ $ yaourt -S lib32-cairo
    lib32-cairo not found on AUR
    Packages that were installed as dependencies but are no longer required by any installed package:
    error:
    what about the error? it's a blank line.... i checked yaourtrc in /etc but it seems ok..
    It's happen even if i have these packages installed (and checking in pkg build they have are the same version). EVERYTIME yaourt shows that; cairo, cairo-lcd, bin32-skype-lib32-cairo-lcd....eveything i tried it needs dependencies from aur ONLY. That's the problem....there is a solution??

  • Can't install Ejecter from AUR

    Hi everyone
    I've been trying to install Ejecter from AUR using yaourt, but I get an error and the installation aborts.
    This is what the terminal tells me:
    Checking for program gcc,cc              : ok /usr/bin/gcc
    Checking for program cpp                 : ok /usr/bin/cpp
    Checking for program ar                  : ok /usr/bin/ar
    Checking for program ranlib              : ok /usr/bin/ranlib
    Checking for gcc                         : ok 
    Checking for program valac               : ok /usr/bin/valac
    Checking for gthread-2.0                 : Traceback (most recent call last):
      File "/tmp/yaourt-tmp-guido/aur-ejecter/src/ejecter-0.3.1/.waf3-1.5.9-92e9dcf84354592025d5265e05eb8bc4/wafadmin/Utils.py", line 414, in recurse
        txt=readf(base+'_'+name,m='rU')
      File "/tmp/yaourt-tmp-guido/aur-ejecter/src/ejecter-0.3.1/.waf3-1.5.9-92e9dcf84354592025d5265e05eb8bc4/wafadmin/Utils.py", line 379, in readf
        f=open(fname,m)
    IOError: [Errno 2] No such file or directory: '/tmp/yaourt-tmp-guido/aur-ejecter/src/ejecter-0.3.1/wscript_configure'
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
      File "./waf", line 148, in <module>
        Abortando...
    ==> ERROR: Makepkg was unable to build ejecter.
    ==> Restart building ejecter ? [y/N]
    ==> --------------------------------
    ==>
    There are no comments on the AUR package, so I don't know if this bugs only happens to me.
    Thanks in advance for your help!

    I have the same problem with Pino from AUR.
    ==> Starting build()...
    Checking for program gcc,cc : ok /usr/bin/gcc
    Checking for program cpp : ok /usr/bin/cpp
    Checking for program ar : ok /usr/bin/ar
    Checking for program ranlib : ok /usr/bin/ranlib
    Checking for gcc : ok
    Checking for program valac : ok /usr/bin/valac
    Checking for gthread-2.0 : Traceback (most recent call last):
    File "/tmp/clyde-johan/pino/pino/src/pino-0.2.10/.waf3-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Utils.py", line 414, in recurse
    txt=readf(base+'_'+name,m='rU')
    File "/tmp/clyde-johan/pino/pino/src/pino-0.2.10/.waf3-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Utils.py", line 379, in readf
    f=open(fname,m)
    IOError: [Errno 2] No such file or directory: '/tmp/clyde-johan/pino/pino/src/pino-0.2.10/wscript_configure'
    During handling of the above exception, another exception occurred:
    Traceback (most recent call last):
    File "./waf", line 148, in <module>
    Aborting...
    error: Build failed

  • [SOLVED] install package from aur via yaourt

    Hi,
    i installed yaourt and tried to install from the aur.
    it keeps asking me to continue bulding and then restart building. it just wont install any packages.
    for none-aur packages it works fine btw.
    any help?
    alex
    Last edited by alext (2011-10-11 23:13:53)

    me too and it didnt.
    [xxx@xxx pcmanfm-mod]$ yaourt ntfs-config
    1 aur/ntfs-config 1.0.1-7 (200)
    Enable/disable NTFS write support with a simple click
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    ==> 1
    ==> Downloading ntfs-config PKGBUILD from AUR...
    x PKGBUILD
    x python-2.7.patch
    Comment by: loleg on Sat, 25 Jun 2011 10:07:14 +0000
    Compiles installs OK using yaourt, however does not work on my up-to-date system with the issue discussed here: http://ubuntuforums.org/archive/index.php/t-1497399.html
    Comment by: jlcordeiro on Mon, 27 Jun 2011 08:56:12 +0000
    Can you check if:
    sudo mkdir /etc/hal/fdi
    sudo touch /etc/hal/fdi/policy
    solves the problem?
    Comment by: mr430 on Tue, 04 Oct 2011 15:56:44 +0000
    jlcordeiro, same problem and making /etc/hal/fdi directory solve it, thanks
    Comment by: jlcordeiro on Sat, 08 Oct 2011 08:17:08 +0000
    Updated with the solution to the mentioned problem.
    Comment by: archdria on Tue, 11 Oct 2011 12:04:43 +0000
    Please, add perl-xml-parser as makedep :)
    Comment by: jlcordeiro on Tue, 11 Oct 2011 21:36:05 +0000
    Done. Thank you :)
    First Submitted: Fri, 19 Jan 2007 21:10:44 +0000
    ntfs-config 1.0.1-7
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    Password:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    ntfs-config
    Edit: now ive just seen that i forgot about the warnings. i am not sure about what they mean and how to fix it.
    Last edited by alext (2011-10-11 22:16:58)

  • Haguichi won't build from AUR, and won't build from source tarball.

    I managed to get Hamachi installed. Go me. But I like having a frontend for things like that, so I tried to build Haguichi from the AUR. Didn't work. I downloaded the source tarball, and running ./configure returned the same error as yaourt.
    redpill% ./configure
    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 to enable maintainer-specific portions of Makefiles... no
    checking for pkg-config... /usr/bin/pkg-config
    checking for dmcs... /usr/bin/dmcs
    checking pkg-config is at least version 0.9.0... yes
    checking for GTK_SHARP_20... yes
    checking for NOTIFY_SHARP... yes
    checking for GCONF_SHARP_20... yes
    checking for GLIB_SHARP_20... yes
    checking for DBUS_SHARP_10... no
    configure: error: Package requirements (dbus-sharp-1.0) were not met:
    No package 'dbus-sharp-1.0' found
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    Alternatively, you may set the environment variables DBUS_SHARP_10_CFLAGS
    and DBUS_SHARP_10_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    I made sure the dependencies were installed and updated to the latest versions, but it still won't build. What am I doing wrong?

    Scimmia wrote:Did you read the comments on the AUR page?
    Just did. I guess I'm still a bit noobish

  • Can't get ET to work after building from AUR

    I have downloaded Enemy Territory tar from AUR and am trying to build it, here is what I am getting:
    bobby@dabox:~/installs/enemy-territory$ ls
    enemy-territory.desktop et-ded et-pbupdate.sh PKGBUILD
    enemy-territory.install etded.sh et.sh
    bobby@dabox:~/installs/enemy-territory$ makepkg
    ==> Entering fakeroot environment
    ==> Making package: enemy-territory 2.60b-8 (Tue Jan 8 14:44:27 EST 2008)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading et-linux-2.60.x86.run
    --14:44:28-- http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run
    => `et-linux-2.60.x86.run'
    Resolving ftp.games.skynet.be... 195.238.1.6
    Connecting to ftp.games.skynet.be|195.238.1.6|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 270,965,248 (258M) [text/plain]
    89% [============================================> ] 241,461,216 458.72K/s ETA 01:03^100%[==================================================>] 270,965,248 467.87K/s ETA 00:00
    14:54:12 (453.47 KB/s) - `et-linux-2.60.x86.run' saved [270965248/270965248]
    -> Downloading ET-2.60b.zip
    --14:54:15-- http://ftp.gwdg.de/pub/misc/ftp.idsoftware.com/idstuff/et/ET-2.60b.zip
    => `ET-2.60b.zip'
    Resolving ftp.gwdg.de... 134.76.12.3
    Connecting to ftp.gwdg.de|134.76.12.3|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 4,143,401 (4.0M) [application/zip]
    100%[==================================================>] 4,143,401 326.94K/s ETA 00:00
    14:54:36 (201.11 KB/s) - `ET-2.60b.zip' saved [4143401/4143401]
    -> Found enemy-territory.desktop in build dir
    -> Found et-ded in build dir
    -> Found et-pbupdate.sh in build dir
    -> Found et.sh in build dir
    -> Found etded.sh in build dir
    ==> Validating source files with md5sums
    et-linux-2.60.x86.run ... Passed
    ET-2.60b.zip ... Passed
    enemy-territory.desktop ... Passed
    et-ded ... Passed
    et-pbupdate.sh ... Passed
    et.sh ... Passed
    etded.sh ... Passed
    ==> Extracting Sources...
    ==> Starting build()...
    Creating directory enemy-territory
    Verifying archive integrity... All good.
    Uncompressing Enemy Territory 2.60 Full Install..............................................................................................................................................................................................................................................................................................................................
    [b]cp: cannot stat `Enemy Territory 2.60b/linux/et.x86': No such file or directory
    cp: cannot stat `Enemy Territory 2.60b/linux/etded.x86': No such file or directory[/b]
    ==> Removing info/doc files...
    ==> Compressing man pages...
    ==> Stripping debugging symbols from libraries...
    ==> Stripping symbols from binaries...
    ==> Generating .FILELIST file...
    ==> Generating .PKGINFO file...
    ==> Copying install script...
    ==> Compressing package...
    ==> Finished making: enemy-territory (Tue Ja
    I have bolded those 2 lines as when I try to run enemy-territory after finishing, I keep getting this:
    bobby@dabox:~$ enemy-territory
    /usr/bin/enemy-territory: line 6: /opt/enemy-territory/et.x86: No such file or directory
    /usr/bin/enemy-territory: line 6: exec: /opt/enemy-territory/et.x86: cannot execute: No such file or directory
    bobby@dabox:~$

    colbert wrote:So this cannot work since it is trying to use a .zip? But others have gotten this to work, I don't understand?
    It was caused by the upgrade of the file package.

Maybe you are looking for

  • Trying to understand OIM - Please help

    Hello All, I am pretty new to OIM, just trying to understand how OIM works. For the past 4 years I was in Sun IdM and planning to switch over to OIM. I read some documentation, I think OIM will perform basic provisioning and it contains out of box co

  • Software update server times out

    I'm running Windows 7 and iTunes 9.1, and am having a problem accessing iTunes servers. Here's what I'm finding: X When trying to update my iPod touch to the latest version, I get an error that the iPod software update server could not be contacted.

  • Connect Mode for FTP Sender

    Dear all, We have options for Connect mode as Permanently & Per file transfer, When we connect to FTP site, which is the best one to choose according to best practice? Regards

  • Has anyone got iFS working in Tomcat ?

    iFS 1.1.9 We have a urgent need to get iFS running in a Servlet 2.2 container and OC4J does not support iFS yet. I know this is not supported but has anyone got iFS working in Tomcat ? If so, pls do me a BIG favour by letting me have your config file

  • Can't open document but editing locally works

    Hi, I can't open MS Outlook documents (MIME-Type: text/richtext, Extension: *.msg) in an W2K environment which are stored deep in a folder structure. But it is possible to edit them locally. Why. Any ideas? Ciao Ray