← Back to team overview

linaro-pkg team mailing list archive

[Bug 911377] Re: linaro media create busted for efikamx

 

Actually this is a build error happening while building the latest u
-boot-linaro package. We currently have 2 bugs, one for the build
failure and the other for not failing the package build (as it just
continues when the error happens):

gcc-4.5  -g  -Os   -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x97800000 -I/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/efikamx/include2 -I/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/efikamx/include -I/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc/arm-linux-gnueabi/4.5/include -pipe  -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security     -o /build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/efikamx/board/efikamx/efikamx.o efikamx.c -c
In file included from efikamx.c:37:0:
/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/include/pmic.h:61:5: error: conflicting types for 'pmic_reg_read'
/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/efikamx/include/asm/arch/sys_proto.h:31:5: note: previous declaration of 'pmic_reg_read' was here
/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/include/pmic.h:62:5: error: conflicting types for 'pmic_reg_write'
/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/efikamx/include/asm/arch/sys_proto.h:30:6: note: previous declaration of 'pmic_reg_write' was here
make[3]: *** [/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/efikamx/board/efikamx/efikamx.o] Error 1
make[3]: Leaving directory `/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/board/efikamx'
make[2]: *** [/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/efikamx/board/efikamx/libefikamx.o] Error 2
make[2]: Leaving directory `/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1'
make[2]: Entering directory `/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1'
awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > /build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1/debian/build/highbank/.boards.depend
make[2]: Leaving directory `/build/buildd/u-boot-linaro-2011.12.2+6085+38+201112200942~oneiric1'


** Changed in: u-boot-linaro
       Status: New => Confirmed

** Changed in: linaro-ubuntu
       Status: New => Confirmed

** Changed in: u-boot-linaro
   Importance: Undecided => Medium

** Changed in: linaro-ubuntu
   Importance: Undecided => Medium

** Changed in: u-boot-linaro
     Assignee: (unassigned) => John Rigby (jcrigby)

** Changed in: linaro-ubuntu
     Assignee: (unassigned) => John Rigby (jcrigby)

** Summary changed:

- linaro media create busted for efikamx
+ u-boot-linaro fails to build for efikamx with 11.12 release

** Changed in: linaro-image-tools
       Status: New => Invalid

** Changed in: linaro-ubuntu
    Milestone: None => 12.01

** Changed in: u-boot-linaro
    Milestone: None => 12.01

-- 
You received this bug notification because you are a member of Linaro
Maintainers, which is the registrant for Linaro U-Boot.
https://bugs.launchpad.net/bugs/911377

Title:
  u-boot-linaro fails to build for efikamx with 11.12 release

Status in Linaro Image Tools:
  Invalid
Status in Linaro Ubuntu Evaluation Builds:
  Confirmed
Status in Linaro U-Boot:
  Confirmed

Bug description:
  I just noticed the l-m-c doesn't work for the efikamx images in the
  2011-12 release.

  I tried generating a nano image with:

   http://releases.linaro.org/11.12/ubuntu/oneiric-images/nano/hwpack_linaro-efikamx_20111219-0_armel_supported.tar.gz
   http://releases.linaro.org/11.12/ubuntu/oneiric-images/nano/linaro-o-nano-tar-20111219-0.tar.gz

  The command used was:

   sudo linaro-media-create --dev efikamx --image_file /tmp/tmp.img
  --image_size 800M --hwpack hwpack_linaro-
  efikamx_20111219-0_armel_supported.tar.gz --binary linaro-o-nano-
  tar-20111219-0.tar.gz

  The last few lines of output were:

  Writing inode tables: done                            
  Creating journal (4096 blocks): done
  Writing superblocks and filesystem accounting information: done

  This filesystem will be automatically checked every 21 mounts or
  180 days, whichever comes first.  Use tune2fs -c or -i to override.
  Traceback (most recent call last):
    File "/usr/bin/linaro-media-create", line 176, in <module>
      args.is_live, args.is_lowmem, args.consoles)
    File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 754, in populate_boot
      rootfs_uuid, boot_disk, boot_device_or_file)
    File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 634, in make_boot_files
      boot_device_or_file, k_img_data, i_img_data, d_img_data)
    File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 1218, in _make_boot_files
      cls.LOADER_MIN_SIZE_S)
    File "/usr/lib/pymodules/python2.7/linaro_image_tools/media_create/boards.py", line 1585, in install_mx5_boot_loader
      assert os.path.getsize(imx_file) <= max_size, (
    File "/usr/lib/python2.7/genericpath.py", line 49, in getsize
      return os.stat(filename).st_size
  OSError: [Errno 2] No such file or directory: '/tmp/tmpkZQLOP/binary/boot/filesystem.dir/usr/lib/u-boot/efikamx/u-boot.imx'

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/911377/+subscriptions