Opened 3 years ago

Closed 3 years ago

#18938 closed defect (fixed)

lantiq: can't build - patch fals on drivers/gpio/gpiolib.c

Reported by: juanriccio@… Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: Cc:


$ make V=s
make[1]: Entering directory `/openwrt/trunk'
make[2]: Entering directory `/openwrt/trunk'
make[3]: Entering directory `/openwrt/trunk/target/linux'
make[4]: Entering directory `/openwrt/trunk/target/linux/lantiq'
if [ -s "/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-" ]; then (cd "/openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc-"; if quilt --quiltrc=- next >/dev/null 2>&1; then quilt --quiltrc=- push -a; else quilt --quiltrc=- top >/dev/null 2>&1; fi ); fi
Applying patch platform/0030-GPIO-add-named-gpio-exports.patch
patching file drivers/gpio/gpiolib-of.c
Hunk #2 succeeded at 304 (offset 6 lines).
patching file drivers/gpio/gpiolib.c
Hunk #1 succeeded at 798 (offset -5 lines).
Hunk #2 FAILED at 843.
Hunk #3 succeeded at 874 (offset -6 lines).
1 out of 3 hunks FAILED -- rejects in file drivers/gpio/gpiolib.c
patching file include/asm-generic/gpio.h
patching file include/linux/gpio/consumer.h
Patch platform/0030-GPIO-add-named-gpio-exports.patch does not apply (enforce with -f)
make[4]: * /openwrt/trunk/build_dir/target-mips_34kc+dsp_uClibc- Error 1
make[4]: Leaving directory `/openwrt/trunk/target/linux/lantiq'
* [compile] Error 2
make[3]: Leaving directory `/openwrt/trunk/target/linux'
make[2]: * [target/linux/compile] Error 2
make[2]: Leaving directory `/openwrt/trunk'
* /openwrt/trunk/staging_dir/target-mips_34kc+dsp_uClibc- Error 2
make[1]: Leaving directory `/openwrt/trunk'
make: * [world] Error 2

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by juanriccio@…

Not important any more: after switching to 3.18.6, it compiles.

comment:2 Changed 3 years ago by nbd

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

Add Comment

Modify Ticket

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

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

Note: See TracTickets for help on using tickets.