Thank you for your report Locke. PKBUILD and .AURINFO are now fixed.
I also switched to git source makepkg facility.
Search Criteria
Package Details: libemu 20140623-1
Package Actions
| Package Base: | libemu |
|---|---|
| Description: | A small library written in c offering basic x86 emulation and shellcode detection |
| Upstream URL: | http://libemu.carnivore.it/ |
| Category: | lib |
| Licenses: | |
| Submitter: | Gagou |
| Maintainer: | Gagou |
| Last Packager: | Gagou |
| Votes: | 4 |
| First Submitted: | 2010-05-02 16:52 |
| Last Updated: | 2014-06-23 20:30 |
Latest Comments
Comment by Gagou
Comment by Locke
You made a small mistake: in the PKGBUILD file the supported architectures must be separated by a space, not by a comma. Also I think that in the .AURINFO file each arch entry must have a separate line.
The same mistake happened in liblcfg, do I have to add an additional comment there?
Comment by Gagou
Sorry for puting aside this package for so long time ...
I added -Wno-unused-local-typedefs in CFLAGS.
I also added armv6h in supported architectures.
Comment by ekapujiw2002
Add -Wno-unused-local-typedefs flags to the configure file
link source:
https://github.com/andysworkshop/stm32plus/issues/3
Comment by Chiggins
+1 eworm, I'm getting the same errors
Comment by eworm
This does not compile, probably caused by warnings/errors from latest GCC. I get a lot of "error: typedef 'PUNICODE_STRING' locally defined but not used".
Comment by Locke
I tested this package with armv6h, can you add it to supported architectures?
Comment by Gagou
Thanks for your report Damon.
I added your command in PKGBUILD like you suggested.
Comment by Damon
Won't build. Add this to the PKGBUILD right before "autoreconf -i".
sed -i s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g ./configure.ac
Comment by Gagou
Autoconf is part of base-devel group and according to the wiki page on PKGBUILD, members of "base-devel" should not be included in makedepends arrays.
Anonymous comment
Shouldn't autoconf be added to makedepends?
Comment by Gagou
Thanks for your report ptchinster.
The bug with gcc 4.6 was fixed upstream. The patches for configure.ac and Makefile are no longer necessary.
Comment by ptchinster
Removing the patch in the PKGBUILD worked for me.
Comment by ptchinster
Cloning into '/tmp/yaourt-tmp-ptchinster/aur-libemu/src/libemu-build'...
done.
patching file configure.ac
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej
Comment by Gagou
Thanks for your report. I included your patch and the correction for Makefiles in the build step.
Comment by eworm
This is a bit hard to build with gcc 4.6.*...
I needed this patch:
--- libemu/configure.ac 2011-04-28 15:52:21.799163402 +0200
+++ libemu/configure.ac 2011-04-28 16:01:45.575262944 +0200
@@ -21,11 +21,11 @@ dnl Check for some target-specific stuff
case "$host" in
*-*-freebsd*)
CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/src/contrib/file/"
- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
*-*-linux*)
CPPFLAGS="$CPPFLAGS -D _GNU_SOURCE -I/usr/local/include"
- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
+ LDFLAGS="$LDFLAGS -L/usr/local/lib"
;;
*-*-darwin*)
CPPFLAGS="$CPPFLAGS -I/opt/local/include"
and this following line in PKGBUILD just before autoreconf:
find -name Makefile.am -exec sed -i 's/ -Werror//g' {} \;