[Bug 835981] New: build fails
https://bugzilla.novell.com/show_bug.cgi?id=835981 https://bugzilla.novell.com/show_bug.cgi?id=835981#c0 Summary: build fails Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 4 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: comes@naic.edu QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 I try to create an rpm (shadow in my test) using build but the process fails. There are two different issues: 1) After I run: "build shadow.spec" the following message appears: Can't locate Net/SSL.pm in @INC (you may need to install the Net::SSL module) (@INC contains: /usr/lib/perl5/site_perl/5.18.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.0 /usr/lib/perl5/vendor_perl/5.18.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.18.0 /usr/lib/perl5/5.18.0/x86_64-linux-thread-multi /usr/lib/perl5/5.1.0 /usr/lib/perl5/site_perl/5.18.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.18.0 /usr/lib/perl5/site_perl .) at /usr/lib/build/download line 3 Installing the package perl-Crypt-SSLeay makes the message disappear. I guess the build package should depend on perl-Crypt-SSLeay so it is installed automatically with build. 2) After fixing the previous issue and running again "build shadow.spec" the following message appears: expansion error have choice for gettext-tools needed by rpm-build: gettext-tools-mini gettext-tools and the build process stops. The fix is to add the line: Prefer: gettext-tools-mini in /usr/lib/build/configs/sl13.1.conf. After doing that build works properly. Reproducible: Always Steps to Reproduce: 1.create a rpm package using build 2. 3. Actual Results: build process fails immediately Expected Results: build should complete without errors -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=835981 https://bugzilla.novell.com/show_bug.cgi?id=835981#c FeiXiang Zhang <fxzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |lnussel@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=835981 https://bugzilla.novell.com/show_bug.cgi?id=835981#c Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|lnussel@suse.com |adrian@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=835981 https://bugzilla.novell.com/show_bug.cgi?id=835981#c1 --- Comment #1 from Giacomo Comes <comes@naic.edu> 2013-10-14 18:32:15 UTC --- RC1 is out and build is still broken. In the mean time I have found two more issues: 1) I use build to create the gtk2 rpm: After I run: "build gtk2.spec" the following message appears: expansion error have choice for pkgconfig(libpng) needed by cairo-devel: libpng12-compat-devel libpng16-compat-devel have choice for libffi-devel needed by gobject-introspection-devel: libffi48-devel libffi47-devel have choice for pkgconfig(libffi) needed by gobject-introspection-devel: libffi48-devel libffi47-devel have choice for libjpeg-devel needed by libjasper-devel: libjpeg8-devel libjpeg62-devel The fix is to add the lines: Prefer: libffi48-devel Prefer: libjpeg8-devel and replace the line: Prefer: libpng15-compat-devel with: Prefer: libpng16-compat-devel in /usr/lib/build/configs/sl13.1.conf 2) I try to build libvirt. After I run: "build libvirt.spec" the following message appears: Preparing... ######################################## file /usr/bin/msgfmt conflicts between attempted installs of gettext-runtime-0.18.3.1-1.1.x86_64 and gettext-runtime-mini-0.18.3.1-1.1.x86_64 file /usr/lib64/libgettextlib-0.18.3.so conflicts between attempted installs of gettext-runtime-0.18.3.1-1.1.x86_64 and gettext-runtime-mini-0.18.3.1-1.1.x86_64 file /usr/lib64/libgettextsrc-0.18.3.so conflicts between attempted installs of gettext-runtime-0.18.3.1-1.1.x86_64 and gettext-runtime-mini-0.18.3.1-1.1.x86_64 exit ... For this error I haven't figured out how to fix it. I'm stuck and I cannot build libvirt. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=835981 https://bugzilla.novell.com/show_bug.cgi?id=835981#c2 --- Comment #2 from Giacomo Comes <comes@naic.edu> 2013-10-14 19:20:34 UTC --- It turns out that the second error on comment 1 is due to the first fix I proposed: Prefer: gettext-tools-mini Instead of it if I use: Prefer: gettext-tools then I dont get error and I can build libvirt. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=835981 https://bugzilla.novell.com/show_bug.cgi?id=835981#c3 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Adrian Schröter <adrian@suse.com> 2013-10-15 09:19:19 UTC --- I have updated the 13.1 config in git and will submit a new package after some more merges. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com