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

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

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

Similar Messages

  • [SOLVED] xorg-server build from abs fails

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

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

  • Building pidgin with meanwhile support from ABS failing

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

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

  • [Solved]How to remove files from a failed install.

    I attempted to install the caffeine package from the AUR using packer. After confirming y to proceed with installation pacman had to pull in quite a few more dependencies than I was expecting. The installation ended up failing because I have package signing set to required. This is all well and good because I don't really think caffeine is worth all the extra dependencies. However, on to my question, I see that these packages (the dependencies) have been downloaded to my system and are in the /var/cache/pacman/pkg directory, is there an easy way to tell pacman to remove just these packages other than going through and removing them one by one? Thanks for the help.
    Last edited by Lexworth (2012-01-21 19:19:43)

    Thanks to you all. I did read pacman manpage as well as the wiki entries for pacman and pacman Tips. I was just wondering if maybe someone more proficient with the command line knew a easier way to remove the files. I know I could use pacman -Sc or pacman -Scc for clean the entire cache but was hesitant to do so because of the warnings. I think I understand that sudo pacman -R $(pacman -Qtdq) will remove orphan packages however I get an error that no targets are specified. I believe this may be due to the fact that these packages were not installed, just the binaries downloaded. Thanks again for the help. I'll mark this as solved.

  • [Solved] Sauerbraten won't compile from ABS

    I'm having some problems trying to compile Sauerbraten from the ABS.
    I edited the PKGBUILD to match the new version and removed the md5sums.:
    [kevin@banaan sauerbraten]$ cat PKGBUILD
    # $Id: PKGBUILD,v 1.10 2008/08/03 02:09:27 Snowman Exp $
    # Contributor: Jaroslaw Swierczynski <[email protected]>
    # Contributor: Roman Kyrylych <[email protected]>
    # Contributor: Christoph Siegenthaler <[email protected]>
    pkgname=sauerbraten
    pkgver=2009_05_04_trooper_edition
    pkgrel=1
    pkgdesc="Sauerbraten is an improved version of the Cube engine"
    arch=('i686' 'x86_64')
    url="http://www.sauerbraten.org/"
    license=('ZLIB')
    depends=('sdl_mixer' 'sdl_image' 'libgl' 'mesa' \
    'hicolor-icon-theme' 'desktop-file-utils')
    install=sauerbraten.install
    source=(http://downloads.sourceforge.net/$pkgname/${pkgname}_${pkgver}_linux.tar
    .bz2
    http://downloads.sourceforge.net/$pkgname/patch_2008_06_20_linux.tar.bz2
    sauerbraten-client
    sauerbraten-server
    sauerbraten.confd
    sauerbraten.desktop
    sauerbraten.png
    license.txt)
    md5sums=()
    build() {
    cd $startdir/src/$pkgname/src
    make || return 1
    make DESTDIR=$startdir/pkg install
    cd $startdir/src/sauerbraten
    install -D bin_unix/native_client $startdir/pkg/opt/sauerbraten/bin/linux_clie
    nt
    install -D bin_unix/native_server $startdir/pkg/opt/sauerbraten/bin/linux_serv
    er
    cp -r data $startdir/pkg/opt/sauerbraten
    cp -r packages $startdir/pkg/opt/sauerbraten
    find $startdir/pkg -type d -name CVS -exec rm -rf '{}' \; 2> /dev/null
    install -Dm755 $startdir/src/sauerbraten-client $startdir/pkg/usr/bin/sauerbra
    ten-client
    install -Dm755 $startdir/src/sauerbraten-server $startdir/pkg/usr/bin/sauerbra
    ten-server
    install -Dm644 $startdir/src/sauerbraten.confd $startdir/pkg/etc/conf.d/sauerb
    raten
    install -Dm644 $startdir/src/sauerbraten.desktop $startdir/pkg/usr/share/appli
    cations/sauerbraten.desktop
    install -Dm644 $startdir/src/sauerbraten.png $startdir/pkg/usr/share/icons/hic
    olor/128x128/apps/sauerbraten.png
    install -Dm644 $startdir/src/license.txt $startdir/pkg/usr/share/licenses/saue
    rbraten/license.txt
    When trying to compile, this happens:
    ==> Starting build()...
    make -C enet/ all
    make[1]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    Making all in include
    make[2]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    /include'
    Making all in enet
    make[3]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    /include/enet'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet/
    include/enet'
    make[3]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    /include'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet/
    include'
    make[2]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet/
    include'
    make[2]: Entering directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet'
    make[1]: Leaving directory `/var/abs/local/sauerbraten/src/sauerbraten/src/enet'
    g++ -O3 -fomit-frame-pointer -Wall -fsigned-char -Ishared -Iengine -Ifpsgame -Ie
    net/include -I/usr/X11R6/include `sdl-config --cflags` -c -o engine/3dgui.o en
    gine/3dgui.cpp
    engine/3dgui.cpp:6:17: error: pch.h: No such file or directory
    engine/3dgui.cpp: In member function 'virtual void gui::tab(const char*, int)':
    engine/3dgui.cpp:110: error: 's_sprintf' was not declared in this scope
    engine/3dgui.cpp: In member function 'virtual void gui::slider(int&, int, int, i
    nt, char*)':
    engine/3dgui.cpp:262: error: 's_sprintf' was not declared in this scope
    engine/3dgui.cpp: In member function 'int gui::button_(const char*, int, const c
    har*, bool, bool)':
    engine/3dgui.cpp:552: error: 'tname' was not declared in this scope
    engine/3dgui.cpp:552: error: 's_sprintfd' was not declared in this scope
    engine/3dgui.cpp: In member function 'virtual void gui::end()':
    engine/3dgui.cpp:730: error: 'INTERSECT_MIDDLE' was not declared in this scope
    engine/3dgui.cpp:739: error: 'intersect_plane_line' was not declared in this sco
    pe
    engine/3dgui.cpp: In function 'void g3d_render()':
    engine/3dgui.cpp:963: error: 'cl' was not declared in this scope
    In file included from shared/cube.h:62:
    shared/tools.h: In member function 'T& vector<T>::add() [with T = gui]':
    engine/3dgui.cpp:923: instantiated from here
    shared/tools.h:290: error: cannot allocate an object of abstract type 'gui'
    engine/3dgui.cpp:34: note: because the following virtual functions are pure wi
    thin 'gui':
    shared/iengine.h:380: note: virtual int g3d_gui::texture(Texture*, float, in
    t, int, int, Texture*, const vec&, Texture*)
    shared/iengine.h:386: note: virtual char* g3d_gui::keyfield(const char*, int
    , int, int, const char*, int)
    shared/iengine.h:388: note: virtual void g3d_gui::textbox(const char*, int,
    int, int)
    make: *** [engine/3dgui.o] Error 1
    ==> ERROR: Build Failed.
    Aborting...
    I have no clue of how to fix this, any experts around?
    Thanks in advance!
    Last edited by kevin89 (2009-05-13 08:38:33)

    Have you tried removing patch_2008_06_20_linux.tar.bz2 from the sources array? Builds fine for me.

  • [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/ ?

  • Trouble compiling games from ABS and AUR (solved)

    Hi I hope someone can help me. Ive downloaded the tar.gz for drascula from ABS unzipped it and when I try to run makepkg -s I get the error that scummvm 0.12 not found in sync db. I installed the scummvm from ABS manually same error. I then saw it was version 0.11.1 so I uninstalled it and downloaded the correct version from sourceforge. I installed it with ./configure --prefix=/usr/local then make then install. It installed sucessfully as it runs fine but I still recieve the same error when running makepkg -s. What am I doing wrong?
    Last edited by itsgregman (2008-09-24 16:12:04)

    Welcome to the forums.
    Since you installed it manually, pacman doesn't know it's there. The best way to this would have been to edit the scummvm PKGBUILD then install it with pacman. Usually you just need to change the pkgver line to the new version and comment out the md5sums line.
    It's always best to use packages in Arch. You'll forever be running into problems like this if you don't.

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

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

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

  • [SOLVED] Question about package updates and ABS

    Hello,
    I have manually compile my kernel in order to apply a patch my laptop needs to suspend. So I use abs and customize the pkgbuild. A few days ago when the update for kernel26-2.6.33.3-2 came out, I thought I'd just refresh abs, rebuild, and then I'd be up to date. But instead now pacman -Syu tells me that there is still an update for the kernel.
    Does building from ABS not get you the latest package update?
    Also, what exactly is the package update compared to a software update? I'm guessing that it is an arch only update to the package but the software itself is the same version. Or am I totally off?
    Thanks for the help!
    Last edited by Fingel (2010-05-12 03:42:38)

    When building via ABS, the package installed gets its version from the PKGBUILD ($pkgver-$pkgrel).  Pacman just looks at available version vs installed version to tell if you should upgrade.
    Your abs tree was probably just not up to date; just because pacman -Syu says your mirror has a package, doesn't mean building via abs _at that moment_ will get that version.
    Be sure to run `abs` to update your tree, then when you're editing the PKGBUILD, check which version it's building.  In some cases, you can simply increment those numbers right in the PKGBUILD before building as source files are often fetched based on those variables, etc. -- but I don't know if I'd recommend that when building something like the kernel.
    Last edited by brisbin33 (2010-05-11 17:08:12)

  • Lilypond from ABS doesn't compile: Py_InitModule

    Hi there,
    I'm trying to build lilypond from source, but it fails with this output:
    /home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts/build/out/help2man out/musicxml2ly > out/musicxml2ly.1
    langdefs.py: warning: lilypond-doc gettext domain not found.
    /home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts/build/out/help2man out/lilysong > out/lilysong.1
    Traceback (most recent call last):
    File "out/midi2ly", line 54, in <module>
    import midi
    ImportError: /home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/python/out/midi.so: undefined symbol: Py_InitModule
    /home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts/build/out/help2man out/lilymidi > out/lilymidi.1
    help2man: can't get `--help' info from out/midi2ly
    make[1]: *** [out/midi2ly.1] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory `/home/rekado/dev/abs/lilypond/src/lilypond-2.14.2/scripts'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    I see that Py_InitModule is obsolete in python3, but it should be defined in python2.7, which is what is used to run the ./configure script. I even redirected the symlink /usr/bin/python to /usr/bin/python2, but without success.
    Do you know how to fix this?

    rekado wrote:.....
    Do you know how to fix this?
    Yes. Add "--disable-documentation" to the ./configure command in the PKGBUILD. 
    Explanation: Archlinux pkgbuilds often do not control the build options through the configuration section of the PKGBUILD but rely on a controlled chroot build environment and how the source package happens to build in that environment. In this case our systems all have perl installed so compiling in the "open" system allows the lilypond build scripts to try to build the documentation. The Arch dev who packaged lilypond compiled it in a special environment in which perl was not present (because it is not listed in the makedepends); without perl the lilypond build scripts skipped the documentation.
    In my opinion the best practice is to make the enable/disable of options explicit in the PKGBUILD so that we can see what is being built or excluded by reading it, and so that we can actually compile packages from ABS using makepkg.
    By the way, you'll also find that some Archlinux packages will not build if /usr/bin/python points to python3. The devs may be building those packages in a chroot in which python points to python2 (as it should). I build everything on my Arch system from source code and find it best to remove /usr/bin/python -- anything trying to run "python" on my system fails and I fix it to access python2 or python3.

  • Data import from EBS failed via FDMEE in fdm . Getting error message as "Error connecting to AIF URL.

    FDM Data import from EBS failed via FDMEE after roll back the 11.1.2.3.500 patch . Getting below error message in ERPI Adapter log.
    *** clsGetFinData.fExecuteDataRule @ 2/18/2015 5:36:17 AM ***
    PeriodKey = 5/31/2013 12:00:00 AM
    PriorPeriodKey = 4/30/2013 12:00:00 AM
    Rule Name = 6001
    Execution Mode = FULLREFRESH
    System.Runtime.InteropServices.COMException (0x80040209): Error connecting to AIF URL.
    at Oracle.Erpi.ErpiFdmCommon.ExecuteRule(String userName, String ssoToken, String ruleName, String executionMode, String priorPeriodKey, String periodKey, String& loadId)
    at fdmERPIfinE1.clsGetFinData.fExecuteDataRule(String strERPIUserID, String strDataRuleName, String strExecutionMode, String strPeriodKey, String strPriorPeriodKey)
    Any help Please?
    Thanks

    Hi
    Getting this error in ErpiIntergrator0.log . ODI session ID were not generated in ODI / FDMEE. If I import from FDMEE its importing data from EBS.
    <[ServletContext@809342788[app:AIF module:aif path:/aif spec-version:2.5 version:11.1.2.0]] Servlet failed with Exception
    java.lang.RuntimeException
    at com.hyperion.aif.servlet.FDMRuleServlet.doPost(FDMRuleServlet.java:76)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

  • Downloads from itunes fail - error code 8003 - what does that mean, or more importantly, how do I get what I paid for?

    Downloads from itunes fail - error code 8003 - what does that mean, or more importantly, how do I get what I paid for?

    Try the troubleshooting for that error code on this page : iTunes: Advanced iTunes Store troubleshooting - Apple Support (search for '8003' on the page, it's just below half-way down)

  • I have like five GB's of ghost data (data the device claims is not there but it is still taking up space) on my I pad 2 from a failed movie download attempt. How do I fix that with out resting my iPad? I have only 1GB left of storage

    I have like five GB's of ghost data (data the device claims is not there but it is still taking up space) on my I pad 2 from a failed movie download attempt. How do I fix that with out resting my iPad? I have only 1GB left of storage
    The movie had gotten to the point that I could watch it all the way through but it still said processing and got stuck at that point and when I turned off the wifi to try to restart it, it deleted its-self but did not free up any of the storage It was taking up
    Restarting my iPad does not help
    Some thing similar also happened to my old laptop when trying to download the iOS 5 update to my laptop when it came out. It kept getting disconnected and every time it would try to start over and act like what had already been downloaded was not there though it was still taking up the storage space.
    And it continued repeating until it took up all of my storage space. The data file would not show up anywhere so I had to restore my laptop to the factory settings and that worked for awhile but I eventually had to get a new laptop.

    Did you try to set it up as new device, as explained in this article?
    How to erase your iOS device and then set it up as a new device or restore it from backups
    If this does not work, use iTunes to set it back to factory settings, which would also install the latest software:
    Use iTunes to restore your iOS device to factory settings - Apple Support

  • Recover an iMovie from a failed external drive?

    Has anyone been able to get an entire iMovie recovered from a failed external Firewire drive? My LaCie just won't power up despite having its light come on, and having other external drives connected through it to my iMac and working fine.
    I was about to do some backing up after finishing some edits on my latest iMovie, located on that drive. The edits were taking a longer time than usual, with spinning beach ball going on and on, so I decided to restart the Mac and see if that would speed things up. A restart resulted in a totally white screen for over 20 minutes, so I powered off with the switch, and powered on again with it a few minutes later. After three tries, including trying to boot from the installation disk, the iMac sprang to life again, and three of my external drives came on as usual, but not the La Cie that has my iPhotoLibraries and the iMovies I am working on. It is not a problem with power cords or the Firewire cables, as I swapped them out with the other drives, and everything works except this drive will not power up. Its light comes on, and the Firewire ports allow the other drive to come on, as this one is the one connected to the iMac, but the drive remains cold and quiet, just sits there with its blue light blinking.
    I just need it to power on long enough to transfer my data to another drive.
    I will settle for drive-recovery if that means I will get all my movies and photos back......anyone ever had to use a drive recovery service for this? If so, how did it work?
    I do have backups for the photos, but not all of them as I don't usually backup every day. The movies will have to be recreated I can do this, it will just take lots of time......
    not happy with this situation....any support/sympathy greatly appreciated!

    Beverly Maneatis wrote:
    .. The drive comes on and its light blinks, but does not progress to the drive powering up and the light becoming a solid nonblinking. ..
    sorry to contradict you, Bev, but the drive itself has no lights.. :
    (pic by wikipedia)
    THIS is your drive with your precious data .. no blinks ...
    ok, I'm a typically 'Tim Taylor/Home Improvement'-guy (incl. friends in hospital...), so maybe a daredevil about screwing things up/open (pun-taaaa). if you open the housing (usually 4 screws on bottom), you would see a power-supply, some small board for the interface electronics, a fan, some small board for some other electronics. and two cables: one with 4 cables (=power), one flat cable with ~20something wires (=data).. the drive is fixed with another four screws.. it is really dead easy, and you can not damage the drive itself, except you wear some angora and plastic sandals, to get some zillion of volts of static electricity into your fingertips ...
    so, if you find a nice PC-guy, ask him to place the drive into another housing (usb or fw.. doesn't matter...).. for a pro, that is a 5min procedure.. I'm pretty sure, it will work! < fingers crossed > < throwing ash over shoulder > < murmering some Hun's incantaion >

  • My hard drive failed. My applications were on the drive including Excel, Word, and Powerpoint. Apple told me I could pull everything from the failed drive. I tried that but the drive is bad so I can't get to anything. Do you think Apple will reinstall?

    My hard drive failed. My applications were on the drive including Excel, Word, and Powerpoint. Apple told me I could pull everything from the failed drive. I tried that but the drive is bad so I can't get to anything. The Office package was installed/included when I purchased the Mac. Does anyone think Apple will provide me with the Office package? Thank you!

    Thank you everyone. I apologize to confusing all but I am up to date and running OS X 10.8.2.  It's possible I purchased the key for Office but I don't think so although it was 3-4 years ago. I guess I will stop in the Apple Store and just ask. I may just buy the new bundle anyway to get the most updated.
    I have read there are issues with the MS Office bundle running on our latest OS, is that true?
    Thank you all!!! You've been great!

Maybe you are looking for

  • Restore firmware on a Macbook Late 2008

    I bought this Macbook a month ago, and After last firmware and leopard update, once I re-started the computer I am unable to boot the OS. When trying to do a normal boot I just get a grey screen with the apple logo and the spinning wheel for around 3

  • Viewing HD

    I recently purchased the Sony HD camera (model #Z1U) and shot some footage in HD. I was able to capture it on my Sony HDV deck(model #M15U) and need to use it in FCP. What should my sequence settings be to view the video in HD and I have a monitor bu

  • How do I get picture control to display PNG images with transparent background?

    I have an image of a robot arm looking from the top with a transparent background and saved as PNG. When I drag the image directly to LabVIEW front panel, the image shows properly with the transparent background, but I want to manipulate it such as r

  • Re: Best Practices for installing/running UCES Application

    I'm facing some technical challenges setting up NWDI 7.4 for UCES 6.05 development. First of all, out of all the required SCs for FSCM_DB, there's one (namely UMEADMIN) that cannot be checked in. I have checked in all the other SCs; the correct UMEAD

  • More space, lower performance?

    Good afternoon, all! I need to increase the memory in four of my UCS C210 M2 servers.  They're currently running VMware 4.1 with 12 4G DIMMS, for a total of 48G memory per server.  If I increase the memory to 96G with 12 8G DIMMS, that will be a best