Bug 1605103 - genisoimage: Error some rpm files have the same Joliet name
Summary: genisoimage: Error some rpm files have the same Joliet name
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: pungi
Version: 28
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Lubomír Sedlář
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-20 07:49 UTC by young.kim
Modified: 2018-07-25 06:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-25 06:22:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
pungi log files (916.47 KB, application/x-gzip)
2018-07-20 07:49 UTC, young.kim
no flags Details

Description young.kim 2018-07-20 07:49:30 UTC
Created attachment 1464872 [details]
pungi log files

Description of problem: While pungi execution is done, genisoimage showed the following error :
============================================
Warning: creating filesystem that does not conform to ISO-9660.
genisoimage: Error: /root/pungi/28/Fedora/x86_64/os/Packages/c/cinnamon-control-center-filesystem-3.6.6-0.1.20180314gitd63b51c.fc28.i686.rpm and /root/pungi/28/Fedora/x86_64/os/Packages/c/cinnamon-control-center-filesystem-3.6.6-0.1.20180314gitd63b51c.fc28.x86_64.rpm have the same Joliet name
Joliet tree sort failed. The -joliet-long switch may help you 
============================================
 

Version-Release number of selected component (if applicable):
pungi-legacy (pungi-legacy-4.1.25-1.fc28.noarch)
Please note that the latest version "pungi-legacy-4.1.25-6.fc28.noarch" has the same issue

How reproducible:
After installation pungi legacy, pungi execution is started.


Steps to Reproduce:
1. # dnf -y install pungi-legacy
2. # pungi --nosource --nodebuginfo --flavor Fedora --ver 28 --isfinal --full-archlist -c fedora-live-base.ks



Actual results:
....
Sqlite DBs complete
Pungi:INFO: Running /usr/bin/repoview --quiet --state-dir /var/cache/pungi/repoviewcache --title "Fedora 28 - x86_64" /root/pungi/28/Fedora/x86_64/os
Pungi:INFO: lorax --workdir /root/pungi/work/Fedora/x86_64 --logfile /root/pungi/logs/lorax-x86_64.log --mirrorlist https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-28&arch=x86_64 --source file:///root/pungi/28/Fedora/x86_64/os --product Fedora --version 28 --release Fedora 28 --variant Fedora --bugurl https://bugzilla.redhat.com --isfinal --volid Fedora-Fedora-28-x86_64 --macboot --force /root/pungi/28/Fedora/x86_64/os
Pungi:INFO: Running lorax --workdir /root/pungi/work/Fedora/x86_64 --logfile /root/pungi/logs/lorax-x86_64.log --mirrorlist https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-28&arch=x86_64 --source file:///root/pungi/28/Fedora/x86_64/os --product Fedora --version 28 --release "Fedora 28" --variant Fedora --bugurl https://bugzilla.redhat.com --isfinal --volid Fedora-Fedora-28-x86_64 --macboot --force /root/pungi/28/Fedora/x86_64/os
Warning: creating filesystem that does not conform to ISO-9660.
genisoimage: Error: /root/pungi/28/Fedora/x86_64/os/Packages/c/cinnamon-control-center-filesystem-3.6.6-0.1.20180314gitd63b51c.fc28.i686.rpm and /root/pungi/28/Fedora/x86_64/os/Packages/c/cinnamon-control-center-filesystem-3.6.6-0.1.20180314gitd63b51c.fc28.x86_64.rpm have the same Joliet name
Joliet tree sort failed. The -joliet-long switch may help you.
Traceback (most recent call last):
  File "/usr/bin/pungi", line 357, in <module>
    main()
  File "/usr/bin/pungi", line 196, in main
    mypungi.doCreateIsos()
  File "/usr/lib/python2.7/site-packages/pungi/gather.py", line 1769, in doCreateIsos
    treesize = int(subprocess.Popen(mkisofs + ['-print-size', '-quiet', self.topdir], stdout=subprocess.PIPE).communicate()[0])
ValueError: invalid literal for int() with base 10: ''


Expected results:
Fedora-Fedora-DVD-x86_64-28.iso should be generated

Additional info:

Comment 1 Lubomír Sedlář 2018-07-20 08:35:15 UTC
I think this PR [0] should fix it by adding the --joliet-long option, which changes the the path component length limit from 64 to 103 characters. I'm not able to test it though, since with the latest kickstart file from fedora-kickstarts git repo I'm getting errors in lorax about gconftool-2 aborting, so it does not get to creating isos.

Can you test it?

[0]: https://pagure.io/pungi/pull-request/1009

Slightly unrelated information: please note that the pungi executable is using Yum. Unless someone steps up and migrates it to be DNF and Python 3 compatible, it will eventually be dropped in upstream.


Note You need to log in before you can comment on or make changes to this bug.