#16679: XMail package error Failed to create for eventfd
-------------------------+----------------------------------
  Reporter:  skonvols2k  |      Owner:  developers
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  Chaos Calmer (trunk)
 Component:  packages    |    Version:  Trunk
Resolution:              |   Keywords:
-------------------------+----------------------------------

Comment (by НКВД):

 Hi all.

 I have uploaded a xmail package (with [http://linux.die.net/man/2/eventfd
 eventfd(2)] support fixed) for ar71xx platform, built using Barrier
 Breaker (14.07)
 [http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic
 /OpenWrt-SDK-ar71xx-for-linux-
 x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 SDK]. See
 [/attachment/ticket/16679/xmail_1.27-1_ar71xx.ipk third attachment].

 Additionally, I have uploaded a new patch (see
 [/attachment/ticket/16679/xmail_eventfd_fixes.patch fifth attachment]),
 which includes the patch at
 [/attachment/ticket/16679/xmail_fix_eventfd_initialization.patch first
 attachment] (still required due to uClibc shipped with Barrier Breaker SDK
 having broken eventfd flags for MIPS architecture) plus some Makefile
 fixes (to avoid eventfd support misdetection, as xmail linux-specific
 makefile - `Makefile.lnx` - tries to detect eventfd support by checking
 for `/usr/include/sys/eventfd.h`, which is a host-specific header, instead
 of checking for the SDK-specific `sys/eventfd.h` header - located at
 `staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/include/`
 - ).

 To build [/browser/packages/mail/xmail xmail] package with the Barrier
 Breaker (14.07)
 [http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic
 /OpenWrt-SDK-ar71xx-for-linux-
 x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2 SDK] for ar71xx platform, do
 the following steps:

 {{{
 # · Download the BB 14.07 SDK tarball for ar71xx
 (http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic
 /OpenWrt-SDK-ar71xx-for-linux-
 x86_64-gcc-4.8-linaro_uClibc-0.9.33.2.tar.bz2).
 # · Uncompress it.
 # · cd to the SDK folder.
 # · Download openwrt's xmail package definition from SVN (putting it in
 the package/ folder):
 svn co svn://svn.openwrt.org/openwrt/packages/mail/xmail package/xmail
 # · Download the patch at fifth attachment (named
 "xmail_eventfd_fixes.patch"):
 wget --no-check-certificate https://dev.openwrt.org/raw-
 attachment/ticket/16679/xmail_eventfd_fixes.patch
 # · Apply the patch:
 cat xmail_eventfd_fixes.patch | patch -N -p0
 # Note: After applying this patch, you should have two new patches at
 package/xmail/patches/ folder:
 #     060-fix_eventfd_initialization.patch
 #     070-fix_eventfd_support_detection.patch
 # · Build the package.
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/16679#comment:12>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to