fuel-8 make iso build fails on ubuntu 14.04

asked 2016-06-13 16:50:18 -0500

Hi all, im having a bit of trouble building an iso with fuel 8. I have the code from github fuel-main, and when I run the prepare environment script it looks like all of the dependencies are installed sucesfully. However, when I run the make iso command, it fails. Here is the output of the error: garrett@DEV:~/Downloads/fuel-main-master$ make iso touch "/home/garrett/Downloads/fuel-main-master/build/mirror/centos/conflicting-packages-0.lst"

1st pass - find out which packages conflict

2nd pass - get the URLs of non-conflicting packages

3rd pass (under the else clause) - process the conflicting rpms one by one

count=0; \ while true; do \ if [ $count -gt 1 ]; then \ echo "Unable to resolve packages dependencies" >&2; \ cat /home/garrett/Downloads/fuel-main-master/build/mirror/centos/yumdownloader-1.out >&2; \ exit 1; \ fi; \ requirements_rpm="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/requirements-rpm-${count}.txt"; \ requirements_rpm_next="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/requirements-rpm-$((count+1)).txt"; \ out="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/yumdownloader-${count}.out"; \ log="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/yumdownloader-${count}.log"; \ conflict_lst="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/conflicting-packages-${count}.lst"; \ conflict_lst_next="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/conflicting-packages-$((count+1)).lst"; \ if ! env \ TMPDIR="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/dummy_installroot/cache" \ TMP="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/dummy_installroot/cache" \ /home/garrett/Downloads/fuel-main-master/build/bin/yumdownloader -q --urls \ --archlist=x86_64 \ --installroot="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/dummy_installroot" \ -c /home/garrett/Downloads/fuel-main-master/build/mirror/centos/etc/yum.conf \ --resolve \ cat ${requirements_rpm} > "$out" 2>"$log"; then \ sed -rne 's/^([a-zA-Z0-9_-]+)\s+conflicts with\s+(.+)$/\1/p' < "$out" > "${conflict_lst_next}.pre" && \ # Package X can declare conflict with package Y; but package Y is not obliged \ # to declare a conflict with package X. yum will report that X conflicts with Y. \ # We need to figure out that Y conflicts with X on our own. \ sed -rne 's/^([a-zA-Z0-9_-]+)\s+conflicts with\s+(.+)$/\2/p' < "$out" > "${conflict_lst_next}.more" && \ while read nvra; do \ nvr="${nvra%.}"; nv="${nvr%-}"; n="${nv%-}"; echo $n; \ done < "${conflict_lst_next}.more" >> "${conflict_lst_next}.pre" && \ cat "${conflict_lst_next}.pre" "$conflict_lst" | sort -u > "$conflict_lst_next" && \ comm -23 "$requirements_rpm" "$conflict_lst_next" > "${requirements_rpm}.new.pre" && \ sort -u < "${requirements_rpm}.new.pre" > "${requirements_rpm_next}"; \ else \ conflicting_pkgs_urls="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/urls_conflicting.lst"; \ nonconflicting_pkgs="$requirements_rpm"; \ # Now process conflicting packages one by one. There is a small problem: \ # in the original requirements-rpm.txt quite a number of packages are \ # pinned to specific versions. These pins should be taken into account \ # to avoid having several versions of the same package. For instance, \ # zabbix-web- depends on httpd, so the latest version of httpd gets \ # installed along with the one listed in the requirements-rpm.txt. \ # Therefore add the set of all nonconflicting packages to the package \ # being processed to take into account version pins. \ for pkg in cat $conflict_lst; do \ if ! env \ TMPDIR="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/dummy_installroot/cache" \ TMP="/home/garrett/Downloads/fuel-main-master/build/mirror/centos/dummy_installroot/cache" \ /home/garrett/Downloads/fuel-main-master/build/bin/yumdownloader -q --urls \ --archlist ... (more)

edit retag flag offensive close merge delete