Modify

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20367 closed defect (moved_to_github)

package/feeds/packages/zmq/compile] Error 2

Reported by: lxrfvg Owned by: developers
Priority: highest Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

open@open-virtual-machine:~/chaos_calmer$ make package/feeds/packages/zmq/compile -j1 V=s
make[1]: Entering directory `/home/open/chaos_calmer'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/toolchain'
if [ -f /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean ]; then rm -f /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install
if [ -f /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean ]; then rm -f /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/open/chaos_calmer/staging_dir/target-i386_i486_uClibc-0.9.33.2/pkginfo/toolchain.default.install
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/toolchain'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/gettext'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/gettext'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/libiconv'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/libiconv'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/libtool'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/libtool'
make[2]: Entering directory `/home/open/chaos_calmer/feeds/packages/libs/libsodium'
make[2]: Leaving directory `/home/open/chaos_calmer/feeds/packages/libs/libsodium'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/ncurses'
make[2]: Entering directory `/home/open/chaos_calmer/package/utils/util-linux'
make[2]: Leaving directory `/home/open/chaos_calmer/package/utils/util-linux'
make[2]: Entering directory `/home/open/chaos_calmer/package/libs/uclibc++'
make[2]: Leaving directory `/home/open/chaos_calmer/package/libs/uclibc++'
make[2]: Entering directory `/home/open/chaos_calmer/feeds/packages/libs/zmq'
. /home/open/chaos_calmer/include/shell.sh; gzip -dc /home/open/chaos_calmer/dl/zeromq-4.1.1.tar.gz | tar -C /home/open/chaos_calmer/build_dir/target-i386_i486_uClibc-0.9.33.2/zeromq-curve/zeromq-4.1.1/.. -xf -

Applying ./patches/010-disable_pedantic_on_linux_with_ulibc++.patch using plaintext:
patching file configure.ac

Applying ./patches/020-map_with_const_string_with_ublic++.patch using plaintext:
patching file src/metadata.hpp
patching file src/socket_base.cpp
patching file src/stream_engine.cpp

Applying ./patches/030-streamoff_missing_with_ulibc++.patch using plaintext:
patching file src/blob.hpp

Applying ./patches/100-fix-cxx-include-order.patch using plaintext:
patching file src/mtrie.cpp
patching file src/raw_encoder.cpp
patching file src/trie.cpp
patching file src/encoder.hpp
patching file src/v1_encoder.cpp
patching file src/v2_encoder.cpp

Applying ./patches/disable_pedantic_on_linux_with_ulibc++.patch~ using plaintext:
patching file configure.ac
patch: malformed patch at line 13: AC_DEFINE(ZMQ_HAVE_LINUX, 1, [Have Linux OS])

Patch failed! Please fix ./patches/disable_pedantic_on_linux_with_ulibc++.patch~!
make[2]: * /home/open/chaos_calmer/build_dir/target-i386_i486_uClibc-0.9.33.2/zeromq-curve/zeromq-4.1.1/.prepared_c4f7a4641e20f167aab11f74a9373b10y Error 1
make[2]: Leaving directory `/home/open/chaos_calmer/feeds/packages/libs/zmq'
make[1]:
* [package/feeds/packages/zmq/compile] Error 2
make[1]: Leaving directory `/home/open/chaos_calmer'
make: * [package/feeds/packages/zmq/compile] 错误 2
open@open-virtual-machine:~/chaos_calmer$

Attachments (5)

010-disable_pedantic_on_linux_with_ulibc++.patch (491 bytes) - added by lxrfvg 2 years ago.
020-map_with_const_string_with_ublic++.patch (1.4 KB) - added by lxrfvg 2 years ago.
030-streamoff_missing_with_ulibc++.patch (187 bytes) - added by lxrfvg 2 years ago.
100-fix-cxx-include-order.patch (1.7 KB) - added by lxrfvg 2 years ago.
Makefile (2.2 KB) - added by lxrfvg 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by jogo

  • Resolution set to moved_to_github
  • Status changed from new to closed

zmq is maintained at https://github.com/openwrt/packages, please report the issue there.

Changed 2 years ago by lxrfvg

Changed 2 years ago by lxrfvg

Changed 2 years ago by lxrfvg

comment:2 Changed 2 years ago by lxrfvg

I was in the process of compiling, the error is as follows;

Applying ./patches/tools_gcc_fix.patch using plaintext:
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:


|diff -ruNa zeromq-4.0.4_org/tools/Makefile.am zeromq-4.0.4/tools/Makefile.am

zeromq-4.0.4_org/tools/Makefile.am 2014-06-03 20:01:12.392379933 +0800

|+++ zeromq-4.0.4/tools/Makefile.am 2014-06-03 19:59:18.616382420 +0800


No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch failed! Please fix ./patches/tools_gcc_fix.patch!
make[2]: * /home/open/chaos_calmer/build_dir/target-i386_i486_uClibc-0.9.33.2/zeromq-4.1.1/.prepared_271899cbd05902d3d6348cc8d558cca1y Error 1
make[2]: Leaving directory `/home/open/chaos_calmer/feeds/packages/libs/zmq'
make[1]:
* [package/feeds/packages/zmq/compile] Error 2
make[1]: Leaving directory `/home/open/chaos_calmer'
make: * [package/feeds/packages/zmq/compile] 错误 2
open@open-virtual-machine:~/chaos_calmer$

I tried to compile the ZMQ package alone

Executive
make package/feeds/packages/zmq/compile -j1 V=s
The fault is still, view the data after the manual update
/chaos_calmer/feeds/packages/libs/zmq
Under the file, and then re compiled
Tip the above error

comment:3 Changed 2 years ago by lxrfvg

I was in the process of compiling, the error is as follows;

Applying ./patches/tools_gcc_fix.patch using plaintext:
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:


|diff -ruNa zeromq-4.0.4_org/tools/Makefile.am zeromq-4.0.4/tools/Makefile.am

zeromq-4.0.4_org/tools/Makefile.am 2014-06-03 20:01:12.392379933 +0800

|+++ zeromq-4.0.4/tools/Makefile.am 2014-06-03 19:59:18.616382420 +0800


No file to patch. Skipping patch.
1 out of 1 hunk ignored
Patch failed! Please fix ./patches/tools_gcc_fix.patch!
make[2]: * /home/open/chaos_calmer/build_dir/target-i386_i486_uClibc-0.9.33.2/zeromq-4.1.1/.prepared_271899cbd05902d3d6348cc8d558cca1y Error 1
make[2]: Leaving directory `/home/open/chaos_calmer/feeds/packages/libs/zmq'
make[1]:
* [package/feeds/packages/zmq/compile] Error 2
make[1]: Leaving directory `/home/open/chaos_calmer'
make: * [package/feeds/packages/zmq/compile] 错误 2
open@open-virtual-machine:~/chaos_calmer$

I tried to compile the ZMQ package alone

Executive
make package/feeds/packages/zmq/compile -j1 V=s
The fault is still, view the data after the manual update
/chaos_calmer/feeds/packages/libs/zmq
Under the file, and then re compiled
Tip the above error

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.