Package Details: netmap r3882.88ad54aa-3

Git Clone URL: https://aur.archlinux.org/netmap.git (read-only, click to copy)
Package Base: netmap
Description: A framework for high speed network packet I/O, using kernel bypass
Upstream URL: http://info.iet.unipi.it/~luigi/netmap
Licenses: BSD
Submitter: vmaffione
Maintainer: vmaffione
Last Packager: vmaffione
Votes: 7
Popularity: 0.000000
First Submitted: 2013-10-29 15:00 (UTC)
Last Updated: 2018-11-27 15:28 (UTC)

Dependencies (10)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

shallpion commented on 2015-12-25 21:18 (UTC)

Okay I figured it out. If I manually download the snapshot tarball and run makepkg against the PKGBUILD then it will build as normal. It must have been the way AUR package is handled by yaourt which put it in a different location. Is there any way to easily fix this? Thanks..

shallpion commented on 2015-12-25 20:48 (UTC)

I just found the extracted source of Linux, it is located under /tmp/yaourt-tmp-myname/aur-netmap/linux/src/linux-4.2 instead of /tmp/yaourt-tmp-myname/aur-netmap/src/abs/core/linux/src/linux-4.2 So manually using this as kernel source in configure worked for me. Still I am puzzled by why my source code was extracted into this location...

shallpion commented on 2015-12-25 20:07 (UTC)

Hi, thanks for the suggestion. I have checked my makepkg.conf but no none of those variables were touched, everything was as the same as default. As I said I also tried to install it on a freshly installed virtual machine but it still didn't work....

vmaffione commented on 2015-12-25 15:23 (UTC)

So you see linux sources being downloaded and patched, but they are not stored in $srcdir/abs/core/linux/ where netmap PKGBUILD assumes they are stored. They must be stored somewherelse. I suspect your makepkg.conf is configured to download/build/store source files and compiled files in a different directory than the default one (i.e. directory where makepkg is run). If you take a look at "man makepkg", you will see that there are some environment variables that modify the behaviour of makepkg, like SRCDEST, SRCPKGDEST and BUILDDIR. Can you check your makepkg.conf and environment variables to make sure those variables are not set?

shallpion commented on 2015-12-25 02:56 (UTC)

I just tried to install netmap on a newly installed fresh archlinux using the latest monthly ISO, still the same issue.. Thanks.

shallpion commented on 2015-12-25 02:13 (UTC) (edited on 2015-12-25 02:14 (UTC) by shallpion)

Hi, Yes it took a while to download, extract and patch the kernel source linux-4.2.tar.xz. Also I did a few tests by inserting the following commands echo "DEBUGGING" echo "ls -F $srcdir/abs/core/linux/" ls -F $srcdir/abs/core/linux/ between: cd "$srcdir/netmap/LINUX" ./configure --kernel-sources=$srcdir/abs/core/linux/src/linux-$KMAJVE in the PKGBUILD and here is the result: DEBUGGING ls -F /tmp/yaourt-tmp-myname/aur-netmap/src/abs/core/linux change-default-console-loglevel.patch config-4.3.x86_64 linux.preset config config.x86_64 PKGBUILD config-4.3 linux.install As you can see, it didn't populate at all...

vmaffione commented on 2015-12-24 22:32 (UTC)

Hi, That's weird, I'm using the very same kernel and it works fine to me. Do you see ABS downloading and preparing the linux sources before the "Sources are ready" log? it usually takes a while and produces a lot of logs. Do you see the src/abs/core/linux/ directory populated (the path is relative to the working directory where makepkg was launched)?

shallpion commented on 2015-12-24 21:55 (UTC)

Hi, I am under kernel 4.2.5-1 and tried to install netmap r1310.6c8cd33-1, however I received the following errors: ==> Sources are ready. ==> Kernel sources are ready ==> Starting to build netmap ********************************** ERROR ********************************** *** Cannot find full kernel sources. *** *** We need the full kernel sources to build the netmap-enabled drivers. *** Please note that most distributions provide separate packages for kernel *** headers and sources. Once you know the path to kernel sources, you can *** rerun this script with the additional *** *** --kernel-sources=/path/to/sources *** *** option. *** *** If you are only interested in VALE and pipes, you can rerun the script *** now with the '--no-drivers' option. Hardware devices will then be accessed *** via a generic adapter at reduced performance." *** *** *** Current configuration values: *** *** kernel directory /lib/modules/4.2.5-1-ARCH/build *** [/usr/lib/modules/4.2.5-1-ARCH/build] *** linux version 40205 [4.2.5] *** module file netmap.ko *** subsystems generic monitor pipe vale *** no-drivers Thanks.

vmaffione commented on 2015-12-09 21:51 (UTC)

Updated PKGBUILD to - compile all the drivers (virtio-net and e1000 are not excluded anymore) - use the revision number as version number

vmaffione commented on 2015-09-29 16:37 (UTC)

Updated PKGBUILD to linux 4.2. Now the PKGBUILD points to the github repository, which is the official one.