[cqrlog] Added empty debugging fix

Eric Christensen sparks at fedoraproject.org
Tue Sep 30 21:26:19 UTC 2014


commit f65c1f131c3f003f9a98983e223e04ab74c86262
Author: Eric Christensen <echriste at redhat.com>
Date:   Tue Sep 30 17:25:30 2014 -0400

    Added empty debugging fix

 cqrlog-generateDebug.patch           |   12 ++++
 cqrlog.spec                          |    7 ++-
 results_cqrlog/1.7.4/1.el7/build.log |    1 +
 results_cqrlog/1.7.4/1.el7/root.log  |  109 ++++++++++++++++++++++++++++++++++
 results_cqrlog/1.7.4/1.el7/state.log |   10 +++
 5 files changed, 138 insertions(+), 1 deletions(-)
---
diff --git a/cqrlog-generateDebug.patch b/cqrlog-generateDebug.patch
new file mode 100644
index 0000000..11c7ad7
--- /dev/null
+++ b/cqrlog-generateDebug.patch
@@ -0,0 +1,12 @@
+diff -up cqrlog-1.8.1/src/cqrlog.lpi~ cqrlog-1.8.1/src/cqrlog.lpi
+--- cqrlog-1.8.1/src/cqrlog.lpi~	2014-07-26 10:27:10.000000000 +0300
++++ cqrlog-1.8.1/src/cqrlog.lpi	2014-08-04 00:06:14.224116323 +0300
+@@ -692,7 +692,7 @@
+     </CodeGeneration>
+     <Linking>
+       <Debugging>
+-        <GenerateDebugInfo Value="False"/>
++        <GenerateDebugInfo Value="True"/>
+       </Debugging>
+     </Linking>
+     <Other>
diff --git a/cqrlog.spec b/cqrlog.spec
index e8cc822..ac8d5c5 100644
--- a/cqrlog.spec
+++ b/cqrlog.spec
@@ -1,6 +1,6 @@
 Name:		cqrlog
 Version:	1.8.1
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	An amateur radio contact logging program
 
 Group:		Applications/Databases
@@ -9,6 +9,7 @@ URL:		http://www.cqrlog.com/
 Source0:	http://www.cqrlog.com/files/%{name}_%{version}/%{name}_%{version}.src.tar.gz
 Patch0:		cqrlog.makefile.patch
 Patch1:		cqrlog.desktop.patch
+Patch2:		cqrlog-generateDebug.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # fpc not available on these arches
@@ -37,6 +38,7 @@ tar -xpf %{SOURCE0}
 %setup -q -D -T
 %patch0
 %patch1
+%patch2
 
 chmod -x src/azidis3.pas
 chmod -x src/gline2.pas
@@ -152,6 +154,9 @@ iconv -f iso8859-1 -t utf-8 %{buildroot}%{_datadir}/%{name}/ctyfiles/eqsl.txt >
 %{_mandir}/man1/cqrlog.1.gz
 
 %changelog
