[Solved] Bug(?) regarding building glibc from abs.

/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /home/utops/arch/glibc/src/glibc-build/begin-end-check.out
make[1]: Obiekt `check' nie został wykonany z powodu błędów.
make[1]: Opuszczenie katalogu `/home/utops/arch/glibc/src/glibc-2.16.0'
make: *** [check] Błąd 2
==> BŁĄD: Wystąpił błąd w check().
Przerywam...
First time i compiled it on initscript without problem,now this ^
CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
#CFLAGS="-march=native -O3 -pipe"
#CXXFLAGS="-march=native -O3 -pipe"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j3"
This is also happening on "-march=i686 -mtune=generic"
So,bug?
Last edited by utops (2012-10-09 21:16:42)

Oops,sorry for that language blooper.
I sniff up some google search and find this:
rpc/types.h sunrpc/rpc/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h \
sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h \
termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h \
time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > \
/sources/glibc-build/begin-end-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.12.1'
make: *** [check] Error 2
This snippet came from LFS help desk,but error is identical to mine on arch.
Guy from help desk say to ignore it,but this error just brake the compiling process.
Edit:
g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=ld-new -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o ld-new main.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o libgold.a ../libiberty/libiberty.a -lpthread -ldl -lz
g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=incremental-dump -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o incremental-dump incremental-dump.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o libgold.a ../libiberty/libiberty.a -lpthread -ldl -lz
make[4]: (leaving directory) Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[3]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[2]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[1]: Opuszczenie katalogu `/home/utops/arch/binutils/src'
make: *** [all] Błąd 2 (Error 2)
Binutils ^
It's systemd problem?
Binutils build succefully on initscripts week ago IIRC.
Last edited by utops (2012-10-07 12:15:08)

Similar Messages

  • Cannot build gettext from ABS (gets undeclared here)

    Greetings,
    I am trying to build the gettext package from ABS and receive a compiler error "'gets' undeclared here". Also, I'm building for atom on an x86_64 machine
    pkgver is 0.18.1.1
    My command is : makepkg -Af --nocheck
    Here is the output at the build break:
    gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -march=atom -mtune=atom -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c -o malloca.o malloca.c
    In file included from fwriteerror.h:40:0,
    from fwriteerror.c:21:
    ./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
    make[5]: *** [fwriteerror.o] Error 1
    make[5]: *** Waiting for unfinished jobs....
    In file included from closeout.c:22:0:
    ./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
    make[5]: *** [closeout.o] Error 1
    In file included from localcharset.c:28:0:
    ./stdio.h:456:20: error: ‘gets’ undeclared here (not in a function)
    make[5]: *** [localcharset.o] Error 1
    make[5]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
    make[4]: *** [all-recursive] Error 1
    make[4]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime/gnulib-lib'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/home/bsmith/src/build/core/gettext/src/gettext-0.18.1.1/gettext-runtime'
    make: *** [all-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    I have seen various reports of this same problem with other packages, such as grub, but couldn't apply the solution that was given there. Any ideas?
    Thanks,
    Brian Smith

    WorMzy wrote:
    bsmith_ati wrote:I have seen various reports of this same problem with other packages, such as grub, but couldn't apply the solution that was given there.
    Why?
    Because the solution for grub is specific to gnu-lib code contained in the grub source package.
    http://lists.gnu.org/archive/html/grub- … iHYUrM.txt
    I have looked at the stdio.h and stdio.in.h files that are shipped with gettext, and do not see directives similar to what are specified in the patch for grub.
    Last edited by bsmith_ati (2012-09-29 21:38:55)

  • Problem building VLC from ABS

    Okay I copied /var/abs/extra/multimedia/vlc to ~/installs/, then I ran makepkg and this is the end of the long output as it was compiling:
    http://pastebin.ca/885102  (look at the end, and it's too many characters for post on forum)
    What might be wrong ??
    Last edited by colbert (2008-01-30 19:31:35)

    no, you need to first recompile 'ffmpeg' from abs with --disable-swscaler flag. Check the PKGBUILD, u will see it is enabled, replace with disable. compile and install it using pacman -U.
    then u take the PKGBUILD and patch from the archive I posted above and use makepkg to re-compile a patched vlc version so u can watch avi videos again. install that with pacman -U
    your ffmpeg PKGBUILD will look like this
    # $Id: PKGBUILD,v 1.30 2007/12/05 02:47:18 paul Exp $
    # Contributor: Tom Newsom <[email protected]>
    # Maintainer: Paul Mattal <[email protected]>
    pkgname=ffmpeg
    pkgver=20071204
    pkgrel=1
    pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
    arch=(i686 x86_64)
    license=('LGPL')
    depends=('lame' 'sdl' 'libvorbis' 'a52dec' 'faad2' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264>=20071201' 'libtheora')
    source=(http://gerolde.archlinux.org/~paul/ffmpeg-$pkgver.tar.gz )
    md5sums=('3d34e511d0466de6feabed85dddbb2a8')
    url="http://ffmpeg.mplayerhq.hu/"
    build() {
         cd $startdir/src/$pkgname || return 1
         # configure
         ./configure \
              --prefix=/usr \
              --enable-gpl \
              --enable-libmp3lame \
              --enable-libvorbis \
              --enable-pp \
              --enable-libfaac \
              --enable-libfaad \
              --enable-liba52 \
              --enable-libxvid \
          --enable-libx264 \
          --enable-libtheora \
          --disable-libamr-nb \
              --enable-pp \
              --enable-shared \
              --enable-pthreads \
          --enable-x11grab \
          --disable-swscaler \
           || return 1
         # build
         make -j 2 || return 1
         # install
         mkdir -p $startdir/pkg/usr/{bin,include,lib} || return 1
         make DESTDIR=$startdir/pkg install || return 1
    Last edited by jacko (2008-01-30 20:51:41)

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

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

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

  • [SOLVED] Unable to build packages from AUR (build: command not found)

    I recently hosed the filesystem on my arch install of ~8 months. I reinstalled arch today and didn't have many problems since I had backups of many important config files. Anyways, I still need to get a few programs installed from AUR, but nothing I get from AUR will build.
    I download the tarball, extract into a folder in /home/myuser/builds and then go into that folder and run makepkg -s (as always)
    It checks the files and extracts/downloads them. Then I get the following error message:
    ==> Starting build()...
    /usr/bin/makepkg: line 741: build: command not found
    ==> ERROR: Build Failed.
    Aborting...
    I've run abs and I checked out the abs wiki page, I've also installed base-devel. I am not sure what else I need to do, the error message is not specific enough.
    The packages I have been trying to install are      ttf-ms-fonts 2.0-7,      keepass 2.14-2, and I also tried ttf-vista-fonts 1-3. I am fairly certain that it is not a problem with the PKGBUILD files.
    Any ideas? Thanks!
    Last edited by fatjake (2011-03-08 01:02:59)

    cyrus wrote:Have you tried Yaourt?
    Nope, haven't tried that, I think mainly because I wanted to learn how to use pacman and how to build using ABS. At this point I think I know how to use pacman/abs, as much as this thread might make it appear that I dont
    I'll give it a try, as I frequently install software from AUR. In the past I think I let software from the AUR get outdated, Yaourt (clumsy name) sounds like it would help that a bit. Thanks!
    Edit: BTW, I really love Arch. I tried it out on a flash drive about 8 months ago (maybe more), and after about 12 hours I was sold and installed it on the drive that Windows XP previously held. Even considering that I had many problems during the initial install, but they were all problems that caused me to learn and were easy to resolve. Seriously, I have lots of Windows tech experience, but only Arch forced me to learn Linux. I had tried Ubuntu previously but it was such a bore, and the problems tended to be hard to find solutions for. I try to convince my other Linux using friends to try arch, but they see it as too hands-on. I don't see it that way, it is very hands off after initial configuration, and the initial config only takes a week or less on the first try and a day and a half (or so) if you re-install. Having backups of your config files is of course a huge deal, and I am glad I had most of those.
    Really, I love Arch Linux, it has taught me so much.
    Last edited by fatjake (2011-03-08 04:25:15)

  • [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.

  • Gcc not working with compiled glibc from PKGBUILD

    hello folks, please excuse my english
    i like to compile certain parts of my system, between them are the kernel, glibc , zsh, etc.
    i had noticed that using a compiled version of glibc from abs results in gcc not working at all ( C compiler cannot create executables logs says). this is weird especially because i hadn't had problems before, i have looked for the error mesagges on Google and a lot of people has had this problem but  nobody has a "generic" solution for this
    this is the config.log file from one failed compile of mpg123
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.
    It was created by mpg123 configure 1.12.3, which was
    generated by GNU Autoconf 2.65. Invocation command line was
    $ ./configure --prefix=/usr --with-audio=alsa esd sdl
    ## Platform. ##
    hostname = Soul
    uname -m = x86_64
    uname -r = 2.6.34.1
    uname -s = Linux
    uname -v = #1 SMP PREEMPT Tue Jul 6 23:23:17 CLT 2010
    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown
    /bin/arch = x86_64
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown
    PATH: /bin
    PATH: /usr/bin
    PATH: /usr/local/bin
    PATH: /sbin
    PATH: /usr/sbin
    PATH: /usr/local/sbin
    PATH: /usr/share/java/apache-ant/bin
    PATH: /usr/lib/perl5/core_perl/bin
    ## Core tests. ##
    configure:2849: checking build system type
    configure:2863: result: x86_64-unknown-linux-gnu
    configure:2883: checking host system type
    configure:2896: result: x86_64-unknown-linux-gnu
    configure:2933: checking for a BSD-compatible install
    configure:3001: result: /bin/install -c
    configure:3012: checking whether build environment is sane
    configure:3062: result: yes
    configure:3203: checking for a thread-safe mkdir -p
    configure:3242: result: /bin/mkdir -p
    configure:3255: checking for gawk
    configure:3271: found /bin/gawk
    configure:3282: result: gawk
    configure:3293: checking whether make sets $(MAKE)
    configure:3315: result: yes
    configure:3402: checking for -Werror in CFLAGS (It breaks tests)
    configure:3412: result: no
    configure:3423: checking if you are up to something totally static with LDFLAGS/CFLAGS
    configure:3443: result: no
    configure:3463: checking for style of include used by make
    configure:3491: result: GNU
    configure:3561: checking for gcc
    configure:3577: found /usr/bin/gcc
    configure:3588: result: gcc
    configure:3817: checking for C compiler version
    configure:3826: gcc --version >&5
    gcc (GCC) 4.5.1
    Copyright (C) 2010 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.
    configure:3837: $? = 0
    configure:3826: gcc -v >&5
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: ../configure --prefix=/usr --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gnu-unique-object --enable-lto --enable-plugin --disable-multilib --disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
    Thread model: posix
    gcc version 4.5.1 (GCC)
    configure:3837: $? = 0
    configure:3826: gcc -V >&5
    gcc: '-V' option must have argument
    configure:3837: $? = 1
    configure:3826: gcc -qversion >&5
    gcc: unrecognized option '-qversion'
    gcc: no input files
    configure:3837: $? = 1
    configure:3857: checking whether the C compiler works
    configure:3879: gcc -march=amdfam10 -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed conftest.c >&5
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x12): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x19): undefined reference to `__libc_csu_init'
    collect2: ld returned 1 exit status
    configure:3883: $? = 1
    configure:3921: result: no
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME "mpg123"
    | #define PACKAGE_TARNAME "mpg123"
    | #define PACKAGE_VERSION "1.12.3"
    | #define PACKAGE_STRING "mpg123 1.12.3"
    | #define PACKAGE_BUGREPORT "[email protected]"
    | #define PACKAGE_URL ""
    | #define PACKAGE "mpg123"
    | #define VERSION "1.12.3"
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:3926: error: in `/var/abs/local/mpg123/src/mpg123-1.12.3':
    configure:3930: error: C compiler cannot create executables
    See `config.log' for more details.
    ## Cache variables. ##
    ac_cv_build=x86_64-unknown-linux-gnu
    ac_cv_env_CCASFLAGS_set=
    ac_cv_env_CCASFLAGS_value=
    ac_cv_env_CCAS_set=
    ac_cv_env_CCAS_value=
    ac_cv_env_CC_set=
    ac_cv_env_CC_value=
    ac_cv_env_CFLAGS_set=set
    ac_cv_env_CFLAGS_value='-march=amdfam10 -O2 -pipe'
    ac_cv_env_CPPFLAGS_set=
    ac_cv_env_CPPFLAGS_value=
    ac_cv_env_CPP_set=
    ac_cv_env_CPP_value=
    ac_cv_env_ESD_CFLAGS_set=
    ac_cv_env_ESD_CFLAGS_value=
    ac_cv_env_ESD_LIBS_set=
    ac_cv_env_ESD_LIBS_value=
    ac_cv_env_JACK_CFLAGS_set=
    ac_cv_env_JACK_CFLAGS_value=
    ac_cv_env_JACK_LIBS_set=
    ac_cv_env_JACK_LIBS_value=
    ac_cv_env_LDFLAGS_set=set
    ac_cv_env_LDFLAGS_value='-Wl,--hash-style=gnu -Wl,--as-needed'
    ac_cv_env_LIBS_set=
    ac_cv_env_LIBS_value=
    ac_cv_env_PKG_CONFIG_set=
    ac_cv_env_PKG_CONFIG_value=
    ac_cv_env_PULSE_CFLAGS_set=
    ac_cv_env_PULSE_CFLAGS_value=
    ac_cv_env_PULSE_LIBS_set=
    ac_cv_env_PULSE_LIBS_value=
    ac_cv_env_SDL_CFLAGS_set=
    ac_cv_env_SDL_CFLAGS_value=
    ac_cv_env_SDL_LIBS_set=
    ac_cv_env_SDL_LIBS_value=
    ac_cv_env_build_alias_set=
    ac_cv_env_build_alias_value=
    ac_cv_env_host_alias_set=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=x86_64-unknown-linux-gnu
    ac_cv_path_install='/bin/install -c'
    ac_cv_path_mkdir=/bin/mkdir
    ac_cv_prog_AWK=gawk
    ac_cv_prog_ac_ct_CC=gcc
    ac_cv_prog_make_make_set=yes
    ## Output variables. ##
    ACLOCAL='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run aclocal-1.11'
    AIX_CFLAGS=''
    AIX_LDFLAGS=''
    AIX_LIBS=''
    ALIB_CFLAGS=''
    ALIB_LDFLAGS=''
    ALIB_LIBS=''
    ALSA_CFLAGS=''
    ALSA_LDFLAGS=''
    ALSA_LIBS=''
    AMDEPBACKSLASH='\'
    AMDEP_FALSE='#'
    AMDEP_TRUE=''
    AMTAR='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run tar'
    API_VERSION='25'
    AR=''
    ARTS_CFLAGS=''
    ARTS_LDFLAGS=''
    ARTS_LIBS=''
    AS=''
    AUTOCONF='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run autoconf'
    AUTOHEADER='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run autoheader'
    AUTOMAKE='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run automake-1.11'
    AWK='gawk'
    CC='gcc'
    CCAS=''
    CCASDEPMODE=''
    CCASFLAGS=''
    CCDEPMODE=''
    CFLAGS='-march=amdfam10 -O2 -pipe'
    COREAUDIO_CFLAGS=''
    COREAUDIO_LDFLAGS=''
    COREAUDIO_LIBS=''
    CPP=''
    CPPFLAGS=''
    CYGPATH_W='echo'
    DECODER_LOBJ=''
    DECODER_OBJ=''
    DEFS=''
    DEPDIR='.deps'
    DLLTOOL=''
    DSYMUTIL=''
    DUMMY_CFLAGS=''
    DUMMY_LDFLAGS=''
    DUMMY_LIBS=''
    DUMPBIN=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    ESD_CFLAGS=''
    ESD_LDFLAGS=''
    ESD_LIBS=''
    EXEC_LT_LDFLAGS=''
    EXEEXT=''
    FGREP=''
    GREP=''
    HAVE_AIX_FALSE=''
    HAVE_AIX_TRUE=''
    HAVE_ALIB_FALSE=''
    HAVE_ALIB_TRUE=''
    HAVE_ALSA_FALSE=''
    HAVE_ALSA_TRUE=''
    HAVE_ARTS_FALSE=''
    HAVE_ARTS_TRUE=''
    HAVE_COREAUDIO_FALSE=''
    HAVE_COREAUDIO_TRUE=''
    HAVE_DUMMY_FALSE=''
    HAVE_DUMMY_TRUE=''
    HAVE_ESD_FALSE=''
    HAVE_ESD_TRUE=''
    HAVE_HP_FALSE=''
    HAVE_HP_TRUE=''
    HAVE_JACK_FALSE=''
    HAVE_JACK_TRUE=''
    HAVE_MINT_FALSE=''
    HAVE_MINT_TRUE=''
    HAVE_MODULES_FALSE=''
    HAVE_MODULES_TRUE=''
    HAVE_NAS_FALSE=''
    HAVE_NAS_TRUE=''
    HAVE_OPENAL_FALSE=''
    HAVE_OPENAL_TRUE=''
    HAVE_OS2_FALSE=''
    HAVE_OS2_TRUE=''
    HAVE_OSS_FALSE=''
    HAVE_OSS_TRUE=''
    HAVE_PORTAUDIO_FALSE=''
    HAVE_PORTAUDIO_TRUE=''
    HAVE_PULSE_FALSE=''
    HAVE_PULSE_TRUE=''
    HAVE_SDL_FALSE=''
    HAVE_SDL_TRUE=''
    HAVE_SGI_FALSE=''
    HAVE_SGI_TRUE=''
    HAVE_SNDIO_FALSE=''
    HAVE_SNDIO_TRUE=''
    HAVE_SUN_FALSE=''
    HAVE_SUN_TRUE=''
    HAVE_WIN32_FALSE=''
    HAVE_WIN32_TRUE=''
    HP_CFLAGS=''
    HP_LDFLAGS=''
    HP_LIBS=''
    INCLUDE_STDIO_H=''
    INCLUDE_STDLIB_H=''
    INCLUDE_SYS_TYPE_H=''
    INSTALL_DATA='${INSTALL} -m 644'
    INSTALL_PROGRAM='${INSTALL}'
    INSTALL_SCRIPT='${INSTALL}'
    INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
    JACK_CFLAGS=''
    JACK_LDFLAGS=''
    JACK_LIBS=''
    LD=''
    LDFLAGS='-Wl,--hash-style=gnu -Wl,--as-needed'
    LFS_LOBJ=''
    LIBMPG123_VERSION='25:5:25'
    LIBOBJS=''
    LIBS=''
    LIBTOOL=''
    LIPO=''
    LN_S=''
    LTLIBOBJS=''
    LT_LDFLAGS='-export-dynamic'
    MAKEINFO='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/missing --run makeinfo'
    MINT_CFLAGS=''
    MINT_LDFLAGS=''
    MINT_LIBS=''
    MKDIR_P='/bin/mkdir -p'
    MODULE_OBJ=''
    NAS_CFLAGS=''
    NAS_LDFLAGS=''
    NAS_LIBS=''
    NM=''
    NMEDIT=''
    OBJDUMP=''
    OBJEXT=''
    OPENAL_CFLAGS=''
    OPENAL_LDFLAGS=''
    OPENAL_LIBS=''
    OS2_CFLAGS=''
    OS2_LDFLAGS=''
    OS2_LIBS=''
    OSS_CFLAGS=''
    OSS_LDFLAGS=''
    OSS_LIBS=''
    OTOOL64=''
    OTOOL=''
    OUTPUT_CFLAGS=''
    OUTPUT_LDFLAGS=''
    OUTPUT_LIBS=''
    OUTPUT_MOD=''
    OUTPUT_OBJ=''
    PACKAGE='mpg123'
    PACKAGE_BUGREPORT='[email protected]'
    PACKAGE_NAME='mpg123'
    PACKAGE_STRING='mpg123 1.12.3'
    PACKAGE_TARNAME='mpg123'
    PACKAGE_URL=''
    PACKAGE_VERSION='1.12.3'
    PATH_SEPARATOR=':'
    PKG_CONFIG=''
    PORTAUDIO_CFLAGS=''
    PORTAUDIO_LDFLAGS=''
    PORTAUDIO_LIBS=''
    PULSE_CFLAGS=''
    PULSE_LDFLAGS=''
    PULSE_LIBS=''
    RANLIB=''
    SDL_CFLAGS=''
    SDL_LDFLAGS=''
    SDL_LIBS=''
    SED=''
    SET_MAKE=''
    SGI_CFLAGS=''
    SGI_LDFLAGS=''
    SGI_LIBS=''
    SHELL='/bin/sh'
    SNDIO_CFLAGS=''
    SNDIO_LDFLAGS=''
    SNDIO_LIBS=''
    STRIP=''
    SUN_CFLAGS=''
    SUN_LDFLAGS=''
    SUN_LIBS=''
    VERSION='1.12.3'
    WIN32_CFLAGS=''
    WIN32_CODES_FALSE=''
    WIN32_CODES_TRUE=''
    WIN32_LDFLAGS=''
    WIN32_LIBS=''
    ac_ct_CC='gcc'
    ac_ct_DUMPBIN=''
    am__EXEEXT_FALSE=''
    am__EXEEXT_TRUE=''
    am__fastdepCCAS_FALSE=''
    am__fastdepCCAS_TRUE=''
    am__fastdepCC_FALSE=''
    am__fastdepCC_TRUE=''
    am__include='include'
    am__isrc=''
    am__leading_dot='.'
    am__quote=''
    am__tar='${AMTAR} chof - "$$tardir"'
    am__untar='${AMTAR} xf -'
    bindir='${exec_prefix}/bin'
    build='x86_64-unknown-linux-gnu'
    build_alias=''
    build_cpu='x86_64'
    build_os='linux-gnu'
    build_vendor='unknown'
    datadir='${datarootdir}'
    datarootdir='${prefix}/share'
    docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    dvidir='${docdir}'
    exec_prefix='NONE'
    host='x86_64-unknown-linux-gnu'
    host_alias=''
    host_cpu='x86_64'
    host_os='linux-gnu'
    host_vendor='unknown'
    htmldir='${docdir}'
    includedir='${prefix}/include'
    infodir='${datarootdir}/info'
    install_sh='${SHELL} /var/abs/local/mpg123/src/mpg123-1.12.3/build/install-sh'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localedir='${datarootdir}/locale'
    localstatedir='${prefix}/var'
    lt_ECHO='echo'
    mandir='${datarootdir}/man'
    mkdir_p='/bin/mkdir -p'
    oldincludedir='/usr/include'
    pdfdir='${docdir}'
    prefix='/usr'
    program_transform_name='s,x,x,'
    psdir='${docdir}'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''
    ## confdefs.h. ##
    /* confdefs.h */
    #define PACKAGE_NAME "mpg123"
    #define PACKAGE_TARNAME "mpg123"
    #define PACKAGE_VERSION "1.12.3"
    #define PACKAGE_STRING "mpg123 1.12.3"
    #define PACKAGE_BUGREPORT "[email protected]"
    #define PACKAGE_URL ""
    #define PACKAGE "mpg123"
    #define VERSION "1.12.3"
    configure: exit 77
    the parts i had searched on google are specificaly the
    "/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x12): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x19): undefined reference to `__libc_csu_init'"
    does anyone have an idea of what could it be?
    notice that this doesn't bother me because if i use the glibc from the repositories everything works fine, this is just for curiosity of why it doesn't work
    thanks in advance

    slacknatcher wrote:
    the parts i had searched on google are specificaly the
    "/usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x12): undefined reference to `__libc_csu_fini'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.1/../../../../lib/crt1.o: In function `_start':
    (.text+0x19): undefined reference to `__libc_csu_init'"
    does anyone have an idea of what could it be?
    notice that this doesn't bother me because if i use the glibc from the repositories everything works fine, this is just for curiosity of why it doesn't work
    thanks in advance
    You have stripped glibc too much.  See the Arch PKGBUILD and make sure your makepkg.conf has STRIP_BINARY etc defined.

  • Scripts I use to update my system from ABS

    Banged some scripts together to update from ABS and sharing them cause I like them - they work together or separate.
    gather abs directories into ~/abs directory:
    #!/usr/bin/perl
    my @upgradelist;
    system ("sudo pacman -Sy");
    system ("sudo abs");
    open FH, "pacman -Qqu |";
    while (<FH>){
    chomp $_;
    if (-d "/var/abs/core/$_") {system ("cp -R /var/abs/core/$_/ /home/poiuyt/abs/ ");}
    if (-d "/var/abs/community/$_") {system ("cp -R /var/abs/community/$_/ /home/poiuyt/abs/ ");}
    if (-d "/var/abs/extra/$_") {system ("cp -R /var/abs/extra/$_/ /home/poiuyt/abs/ ");}
    DL and make the ABS packages from the ~/abs directory:
    GNU nano 2.2.6 File: makepackages.pl
    #!/usr/bin/perl
    $absdir = $ENV{"HOME"}."/abs";
    opendir (DIR, $absdir);
    my @directory= readdir(DIR);
    my $workingdir;
    foreach (@directory){
    # if ($file =~ m/^\./){
    $workingdir = $absdir."/$_";
    print "calling makepkg on $workingdir\n";
    chdir ("$workingdir") or die "can't change directories";
    system ("makepkg");
    install packages in abs directory:
    GNU nano 2.2.6 File: install.pl
    #!/usr/bin/perl
    $absdir = $ENV{"HOME"}."/abs";
    opendir (DIR, $absdir);
    my @directory= readdir(DIR);
    my $workingdir;
    foreach (@directory){
    # if ($file =~ m/^\./){
    $workingdir = $absdir."/$_";
    print "calling pacman on $workingdir\n";
    chdir ("$workingdir") or die "can't change directories";
    system ("sudo pacman -U *.pkg.tar.xz");
    Feel free to comment or improve as I willingly admit I am a crappy coder.
    EDIT : My bad code was corrected - sorry was working on it today
    Last edited by poiuyt23 (2013-12-17 05:35:21)

    Don't use pacman -Sy, use checkupdates
    Don't run abs as root, use $ABSROOT, also you cam tell abs just what packages to download. As a sidenote, abs is often out of date, the gir repo is prefered.
    And there already are several existing tools to build/update from abs, why not use one of those?

  • [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)

  • Build compiz-core from ABS and disabling some plugins

    Hello,
    I would like to build Compiz 0.8.6 from ABS but without some plugins that I don't use. For some plugins, the configure switch
    --disable-{plugin}
    works, but for others it doesn't. I assume that I got the wrong name of the plugin, so I'm wondering if I can somewhere find a list off all plugins? For example, I want to disable the water and clone plugins, but
    --disable-water / --disable-clone
    doesn't work.
    Thanks in advance

    Ah, I found a little list here:
    http://wiki.compiz.org/Installation/Stable
    That list doesn't list the other plugins though, so I guess I can't disable them :\ Can anyone confirm?
    EDIT:Plugins that I can't disable for now:
    Gnome Compatibility
    Opacity, Brightness and Saturation (obs)
    Zoom Desktop
    Clone
    Blur
    Water
    Annotate (though this one is listed on the Compiz Wiki, it won't disable)
    Screenshot
    PNG
    SVG (though this one is listed on the Compiz Wiki, it won't disable)
    Inotify (though this one is listed on the Compiz Wiki, it won't disable)
    Last edited by Unia (2011-07-17 17:21:30)

  • 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.

  • Simple compare condition fails [Solved: Bug 4619731]

    Edit: I have found the root of the problem, and Simple compare condition fails [Solved: Bug 4619731]. I have opened a Service Request 7045745.993 on the problem.
    Original text:
    I have encountered the most bizarre bug today. An associate is trying to debug a 1900 line package that was NOT terminating a loop properly.
    The package has the code:
        Exit when x <> y;where x and y are VARCHAR2(8) variables.
    The problem is that even though the values were UNequal, the loop never ended. We added dbms_output debugging code to display x and y, and we could easily see that their values were NOT equal.
    For instance, one was 19824E1A and the other was 19824E2A. Or one was 19824E1A while the other was 99999999.
    I even added a block of code re-testing the condition like this:
      If x <> y then
        dbms_output.put_line(x||'<>'||y);
      Else
        dbms_output.put_line(x||'='||y);
      End if;But no matter what the values of x and y, it always reported them equal.
    I found two workarounds:
    1. concatenate a character (I used a period) to the end of each variable in the condition.
        Exit when x||'.' <> y||'.'2. Or, add an anonymous block before or after the Exit when..., such as:
    Declare
      v varchar2(2);
    Begin
      v := 'AB';
    End;Curiously, when I replaced the v := 'AB'; with NULL;, the bug came back.
    This bug occurs on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    I am not sure where to start to try to solve or report this problem. It pretty much destabilizes the entire PL/SQL programming foundation for all our packages. It leaves me wondering where else the code may be failing.
    Has anyone seen something like this reported before?
    Edited by: Steve Cosner on Aug 27, 2008 10:05 PM

    No offense taken, SY. I was just trying to express how aware I am of the issue of comparing null values in condition statements.
    All I can do here is underscore that it is not an issue with null values. The problem is with the statement in the first line. To prove that it was not null values, I coded the second line following the first:
        exit when x <> y;
        dbms_output.put_line('x='||x ||' and y='||y);The output from the run showed in the first pass through the loop, x and y were equal and were not null. So the process ran correctly that time. But in subsequent passes through the loop, they were NOT equal and were not null, but the debugging code was executed.
    There is no way the values were null.
    I certainly wondered about the null issue when I concatenated a character to the variables in the conditional test. But my debugging lines first confirmed that they were not null. I suspect more that the bug has something to do with the size of the package and the variables being exactly eight characters, which is 64 bits, which has special significance in many computer languages.
    Regarding your concern of the variable names and scope issues, the actual variable names in the actual code can be seen below (I just used x and y for simplicity within this thread):
        LOOP
          EXIT WHEN V_LAST_PERIOD <>
              SIPK0003.COURSE_ADJUST_REC.ACAD_REC_PERIODwhile the silly anonymous block that caused the process to work, using the variable named v, was the actual code. There is no way we use simple one-character variable names in a 1900 line package. There is no way the scope of variable V extended outside the embedded anonymous block. My point was that somehow, changing the size of the compiled package object, or at least the size of the code generated for the loop process caused the package to run correctly. In fact, thinking about the
    Declare V... Begin Null; End; sequence, I'll bet the PL/SQL compiler is sharp enough to notice that it was a do-nothing block, so never included it in the compiled object. As soon as I assigned V a value, the code WAS included, so the size of the generated code for the loop changed, and somehow, that caused it to run correctly.
    Regarding the use of the package.record.column value above, we even copied the value to a local variable, and then used the local variable in the Exit When statement. Doing that made no difference.

  • [SOLVED] Can't build Firefox anymore, wants old libjpeg?

    I first noticed this problem with my firefox-pgo package, but it appears the problem is specific to my system, and occurs even when I build [extra] firefox.
    My builds, even though I have libjpeg 8 and don't have the 'libjpeg7' package, always result in a Firefox that wants version 7 of libjpeg, and fails because it can't find it (ldd confirms).
    The interesting part is that any other package I build is fine with libjpeg 8 (ldd confirms with a built imlib2).
    Any help would, obviously, be much appreciated.
    EDIT: Got it fixed, somehow... not sure how.
    Uninstalled old Firefox first, re-installed a lot of packages, rebuilt a lot of packages, and scoured my drive of unpackaged files.
    Last edited by Ranguvar (2010-02-07 19:16:23)

    Thanks for your reply. Well you're right, few more infos won't hurt...
    I'm indeed using PKGBUILD from ABS. (no custom build)
    Arch : i686
    Dist : Testing (up2date)
    [eb@blackout ~]$ pacman -Qi perl
    Name : perl
    Version : 5.8.8-5
    URL : http://www.perl.org
    License : None
    Groups : None
    Provides : None
    Depends On : glibc coreutils gdbm db>=4.5
    Removes : None
    Required By : automake bogofilter groff inkscape lm_sensors perl-date-manip perl-error
    perl-extutils-depends perl-extutils-pkgconfig perl-gnome2-wnck perl-libintl-perl
    perl-locale-gettext perl-uri perl-xmms perlpanel perlxml procinfo vim
    Conflicts With : None
    Installed Size : 30503.13 K
    Packager : Tobias Powalowski <[email protected]>
    Architecture : i686
    Build Date : Mon Mar 12 18:29:03 2007 UTC
    Build Type : Unknown
    Install Date : Sat Aug 4 17:51:35 2007 UTC
    Install Reason : Installed as a dependency for another package
    Install Script : Yes
    Description : Practical Extraction and Report Language

Maybe you are looking for

  • Need Help....Wrong data place using Capex Module

    Hi All, I'm trying to calculate the depreciation using capex module. The fiscal year is start from Apr. The case is like this below : - when the purchase date is in January, February, March, the depreciation will be putted in the last year. For examp

  • Error message when installing the OS Lion.

    When trying to install the OS Lion an error message occurred saying "The software could not be verified. It may have been corrupted or tampered with during downloading." On the app store it says it was already installed.  What could be the problem? W

  • DVD video gets cut off, but preview shows dvd as good

    Having a problem getting my video to output from dvd burning without getting cut off. Computer is Win xp pro, 3gb ram, 2.33ghz cpu, 40gb free hd space Using Adobe Premiere Elements 3.0.2. I have video which I've recorded from my Sanyo xacti 720p avc

  • Setting up Monitor for Newspaper viewing

    Hi, I have a quato 213e series monitor which is properly calibrated. The problem that I am facing is as follows: when I Proof Setup PS to view to ISOnewspaper26v4.icc standard, because paper white is not set, I see very bright colours, if I turn on t

  • Cmd + p send PDF works with delay?

    cmd + p and then Send PDF is one of the best features in Mac, which I use everyday at work. Now it has started to act oddly ; ) It takes about 1 minute before Send PDF opens my Mail. This is pretty annoying problem, which makes my working a bit uneff