[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#731806: debian-installer: FTBFS on sparc: genisoimage errors



I've been looking through this problem.

genisoimage is reporting a problem with . and .. aliased to the same '' name.
logs of the problem:
-------------
genisoimage -r -J -o ./tmp/miniiso/mini.iso -G /boot/isofs.b -B ... ./tmp/miniiso/cd_tree
I: -input-charset not specified, using utf-8 (detected in locale settings)
genisoimage: Error: './tmp/miniiso/cd_tree/boot/.' and './tmp/miniiso/cd_tree/boot/..' have the same ISO9660 name ''.
Unable to sort directory ./tmp/miniiso/cd_tree/boot
-------------

I tried with the xorriso -as mkisofs command, with no luck.
This command terminates with a SIGBUS no matter of the options I pass on the command line.
Seems to me that there an alignment problem with xorriso.
Here's the log associated
-------------
xorriso -as mkisofs -r -J -o ./tmp/miniiso/mini.iso -G /boot/isofs.b -B ... ./tmp/miniiso/cd_tree/
xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.

Drive current: -outdev 'stdio:./tmp/miniiso/mini.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 9163m free
Added to ISO image: directory '/'='/home/seb/dev/debian-installer-20140316/build/tmp/miniiso/cd_tree'
xorriso : UPDATE : 7 files added in 1 seconds
xorriso : UPDATE : 7 files added in 1 seconds
xorriso : NOTE : Copying to System Area: 7040 bytes from file '/boot/isofs.b'

UNIX-SIGNAL: SIGBUS errno= 13
xorriso : ABORT : Trying to shut down busy drives
xorriso : ABORT : Wait the normal burning time before any kill -9
bus error
-------------

Finally, I downloaded the cdrtools from berlios, and rebuild a mkisofs from source. With this mkisofs, the build of the iso went without a problem, so I'm thinking this problem seems to be a bug in the genisoimage.
Here's the log:
-------------
../../cdrtools-3.01/mkisofs/OBJ/sparc64-linux-cc/mkisofs -r -J -o ./tmp/miniiso/mini.iso -G /boot/isofs.b -B ... ./tmp/miniiso/cd_tree/
Setting input-charset to 'UTF-8' from locale.
Total translation table size: 0
Total rockridge attributes bytes: 966
Total directory bytes: 2048
Path table size(bytes): 22
Total extents including sparc boot = 4160
Max brk space used 0
4310 extents written (8 MB)
-------------

So, this does not seems to be related to sparc, but rather to genisoimage.
There 3 ways possibles to fix this in increasing workload :
1- Create a package for mkisofs original which works ok to generate this iso.
2- Fix the genisoimage
3- Fix the xorriso for alignment problem

I'll have a look at the genisoimage.

My 0,02€ contribution.

S. Bernard


Reply to: