yaboot FTBFS on precise

Bug #974669 reported by Tormod Volden
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
yaboot (Ubuntu)
Fix Released
High
Unassigned

Bug Description

sudo apt-get install build-essential && sudo apt-get build-dep yaboot && apt-get source yaboot && cd yaboot-* && debian/rules build

fails in the linking part

ld -Ttext 0x200000 -Bstatic -melf32ppclinux second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o second/fs_of.o second/fs_ext2.o second/fs_iso.o second/iso_util.o lib/nonstd.o lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o second/md5.o second/fs_xfs.o second/fs_reiserfs.o -lext2fs `gcc -m32 -print-libgcc-file-name` -o second/yaboot
/usr/lib/powerpc-linux-gnu/libext2fs.a(mmp.o): In function `ext2fs_mmp_read':
(.text+0xf8): undefined reference to `open'
/usr/lib/powerpc-linux-gnu/libext2fs.a(mmp.o): In function `ext2fs_mmp_read':
(.text+0x158): undefined reference to `read'
/usr/lib/powerpc-linux-gnu/libext2fs.a(mmp.o): In function `ext2fs_mmp_write':
(.text+0x200): undefined reference to `gettimeofday'
/usr/lib/powerpc-linux-gnu/libext2fs.a(mmp.o): In function `ext2fs_mmp_reset':
(.text+0x370): undefined reference to `gethostname'
...

There is already a patch e2fs-missing-libc.patch "Provide missing libc functions required by e2fslibs." but I suspect a newer e2fslibs has created more problems.

Tags: ftbfs
Revision history for this message
Tormod Volden (tormodvolden) wrote :

This is reported upstream in http://lists.ozlabs.org/pipermail/yaboot-devel/2012-January/000441.html but there is no visible response or progress.

Changed in yaboot (Ubuntu):
status: New → Confirmed
Matthias Klose (doko)
tags: added: ftbfs
Revision history for this message
Matthias Klose (doko) wrote :

https://lists.ozlabs.org/pipermail/yaboot-devel/2012-May/thread.html
discusses the issue, proposing to build another special flavor of libext2

Changed in yaboot (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package yaboot - 1.3.17-2ubuntu2

---------------
yaboot (1.3.17-2ubuntu2) yakkety; urgency=medium

  * build-system.patch: CFLAGS += -U_FORTIFY_SOURCE -fno-stack-protector

 -- Adam Conrad <email address hidden> Mon, 02 May 2016 14:19:39 -0600

Changed in yaboot (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.