[SOLVED] [kernel26zen-git] Unable to build kernel

Hi!
I am unable to sucessfully build the kernel26zen-git package.
I am using the stable version, master branch.
Error is:
==> Building kernel and modules...
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC arch/x86/kernel/asm-offsets.s - due to target missing
In file included from include/linux/module.h:18:0,
from include/linux/crypto.h:21,
from arch/x86/kernel/asm-offsets_64.c:8,
from arch/x86/kernel/asm-offsets.c:4:
include/linux/tracepoint.h: In function 'tracepoint_synchronize_unregister':
include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
Aborting...
I already tried the "make mrproper", building it without any modifications to "config" and googleing for the problem.
Anyone got a clue?
EDIT: Okay, I was searching with the wrong keywords. I searched for
include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
and found this thread.
Going to try this out.
EDIT 2: What can I say? It worked.
EDIT 3: Another Thread with the solution
PS: What about this "RCU"? What does it do and why does the "classic RCU" not work?
Last edited by akurei (2010-10-05 19:39:30)

ChoK wrote:It seems like you need lib32-jack and the maintainer of lib32-portaudio forgot to add it to makedepends/depends
Iv'e got lib32-jack already installed. And by reading the comments of the AUR link to the package ( lib32-portaudio ) they supposedly fixed the PKGBUILD too.

