Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8528 closed defect (fixed)

[package] triggerhappy errors

Reported by: JR <oss@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: triggerhappy Cc:

Description

  1. If you don't have git the compile fails because the tarball isn't available on the web:
     make[3] -C feeds/packages/utils/triggerhappy compile
    make -r world: build failed. Please re-run make with V=99 to see what's going on
    make: *** [world] Error 1
    wrtdev@openwrt-dev:~/trunk$ make V=99 package/triggerhappy/compile
    make[1]: Entering directory `/home/wrtdev/trunk'
    make[2]: Entering directory `/home/wrtdev/trunk/feeds/packages/utils/triggerhappy'
    mkdir -p /home/wrtdev/trunk/dl
    --2010-12-26 13:59:18--  http://mirror2.openwrt.org/sources/triggerhappy-0.3.2.tar.gz
    Resolving mirror2.openwrt.org... 46.4.11.11
    Connecting to mirror2.openwrt.org|46.4.11.11|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2010-12-26 13:59:18 ERROR 404: Not Found.
    
    Download failed.
    --2010-12-26 13:59:18--  http://downloads.openwrt.org/sources/triggerhappy-0.3.2.tar.gz
    Resolving downloads.openwrt.org... 78.24.191.177
    Connecting to downloads.openwrt.org|78.24.191.177|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2010-12-26 13:59:19 ERROR 404: Not Found.
    
    Download failed.
    No more mirrors to try - giving up.
    Checking out files from the git repository...
    bash: git: command not found
    make[2]: *** [/home/wrtdev/trunk/dl/triggerhappy-0.3.2.tar.gz] Error 127
    make[2]: Leaving directory `/home/wrtdev/trunk/feeds/packages/utils/triggerhappy'
    make[1]: *** [package/feeds/packages/triggerhappy/compile] Error 2
    make[1]: Leaving directory `/home/wrtdev/trunk'
    make: *** [package/triggerhappy/compile] Error 2
    wrtdev@openwrt-dev:~/trunk$ scripts/package update triggerhappy
    -bash: scripts/package: No such file or directory
    wrtdev@openwrt-dev:~/trunk$ scripts/feeds update triggerhappy
    wrtdev@openwrt-dev:~/trunk$ make V=99 package/triggerhappy/compile
    + mkdir -p /home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31
    + cd /home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31
    + mkdir -p stamp lib usr/include usr/lib
    make[4]: Entering directory `/home/wrtdev/trunk/target/linux'
    make[5]: Entering directory `/home/wrtdev/trunk/target/linux/ar71xx'
    make[6]: Entering directory `/home/wrtdev/trunk/target/linux/ar71xx/image'
    make[6]: Leaving directory `/home/wrtdev/trunk/target/linux/ar71xx/image'
    make[5]: Leaving directory `/home/wrtdev/trunk/target/linux/ar71xx'
    make[4]: Leaving directory `/home/wrtdev/trunk/target/linux'
    Checking 'xgettext'... ok.
    make[1]: Entering directory `/home/wrtdev/trunk'
    make[2]: Entering directory `/home/wrtdev/trunk/feeds/packages/utils/triggerhappy'
    mkdir -p /home/wrtdev/trunk/dl
    --2010-12-26 14:01:53--  http://mirror2.openwrt.org/sources/triggerhappy-0.3.2.tar.gz
    Resolving mirror2.openwrt.org... 46.4.11.11
    Connecting to mirror2.openwrt.org|46.4.11.11|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2010-12-26 14:01:53 ERROR 404: Not Found.
    
    Download failed.
    --2010-12-26 14:01:53--  http://downloads.openwrt.org/sources/triggerhappy-0.3.2.tar.gz
    Resolving downloads.openwrt.org... 78.24.191.177
    Connecting to downloads.openwrt.org|78.24.191.177|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2010-12-26 14:01:54 ERROR 404: Not Found.
    
    Download failed.
    No more mirrors to try - giving up.
    Checking out files from the git repository...
    bash: git: command not found
    make[2]: *** [/home/wrtdev/trunk/dl/triggerhappy-0.3.2.tar.gz] Error 127
    make[2]: Leaving directory `/home/wrtdev/trunk/feeds/packages/utils/triggerhappy'
    make[1]: *** [package/feeds/packages/triggerhappy/compile] Error 2
    make[1]: Leaving directory `/home/wrtdev/trunk'
    make: *** [package/triggerhappy/compile] Error 2
    
  1. Even with git installed, the compile fails (ar71xx platform):
    No more mirrors to try - giving up.
    Checking out files from the git repository...
    Initialized empty Git repository in /home/wrtdev/trunk/tmp/dl/triggerhappy-0.3.2/.git/
    remote: Counting objects: 791, done.
    remote: Compressing objects: 100% (382/382), done.
    remote: Total 791 (delta 496), reused 603 (delta 384)
    Receiving objects: 100% (791/791), 131.59 KiB, done.
    Resolving deltas: 100% (496/496), done.
    Note: checking out 'c0cedabf8d5bd56ae4cb151ebe708d1ac6a3025d'.
    
    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.
    
    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:
    
      git checkout -b new_branch_name
    
    HEAD is now at c0cedab... increase version to 0.3.2
    Packing checkout...
    . /home/wrtdev/trunk/include/shell.sh; . /home/wrtdev/trunk/include/shell.sh; gzip -dc /home/wrtdev/trunk/dl/triggerhappy-0.3.2.tar.gz | /bin/gtar -C /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/.. -xf -
    ls: cannot access ./patches: No such file or directory
    touch /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/.prepared_a108fb4e42188a1f95acaa62e4733eea
    (cd /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/./; if [ -x ./configure ]; then /usr/bin/find /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/ -name config.guess | xargs -r chmod u+w; /usr/bin/find /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/ -name config.guess | xargs -r -n1 cp /home/wrtdev/trunk/scripts/config.guess; /usr/bin/find /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/ -name config.sub | xargs -r chmod u+w; /usr/bin/find /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/ -name config.sub | xargs -r -n1 cp /home/wrtdev/trunk/scripts/config.sub; AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CFLAGS="-Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float " CXXFLAGS="-Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float " CPPFLAGS="-I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include " LDFLAGS="-L/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/lib -L/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/lib -L/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/lib -L/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/lib "   ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls   ; fi; )
    touch /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/.configured_
    CFLAGS="-Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float  -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include " CXXFLAGS="-Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float  -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include " LDFLAGS="-L/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/lib -L/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/lib -L/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/lib -L/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/lib " make -j1 -C /home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" LINUX_INPUT_H=/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include/linux/input.h AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size  ;
    make[3]: Entering directory `/home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2'
    mips-openwrt-linux-uclibc-gcc -M -MG  -o cmdsocket.d cmdsocket.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o th-cmd.d th-cmd.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o triggerparser.d triggerparser.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o uinput.d uinput.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o ignore.d ignore.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o obey.d obey.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o devices.d devices.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o eventnames.d eventnames.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o trigger.d trigger.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o keystate.d keystate.c
    mips-openwrt-linux-uclibc-gcc -M -MG  -o thd.d thd.c
    make[3]: Leaving directory `/home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2'
    make[3]: Entering directory `/home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2'
    sed -r 's!(.*)!#define TH_VERSION "\1"!' version.inc > version.h
    mips-openwrt-linux-uclibc-gcc -Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float  -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include    -c -o thd.o thd.c
    mips-openwrt-linux-uclibc-gcc -Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float  -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include    -c -o keystate.o keystate.c
    mips-openwrt-linux-uclibc-gcc -Os -pipe -march=24kc -funit-at-a-time -fhonour-copts -msoft-float  -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/target-mips_uClibc-0.9.31/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/usr/include -I/home/wrtdev/trunk/staging_dir/toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.31/include    -c -o trigger.o trigger.c
    make[3]: *** No rule to make target `evtable_EV.h', needed by `eventnames.o'.  Stop.
    make[3]: Leaving directory `/home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2'
    make[2]: *** [/home/wrtdev/trunk/build_dir/target-mips_uClibc-0.9.31/triggerhappy-0.3.2/.built] Error 2
    make[2]: Leaving directory `/home/wrtdev/trunk/feeds/packages/utils/triggerhappy'
    make[1]: *** [package/feeds/packages/triggerhappy/compile] Error 2
    make[1]: Leaving directory `/home/wrtdev/trunk'
    make: *** [package/triggerhappy/compile] Error 2
    

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by florian

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

Fixed with r24812.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

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.