Bug 907 - mkisofs: No such file or directory
Summary: mkisofs: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: 2010.05
Assignee: Thomas Petazzoni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-15 16:42 UTC by maximus
Modified: 2010-04-09 14:49 UTC (History)
1 user (show)

See Also:
Host: opensuse 11.1
Target: i686
Build:


Attachments
Fix (1.60 KB, patch)
2010-01-15 18:14 UTC, Chris Packham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description maximus 2010-01-15 16:42:59 UTC
I selected: 
Target filesystem options  ---> iso image 

after run make i have error: 

---------------------------------------------------------
# Use fakeroot so mkisofs believes the previous fakery
echo "/root/buildroot/output/build/cdrtools-2.01/mkisofs/OBJ/i386-linux-cc/mkisofs -R -b boot/grub/stage2_eltorito -no-emul-boot " \
                "-boot-load-size 4 -boot-info-table -o /root/buildroot/output/images/rootfs.i686.iso /root/buildroot/output/build/iso9660" \
                >> /root/buildroot/output/build/_fakeroot.rootfs.i686.iso
chmod a+x /root/buildroot/output/build/_fakeroot.rootfs.i686.iso
/root/buildroot/output/host/usr/bin/fakeroot -- /root/buildroot/output/build/_fakeroot.rootfs.i686.iso
/root/buildroot/output/build/_fakeroot.rootfs.i686.iso: line 2: /root/buildroot/output/build/cdrtools-2.01/mkisofs/OBJ/i386-linux-cc/mkisofs: No such file or directory
make: *** [/root/buildroot/output/images/rootfs.i686.iso] Error 127
--------------------------------------------------------------------------
Comment 1 maximus 2010-01-15 17:19:28 UTC
I found bug in:

target/iso9660/iso9660.mk
MKISOFS_TARGET=$(MKISOFS_DIR)/mkisofs/OBJ/$(HOST_ARCH)-linux-cc/mkisofs

I change it to
MKISOFS_TARGET=$(MKISOFS_DIR)/mkisofs/OBJ/$(ARCH)-linux-cc/mkisofs

and i have
MKISOFS_TARGET=$(MKISOFS_DIR)/mkisofs/OBJ/i686-linux-cc/mkisofs

Comment 2 Chris Packham 2010-01-15 18:14:01 UTC
Created attachment 931 [details]
Fix

Here is the fix I submitted to the list. I haven't checked but the new version of cdrtools maybe available also.
Comment 3 Chris Packham 2010-01-15 18:15:41 UTC
Opps, forgot the URL to my related posting - http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/18700
Comment 4 Thomas Petazzoni 2010-03-02 13:12:42 UTC
I'm taking this bug, since I'm currently re-working completely the root filesystem generation code of Buildroot.
Comment 5 Thomas Petazzoni 2010-04-09 14:49:53 UTC
Should have been fixed by the filesystem generation code cleanup merged today.