Similar Messages

  • [SOLVED] Makepkg was unable to build lib32-portaudio.

    Okay so i dusted off my old PS2 the other day and decided i wanted to play some old games for nostalgic sake when i came to realize it is still broken. So i looked for a decent emulator and found PCSX2. Now, i had some missing dependencies that needed to be installed and i worked on it for a few hours and got every dependency to install except lib32-portaudio. And don't get me wrong, Iv'e looked both at the PCSX2 website and the Arch wiki and forums and iv'e googled and looked at Ubuntu forums and whatnot. I looked everywhere i could think of, and i can't find anything at all on this issue so i'm hoping someone will be able to help me here. I guess the relevant part of the error message that i get is this:
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.2/../../../libjack.so when searching for -ljack
    /usr/bin/ld: skipping incompatible /usr/lib/libjack.so when searching for -ljack
    /usr/bin/ld: cannot find -ljack
    collect2: ld returned 1 exit status
    make: *** [lib/libportaudio.la] Error 1
        Aborting...
    ==> ERROR: Makepkg was unable to build lib32-portaudio.
    And Iv'e re-installed portaudio at least 3 times since i figured the error had something to do with it. Through pacman, downloading the package from the dev website, and even trying the Ubuntu repos and it seems to be successfully installed each time. I'm fairly new to Linux but i'm a very persistent person and i wouldn't give up without at least a days worth of pulling out my hair in frustration, and through trial and error, so as far as my knowledge reaches, iv'e tried my best to solve it on my own. Oh, and i'm building/installing from the AUR if that would make a difference. Appreciate any help.
    edit
    Been a long time, with no help, but i finally gave it another go. This time successfull! I just recently re-installed Arch, this time running openbox, and without any issues whatsoever, it installed on the first try. I think i had a shitload of conflicting and missing dependencies on my last install and that's what caused it.. I don't know if this will help anyone if you ever run in to this problem, there isn't much to add, Only thing is that I'm running a clean install and i use the nvidia driver and nvidia-utils, and all the ALSA sound drivers and utilities. Oh and i'm running openbox as a stand-alone WM. That's all the relevant info i think. Now i'm looking forward to configuration hell for the games i'm gonna run, haha!
    Last edited by waspy (2011-05-26 18:42:23)

    ChoK wrote:It seems like you need lib32-jack and the maintainer of lib32-portaudio forgot to add it to makedepends/depends
    Iv'e got lib32-jack already installed. And by reading the comments of the AUR link to the package ( lib32-portaudio ) they supposedly fixed the PKGBUILD too.

  • [SOLVED]makepkg was unable to build conkyforecast-bzr

    $yaourt conkyforecast
    then i enter n of package (1-3)
    after succes installing conkyforecast-2.20.1 then installing conkyforecast-bzr i allways get error messages
    sory for my bad english
    i hope u get my point
    ==> Starting build()...
    ==> Connecting to the server....
    bzr: ERROR: Already a branch: "conkyforecast".
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build conkyforecast-bzr.
    ==> Restart building conkyforecast-bzr ? [y/N]
    ==> ------------------------------------------
    ==>
    oke solved it
    i reinstall the conky, and it works
    Last edited by maput (2012-05-03 07:30:58)

    ChoK wrote:It seems like you need lib32-jack and the maintainer of lib32-portaudio forgot to add it to makedepends/depends
    Iv'e got lib32-jack already installed. And by reading the comments of the AUR link to the package ( lib32-portaudio ) they supposedly fixed the PKGBUILD too.

  • [SOLVED] Catalyst-hook won't build kernel module

    I HAVE SOLVED THE PROBLEM. I WAS MISSING /usr/lib/modules/extramodules-3.11-ARCH/version !
    Hello, I got a problem with my Arch Linux install. Today I got a new kernel update (Linux-3.11.1-2-ARCH) and catalyst-hook attemptet to rebuild the fglrx kernel module, but failed.
    This is my /var/log/catalyst-install.log:
    2013-09-25 13:09:13
    Building fglrx module for 3.11.1-2-ARCH kernel ...
    OsVersion says: SMP=1
    file /proc/kallsyms says: SMP=1
    file /usr/lib/modules/3.11.1-2-ARCH/build/include/generated/autoconf.h says: SMP=1
    file /usr/lib/modules/3.11.1-2-ARCH/build/include/generated/autoconf.h says: MODVERSIONS=1
    file /usr/lib/modules/3.11.1-2-ARCH/build/arch/x86/include/asm/compat.h says: COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_sp$
    make: Entering directory `/usr/src/linux-3.11.1-2-ARCH'
    CC [M] /tmp/catalyst.H8Xs1y/firegl_public.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_acpi.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_agp.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_debug.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_ioctl.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_io.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_pci.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_str.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_iommu.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl.o
    CC [M] /tmp/catalyst.H8Xs1y/kcl_wait.o
    LD [M] /tmp/catalyst.H8Xs1y/fglrx.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /tmp/catalyst.H8Xs1y/fglrx.mod.o
    LD [M] /tmp/catalyst.H8Xs1y/fglrx.ko
    make: Leaving directory `/usr/src/linux-3.11.1-2-ARCH'
    install: missing destination file operand after ‘fglrx.ko.gz’
    Try 'install --help' for more information.
    Please let me know if you need more information, and where/how I can get it.
    Last edited by xeekei (2013-09-25 21:30:35)

    Hey man have had the same issue.
    How did you go about solving it?

  • Kernel26zen-git build error

    This is the error I encounter while building kernel26zen-git from aur using yaourt.
    ==> Installing kernel headers...
    -> acpi
    -> asm-generic
    -> config
    -> generated
    -> linux
    -> math-emu
    -> media
    -> net
    -> pcmcia
    -> scsi
    -> sound
    -> video
    -> trace
    ==> Installing headers for lirc...
    cp: cannot stat `drivers/media/video/zc0301/*.h': No such file or directory
    Aborting...
    ==> ERROR: Makepkg was unable to build kernel26zen-git
    Any help would be much appreciated.

    Try ...
    find /usr/src/ -name "zc0301.h" -print

  • Error trying to build kernel26zen-git

    I get this message when i try to build kernel26zen-git.
    Failed... Your source tree might be broken. Run 'make mrproper' in src/zen-sources to clean it up
    However, I follow the instructions and run make mrproper in the zen-sources directory, re-run the kernel26zen package and still get the same error. Is there something I must do that I am not aware of to make it compile properly?  I had this kernel working once before. Thanks ahead of time.

    I no i just used the standard downloaded the package in AUR via yaourt, and let it run. I dont think it switched to the master branch.
    ==> Creating branch: v2.6.24-rc6-zen0...
    ==> Switching to branch: v2.6.24-rc6-zen0...
    Switched to branch "v2.6.24-rc6-zen0"
    ==> Generating commit ChangeLog...
    warning: refname 'v2.6.24-rc6-zen0' is ambiguous.
    ==> Testing if current kernel version is supported by this PKGBUILD...
    ==> Loading configuration...
    -> Running make menuconfig...

  • [SOLVED] Error 'Your source tree might be broken' in kernel26zen-git

    Since a few days I am trying to rebuild my custom ZEN-kernel. After updating the sources everything was built using my own config, that worked many times before.
    However, makepkg halted every time I tried to build the kernel, saying:
    ==> Building kernel and modules...
    scripts/kconfig/conf -s arch/x86/Kconfig
    CHK include/linux/version.h
    UPD include/linux/version.h
    CHK include/generated/utsrelease.h
    UPD include/generated/utsrelease.h
    HOSTCC scripts/kallsyms
    CC scripts/mod/empty.o
    HOSTCC scripts/mod/mk_elfconfig
    MKELF scripts/mod/elfconfig.h
    HOSTCC scripts/mod/file2alias.o
    HOSTCC scripts/pnmtologo
    HOSTCC scripts/conmakehash
    HOSTCC scripts/mod/modpost.o
    HOSTCC scripts/mod/sumversion.o
    HOSTLD scripts/mod/modpost
    CC kernel/bounds.s
    GEN include/generated/bounds.h
    CC arch/x86/kernel/asm-offsets.s
    GEN include/generated/asm-offsets.h
    CALL scripts/checksyscalls.sh
    CC init/main.o
    HOSTCC usr/gen_init_cpio
    GEN usr/initramfs_data.cpio
    AS usr/initramfs_data.o
    LD usr/built-in.o
    CHK include/generated/compile.h
    UPD include/generated/compile.h
    CC init/do_mounts.o
    init/main.c: In function 'do_one_initcall':
    init/main.c:723:10: warning: 'calltime.tv64' may be used uninitialized in this function
    CC init/do_mounts_initrd.o
    CC init/initramfs.o
    CC init/calibrate.o
    LD arch/x86/crypto/built-in.o
    AS [M] arch/x86/crypto/aes-i586-asm_32.o
    CC [M] arch/x86/crypto/aes_glue.o
    CC init/version.o
    AS [M] arch/x86/crypto/salsa20-i586-asm_32.o
    CC [M] arch/x86/crypto/salsa20_glue.o
    LD init/mounts.o
    LD init/built-in.o
    CC kernel/sched.o
    AS [M] arch/x86/crypto/twofish-i586-asm_32.o
    CC [M] arch/x86/crypto/twofish_glue.o
    CC [M] arch/x86/crypto/crc32c-intel.o
    LD [M] arch/x86/crypto/aes-i586.o
    LD [M] arch/x86/crypto/twofish-i586.o
    LD [M] arch/x86/crypto/salsa20-i586.o
    CC arch/x86/kernel/process_32.o
    CC arch/x86/kernel/signal.o
    AS arch/x86/kernel/entry_32.o
    CC arch/x86/kernel/traps.o
    CC kernel/fork.o
    CC arch/x86/kernel/irq.o
    CC arch/x86/kernel/irq_32.o
    CC kernel/exec_domain.o
    CC arch/x86/kernel/dumpstack_32.o
    CC kernel/panic.o
    CC arch/x86/kernel/time.o
    CC kernel/printk.o
    CC arch/x86/kernel/ioport.o
    CC arch/x86/kernel/ldt.o
    CC kernel/cpu.o
    CC arch/x86/kernel/dumpstack.o
    CC kernel/exit.o
    CC arch/x86/kernel/setup.o
    CC arch/x86/kernel/x86_init.o
    CC arch/x86/kernel/i8259.o
    CC kernel/itimer.o
    CC arch/x86/kernel/irqinit.o
    TIMEC kernel/timeconst.h
    CC arch/x86/kernel/probe_roms_32.o
    CC kernel/softirq.o
    CC arch/x86/kernel/sys_i386_32.o
    kernel/softirq.c: In function 'run_ksoftirqd':
    kernel/softirq.c:719:4: error: implicit declaration of function 'rcu_note_context_switch'
    make[1]: *** [kernel/softirq.o] Error 1
    make: *** [kernel] Error 2
    make: *** Waiting for unfinished jobs....
    CC arch/x86/kernel/i386_ksyms_32.o
    CC arch/x86/kernel/bootflag.o
    CC arch/x86/kernel/e820.o
    CC arch/x86/kernel/pci-dma.o
    CC arch/x86/mm/init.o
    CC arch/x86/kernel/quirks.o
    CC arch/x86/mm/init_32.o
    CC arch/x86/kernel/i8237.o
    CC arch/x86/kernel/topology.o
    CC arch/x86/kernel/kdebugfs.o
    CC arch/x86/mm/fault.o
    CC arch/x86/kernel/alternative.o
    CC arch/x86/mm/ioremap.o
    CC arch/x86/kernel/i8253.o
    CC arch/x86/kernel/pci-nommu.o
    CC arch/x86/mm/extable.o
    CC arch/x86/mm/pageattr.o
    CC arch/x86/kernel/hw_breakpoint.o
    CC arch/x86/kernel/tsc.o
    CC arch/x86/mm/mmap.o
    CC arch/x86/mm/pat.o
    CC arch/x86/kernel/io_delay.o
    CC arch/x86/kernel/rtc.o
    CC arch/x86/mm/pgtable.o
    CC arch/x86/kernel/trampoline.o
    CC arch/x86/kernel/process.o
    CC arch/x86/mm/physaddr.o
    CC arch/x86/mm/gup.o
    CC arch/x86/kernel/i387.o
    CC arch/x86/mm/setup_nx.o
    CC arch/x86/mm/tlb.o
    CC arch/x86/kernel/xsave.o
    CC arch/x86/mm/pgtable_32.o
    CC arch/x86/kernel/ptrace.o
    CC arch/x86/mm/iomap_32.o
    LD arch/x86/mm/built-in.o
    LDS arch/x86/vdso/vdso32/vdso32.lds
    CC arch/x86/kernel/tls.o
    AS arch/x86/vdso/vdso32/note.o
    AS arch/x86/vdso/vdso32/int80.o
    AS arch/x86/vdso/vdso32/sysenter.o
    CC arch/x86/vdso/vdso32-setup.o
    CC arch/x86/kernel/step.o
    VDSO arch/x86/vdso/vdso32-int80.so.dbg
    CC arch/x86/kernel/acpi/boot.o
    VDSO arch/x86/vdso/vdso32-sysenter.so.dbg
    VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
    VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
    OBJCOPY arch/x86/vdso/vdso32-int80.so
    OBJCOPY arch/x86/vdso/vdso32-sysenter.so
    VDSOSYM arch/x86/vdso/vdso32-syms.lds
    AS arch/x86/vdso/vdso32.o
    LD arch/x86/vdso/built-in.o
    CC arch/x86/kernel/acpi/cstate.o
    CC arch/x86/kernel/apic/apic.o
    LD arch/x86/kernel/acpi/built-in.o
    CC arch/x86/kernel/cpu/intel_cacheinfo.o
    arch/x86/kernel/apic/apic.c: In function 'lapic_suspend':
    arch/x86/kernel/apic/apic.c:1989:3: warning: statement with no effect
    arch/x86/kernel/apic/apic.c: In function 'lapic_resume':
    arch/x86/kernel/apic/apic.c:2066:3: warning: statement with no effect
    CC arch/x86/kernel/cpu/addon_cpuid_features.o
    CC arch/x86/kernel/apic/apic_noop.o
    CC arch/x86/kernel/cpu/proc.o
    CC arch/x86/kernel/apic/probe_32.o
    MKCAP arch/x86/kernel/cpu/capflags.c
    CC arch/x86/kernel/cpu/powerflags.o
    CC arch/x86/kernel/cpu/common.o
    CC arch/x86/kernel/apic/ipi.o
    CC arch/x86/kernel/apic/nmi.o
    CC arch/x86/kernel/cpu/vmware.o
    CC arch/x86/kernel/cpu/hypervisor.o
    CC arch/x86/kernel/cpu/sched.o
    CC arch/x86/kernel/apic/io_apic.o
    CC arch/x86/kernel/cpu/bugs.o
    CC arch/x86/kernel/cpu/cmpxchg.o
    CC arch/x86/kernel/cpu/intel.o
    CC arch/x86/kernel/cpu/perf_event.o
    arch/x86/kernel/cpu/perf_event.c:1206:32: warning: 'emptyconstraint' defined but not used
    LD arch/x86/kernel/apic/built-in.o
    CC arch/x86/kernel/reboot.o
    LD arch/x86/kernel/cpu/cpufreq/built-in.o
    CC [M] arch/x86/kernel/cpu/cpufreq/speedstep-ich.o
    CC arch/x86/kernel/early-quirks.o
    CC [M] arch/x86/kernel/cpu/cpufreq/speedstep-lib.o
    CC arch/x86/kernel/smp.o
    CC arch/x86/kernel/cpu/mcheck/mce.o
    CC arch/x86/kernel/smpboot.o
    CC arch/x86/kernel/cpu/mtrr/main.o
    CC arch/x86/kernel/cpu/mcheck/mce-severity.o
    CC arch/x86/kernel/cpu/mcheck/mce_intel.o
    CC arch/x86/kernel/cpu/mtrr/if.o
    CC arch/x86/kernel/cpu/mcheck/threshold.o
    CC arch/x86/kernel/cpu/mtrr/generic.o
    CC arch/x86/kernel/cpu/mcheck/therm_throt.o
    LD arch/x86/kernel/cpu/mcheck/built-in.o
    CC arch/x86/kernel/cpu/perfctr-watchdog.o
    CC arch/x86/kernel/cpu/mtrr/cleanup.o
    CC arch/x86/kernel/cpu/mtrr/amd.o
    CC arch/x86/kernel/cpu/mtrr/cyrix.o
    CC arch/x86/kernel/cpu/mtrr/centaur.o
    CC arch/x86/kernel/tsc_sync.o
    LD arch/x86/kernel/cpu/mtrr/built-in.o
    CC arch/x86/kernel/cpu/capflags.o
    LD arch/x86/kernel/cpu/built-in.o
    CC arch/x86/kernel/setup_percpu.o
    AS arch/x86/kernel/trampoline_32.o
    CC arch/x86/kernel/module.o
    CC arch/x86/kernel/doublefault_32.o
    CC arch/x86/kernel/vm86_32.o
    CC arch/x86/kernel/hpet.o
    AS arch/x86/kernel/head_32.o
    arch/x86/kernel/head_32.S: Assembler messages:
    arch/x86/kernel/head_32.S:64: Warning: shift count out of range (32 is not between 0 and 31)
    CC arch/x86/kernel/head32.o
    CC arch/x86/kernel/head.o
    CC arch/x86/kernel/init_task.o
    LDS arch/x86/kernel/vmlinux.lds
    CC [M] arch/x86/kernel/msr.o
    CC [M] arch/x86/kernel/cpuid.o
    LD arch/x86/kernel/built-in.o
    LD arch/x86/built-in.o
    ==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
    Aborting...
    I know the problem is probably not in built-in.o but somewhere else.
    Of course I ran `make mrproper` in the mentioned directory before I rebuilt over and over again, enabling and disabling several modules, like Mountainjew did in this topic. I even tried to download the complete source tree again, but to no avail.
    Does anyone know if there's currently a problem with one of the kernel modules or with the ZEN sources in general?
    Last edited by Marcel- (2010-08-02 21:50:06)

    Stupid me! I overlooked this error message:
    kernel/softirq.c: In function 'run_ksoftirqd':
    kernel/softirq.c:719:4: error: implicit declaration of function 'rcu_note_context_switch'
    Some searching resulted in a post in the Gentoo forums, saying that CONFIG_BRIDGE_IGMP_SNOOPING is the culprit. I noticed that flag wasn't enabled at all, but two posts below it turned out that using Classic RCU can cause troubles. I switched to Tree RCU and my kernel was built successfully (though this still sounds like a bug to me).

  • [SOLVED] nVidia 87.76 Drivers installer fails to build kernel module

    Hey,
    I have a nVidia GeForce2 Integrated graphics card on my Asus A7N266 motherboard. According to the nVidia site, http://www.nvidia.com/object/IO_32667.html, the most recent driver that supports this is the 96.xx series. Yet as shown here, http://www.nvnews.net/vbulletin/showthread.php?t=87332, many people have found that the 96.xx series drivers cause graphical corruption when using a GeForce2 IGP.
    Before coming to Arch, I had used Xubuntu 7.04 and managed to compile the last known working drivers, version 87.76, following the instructions here: http://kmandla.wordpress.com/2007/03/25 … 20-12-386/
    That all went well but now I'm using Arch. I tried using the nvidia-96.xx driver in the repos just for testing sake but I still got the same graphical corruption.
    Thus I have been trying to install the 87.76 drivers on Arch, but it always fails at the kernel module building stage. I had first applied this patch here, http://www.nvnews.net/vbulletin/showthr … ost1086669, before compling as the plain driver wont compile against recent kernels.
    Here is the output from the installer:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sun Aug 5 11:57:53 2007
    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.22-ARCH/build'
    -> Kernel output path: '/lib/modules/2.6.22-ARCH/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
    -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -f stprof stprof.o symtab.h
    rm -f -rf .tmp_versions
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.22-ARCH/bui
    ld SYSOUT=/lib/modules/2.6.22-ARCH/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/build SUBDIRS=/home
    /kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    nv modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    echo; \
    /bin/false)
    make[2]: *** No rule to make target `GLX'. Stop.
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [mdl] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    Any ideas as to how I can get the kernel module to build?
    I am using 'kernel26 2.6.22.1-4' with the 'kernel-headers 2.6.22.1-1' from the testing repo.
    Last edited by Nameless One (2007-08-10 07:08:38)

    make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/buildSUBDIRS=/home/kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    The name of the directory you placed the driver in contains spaces. That is  why you get the no rule to make target GLX error.
    It would be better not to circumvent pacman. I am using the following PKGBUILDs for the 8776 driver:
    nvidia-8776:
    pkgname=nvidia-8776
    pkgver=1.0.8776
    _nver=1.0-8776
    _kernver='2.6.22-ARCH'
    pkgrel=1
    pkgdesc="NVIDIA drivers for Arch kernel."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(kernel26 nvidia-8776-utils)
    conflicts=('nvidia' 'nvidia-96xx' 'nvidia-71xx' 'nvidia-legacy')
    install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run NVIDIA_kernel-1.0-8776-20061203.diff.txt)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9' '70e669f06ee4881c2583261672de292a')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b' '70e669f06ee4881c2583261672de292a')
    build()
    # Extract
    cd $startdir/src/
    sh NVIDIA-Linux-$ARCH-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-$ARCH-${_nver}-pkg0
    # Any extra patches are applied in here...
    patch -p0 < $startdir/NVIDIA_kernel-1.0-8776-20061203.diff.txt ||return 1
    cd usr/src/nv/
    ln -s Makefile.kbuild Makefile
    make SYSSRC=/lib/modules/$_kernver/build module || return 1
    # install kernel module
    mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
    Place the patch (NVIDIA_kernel-1.0-8776-20061203.diff.txt) and nvidia.install in the same directory as the PKGBUILD.
    nvidia-utils:
    pkgname=nvidia-8776-utils
    pkgver=1.0.8776
    _nver=1.0-8776
    pkgrel=1
    pkgdesc="NVIDIA drivers utilities and libraries."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(xorg-server)
    conflicts=('libgl' 'libgl-dri' 'ati-fglrx-utils' 'nvidia-legacy-utils' 'nvidia-71xx-utils' 'nvidia-96xx-utils')
    provides=('libgl' )
    #install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b')
    build()
    # override nvida install routine and do it the long way.
    cd $startdir/src/
    sh NVIDIA-Linux-${ARCH}-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-${ARCH}-${_nver}-pkg0/usr/
    mkdir -p $startdir/pkg/usr/{lib,bin,share/applications,share/pixmaps,man/man1}
    mkdir -p $startdir/pkg/usr/lib/xorg/modules/{extensions,drivers}
    mkdir -p $startdir/pkg/usr/share/licenses/nvidia/
    install `find lib/ -iname \*.so\*` $startdir/pkg/usr/lib/
    install lib/tls/* $startdir/pkg/usr/lib
    install share/man/man1/* $startdir/pkg/usr/man/man1/
    rm $startdir/pkg/usr/man/man1/nvidia-installer.1.gz
    install X11R6/lib/libXv* $startdir/pkg/usr/lib/
    install share/applications/nvidia-settings.desktop $startdir/pkg/usr/share/applications/
    # fix nvidia .desktop file
    sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $startdir/pkg/usr/share/applications/nvidia-settings.desktop
    install share/pixmaps/nvidia-settings.png $startdir/pkg/usr/share/pixmaps/
    install X11R6/lib/modules/drivers/nvidia_drv.so $startdir/pkg/usr/lib/xorg/modules/drivers
    install X11R6/lib/modules/extensions/libglx.so.$pkgver $startdir/pkg/usr/lib/xorg/modules/extensions
    install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $startdir/pkg/usr/bin/
    cd $startdir/pkg/usr/lib/;
    ln -s /usr/lib/libGL.so.$pkgver libGL.so
    ln -s /usr/lib/libGL.so.$pkgver libGL.so.1
    ln -s /usr/lib/libGLcore.so.$pkgver libGLcore.so.1
    ln -s /usr/lib/libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1
    ln -s /usr/lib/libnvidia-tls.so.$pkgver libnvidia-tls.so.1
    cd $startdir/pkg/usr/lib/xorg/modules/extensions;
    ln -s /usr/lib/xorg/modules/extensions/libglx.so.$pkgver libglx.so
    install $startdir/src/NVIDIA-Linux-${ARCH}-${_nver}-pkg0/LICENSE $startdir/pkg/usr/share/licenses/nvidia/
    find $startdir/pkg/usr -type d -exec chmod 755 {} \;
    # phew :)
    Last edited by kappa (2007-08-09 11:14:42)

  • [SOLVED] vala-git build fails -- autoconf problems?

    My system is up to date as of today and I have the regular extra/vala 0.16.0-1 installed. When building aur/vala-git with yaourt I get this:
    ==> Starting build...
    Cloning into '/tmp/yaourt-tmp-herman/aur-vala-git/src/vala-build'...
    done.
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal -I m4
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf
    configure.ac:25: error: possibly undefined macro: AC_DISABLE_STATIC
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure.ac:26: error: possibly undefined macro: AC_PROG_LIBTOOL
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build vala-git.
    ==> Restart building vala-git ? [y/N]
    ==> ---------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    vala-git
    The reason I want to install it is that cario-compmgr is also failing to build. Do I need to tweak some PKGBUILD settings or the .install here? These files seems fine. Appreciate your time.
    Solution: install the WHOLE base-devel package
    Last edited by hesse (2012-06-16 22:32:42)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [solved] glib-git build fails with gdbus-codegen/python error

    Has anyone succeeded to install glib-git lately? For me, the build fails with the following error:
    Making all in tests
    make[4]: Entering directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    GEN gdbus-test-codegen-generated.c
    Traceback (most recent call last):
    File "../../gio/gdbus-codegen/codegen_main.py", line 200, in <module>
    codegen_main()
    File "../../gio/gdbus-codegen/codegen_main.py", line 171, in codegen_main
    parsed_ifaces = parser.parse_dbus_xml(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 289, in parse_dbus_xml
    parser = DBusXMLParser(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 57, in __init__
    self._parser.Parse(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 155, in handle_start_element
    if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']:
    AttributeError: 'dict' object has no attribute 'has_key'
    make[4]: *** [gdbus-test-codegen-generated.c] Error 1
    make[4]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    It is not the PKGBUILD's fault, apparently, as the same error occurs when I autogen-configure-make manually. So is there something wrong with my system, the python setup maybe? (I tried manually replacing "python" by "python2.7" in the Makefile – no success.) Or is it an upstream bug, maybe related to this bug? Is there anything I can do?
    Sorry if the answer is obvious, but I really do not feel like I understand this python stuff properly. Also, sorry for duplicating my AUR comments – it was only today that I figured I might get more response in the forum.
    Last edited by Franek (2011-08-23 13:33:23)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [SOLVED] How to patch package build (uzbl-git)

    Hello,
    I am experiencing a similar issue while building uzbl-git as reported here in the last few posts https://aur.archlinux.org/packages.php? … 2&detail=1
    When running "makepkg -s", I receive the following error:
    creating /usr/lib/python3.2/site-packages/uzbl
    error: could not create '/usr/lib/python3.2/site-packages/uzbl': Permission denied
    make: *** [install-event-manager] Error 1
    A user on the page posted a patch for this issue:
    PKGBUILD diff:
    ======
    14,15c14,15
    < source=()
    < md5sums=()
    > source=('Makefile.patch')
    > md5sums=('1fb21dc7128e11d9a91351702c5fee53')
    45a46,48
    >
    > # fix python site-packages installation
    > patch -p0 < "$srcdir/Makefile.patch"
    =====
    Makefile.patch:
    =====
    --- Makefile 2012-06-26 15:00:00.017779376 +0000
    +++ Makefile.fixed 2012-06-26 14:54:24.969594488 +0000
    @@ -12,6 +12,7 @@
    PYTHON=python3
    PYTHONV=$(shell $(PYTHON) --version | sed -n /[0-9].[0-9]/p)
    COVERAGE=$(shell which coverage)
    +PYINSTALL_EXTRA=--prefix="${DESTDIR}${PREFIX}"
    # --- configuration ends here ---
    =====
    Could someone enlighten me on how this patch should be applied? I have looked over the patching page on the arch wiki, but am still not sure. Should those lines be added at lines 14,15 and 45,46,48 in the PKGBUILD, respectively, and should I then create the file makefile.patch in the same directory with the second part of the code? It is unclear to me as both source=() and md5sums=() are not anywhere in the PKGBUILD, so I can't remove these lines as the patch suggests if I am reading it correctly (I have no coding experience).
    Someone posted an alternative patch, I am note sure if this is any easier to apply (https://github.com/keis/uzbl/commit/d4c … 6874dda0ea)
    Thank you in advance.
    Last edited by OLSHoya (2012-09-11 19:51:24)

    PKGBUILD
    # Maintainer: Mark Foxwell <[email protected]>
    # Contributor: Dieter Plaetinck <[email protected]>
    # Contributer: Brendan Taylor <[email protected]>
    # Contributer: L42y <[email protected]>
    pkgname=uzbl-git
    pkgver=20120212
    pkgrel=1
    pkgdesc="All uzbl web interface tools: latest from the git master branch"
    arch=('i686' 'x86_64')
    url="http://github.com/Dieterbe/uzbl/"
    license=('GPL3')
    depends=('libwebkit3' 'socat' 'zenity' 'xclip' 'dmenu' 'python2' 'pygtk')
    makedepends=('git' 'pkgconfig' 'libwebkit>=1.2.0')
    source=('Makefile.patch')
    md5sums=('1fb21dc7128e11d9a91351702c5fee53')
    provides=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed')
    conflicts=('uzbl-core' 'uzbl-browser' 'uzbl-tabbed' 'uzbl-experimental-git')
    _gitroot="git://github.com/Dieterbe/uzbl.git"
    _gitname="uzbl"
    build() {
    cd "$srcdir"
    msg "Connecting to GIT server...."
    if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot $_gitname
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    rm -rf "$srcdir/$_gitname-build"
    git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
    cd "$srcdir/$_gitname-build"
    patch -p0 < "$srcdir/Makefile.patch"
    for file in bin/*; do
    sed -i 's_#!/usr/bin/env python$_#!/usr/bin/env python2_' $file
    done
    sed -i -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
    -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
    $(find ./ -name '*.py')
    make
    package(){
    cd "$srcdir/$_gitname-build"
    make DESTDIR="$pkgdir" PREFIX=/usr install
    Makefile.patch
    --- Makefile 2012-06-26 15:00:00.017779376 +0000
    +++ Makefile.fixed 2012-06-26 14:54:24.969594488 +0000
    @@ -12,6 +12,7 @@
    PYTHON=python3
    PYTHONV=$(shell $(PYTHON) --version | sed -n /[0-9].[0-9]/p)
    COVERAGE=$(shell which coverage)
    +PYINSTALL_EXTRA=--prefix="${DESTDIR}${PREFIX}"
    Save them both in the same folder and run makepkg. After you save Makefile.patch run "md5sum Makefile.patch" and update the md5sums array in the PKGBUILD if you need to.

  • Trouble building kernel module for sensor support

    Hi, I'm new here but have been using Arch for a while.  Recently, I decided to install Arch on an old laptop (Toshiba A70) and have managed to work out most of the kinks to where it runs nicely.  Unfortunately, ACPI support is spotty and the /sys/class/thermal directory gives me only cooling_device0.  I installed the lm-sensors package and ran sensors-detect, which yielded no results.  Although the laptop runs smoothly otherwise, I would like to know the CPU's temp so that I would be able to set up a fan control scheme and CPU scaling (so far it's stuck at the lowest frequency, and that's kind of a big deal for me since the laptop runs on an archaic mobile P4 chip).
    Sorry for the story but I felt some context was necessary.  I did manage to find a kernel module that would connect those sensors to ACPI for me (http://sourceforge.net/projects/omnibook/), however I'm having trouble building it on the latest kernel.  Here is the output from running make:
    make -C /lib/modules/3.16.1-1-ARCH/build SUBDIRS=/root/omnibook-2.20070211 modules
    make[1]: Entering directory '/usr/lib/modules/3.16.1-1-ARCH/build'
    CC [M] /root/omnibook-2.20070211/init.o
    In file included from /root/omnibook-2.20070211/init.c:26:0:
    /root/omnibook-2.20070211/laptop.h:25:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    /root/omnibook-2.20070211/laptop.h:25:3: warning: (near initialization for ‘omnibook_ids[0].callback’)
    /root/omnibook-2.20070211/laptop.h:34:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    /root/omnibook-2.20070211/laptop.h:34:3: warning: (near initialization for ‘omnibook_ids[1].callback’)
    /root/omnibook-2.20070211/laptop.h:43:3: warning: initialization from incompatible pointer type
    .callback = dmi_matched,
    ^
    // I left out most of the 'incompatible pointer type' warnings since they repeat for a while.
    ^
    /root/omnibook-2.20070211/laptop.h:1001:3: warning: (near initialization for ‘omnibook_ids[108].callback’)
    /root/omnibook-2.20070211/init.c: In function ‘dmi_matched’:
    /root/omnibook-2.20070211/init.c:141:16: warning: assignment discards ‘const’ qualifier from pointer target type
    laptop_model = dmi_get_system_info(DMI_PRODUCT_VERSION);
    ^
    /root/omnibook-2.20070211/init.c: In function ‘omnibook_init’:
    /root/omnibook-2.20070211/init.c:281:3: error: implicit declaration of function ‘create_proc_entry’ [-Werror=implicit-function-declaration]
    proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
    ^
    /root/omnibook-2.20070211/init.c:281:14: warning: assignment makes pointer from integer without a cast
    proc_entry = create_proc_entry(feature->name, pmode, omnibook_proc_root);
    ^
    /root/omnibook-2.20070211/init.c:290:13: error: dereferencing pointer to incomplete type
    proc_entry->data = feature;
    ^
    /root/omnibook-2.20070211/init.c:291:13: error: dereferencing pointer to incomplete type
    proc_entry->read_proc = &procfile_read_dispatch;
    ^
    /root/omnibook-2.20070211/init.c:293:14: error: dereferencing pointer to incomplete type
    proc_entry->write_proc = &procfile_write_dispatch;
    ^
    /root/omnibook-2.20070211/init.c:294:13: error: dereferencing pointer to incomplete type
    proc_entry->owner = THIS_MODULE;
    ^
    cc1: some warnings being treated as errors
    scripts/Makefile.build:257: recipe for target '/root/omnibook-2.20070211/init.o' failed
    make[2]: *** [/root/omnibook-2.20070211/init.o] Error 1
    Makefile:1333: recipe for target '_module_/root/omnibook-2.20070211' failed
    make[1]: *** [_module_/root/omnibook-2.20070211] Error 2
    make[1]: Leaving directory '/usr/lib/modules/3.16.1-1-ARCH/build'
    Makefile:88: recipe for target 'omnibook.ko' failed
    make: *** [omnibook.ko] Error 2
    I have honestly no idea what to make of any of this and would really appreciate any help towards a solution.  Thanks for reading

    Welcome to Arch Linux
    That looks like it is a 2.6 kernel module
    http://sourceforge.net/p/omnibook/bugs/58/
    Did you try either of these AUR offerings?
    ewaller$@$odin ~ 1001 %packer -Ss omnibook
    aur/omnibook-git 20110911-9 (7)
    Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
    aur/omnibook-svn-zen 268-1 (1)
    Kernel module for HP OmniBook, Pavilion, Toshiba and Compal ACL00 laptops
    ewaller$@$odin ~ 1002 %
    Last edited by ewaller (2014-08-23 23:33:53)

  • [SOLVED] sbcl-git PKGBUILD

    I'm trying to write a sbcl-git PKGBUILD so people can circumvent some sbcl bugs and install stumpwm-git, here's my attempt thus far which fails miserably.
    Edit: solved, big thanks to acieroid who provided the pkgbuild:
    http://aur.archlinux.org/packages.php?ID=45922
    Last edited by drot (2011-01-30 20:39:05)

    It currently looks like this:
    # Maintainer: Gerardo Marset <[email protected]>
    pkgname=lci-git
    pkgver=20110413
    pkgrel=1
    pkgdesc="A simple and fast 1.2 lolcode interpreter written in C."
    arch=('i686' 'x86_64')
    url="http://icanhaslolcode.org/"
    license=('GPL3')
    makedepends=('git')
    provides=('lci')
    conflicts=('lci')
    _gitroot="https://github.com/justinmeza/lci.git"
    _gitname="lci"
    build() {
    cd "$srcdir"
    msg "Connecting to GIT server...."
    if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot $_gitname
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    rm -rf "$srcdir/$_gitname-build"
    git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
    cd "$srcdir/$_gitname-build"
    make
    make check
    install -Dm755 lci ${pkgdir}/usr/bin/lci

  • [Solved]Wicked-git

    When trying to compile wicked-git, I get this output:
    yaourt -S wicked-git
    ==> Resuming previous build
    ==> Downloading wicked-git PKGBUILD from AUR...
    tar: Record size = 7 blocks
    First Submitted: Thu, 29 May 2008 12:23:16 +0000
    wicked-git 20090112-1 (Unsupported): Wicked widgets for the development version of the awesome window manager
    ==> Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> wicked-git dependencies:
    - awesome (already installed)
    - git (already installed)
    ==> Continue the building of wicked-git ? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building and installing package
    mkdir: cannot create directory `/var/abs/local/yaourtbuild': Permission denied
    ==> WARNING: Unable to write in /var/abs/local/yaourtbuild/wicked-git directory. Using /tmp directory
    ==> Determining latest git revision...
    -> Version found: 20090217
    ==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:39:34 PST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with md5sums...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Connecting to git server....
    Initialized empty Git repository in /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/.git/
    fatal: The remote end hung up unexpectedly
    ==> GIT checkout done or server timeout
    luac: cannot open /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua: No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua': No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.luac': No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.7.gz': No such file or directory
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build wicked-git package.
    It seems that it cannot connect to the git page, but I can get to the page fine.
    Last edited by Reasons (2009-02-18 04:33:27)

    No change.
    [reasons // ~/Desktop/wicked] yaourt -G wicked-git
    --2009-02-17 19:59:48-- http://aur.archlinux.org/packages/wicked-git/wicked-git.tar.
    gz
    Resolving aur.archlinux.org... 66.211.213.17
    Connecting to aur.archlinux.org|66.211.213.17|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 646 [application/x-gzip]
    Saving to: `wicked-git.tar.gz'
    100%[===========================================>] 646 --.-K/s in 0s
    2009-02-17 19:59:48 (95.4 MB/s) - `wicked-git.tar.gz' saved [646/646]
    [reasons // ~/Desktop/wicked] makepkg
    ==> Determining latest git revision...
    -> Version found: 20090217
    ==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:59:50 PST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with md5sums...
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Connecting to git server....
    Initialized empty Git repository in /home/shawn/Desktop/wicked/src/wicked/.git/
    fatal: The remote end hung up unexpectedly
    ==> GIT checkout done or server timeout
    luac: cannot open /home/shawn/Desktop/wicked/src/wicked/wicked.lua: No such file or d
    irectory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.lua': No such file
    or directory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.luac': No such fil
    e or directory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.7.gz': No such fil
    e or directory
    ==> ERROR: Build Failed.
    Aborting...
    [reasons // ~/Desktop/wicked]

  • [SOLVED]mplayer2-git fails compiling

    Hey guys,
    since some time i failed to update my mplayer2 cause the compile failes. Currently i have installed `harfbuzz 20110919-1` and `libass-git 20110918-1`, but mplayer2 uses its own libass. When compiling withut any changes, it hangs on ass_shaper.c:580, cause the harfbuzz function hb_language_from_string takes not 2 parameters, not one. I fixed this by changing 'hb_language_from_string(code);' to 'hb_language_from_string(code, strlen(code));'. But now it fails with some linking stuff, here the output:
    CC stream/audio_in.o
    CC sub/unrar_exec.o
    CC stream/stream_vcd.o
    CC libmpcodecs/ad_libvorbis.o
    CC libmpdemux/demux_ogg.o
    CC libmpcodecs/vd_xanim.o
    CC libmpcodecs/vd_xvid4.o
    CC mplayer
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `shape_harfbuzz':
    ass_shaper.c:(.text+0x221): undefined reference to `hb_buffer_create'
    ass_shaper.c:(.text+0x2ab): undefined reference to `hb_font_set_scale'
    ass_shaper.c:(.text+0x2cc): undefined reference to `hb_font_set_ppem'
    ass_shaper.c:(.text+0x369): undefined reference to `hb_buffer_pre_allocate'
    ass_shaper.c:(.text+0x381): undefined reference to `hb_buffer_set_direction'
    ass_shaper.c:(.text+0x38e): undefined reference to `hb_buffer_set_language'
    ass_shaper.c:(.text+0x3ad): undefined reference to `hb_buffer_add_utf32'
    ass_shaper.c:(.text+0x3c7): undefined reference to `hb_shape'
    ass_shaper.c:(.text+0x45c): undefined reference to `hb_buffer_get_length'
    ass_shaper.c:(.text+0x468): undefined reference to `hb_buffer_get_glyph_infos'
    ass_shaper.c:(.text+0x475): undefined reference to `hb_buffer_get_glyph_positions'
    ass_shaper.c:(.text+0x5f8): undefined reference to `hb_buffer_destroy'
    ass_shaper.c:(.text+0x63d): undefined reference to `hb_ft_font_create'
    ass_shaper.c:(.text+0x6a4): undefined reference to `hb_font_funcs_create'
    ass_shaper.c:(.text+0x6d6): undefined reference to `hb_font_funcs_set_glyph_func'
    ass_shaper.c:(.text+0x6ec): undefined reference to `hb_font_funcs_set_glyph_h_advance_func'
    ass_shaper.c:(.text+0x702): undefined reference to `hb_font_funcs_set_glyph_v_advance_func'
    ass_shaper.c:(.text+0x718): undefined reference to `hb_font_funcs_set_glyph_h_origin_func'
    ass_shaper.c:(.text+0x72e): undefined reference to `hb_font_funcs_set_glyph_v_origin_func'
    ass_shaper.c:(.text+0x744): undefined reference to `hb_font_funcs_set_glyph_h_kerning_func'
    ass_shaper.c:(.text+0x75a): undefined reference to `hb_font_funcs_set_glyph_v_kerning_func'
    ass_shaper.c:(.text+0x770): undefined reference to `hb_font_funcs_set_glyph_extents_func'
    ass_shaper.c:(.text+0x786): undefined reference to `hb_font_funcs_set_glyph_contour_point_func'
    ass_shaper.c:(.text+0x7a9): undefined reference to `hb_font_set_funcs'
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_info':
    ass_shaper.c:(.text+0x895): undefined reference to `hb_version_string'
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_font_data_free':
    ass_shaper.c:(.text+0x936): undefined reference to `hb_font_destroy'
    ass_shaper.c:(.text+0x93f): undefined reference to `hb_font_funcs_destroy'
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_set_language':
    ass_shaper.c:(.text+0xc62): undefined reference to `hb_language_from_string'
    collect2: ld returned 1 exit status
    make[1]: *** [mplayer] Fehler 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/mplayer'
    make: *** [mplayer] Fehler 2
    ==> FEHLER: Ein Fehler geschah in build().
    Breche ab ...
    ==> ERROR: Makepkg was unable to build mplayer2-git.
    ==> Restart building mplayer2-git ? [y/N]
    ==> -------------------------------------
    ==>
    i tried to include the hb.h from my include-directory inside the ass-shaper.c, but it neither work as to copy the harfbuzz-dir from /usr/include to the include-dir in the mplayer2-build-dir. Obviously mplayer2 uses another source than libass-git, cause it compiles without any problems. Anyone can give me some advise how to fix this thing?
    Greetz Corubba
    Last edited by Corubba (2011-09-22 16:19:21)

    It seems newer libass-git depends on a newer harfbuzz than the libass in mplayer2 can work with. What's more, the libass in mplayer2 doesn't need harfbuzz to function, but the git version does (from what my gentoo system dependencies tell me). I just came across, and fixed (got around) the problem by downgrading libass to a version that doesn't pull in harfbuzz (this was on gentoo). Then the mplayer2 libass never picked up harfbuzz and disabled its functionality.
    A better solution would be to pass --disable-harfbuzz to the libass configure script in mplayer2, then you will not get the compile error. Edit the file script/libass-config, here is a diff.
    --- a/libass-config 2011-09-22 22:26:29.341675565 +0930
    +++ b/libass-config 2011-09-22 22:26:47.086315777 +0930
    @@ -3,8 +3,8 @@
    mydir="$(pwd)"
    if test -f "wrapper_export_version" ; then
    cd "$mydir"/libass
    - ./configure --prefix="$mydir/build_libs" --enable-static --disable-shared
    + ./configure --prefix="$mydir/build_libs" --enable-static --disable-shared --disable-harfbuzz
    else
    cd "$mydir"/libass
    - ./autogen.sh --prefix="$mydir/build_libs" --enable-static --disable-shared
    + ./autogen.sh --prefix="$mydir/build_libs" --enable-static --disable-shared --disable-harfbuzz
    fi
    Hopefully that all works for you. I should report this to the mplayer2 bug tracker (or libass, as it must not do version checking correctly).

Maybe you are looking for

  • Why does running an applet within a portlet not work?

    Hello, I have an applet and I want to run this in a portlet. I tried to load this applet into a portlet with SunONE Studio and Portlet Builder, and it works. The applet is running without problems. Now I tried to run this applet in a portlet under We

  • Thread related to real estate .. hope it can b answered

    guys, excuse me but i couldn't find forums for real estate .. so , am gonna post a thread here and i hope it can be answered. when i'm creating a contract (term tab) there r 2 fields i dunno why would they differ from each others . therse 2 fields ar

  • BPC User Management Tools in different versions

    Hi all, I am comparing the different versions of BPC from 5.1 to 10.0 and I have the following questions about user management tools: 1) How does "User Management Server" work? What's the difference when it is compared with "Active Directory" and "BP

  • 900 photos on iPhone, 2000 photos read by iTunes. How to set this right so it wouldn't eat up my storage?

    I have 900 photos on my iPhone currently, but iTunes reads it as 2000 photos eventhough I've already transferred and deleted my previous photos (w/c did amount to 2k before). It's eating up 4.91 GB of my storage, and I don't know how to set it right.

  • Reminders (Mac) Search not working!

    Hi, If I search for reminders on my Mac, nothing can be found. Even reminders that are obviously there, cannot be found. It desplays 0 results. Searching for reminders on my iPhone or directly in iCloud are fine--reminders are found and displayed. Bu