[solved] error building fluxbox from PKGBUILD

I should preface my post with this note:  this is the first time I've run abs, so I may be doing something wrong.
After running abs, I went into extra/x11/fluxbox and ran makepkg --asroot
It ran through the configure script, but when it started to compile, it exited with the error:
main.cc: In function 'void showInfo(std::ostream&)':
main.cc:71: error: 'strlen' was not declared in this scope
Without much hope, I added "#include <string.h>" to main.cc.  Much to my surprise, I could then run make and it compiled successfully.
Out of curiosity, I downloaded the source to fluxbox in another dir and tried to compile it... same problem.
So my questions are:
- is this really such a simple and obvious bug in fluxbox's source?
- how did the binary package get built for the arch repos when the PKGBUILD doesn't patch it?
- or am I just missing something that would make it compile as-is?
Last edited by TheAmigo (2008-04-16 17:50:03)

One would expect.
I did a bit of searching before resorting to patching the source...
Config instructions - no mention of such a feature
Release notes - no mention of such a feature
Changelog - no mention of such a feature
I found the hints for patching in this fluxbox-wiki page.  Which is for 0.9.14 and need some minor adjustments for 1.0.0:
--- src/Window.cc.orig 2007-09-09 10:46:50.000000000 -0500
+++ src/Window.cc 2008-04-15 18:26:39.000000000 -0500
@@ -3963,6 +3963,7 @@
CommandRef raise_and_focus_cmd(new WindowCmd(*this, &FluxboxWindow::raiseAndFocus));
CommandRef stick_cmd(new WindowCmd(*this, &FluxboxWindow::stick));
CommandRef show_menu_cmd(new WindowCmd(*this, &FluxboxWindow::popupMenu));
+ CommandRef maximize_cmd(new WindowCmd(*this, &FluxboxWindow::maximizeFull));
typedef FbTk::Resource<vector<WinButton::Type> > WinButtonsResource;
@@ -4021,7 +4022,7 @@
// setup titlebar
frame().setOnClickTitlebar(raise_and_focus_cmd, 1, false, true); // on press with button 1
- frame().setOnClickTitlebar(shade_cmd, 1, true); // doubleclick with button 1
+ frame().setOnClickTitlebar(maximize_cmd, 1, true); // doubleclick with button 1
frame().setOnClickTitlebar(show_menu_cmd, 3); // on release with button 3
frame().setOnClickTitlebar(lower_cmd, 2); // on release with button 2
It's a frustratingly small patch for something that should arguably be a feature (granted, it's hard to argue for more config options in a WM whose goal is to be small).
I suppose the counter-argument for submitting this is:  how many AUR packages should there be?  one for every possible combination of desirable features that aren't configurable?
Maybe it's better if I just make notes in the Arch wiki on how to patch it.  I'm still trying to get a feel for the Arch community, so I don't know the best way to go with this.

