Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19356 closed defect (fixed)

Lamobo R1 (BPi-R1) Openwrt (Trunk) Build failed ("kmod-ata-sunxi")

Reported by: sarumaas Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: sunxi, Lamobo, Allwinner Cc:

Description

Target System: AllwinnerA1x/A20/A3x
Target Profile: Lamobo R1
Compile OS: Ubuntu 14.10

I get an compile error with the latest Trunk:

[...]
rstrip.sh: /home/sarumaas/Downloads/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/linux-sunxi/packages/ipkg-sunxi/kmod-ata-sunxi/lib/modules/3.18.9/ahci_sunxi.ko: relocatable
Packaged contents of /home/sarumaas/Downloads/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/linux-sunxi/packages/ipkg-sunxi/kmod-ata-sunxi into /home/sarumaas/Downloads/openwrt/bin/sunxi/packages/base/kmod-ata-sunxi_3.18.9-1_sunxi.ipk
rm -rf /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi
mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/stamp /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi
for mod in /home/sarumaas/Downloads/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/linux-sunxi/linux-3.18.9/drivers/ata/ahci_sunxi.ko; do if [ -e $mod ]; then mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/lib/modules/3.18.9 ; cp -fpR -L $mod /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/lib/modules/3.18.9/ ; elif [ -e "/home/sarumaas/Downloads/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/linux-sunxi/linux-3.18.9/modules.builtin" ]; then if grep -q "${mod##/home/sarumaas/Downloads/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/linux-sunxi/linux-3.18.9/}" "/home/sarumaas/Downloads/openwrt/build_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/linux-sunxi/linux-3.18.9/modules.builtin"; then echo "NOTICE: module '$mod' is built-in."; else echo "ERROR: module '$mod' is missing." >&2; exit 1; fi; else echo "WARNING: module '$mod' missing and modules.builtin not available, assuming built-in." >&2; fi; done;

. /home/sarumaas/Downloads/openwrt/include/shell.sh; export modules=; probe_module() { mods="$1"; boot="$2"; shift 2; for mod in $mods; do mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules.d; echo "$mod" >> /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules.d/ata-sunxi; done; if [ -e /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules.d/ata-sunxi ]; then if [ "$boot" = "1" ]; then mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules-boot.d; ln -s ../modules.d/ata-sunxi /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules-boot.d/; fi; modules="${modules:+$modules}"; fi; }; add_module() { priority="$1"; mods="$2"; boot="$3"; shift 3; for mod in $mods; do mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules.d; echo "$mod" >> /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules.d/$priority-ata-sunxi; done; if [ -e /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules.d/$priority-ata-sunxi ]; then if [ "$boot" = "1" ]; then mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules-boot.d; ln -s ../modules.d/$priority-ata-sunxi /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules-boot.d/; fi; modules="${modules:+$modules }$priority-ata-sunxi"; fi; }; add_module "41" "ahci_sunxi" "1"; if [ -n "$modules" ]; then mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/etc/modules.d; mkdir -p /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/CONTROL; echo "#!/bin/sh" > /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/CONTROL/postinst; echo "[ -z \"\$IPKG_INSTROOT\" ]
exit 0" >> /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/CONTROL/postinst; echo ". /lib/functions.sh" >> /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/CONTROL/postinst; echo "insert_modules $modules" >> /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/CONTROL/postinst; chmod 0755 /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/CONTROL/postinst; fi

SHELL= /home/sarumaas/Downloads/openwrt/staging_dir/host/bin/flock /home/sarumaas/Downloads/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi/. /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/'
rm -rf /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/tmp-kmod-ata-sunxi
touch /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/root-sunxi/stamp/.kmod-ata-sunxi_installed
if [ -f /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install.clean ]; then rm -f /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install.clean; fi; echo "kmod-ata-sunxi" >> /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/pkginfo/linux.default.install
make[3]: Leaving directory '/home/sarumaas/Downloads/openwrt/package/kernel/linux'
make[2]: Leaving directory '/home/sarumaas/Downloads/openwrt'
package/Makefile:171: recipe for target '/home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/stamp/.package_compile' failed
make[1]: * /home/sarumaas/Downloads/openwrt/staging_dir/target-arm_cortex-a8+vfpv3_uClibc-0.9.33.2_eabi/stamp/.package_compile Error 2
make[1]: Leaving directory '/home/sarumaas/Downloads/openwrt'
/home/sarumaas/Downloads/openwrt/include/toplevel.mk:179: recipe for target 'world' failed
make:
* [world] Error 2

Attachments (1)

Config.in (576 bytes) - added by sarumaas 3 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 3 years ago by wigyori

Hi,

Please post your config.

Thanks,
-w-

Changed 3 years ago by sarumaas

comment:2 Changed 3 years ago by blogic

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

current trunk build on the CC builder create the package properl on 3.18.10.

please retest with current trunk.

comment:3 Changed 3 years ago by anonymous

Thanks for reply. 3.18.10 fixed it. :)

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.