+* Tue Sep 30 2014 Eric "Sparks" Christensen <sparks at fedoraproject.org> - 1.8.1-3
+- Fixed empty debugging (BZ 1126233)
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8.1-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/results_cqrlog/1.7.4/1.el7/build.log b/results_cqrlog/1.7.4/1.el7/build.log
new file mode 100644
index 0000000..a6db795
--- /dev/null
+++ b/results_cqrlog/1.7.4/1.el7/build.log
@@ -0,0 +1 @@
+Mock Version: 1.1.39
diff --git a/results_cqrlog/1.7.4/1.el7/root.log b/results_cqrlog/1.7.4/1.el7/root.log
new file mode 100644
index 0000000..088d0bb
--- /dev/null
+++ b/results_cqrlog/1.7.4/1.el7/root.log
@@ -0,0 +1,109 @@
+INFO backend.py:1064:  Mock Version: 1.1.39
+DEBUG backend.py:353:  rootdir = /var/lib/mock/epel-7-x86_64/root/
+DEBUG backend.py:354:  resultdir = /home/echriste/repos/Fedora/cqrlog/results_cqrlog/1.7.4/1.el7
+INFO backend.py:357:  calling preinit hooks
+DEBUG util.py:64:  ensuring that dir exists: /var/cache/mock/epel-7-x86_64/root_cache/
+DEBUG util.py:67:  creating dir: /var/cache/mock/epel-7-x86_64/root_cache/
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/var/cache/yum
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/var/cache/yum
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/tmp/ccache
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/tmp/ccache
+DEBUG util.py:64:  ensuring that dir exists: /var/cache/mock/epel-7-x86_64/ccache/
+DEBUG util.py:67:  creating dir: /var/cache/mock/epel-7-x86_64/ccache/
+DEBUG backend.py:527:  create skeleton dirs
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/var/lib/rpm
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/var/lib/rpm
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/var/lib/yum
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/var/lib/yum
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/var/lib/dbus
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/var/lib/dbus
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/var/log
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/var/log
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/var/cache/yum
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/etc/rpm
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/etc/rpm
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/tmp
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/tmp/ccache
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/var/tmp
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/var/tmp
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/etc/yum.repos.d
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/etc/yum.repos.d
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/etc/yum
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/etc/yum
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/proc
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/proc
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/sys
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/sys
+DEBUG backend.py:548:  touch required files
+DEBUG util.py:76:  touching file: /var/lib/mock/epel-7-x86_64/root/etc/mtab
+DEBUG util.py:76:  touching file: /var/lib/mock/epel-7-x86_64/root/etc/fstab
+DEBUG util.py:76:  touching file: /var/lib/mock/epel-7-x86_64/root/var/log/yum.log
+DEBUG backend.py:372:  configure yum
+DEBUG backend.py:386:  configure yum priorities
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/etc/yum/pluginconf.d
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/etc/yum/pluginconf.d
+DEBUG backend.py:388:  configure yum rhnplugin
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/etc/yum/pluginconf.d
+DEBUG util.py:91:  remove tree: /var/lib/mock/epel-7-x86_64/root/dev
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/dev/pts
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/dev/pts
+DEBUG util.py:64:  ensuring that dir exists: /var/lib/mock/epel-7-x86_64/root/dev/shm
+DEBUG util.py:67:  creating dir: /var/lib/mock/epel-7-x86_64/root/dev/shm
+DEBUG backend.py:494:  kernel version == 3.14.8-200.fc20.x86_64
+DEBUG util.py:331:  Executing command: ['/bin/mount', '-n', '-t', 'proc', 'proc', '/var/lib/mock/epel-7-x86_64/root/proc'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/mount', '-n', '-t', 'sysfs', 'mock_chroot_sys', '/var/lib/mock/epel-7-x86_64/root/sys'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/mount', '-n', '-t', 'tmpfs', 'mock_chroot_shmfs', '/var/lib/mock/epel-7-x86_64/root/dev/shm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/mount', '-n', '-t', 'devpts', '-o', 'gid=5,mode=0620,ptmxmode=0666,newinstance', 'mock_chroot_devpts', '/var/lib/mock/epel-7-x86_64/root/dev/pts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/mount', '-n', '--bind', '/var/cache/mock/epel-7-x86_64/yum_cache/', '/var/lib/mock/epel-7-x86_64/root/var/cache/yum'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/mount', '-n', '--bind', '/var/cache/mock/epel-7-x86_64/ccache/', '/var/lib/mock/epel-7-x86_64/root/tmp/ccache'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/mount', '-n', '--bind', '/tmp/mock-selinux-plugin.ndiRIg', '/var/lib/mock/epel-7-x86_64/root/proc/filesystems'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG backend.py:991:  ['/usr/bin/yum', '--installroot', '/var/lib/mock/epel-7-x86_64/root/', 'install', '@buildsys-build']
+DEBUG util.py:331:  Executing command: ['/usr/bin/yum', '--installroot', '/var/lib/mock/epel-7-x86_64/root/', 'install', '@buildsys-build', '--setopt=tsflags=nocontexts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'LC_MESSAGES': 'C', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'CCACHE_DIR': '/tmp/ccache', 'CCACHE_UMASK': '002'}
+DEBUG util.py:281:  http://ftp.redhat.com/pub/redhat/rhel/rc/7/Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
+DEBUG util.py:281:  Trying other mirror.
+DEBUG util.py:281:   One of the configured repositories failed (el),
+DEBUG util.py:281:   and yum doesn't have enough cached data to continue. At this point the only
+DEBUG util.py:281:   safe thing yum can do is fail. There are a few ways to work "fix" this:
+DEBUG util.py:281:       1. Contact the upstream for the repository and get them to fix the problem.
+DEBUG util.py:281:       2. Reconfigure the baseurl/etc. for the repository, to point to a working
+DEBUG util.py:281:          upstream. This is most often useful if you are using a newer
+DEBUG util.py:281:          distribution release than is supported by the repository (and the
+DEBUG util.py:281:          packages for the previous distribution release still work).
+DEBUG util.py:281:       3. Disable the repository, so yum won't use it by default. Yum will then
+DEBUG util.py:281:          just ignore the repository until you permanently enable it again or use
+DEBUG util.py:281:          --enablerepo for temporary usage:
+DEBUG util.py:281:              yum-config-manager --disable el
+DEBUG util.py:281:       4. Configure the failing repository to be skipped, if it is unavailable.
+DEBUG util.py:281:          Note that yum will try to contact the repo. when it runs most commands,
+DEBUG util.py:281:          so will have to try and fail each time (and thus. yum will be be much
+DEBUG util.py:281:          slower). If it is a very temporary problem though, this is often a nice
+DEBUG util.py:281:          compromise:
+DEBUG util.py:281:              yum-config-manager --save --setopt=el.skip_if_unavailable=true
+DEBUG util.py:281:  failure: repodata/repomd.xml from el: [Errno 256] No more mirrors to try.
+DEBUG util.py:281:  http://ftp.redhat.com/pub/redhat/rhel/rc/7/Server/x86_64/os/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
+DEBUG util.py:371:  Child return code was: 1
+DEBUG util.py:331:  Executing command: ['/bin/umount', '-n', '/var/lib/mock/epel-7-x86_64/root/proc/filesystems'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/umount', '-n', '/var/lib/mock/epel-7-x86_64/root/tmp/ccache'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/umount', '-n', '/var/lib/mock/epel-7-x86_64/root/var/cache/yum'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64/root/dev/pts'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64/root/dev/shm'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64/root/sys'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:331:  Executing command: ['/bin/umount', '-n', '-l', '/var/lib/mock/epel-7-x86_64/root/proc'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
+DEBUG util.py:371:  Child return code was: 0
+DEBUG util.py:119:  kill orphans
+DEBUG util.py:91:  remove tree: /var/lib/mock/epel-7-x86_64.tmp
+INFO backend.py:228:  chroot (/var/lib/mock/epel-7-x86_64) unlocked and deleted
+DEBUG util.py:119:  kill orphans
diff --git a/results_cqrlog/1.7.4/1.el7/state.log b/results_cqrlog/1.7.4/1.el7/state.log
new file mode 100644
index 0000000..d466a69
--- /dev/null
+++ b/results_cqrlog/1.7.4/1.el7/state.log
@@ -0,0 +1,10 @@
+2014-06-27 10:17:05,255 - Mock Version: 1.1.39
+2014-06-27 10:17:05,257 - Start: cleaning yum metadata
+2014-06-27 10:17:05,257 - Finish: cleaning yum metadata
+2014-06-27 10:17:05,271 - Start: device setup
+2014-06-27 10:17:05,273 - Finish: device setup
+2014-06-27 10:17:05,273 - Start: yum update
+2014-06-27 10:17:08,369 - Start: lock buildroot
+2014-06-27 10:17:08,369 - Start: clean chroot
+2014-06-27 10:17:08,386 - Finish: clean chroot
+2014-06-27 10:17:08,386 - Finish: lock buildroot


More information about the scm-commits mailing list