Similar Messages

  • [SOLVED] Cannot build openswan from AUR

    Hello everybody,
    I have an error when I try to upgrade openswan with yaourt/AUR (2.6.24-2 => 2.6.25-1) on a i686 arch install
    This is the error :
    make[3]: Entering directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
    cc -c -fno-strict-aliasing -g -Werror -DKLIPS -DSCANDIR_HAS_CONST -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/ports/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/pluto -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/ -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25 -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/linux/include -I/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast -DKLIPS -DNAT_TRAVERSAL -DNAT_TRAVERSAL -DKERNEL_ALG -DIKE_ALG -DFINALCONFDIR=\"/etc\" -DFINALCONFDDIR=\"/etc/ipsec.d\" -DFINALCONFFILE=\"/etc/ipsec.conf\" -DFINALVARDIR=\"/var\" -Werror /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c
    cc1: warnings being treated as errors
    In file included from /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/addconn/addconn.c:51:0:
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:37:19: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:38:19: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:39:34: error: comparison between 'enum keyword_string_config_field' and 'enum keyword_string_conn_field'
    /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/include/ipsecconf/confread.h:40:34: error: comparison between 'enum keyword_numeric_config_field' and 'enum keyword_numeric_conn_field'
    make[3]: *** [addconn.o] Error 1
    make[3]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs/addconn'
    make[2]: *** [programs] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386/programs'
    make[1]: *** [programs] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/OBJ.linux.i386'
    make: *** [programs] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build openswan package.
    Error: unable to update openswan
    Following packages have not been installed:
    openswan
    Is a bug with the AUR package or is a problème on my install ?
    Thx for the help.
    Olive
    Last edited by nolive (2010-05-05 06:58:38)

    ok, that's build when I comment this in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25/programs/Makefile.program
    # die if there are any warnings
    ifndef WERROR
    #WERROR:= -Werror
    endif
    And run the compile directly (not with yaourt or pkgbuild) with
    sudo make programs install
    in /tmp/yaourt-tmp-olivier/aur-openswan/openswan/src/openswan-2.6.25
    But my ipsec VPN don't work :
    sudo ipsec auto --up toto
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in main_outI1. Errno 22: Invalid argument
    104 "toto" #1: STATE_MAIN_I1: initiate
    010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 20s for response
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
    010 "toto" #1: STATE_MAIN_I1: retransmission; will wait 40s for response
    003 ERROR: "toto" #1: sendto on eth0 to xxx.xxx.xxx.xxx:500 failed in EVENT_RETRANSMIT. Errno 22: Invalid argument
    Thank's for your help. I haven't the skills for checking the code.

  • Error building synfigstudio from AUR

    I managed to install Kdenlive from the AUR using Yaourt but Synfigstudio ends with...
    time.cpp:107: error: 'sscanf' was not declared in this scope
    make[3]: *** [libsynfig_la-time.lo] Error 1
    make[3]: Leaving directory `/tmp/yaourt-tmp-root/aur-synfig/synfig/src/synfig-0.61.09/src/synfig'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-synfig/synfig/src/synfig-0.61.09/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-synfig/synfig/src/synfig-0.61.09'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build synfig package.
    I have no clue what to try now and was hoping for some help/suggestions.
    Thanks
    Edited for typo
    Last edited by addr (2009-05-25 19:15:34)

    Mr.Elendig wrote:
    Garns wrote:
    No idea how to do this with yaourt but why not just:
    download the tar.gz from AUR
    download and extract source with makepkg -o
    edit time.cpp to correct headers
    use makepkg -e to build without overwriting the modified file
    use pacman -U to install the resulting pkg.tar.gz
    You forgot the important "submit patch upstream" step.
    guilty as charged , however I only skipped it because tomk already excluded patching.

  • [SOLVED] Error building cairo-dock-plugin package

    I have awn right now, but I hear cairo-dock is more customizable, yet that much harder to set up and it shows.  when I yaourt-S cairo-dock it gets all the dependants such as cairo-wglitz, then I yaourt -S cairo-dock-plugins and it gets to building then I get this:
    ==> cairo-dock-plugins dependencies:
    - cairo-dock (package that provides cairo-dock already installed)
    - libxxf86vm (already installed)
    - vte (already installed)
    - alsa-lib (already installed)
    - autoconf (already installed)
    - automake (already installed)
    - intltool (already installed)
    - pkgconfig (already installed)
    - libtool (already installed)
    - perlxml (already installed)
    just to prove I have everything. Yaourt goes into building and I end up with:
    applet-mixer.c: In function 'mixer_show_hide_dialog':
    applet-mixer.c:286: warning: passing argument 1 of 'cairo_dock_build_dialog' from incompatible pointer type
    applet-mixer.c:286: error: too many arguments to function 'cairo_dock_build_dialog'
    make[3]: *** [libcd_AlsaMixer_la-applet-mixer.lo] Error 1
    make[3]: Leaving directory `/tmp/yaourt-tmp-siegemachine/aur-cairo-dock-plugins/cairo-dock-plugins/src/cairo-dock-plugins-1.6.3.1/alsaMixer/src'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/tmp/yaourt-tmp-siegemachine/aur-cairo-dock-plugins/cairo-dock-plugins/src/cairo-dock-plugins-1.6.3.1/alsaMixer'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-siegemachine/aur-cairo-dock-plugins/cairo-dock-plugins/src/cairo-dock-plugins-1.6.3.1'
    make: *** [all] Error 2
    ==> ERROR: Build Failed.
        Aborting...
    Error: Makepkg was unable to build cairo-dock-plugins package.
    Something to do with 'too many arguments' for the 'cairo_dock_build_dialog' ?
    Last edited by SiegeMachine (2009-03-28 08:15:10)

    [siegemachine@localhost /]$ yaourt -R cairo-dock-plugins
    cairo-dock-plugins not found, searching for group...
    error: 'cairo-dock-plugins': not found in local db
    [siegemachine@localhost /]$ yaourt -R cairo-dock
    cairo-dock not found, searching for group...
    error: 'cairo-dock': not found in local db
    [siegemachine@localhost /]$
    So I can't figure out if I do or don't have cairo-dock haha, maybe that could be the problem?
    [siegemachine@localhost /]$ yaourt -Ql cairo-dock
    error: package "cairo-dock" not found
    When I yaourt -S cairo-dock itself it seems to install that all just fine, but for some reason I apparently don't have it right after, any ideas?

  • [SOLVED] Error building firefox-aurora from heftig's repository

    I'm currently using the aurora package from heftig's repository at : http://pkgbuild.com/~heftig/aurora/ . No troubles with that so far in the time I've been using it (1-2 days).
    Sometimes I like to rebuild certain packages to get a bit more of performance (don't expecting a huge increase) but this time I can't manage to build this one.
    At some point after spending an hour or so building I get this error and makepkg finishes without building it:
    http://www.pastie.org/2106870
    I have no clue on what does trigger that error and the only thing I can think so far is if there is some kind of script that is somehow tailored to the server where usually the aurora package is build and that is making it fail on my laptop.
    Does anyone experience this or have any clue on what could be causing this error?
    Thank you in advance for your help
    EDIT:
    Building the package in a clean chroot worked. Makes me think about the hosts config file on my system may have some problem. Anyway, solved.
    Last edited by ethail (2011-06-23 23:42:25)

    Ok, i tried to use wiki and build firefox with kde patches and pgo from  AUR repository.
    I followed the instructions form wiki page you kindly provided, but every time i get:
    ==> ERROR: 'pacman' failed to install missing dependencies.
    i think it's complaining  about missing kmozillahelper which is available only in AUR. However i found another repository that includes kmozillahelper package -> no result. Can you give me an advise please?
    Last edited by irrlicht (2011-06-30 23:06:17)

  • [SOLVED] Error building conky 1.8.0 from ABS

    Hello,
    Since conky 1.8.1 has a bug with fonts, I'm trying to build conky 1.8.0. I got the PKGBUILD from the ABS and modified it to install 1.8.0. I also had to include a fix for curl, found here:
    http://aur.archlinux.org/packages.php?ID=31589.
    However, during make I get the following error:
    make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
    make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
    make[2]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
    make[1]: Map '/home/jente/packages/Arch/conky 1.8.0/src/conky-1.8.0' wordt verlaten
    make: *** [install-recursive] Fout 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    It says that "nothing has to be done for..."
    Here's my PKGBUILD:
    pkgname=conky
    pkgver=1.8.0
    pkgrel=3
    pkgdesc='An advanced, highly configurable system monitor for X based on torsmo'
    arch=('i686' 'x86_64')
    url='http://conky.sourceforge.net/'
    license=('custom')
    replaces=('torsmo')
    makedepends=('pkg-config')
    depends=('alsa-lib' 'libxml2' 'curl' 'wireless_tools' 'libxft' 'glib2' 'libxdamage' 'imlib2')
    backup=('etc/conky/conky.conf' 'etc/conky/conky_no_x11.conf')
    source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
    'current-power.patch')
    md5sums=('3fcc5bc005c6c046587134cdb9fdadfa'
    'eec51b5ccd242ed95b3b0a0fdd3252f8')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    patch -p1 < ../current-power.patch # See FS#21984
    sed -i '
    /#include <curl\/types.h>/ c\
    //#include <curl/types.h>' src/eve.c
    sed -i '
    /#include <curl\/types.h>/ c\
    //#include <curl/types.h>' src/ccurl_thread.c
    ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --enable-ibm \
    --enable-curl \
    --enable-rss \
    --enable-weather-xoap \
    --enable-imlib2 \
    --disable-lua \
    --enable-wlan \
    make
    package() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    make DESTDIR="${pkgdir}" install
    install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    Last edited by Unia (2011-08-18 10:33:56)

    I will try to built again and post the full output!
    EDIT: Here you go:
    ┌─[jente@lappy conky 1.8.0][17:07:13]
    └─■ LC_ALL=C makepkg -si
    ==> Making package: conky 1.8.0-3 (Wed Aug 17 17:07:24 CEST 2011)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Found conky-1.8.0.tar.gz
    -> Found current-power.patch
    ==> Validating source files with md5sums...
    conky-1.8.0.tar.gz ... Passed
    current-power.patch ... Passed
    ==> Extracting Sources...
    -> Extracting conky-1.8.0.tar.gz with bsdtar
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    patching file src/linux.c
    Hunk #1 succeeded at 1654 (offset -17 lines).
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    configure: WARNING: Libtool does not cope well with whitespace in `pwd`
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking whether gcc and cc understand -c and -o together... yes
    checking for pkg-config... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.19... yes
    checking for fopencookie... yes
    checking for funopen... no
    checking for X11... yes
    checking for Imlib2... yes
    checking iwlib.h usability... yes
    checking iwlib.h presence... yes
    checking for iwlib.h... yes
    checking for iw_sockets_open in -liw... yes
    checking for getnameinfo... yes
    checking netdb.h usability... yes
    checking netdb.h presence... yes
    checking for netdb.h... yes
    checking netinet/in.h usability... yes
    checking netinet/in.h presence... yes
    checking for netinet/in.h... yes
    checking netinet/tcp.h usability... yes
    checking netinet/tcp.h presence... yes
    checking for netinet/tcp.h... yes
    checking sys/socket.h usability... yes
    checking sys/socket.h presence... yes
    checking for sys/socket.h... yes
    checking arpa/inet.h usability... yes
    checking arpa/inet.h presence... yes
    checking for arpa/inet.h... yes
    checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
    checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
    checking for shared library run path origin... done
    checking for iconv... yes
    checking for working iconv... yes
    checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    checking for Xext... yes
    checking for XDamage... yes
    checking for Xft... yes
    checking for GLib2... yes
    checking for libcurl... yes
    checking for libxml2... yes
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    checking for snd_pcm_open in -lasound... yes
    checking signal.h usability... yes
    checking signal.h presence... yes
    checking for signal.h... yes
    checking for unistd.h... (cached) yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking for sys/stat.h... (cached) yes
    checking linux/soundcard.h usability... yes
    checking linux/soundcard.h presence... yes
    checking for linux/soundcard.h... yes
    checking for alsa/asoundlib.h... (cached) yes
    checking dirent.h usability... yes
    checking dirent.h presence... yes
    checking for dirent.h... yes
    checking mcheck.h usability... yes
    checking mcheck.h presence... yes
    checking for mcheck.h... yes
    checking sys/statfs.h usability... yes
    checking sys/statfs.h presence... yes
    checking for sys/statfs.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking semaphore.h usability... yes
    checking semaphore.h presence... yes
    checking for semaphore.h... yes
    checking assert.h usability... yes
    checking assert.h presence... yes
    checking for assert.h... yes
    checking errno.h usability... yes
    checking errno.h presence... yes
    checking for errno.h... yes
    checking time.h usability... yes
    checking time.h presence... yes
    checking for time.h... yes
    checking for sys/mount.h... yes
    checking sys/inotify.h usability... yes
    checking sys/inotify.h presence... yes
    checking for sys/inotify.h... yes
    checking for calloc... yes
    checking for malloc... yes
    checking for free... yes
    checking for popen... yes
    checking for sysinfo... yes
    checking for getloadavg... yes
    checking for memrchr... yes
    checking for strndup... yes
    checking for gethostbyname_r... yes
    checking for library containing clock_gettime... -lrt
    checking for struct statfs.f_fstypename... no
    checking zlib.h usability... yes
    checking zlib.h presence... yes
    checking for zlib.h... yes
    checking for db2x_xsltproc... no
    checking for db2x_manxml... no
    checking for xsltproc... xsltproc
    checking if /usr/bin/ld -m elf_x86_64 accepts -O1... yes
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating data/Makefile
    config.status: creating doc/Makefile
    config.status: creating src/Makefile
    config.status: creating src/build.h
    config.status: creating lua/Makefile
    config.status: creating src/config.h
    config.status: src/config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    conky 1.8.0 configured successfully:
    Installing into: /usr
    System config dir: /etc
    C compiler flags: -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W
    Libraries: -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
    Linker flags: -Wl,-O1
    * X11:
    X11 support: yes
    XDamage support: yes
    XDBE support: yes
    Xft support: yes
    ARGB support yes
    * Music detection:
    Audacious: no
    BMPx: no
    MPD: yes
    MOC: yes
    XMMS2: no
    * General:
    math: yes
    hddtemp: yes
    portmon: yes
    RSS: yes
    Curl: yes
    Weather
    METAR: yes
    XOAP: yes
    wireless: yes
    IBM: yes
    nvidia: no
    eve-online: no
    config-output: yes
    Imlib2: yes
    ALSA mixer: yes
    apcupsd: yes
    I/O stats: yes
    * Lua (no) bindings:
    Cairo: no
    Imlib2: no
    Making all in src
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make all-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-linux.o -MD -MP -MF .deps/conky-linux.Tpo -c -o conky-linux.o `test -f 'linux.c' || echo './'`linux.c
    linux.c: In function 'update_net_stats':
    linux.c:345:12: warning: variable 'has_bitrate' set but not used [-Wunused-but-set-variable]
    linux.c: In function 'is_disk':
    linux.c:2287:18: warning: 'dev_last' may be used uninitialized in this function [-Wuninitialized]
    mv -f .deps/conky-linux.Tpo .deps/conky-linux.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-ccurl_thread.o -MD -MP -MF .deps/conky-ccurl_thread.Tpo -c -o conky-ccurl_thread.o `test -f 'ccurl_thread.c' || echo './'`ccurl_thread.c
    mv -f .deps/conky-ccurl_thread.Tpo .deps/conky-ccurl_thread.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-conky.o -MD -MP -MF .deps/conky-conky.Tpo -c -o conky-conky.o `test -f 'conky.c' || echo './'`conky.c
    conky.c: In function 'generate_text_internal':
    conky.c:761:19: warning: variable 'needed' set but not used [-Wunused-but-set-variable]
    conky.c: In function 'draw_each_line_inner':
    conky.c:3099:13: warning: 'font_h' may be used uninitialized in this function [-Wuninitialized]
    mv -f .deps/conky-conky.Tpo .deps/conky-conky.Po
    gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -DPACKAGE_LIBDIR=\"/usr/lib/conky\" -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -MT conky-core.o -MD -MP -MF .deps/conky-core.Tpo -c -o conky-core.o `test -f 'core.c' || echo './'`core.c
    mv -f .deps/conky-core.Tpo .deps/conky-core.Po
    /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -lpthread -lm -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
    libtool: link: gcc -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o conky conky-conf_cookie.o conky-ibm.o conky-smapi.o conky-mpd.o conky-libmpdclient.o conky-moc.o conky-linux.o conky-top.o conky-users.o conky-sony.o conky-i8k.o conky-libtcp-portmon.o conky-tcp-portmon.o conky-x11.o conky-fonts.o conky-hddtemp.o conky-ccurl_thread.o conky-rss.o conky-prss.o conky-weather.o conky-imlib2.o conky-apcupsd.o conky-iconv_tools.o conky-colours.o conky-combine.o conky-common.o conky-conky.o conky-core.o conky-diskio.o conky-entropy.o conky-exec.o conky-fs.o conky-mail.o conky-mixer.o conky-net_stat.o conky-template.o conky-timed_thread.o conky-mboxscan.o conky-read_tcp.o conky-scroll.o conky-specials.o conky-tailhead.o conky-temphelper.o conky-text_object.o conky-timeinfo.o conky-algebra.o conky-proc.o conky-user.o -lpthread -liw -lncurses -lm -lX11 -lImlib2 -lXext -lXdamage -lXfixes -lXft -lglib-2.0 -lcurl -lxml2 -lasound -lrt
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    Making all in doc
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    Making all in lua
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make all-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    Making all in data
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[1]: Nothing to be done for `all-am'.
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    Making install in src
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make install-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    test -z "/usr/bin" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin"
    /bin/sh ../libtool --mode=install /bin/install -c conky '/home/jente/packages/arch/conky 1.8.0/pkg/usr/bin'
    libtool: install: /bin/install -c conky /home/jente/packages/arch/conky 1.8.0/pkg/usr/bin/conky
    /bin/install: target `1.8.0/pkg/usr/bin/conky' is not a directory
    make[3]: *** [install-binPROGRAMS] Error 1
    make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[2]: *** [install-am] Error 2
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    make[1]: *** [install] Error 2
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/src'
    Making install in doc
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/share/man/man1" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1"
    /bin/install -c -m 644 conky.1 '/home/jente/packages/arch/conky 1.8.0/pkg/usr/share/man/man1'
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/doc'
    Making install in lua
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make install-am
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[3]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    test -z "/usr/lib/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/usr/lib/conky"
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/lua'
    Making install in data
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/etc/conky" || /bin/mkdir -p "/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky"
    /bin/install -c -m 644 conky.conf conky_no_x11.conf '/home/jente/packages/arch/conky 1.8.0/pkg/etc/conky'
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0/data'
    make[1]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[2]: Entering directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make[1]: Leaving directory `/home/jente/packages/arch/conky 1.8.0/src/conky-1.8.0'
    make: *** [install-recursive] Error 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    Last edited by Unia (2011-08-17 15:08:43)

  • [SOLVED] Error building vanilla kernel for PS3

    I installed all the base packages for ArchPPC and have chrooted into it. I downloaded/uncompressed kernel 2.6.24 from kernel.org and ran `cp arch/powerpc/configs/ps3_defconfig .config`. The first time, I went straight to make after that. That gave me the error "linux-2.6.24/scripts/gcc-version.sh: line 26: printf: #: invalid number". So I ran pacman -Sy gcc3, then edited my Makefile setting HOSTCC=gcc-3.3, HOSTCXX=g++-3.3, and CC=gcc-3.3.
    Now when I run make (after doing make clean) the first error I get is:
    include/asm/mmu-hash64.h:437: error: `SID_SHIFT' undeclared (first use in this function)
    Any ideas?
    Last edited by Erroneous (2008-03-07 21:51:51)

    You need a ppc64 cross-compiler to build a ps3 kernel. You can use the crosstool pkgbuilds from here: http://kth5.telekommunisten.net/archlinux/crosstools/
    All you need to do is to replace the 32 bit ppc targets with powerpc64-unknown-linux-gnu and it should build fine.

  • [SOLVED] Errors building archiso i686 within x86_64

    [EDIT]
    "Solved" this by using arch32-light instead.
    =======
    Hello -
    I'm trying to build an i686 archiso livecd within an x86_64 environment and I'm getting errors.
    Here's the command sequence I'm using:
    (as root)
    pacman -S devtools --noconfirm --needed
    linux32 mkarchroot /tmp/somedir base
    linux32 mkarchroot -r bash /tmp/somedir
    pacman -S git squashfs-tools syslinux devtools cdrkit make nbd mkinitcpio-nfs-utils
    At this point pacman throws an error - wrong architecture. I can correct this by running pacman -Syy - the packages will then install.
    Next command sequence:
    cd /tmp
    git clone git://projects.archlinux.org/archiso.git
    I then get an error that says "/usr/bin/git command not found (or something along those lines!)
    But git is installed and available on that path.
    I'm sure I'm doing something really basic & stupid but I don't know what it is - can anyone suggest the solution?
    Last edited by clearloon (2011-03-28 12:18:58)

    Thanks dpreilan - always good to get someone else's experience.
    I also had problems using arch32 - as it turns out, you need to use the command "linux32" in front of anythjing outside the chroot. That's probably obviuos to someone more experienced than me but it wasn't apparent from any of the instructions I found online.
    Figured it out in the end though!

  • [Solved]Error compiling kernel from abs

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

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

  • [Solved] Error building perl-test-mock-lwp-dispatch

    Hi, I want to install the git version of youtube-viewer but I get the following error with one of its dependecies (perl-test-mock-lwp-dispatch):
    Test Summary Report
    t/incorrect_usage.t (Wstat: 512 Tests: 0 Failed: 0)
    Non-zero exit status: 2
    Parse errors: Bad plan. You planned 5 tests but ran 0.
    Files=11, Tests=39, 1 wallclock secs ( 0.07 usr 0.00 sys + 0.62 cusr 0.03 csys = 0.72 CPU)
    Result: FAIL
    Failed 1/11 test programs. 0/39 subtests failed.
    Makefile:854: recipe for target 'test_dynamic' failed
    make: *** [test_dynamic] Error 255
    And perl-test-mock-lwp-dispatch also fails to build because it's a dependency of the previous package:
    ==> Missing dependencies:
    -> perl-test-mock-lwp-dispatch>=0.02
    ==> ERROR: Could not resolve all dependencies.
    ==> ERROR: the build failed
    -> Status failed (2): perl-test-mock-lwp-dispatch perl-lwp-useragent-cached
    Dependencies for `youtube-viewer-git' are not met, not building...
    Last edited by Mercader1902 (2015-04-25 09:03:21)

    I think perl-appconfig is a dependecy.
    I made the installation following the instructions from the git page after installing cpan and now I can also install it directly from AUR.

  • [SOLVED] Pass Environment variables from PKGBUILD to .INSTALL script

    Hi everyone,
                       I am trying to modify the grub2-efi-bzr (http://aur.archlinux.org/packages.php?ID=38369) package making some changes in the PKGBUILD and the post-install script. I want to pass few environment variables from the PKGBUILD to the install script. How do I do that?
    Some code from the PKGBUILD
    _bzrtrunk="lp:grub/grub2" # GRUB2 BZR Main Trunk
    # _bzrtrunk="lp:~skodabenz/grub/grub2-bzr-exp" # GRUB2 BZR Experimental Branch
    _bzrmod="grub2"
    if [ ${_bzrtrunk} = "lp:~skodabenz/grub/grub2-bzr-exp" ]
    then
    _bzrmod="grub2_exp"
    pkgver="exp_${pkgver}"
    fi
    # grub-extras bzr repo locations
    _bzrtrunk_zfs="lp:~skodabenz/grub/grub2-extras-zfs"
    _bzrtrunk_lua="lp:~skodabenz/grub/grub2-extras-lua"
    if [ "$CARCH" = 'i686' ]
    then
    _EFI_ARCH=i386
    elif [ "$CARCH" = 'x86_64' ]
    then
    _EFI_ARCH=x86_64
    fi
    # _EFI_ARCH=x86_64 # Uncomment if you want to override the if condition for _EFI_ARCH above, incase the EFI ARCH does not match the Linux Kernel ARCH.
    # $CARCH=x86_64 and _EFI_ARCH=i386 requires gcc-multilib with lib32-glibc installed in the system.
    # I do not know about $CARCH=i686 and _EFI_ARCH=x86_64
    if [ ${_EFI_ARCH} = "i386" ]
    then
    pkgver="${pkgver}_x86"
    _trns_name="grub2_efi_x86"
    elif [ ${_EFI_ARCH} = "x86_64" ]
    then
    pkgver="${pkgver}_x64"
    _trns_name="grub2_efi_x64"
    fi
    Now the post-install script needs the values of _EFI_ARCH and _trns_name env variables. I do not want to copy the if statements to that script as these are decided at compile time but needed while setting up grub2-efi. This is due to the fact that EFI-ARCH need not match the Linux Kernel ARCH. How do I do that.
    Code from the post-install script
    ${_trns_name}-install --root-directory=/ --no-floppy --recheck --debug
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/lua.mod /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/zfs.mod /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/zfsinfo.mod /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/unifont.pf2 /boot/${_trns_name}/
    cp /usr/lib/${_trns_name}/${_EFI_ARCH}-efi/ascii.pf2 /boot/${_trns_name}/
    ${_trns_name}-mkimage --verbose --directory=/usr/lib/${_trns_name}/${_EFI_ARCH}-efi --prefix="" --output=/boot/${_trns_name}/grub2.efi --format=${_EFI_ARCH}-efi ${_EFI_APP_MODULES}
    Thank in advance.
    Last edited by skodabenz (2010-07-27 15:46:40)

    falconindy wrote:
    Don't rely on %foo% existing -- it won't after the first build and this will prevent the PKGBUILD from being reentrant. I would use something like this (untested):
    sed -i "s|^\(_EFI_ARCH\)=.*|\1=${_EFI_ARCH}|; \
    s|^\(_trns_name\)=.*|\1=${_trns_name}|; \
    s|^\(export _EFI_APP_MODULES\)=.*|\1=${_EFI_APP_MODULES}|" \
    ${startdir}/grub2-efi-bzr.install
    Your code works except for 1 problem in the install script I want
    export __EFI_APP_MODULES="${_EFI_APP_MODULES}" (the passed ${_EFI_APP_MODULES} value should again come inside double quotes).
    right now
    export _EFI_APP_MODULES=ata part_gpt part_msdos fat ntfs ntfscomp ext2 iso9660 udf hfsplus fshelp normal chain linux ls search search_fs_file search_fs_uuid search_label help loopback boot configfile echo efi_gop efi_uga xnu xnu_uuid lvm
    which is equivalent to
    export _EFI_APP_MODULES=ata
    I want
    export _EFI_APP_MODULES="ata part_gpt part_msdos fat ntfs ntfscomp ext2 iso9660 udf hfsplus fshelp normal chain linux ls search search_fs_file search_fs_uuid search_label help loopback boot configfile echo efi_gop efi_uga xnu xnu_uuid lvm"
    How to do it with sed since sed already uses double quotes?

  • [SOLVED]yaourt wants to build dependencies from AUR

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

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

  • [SOLVED]Building in a Clean Chroot error: Build failed, check ~/build

    Hello everyone
    I am trying to build qt4 and qtwebkit in clean chroot but when I run makechrootpkg (according to DeveloperWiki:Building in a Clean Chroot) I get an error message:
    $ sudo makechrootpkg -c -r /home/zuargo/chroot/
    ==> Creating clean working copy...done
    ==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
    As you see chroot directory is contained in my home folder.
    I have checked /home/zuargo/chroot/zuargo/build and I see just the PKGBUILD and another random file (it depends on the package to build). No useful information.
    I have made twice the chroot directory and in both times I get the same error.
    Does somebody have any idea on how to solve this trouble or how to get information related to the error?
    Thanks in advance
    Last edited by zuargo (2013-04-19 14:12:53)

    Thank you
    I have new information.
    Searching for information on the forum (this one) I have found this thread: https://bbs.archlinux.org/viewtopic.php?pid=1260353
    The user that started the topic, had (or have) a very similar issue. At the first post, he says has fixed the problem by downgrading the package devtools to the version 20120720. So then, I did the same thing.
    I had installed devtools 20130408 and in the cache of Pacman, I have the version 20130127, 20130122, 20121115, 20121027, 20121013, 20120720 of this package. I have downgraded to all these versions of devtools, one by one. In some cases, after downgrading and by creating the chroot directory I got errors, either with the package systemd or with the package filesystem. In the first case, the error did not affect the creation fo the chroot directory. In the second case (with filesystem), creating the directory was not successful, getting an error message (see below).
    I proceed to list each devtool package (its version) and the error I have got, when I tried to create the chroot directory:
    > devtools-20120720-1-any.pkg.tar.xz
    systemd's error:
    ( 38/130) installing systemd                                               [##########################################] 100%
    Initializing machine ID from random generator.
    ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
    :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
       bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
    Also an error with lacale-gen:
    chroot: failed to run command '/usr/sbin/locale-gen': No such file or directory
    Creating chroot directory successful
    No error by building packages with makechrootpkg into the chroot directory.
    > devtools-20121013-1-any.pkg.tar.xz
    filesystem's error:
    (  4/130) installing filesystem                                            [##########################################] 100%
    error: could not rename /home/zuargo/chroot/root/etc/resolv.conf to /home/zuargo/chroot/root/etc/resolv.conf.pacorig (Device or resource busy)
    error: problem occurred while installing filesystem
    error: could not commit transaction
    error: failed to commit transaction (transaction aborted)
    Errors occurred, no packages were upgraded.
    ==> ERROR: Failed to install packages to new root
    ==> ERROR: Failed to install all packages
    Creating chroot directory was not successful
    > devtools-20121027-1-any.pkg.tar.xz
    filesystem's error:
    (  4/130) installing filesystem                                            [##########################################] 100%
    error: could not rename /home/zuargo/chroot/root/etc/resolv.conf to /home/zuargo/chroot/root/etc/resolv.conf.pacorig (Device or resource busy)
    error: problem occurred while installing filesystem
    error: could not commit transaction
    error: failed to commit transaction (transaction aborted)
    Errors occurred, no packages were upgraded.
    ==> ERROR: Failed to install packages to new root
    ==> ERROR: Failed to install all packages
    Creating chroot directory was not successful
    > devtools-20121115-1-any.pkg.tar.xz
    filesystem's error:
    (  4/130) installing filesystem                                            [##########################################] 100%
    error: could not rename /home/zuargo/chroot/root/etc/resolv.conf to /home/zuargo/chroot/root/etc/resolv.conf.pacorig (Device or resource busy)
    error: problem occurred while installing filesystem
    error: could not commit transaction
    error: failed to commit transaction (transaction aborted)
    Errors occurred, no packages were upgraded.
    ==> ERROR: Failed to install packages to new root
    ==> ERROR: Failed to install all packages
    Creating chroot directory was not successful
    > devtools-20130122-1-any.pkg.tar.xz
    systemd's error:
    ( 38/130) installing systemd                                               [##########################################] 100%
    Initializing machine ID from random generator.
    ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
    :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
       bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
    Error by building packages with makechrootpkg into the chroot directory:
    ==> Creating clean working copy...done
    ==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
    > devtools-20130127-1-any.pkg.tar.xz
    systemd's error:
    ( 38/130) installing systemd                                               [##########################################] 100%
    Initializing machine ID from random generator.
    ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
    :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
       bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
    Error by building packages with makechrootpkg into the chroot directory:
    ==> Creating clean working copy...done
    ==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
    > devtools-20130408-1-any.pkg.tar.xz
    systemd's error:
    ( 38/130) installing systemd                                               [##########################################] 100%
    Initializing machine ID from random generator.
    ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
    :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
       bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
    Error by building packages with makechrootpkg into the chroot directory:
    ==> Creating clean working copy...done
    ==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
    As see, the only one package that allows me to build into chroot directory with no errors is devtools-20120720.
    Now I can build packages into a clean chroot directory. But I can't update devtools.

  • Error building from AUR (ppc)

    Hi,
       in my archppc I try to build unshield from AUR
    I have change ARCH in PKGBUILD, but I have error:
    BUILDSCRIPT non è definito! Assicurarsi di aver aggiornato /etc/makepkg.conf
    I view that I have /etc/makepkg.conf.new
    then I renamed ..new into makepkg.conf
    but now error is:
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    make: *** No targets specified and no makefile found.  Stop.
    ==> ERRORE: Compilazione interrotta.
    can you help me ?

    sacarde wrote:
    ok
    -mtune=common
    works OK
    p.s.
    which suggest for:
    apple G4  7447A, altivec supported
    -mtune=G4 instead of -mtune=common of course
    You can also add -mabi=altivec -maltivec if you'd like. It compiles with that, but I'm not sure if it will help any since the compiler was built with --disable-multilib.
    Also, you may want to file a bug report or ask on the mailing list if it's fixed. I mentioned it in IRC right after posting that but didn't get a reply.

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

Maybe you are looking for