[opensuse-packaging] getting bluefish-2.2.7 to build.
Hello, bluefish-2.2.7 build fails while bluefish-2.2.6 build passes. All I change is Version: {from 2.2.6 to 2.2.7} What other changes allow Version 2.2.7 to build ? Thanks --Glenn Spec: https://build.opensuse.org/package/view_file/home:doiggl/bluefish/bluefish.s... Full build log: https://build.opensuse.org/build/home:doiggl/openSUSE_13.2/x86_64/bluefish/_... Build log bluefish-2.2.7 build -fail ################################### [ 365s] Obsoletes: bluefish-unstable < 2.2.3 [ 365s] Processing files: bluefish-debugsource-2.2.7-18.1.x86_64 [ 365s] Provides: bluefish-debugsource = 2.2.7-18.1 bluefish-debugsource(x86-64) = 2.2.7-18.1 [ 365s] Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 [ 365s] Processing files: bluefish-debuginfo-2.2.7-18.1.x86_64 [ 365s] warning: File listed twice: /usr/lib/debug/.build-id [ 365s] warning: File listed twice: /usr/lib/debug/.build-id [ 365s] warning: File listed twice: /usr/lib/debug/.build-id [ 365s] warning: File listed twice: /usr/lib/debug/.build-id [ 365s] warning: File listed twice: /usr/lib/debug/.build-id [ 365s] warning: File listed twice: /usr/lib/debug/.build-id [ 365s] Provides: bluefish-debuginfo = 2.2.7-18.1 bluefish-debuginfo(x86-64) = 2.2.7-18.1 debuginfo(build-id) = 33d64a2efb6d435d4030e0238a393e4657c82557 debuginfo(build-id) = 589934c4e86cb3abeab34737e72e5878ce319292 debuginfo(build-id) = 5f44b139da0a20a039580ca393ac3f6275dfe8c8 debuginfo(build-id) = b29515060e58a8c9beb50299c0c667185d7bd53c debuginfo(build-id) = d39e22f8d866921b33e4ac0b0060b6f5d43941a1 debuginfo(build-id) = db464483b2642547a9ae49d01e89c733c7fe665a debuginfo(build-id) = e91bbf5aefb9fb6c91aa3c3021f467a5de45a927 [ 365s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 365s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/bluefish-2.2.7-18.1.x86_64 [ 365s] Wrote: /home/abuild/rpmbuild/SRPMS/bluefish-2.2.7-18.1.src.rpm [ 377s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-2.2.7-18.1.x86_64.rpm [ 380s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-debugsource-2.2.7-18.1.x86_64.rpm [ 383s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-debuginfo-2.2.7-18.1.x86_64.rpm [ 383s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kaJlCa [ 383s] + umask 022 [ 383s] + cd /home/abuild/rpmbuild/BUILD [ 383s] + cd bluefish-2.2.7 [ 383s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bluefish-2.2.7-18.1.x86_64 [ 383s] + exit 0 [ 383s] ... checking for files with abuild user/group [ 383s] ... running 00-check-install-rpms [ 383s] ... installing all built rpms [ 383s] Preparing packages... [ 384s] bluefish-2.2.7-18.1.x86_64 [ 385s] bluefish-debugsource-2.2.7-18.1.x86_64 [ 385s] bluefish-debuginfo-2.2.7-18.1.x86_64 [ 386s] ... running 01-check-debuginfo [ 386s] ... testing for empty debuginfo packages [ 386s] ... running 02-check-gcc-output [ 386s] ... testing for serious compiler warnings [ 386s] (using /usr/lib/build/checks-data/check_gcc_output) [ 386s] (using //.build.log) [ 386s] [ 386s] I: Program is likely to break with new gcc. Try -fno-strict-aliasing. [ 386s] W: bluefish strict-aliasing-punning zeneditor-interface.c:472 [ 386s] E: bluefish 64bit-portability-issue document.c:2448 [ 386s] ### WATCHDOG MARKER START ### [ 389s] [ 358.983591] SysRq : Power Off [ 389s] [ 358.990176] reboot: Power down [ 391s] ### WATCHDOG MARKER END ### Build log bluefish-2.2.6 build -pass ################################### [ 150s] dependency check for bluefish-debugsource-2.2.6-2.3.1.x86_64.rpm: [ 150s] ... running 06-check-installtest [ 150s] ... testing for pre/postinstall scripts that are not idempotent [ 151s] ... running 08-check-permissions [ 151s] ... testing for modified permissions [ 152s] ... running 09-check-packaged-twice [ 152s] ... running 10-check-lanana [ 152s] ... running 12-check-libtool-deps [ 152s] ... testing devel dependencies required by libtool .la files [ 152s] (can be skipped by "skip-check-libtool-deps" anywhere in spec) [ 152s] ... running 13-check-invalid-provides [ 152s] ... running 14-check-gconf-scriptlets [ 152s] ... testing GConf scriptlet presence [ 152s] ... running 72-translate-appdata [ 152s] ... running 99-check-remove-rpms [ 152s] ... removing all built rpms [ 153s] (order: reverse bluefish bluefish-debuginfo bluefish-debugsource) [ 153s] [ 153s] RPMLINT report: [ 153s] =============== [ 156s] 2 packages and 0 specfiles checked; 0 errors, 0 warnings. [ 156s] [ 156s] ... creating baselibs [ 156s] ... saving statistics [ 156s] ... saving built packages [ 156s] RPMS/x86_64/bluefish-2.2.6-2.3.1.x86_64.rpm [ 156s] RPMS/x86_64/bluefish-debuginfo-2.2.6-2.3.1.x86_64.rpm [ 156s] RPMS/x86_64/bluefish-debugsource-2.2.6-2.3.1.x86_64.rpm [ 156s] SRPMS/bluefish-2.2.6-2.3.1.src.rpm [ 156s] OTHER/rpmlint.log [ 156s] OTHER/_statistics [ 156s] OTHER/bluefish-appdata.xml [ 156s] [ 156s] cloud105 finished "build bluefish.spec" at Mon Mar 23 09:51:47 UTC 2015. [ 156s] [ 156s] ### WATCHDOG MARKER START ### [ 159s] [ 139.002799] SysRq : Power Off [ 159s] [ 139.016293] reboot: Power down [ 163s] ### WATCHDOG MARKER END ### [ 163s] build: extracting built packages... [ 164s] RPMS/x86_64/bluefish-2.2.6-2.3.1.x86_64.rpm [ 164s] RPMS/x86_64/bluefish-debuginfo-2.2.6-2.3.1.x86_64.rpm [ 164s] RPMS/x86_64/bluefish-debugsource-2.2.6-2.3.1.x86_64.rpm [ 164s] SRPMS/bluefish-2.2.6-2.3.1.src.rpm [ 164s] OTHER/rpmlint.log [ 164s] OTHER/_statistics [ 164s] OTHER/bluefish-appdata.xml -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tuesday 2015-03-24 09:50, doiggl@velocitynet.com.au wrote:
bluefish-2.2.7 build fails while bluefish-2.2.6 build passes.
All I change is Version: {from 2.2.6 to 2.2.7}
What other changes allow Version 2.2.7 to build ?
You really really just have to look ta the log.
[ 386s] W: bluefish strict-aliasing-punning zeneditor-interface.c:472 [ 386s] E: bluefish 64bit-portability-issue document.c:2448 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello, - How is %configure fixed ? - Is that the error fixed ? Thanks --Glenn log: [ 243s] I: File is compiled without RPM_OPT_FLAGS [ 243s] W: bluefish no-rpm-opt-flags <cmdline>:about.c, entities.c, cap.c, html2.c, htmlbar.c, htmlbar_uimanager.c, html.c, html_diag.c, html_form.c, html_table.c, image.c, image_dialog.c, prefs.c, quickstart.c, rpopup.c, wizards.c, infbrowser.c, infb_gui.c, infb_load.c, infb_text.c, infb_dtd.c, infb_wizard.c, infb_docbook.c, infb_html.c, snippets.c, snippets_gui.c, snippets_leaf_insert.c, snippets_leaf_snr.c, snippets_load.c, snippets_wizard.c, snippetsmenu.c, zencoding.c, zeneditor-interface.c, async_queue.c, bf_lib.c, blocksync.c, bluefish.c, bftextview2.c, bftextview2_langmgr.c, bftextview2_autocomp.c, bftextview2_identifier.c, bftextview2_markregion.c, bftextview2_patcompile.c, bftextview2_scanner.c, bftextview2_spell.c, bfwin.c, bfwin_uimanager.c, bookmark.c, compatibility.c, dialog_utils.c, document.c, doc_comments.c, doc_text_tools.c, doc_extern_tools.c, encodings_dialog.c, external_commands.c, file_treemodel.c, filebrowser2.c, file.c, file_autosave.c, file_dialogs.c, filefilter.c, gtk_easy.c, ipc_bf2bf.c, languages.c, msg_queue.c, outputbox.c, pixmap.c, plugins.c, preferences.c, print.c, project.c, rcfile.c, snr3.c, snr3_files.c, stringlist.c, undo_redo.c, xml_entity.c [ 243s] E: bluefish 64bit-portability-issue document.c:2448 %build export CFLAGS="$RPM_OPT_FLAGS" %configure "CFLAGS=-O3 -fno-strict-aliasing" \ --with-icon-path=%{_datadir}/pixmaps \ --with-gnome2-menu=%{_datadir} \ --without-freedesktop_org-mime \ --disable-update-databases \ --disable-xml-catalog-update \ --enable-python \ --enable-libgnomeui %{__make} %{?_smp_mflags} \ bflangsampledir="%{_docdir}/%{name}" Log has: ####### [ 234s] Wrote: /home/abuild/rpmbuild/SRPMS/bluefish-2.2.7-20.1.src.rpm [ 240s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-2.2.7-20.1.x86_64.rpm [ 240s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-debugsource-2.2.7-20.1.x86_64.rpm [ 241s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-debuginfo-2.2.7-20.1.x86_64.rpm [ 241s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yOILKZ [ 241s] + umask 022 [ 241s] + cd /home/abuild/rpmbuild/BUILD [ 241s] + cd bluefish-2.2.7 [ 241s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bluefish-2.2.7-20.1.x86_64 [ 241s] + exit 0 [ 241s] ... checking for files with abuild user/group [ 241s] ... running 00-check-install-rpms [ 241s] ... installing all built rpms [ 241s] Preparing packages... [ 241s] bluefish-2.2.7-20.1.x86_64 [ 243s] bluefish-debuginfo-2.2.7-20.1.x86_64 [ 243s] bluefish-debugsource-2.2.7-20.1.x86_64 [ 243s] ... running 01-check-debuginfo [ 243s] ... testing for empty debuginfo packages [ 243s] ! [ 243s] ! //.build.packages/RPMS/x86_64/bluefish-debugsource-2.2.7-20.1.x86_64.rpm: empty debuginfo/debugsource package, deleting [ 243s] ! [ 243s] ... running 02-check-gcc-output [ 243s] ... testing for serious compiler warnings [ 243s] (using /usr/lib/build/checks-data/check_gcc_output) [ 243s] (using //.build.log) [ 243s] [ 243s] I: File is compiled without RPM_OPT_FLAGS [ 243s] W: bluefish no-rpm-opt-flags <cmdline>:about.c, entities.c, cap.c, html2.c, htmlbar.c, htmlbar_uimanager.c, html.c, html_diag.c, html_form.c, html_table.c, image.c, image_dialog.c, prefs.c, quickstart.c, rpopup.c, wizards.c, infbrowser.c, infb_gui.c, infb_load.c, infb_text.c, infb_dtd.c, infb_wizard.c, infb_docbook.c, infb_html.c, snippets.c, snippets_gui.c, snippets_leaf_insert.c, snippets_leaf_snr.c, snippets_load.c, snippets_wizard.c, snippetsmenu.c, zencoding.c, zeneditor-interface.c, async_queue.c, bf_lib.c, blocksync.c, bluefish.c, bftextview2.c, bftextview2_langmgr.c, bftextview2_autocomp.c, bftextview2_identifier.c, bftextview2_markregion.c, bftextview2_patcompile.c, bftextview2_scanner.c, bftextview2_spell.c, bfwin.c, bfwin_uimanager.c, bookmark.c, compatibility.c, dialog_utils.c, document.c, doc_comments.c, doc_text_tools.c, doc_extern_tools.c, encodings_dialog.c, external_commands.c, file_treemodel.c, filebrowser2.c, file.c, file_autosave.c, file_dialogs.c, filefilter.c, gtk_easy.c, ipc_bf2bf.c, languages.c, msg_queue.c, outputbox.c, pixmap.c, plugins.c, preferences.c, print.c, project.c, rcfile.c, snr3.c, snr3_files.c, stringlist.c, undo_redo.c, xml_entity.c [ 243s] E: bluefish 64bit-portability-issue document.c:2448 [ 243s] ### WATCHDOG MARKER START ### [ 246s] [ 216.175381] SysRq : Power Off [ 246s] [ 216.244904] reboot: Power down [ 247s] ### WATCHDOG MARKER END ### Spec file: https://build.opensuse.org/package/view_file/home:doiggl/bluefish/bluefish.s... entire build log: https://build.opensuse.org/package/live_build_log/home:doiggl/bluefish/openS... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wed, Mar 25, 2015 at 8:06 AM,
Spec file: https://build.opensuse.org/package/view_file/home:doiggl/bluefish/bluefish.s...
Can't answer RPM_OPT_FLAGS question, but export CFLAGS="$RPM_OPT_FLAGS" %configure "CFLAGS=-O3 -fno-strict-aliasing" \ second line overrides the first one. Either the first one is redundant or the second one is erroneous. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello, I removed the 1st line: export CFLAGS="$RPM_OPT_FLAGS" It now shows as: %build %configure "CFLAGS=-O3 -fno-strict-aliasing" \ --with-icon-path=%{_datadir}/pixmaps \ --with-gnome2-menu=%{_datadir} \ --without-freedesktop_org-mime \ --disable-update-databases \ --disable-xml-catalog-update \ --enable-python \ --enable-libgnomeui %{__make} %{?_smp_mflags} \ bflangsampledir="%{_docdir}/%{name}" The build log shows as: ====================== [ 134s] Wrote: /home/abuild/rpmbuild/SRPMS/bluefish-2.2.7-23.1.src.rpm [ 137s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-2.2.7-23.1.x86_64.rpm [ 137s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-debugsource-2.2.7-23.1.x86_64.rpm [ 138s] Wrote: /home/abuild/rpmbuild/RPMS/x86_64/bluefish-debuginfo-2.2.7-23.1.x86_64.rpm [ 138s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ulb3TU [ 138s] + umask 022 [ 138s] + cd /home/abuild/rpmbuild/BUILD [ 138s] + cd bluefish-2.2.7 [ 138s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/bluefish-2.2.7-23.1.x86_64 [ 138s] + exit 0 [ 138s] ... checking for files with abuild user/group [ 138s] ... running 00-check-install-rpms [ 138s] ... installing all built rpms [ 138s] Preparing packages... [ 138s] bluefish-debuginfo-2.2.7-23.1.x86_64 [ 138s] bluefish-debugsource-2.2.7-23.1.x86_64 [ 138s] bluefish-2.2.7-23.1.x86_64 [ 139s] ... running 01-check-debuginfo [ 139s] ... testing for empty debuginfo packages [ 139s] ! [ 139s] ! //.build.packages/RPMS/x86_64/bluefish-debugsource-2.2.7-23.1.x86_64.rpm: empty debuginfo/debugsource package, deleting [ 139s] ! [ 139s] ... running 02-check-gcc-output [ 139s] ... testing for serious compiler warnings [ 139s] (using /usr/lib/build/checks-data/check_gcc_output) [ 139s] (using //.build.log) [ 139s] [ 139s] I: File is compiled without RPM_OPT_FLAGS [ 139s] W: bluefish no-rpm-opt-flags <cmdline>:about.c, entities.c, cap.c, html2.c, htmlbar.c, htmlbar_uimanager.c, html.c, html_diag.c, html_form.c, html_table.c, image.c, image_dialog.c, prefs.c, quickstart.c, rpopup.c, wizards.c, infbrowser.c, infb_gui.c, infb_load.c, infb_text.c, infb_dtd.c, infb_wizard.c, infb_docbook.c, infb_html.c, snippets.c, snippets_gui.c, snippets_leaf_insert.c, snippets_leaf_snr.c, snippets_load.c, snippets_wizard.c, snippetsmenu.c, zencoding.c, zeneditor-interface.c, async_queue.c, bf_lib.c, blocksync.c, bluefish.c, bftextview2.c, bftextview2_langmgr.c, bftextview2_autocomp.c, bftextview2_identifier.c, bftextview2_markregion.c, bftextview2_patcompile.c, bftextview2_scanner.c, bftextview2_spell.c, bfwin.c, bfwin_uimanager.c, bookmark.c, compatibility.c, dialog_utils.c, document.c, doc_comments.c, doc_text_tools.c, doc_extern_tools.c, encodings_dialog.c, external_commands.c, file_treemodel.c, filebrowser2.c, file.c, file_autosave.c, file_dialogs.c, filefilter.c, gtk_easy.c, ipc_bf2bf.c, languages.c, msg_queue.c, outputbox.c, pixmap.c, plugins.c, preferences.c, print.c, project.c, rcfile.c, snr3.c, snr3_files.c, stringlist.c, undo_redo.c, xml_entity.c [ 139s] E: bluefish 64bit-portability-issue document.c:2448 [ 139s] ### WATCHDOG MARKER START ### [ 142s] [ 115.805599] SysRq : Power Off [ 142s] [ 115.806996] reboot: Power down [ 144s] ### WATCHDOG MARKER END ### ## - How is %configure fixed so build can complete ? Thanks --Glenn The build log shows: Spec file: https://build.opensuse.org/package/view_file/home:doiggl/bluefish/bluefish.s... entire build log: https://build.opensuse.org/package/live_build_log/home:doiggl/bluefish/openS... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wednesday 25 of March 2015 18:14:09 doiggl@velocitynet.com.au wrote:
[ 139s] W: bluefish no-rpm-opt-flags <cmdline>:about.c, entities.c, cap.c, html2.c, htmlbar.c, htmlbar_uimanager.c, html.c, html_diag.c, html_form.c, html_table.c, image.c, image_dialog.c, prefs.c, quickstart.c, rpopup.c, wizards.c, infbrowser.c, infb_gui.c, infb_load.c, infb_text.c, infb_dtd.c, infb_wizard.c, infb_docbook.c, infb_html.c, snippets.c, snippets_gui.c, snippets_leaf_insert.c, snippets_leaf_snr.c, snippets_load.c, snippets_wizard.c, snippetsmenu.c, zencoding.c, zeneditor-interface.c, async_queue.c, bf_lib.c, blocksync.c, bluefish.c, bftextview2.c, bftextview2_langmgr.c, bftextview2_autocomp.c, bftextview2_identifier.c, bftextview2_markregion.c, bftextview2_patcompile.c, bftextview2_scanner.c, bftextview2_spell.c, bfwin.c, bfwin_uimanager.c, bookmark.c, compatibility.c, dialog_utils.c, document.c, doc_comments.c, doc_text_tools.c, doc_extern_tools.c, encodings_dialog.c, external_commands.c, file_treemodel.c, filebrowser2.c, file.c, file_autosave.c, file_dialogs.c, filefilter.c, gtk_easy.c, ipc_bf2bf.c, languages.c, msg_queue.c, outputbox.c, pixmap.c, plugins.c, preferences.c, print.c, project.c, rcfile.c, snr3.c, snr3_files.c, stringlist.c, undo_redo.c, xml_entity.c [ 139s] E: bluefish 64bit-portability-issue document.c:2448 ...
- How is %configure fixed so build can complete ?
If your priority is to make the build succeed, you should rather focus on the Error than the Warning. Michal Kubeček -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello, I removed the 1st line: export CFLAGS="$RPM_OPT_FLAGS" It now shows as:
%build %configure "CFLAGS=-O3 -fno-strict-aliasing" \
- How is %configure fixed so build can complete ?
Thanks --Glenn
The build log shows:
Spec file: https://build.opensuse.org/package/view_file/home:doiggl/bluefish/bluefish.s...
entire build log: https://build.opensuse.org/package/live_build_log/home:doiggl/bluefish/openS...
configure "CFLAGS=$RPM_OPT_FLAGS -O3 -fno-strict-aliasing" Also -O3 is unrecommended, CFLAGS provides -O2 that is sufficient. -- Best regards, Dmitriy DA(P).DarkneSS Perlow @ Linux x64 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (5)
-
Andrei Borzenkov
-
Dmitriy Perlow
-
doiggl@velocitynet.com.au
-
Jan Engelhardt
-
Michal Kubecek