The log from processing %prep section is lost in fedpkg local.
Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MQQrPL Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bbPJZK checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes ...
It looks like the excerpt above, nothing between Executing(%prep) and Executing(%build). And it seems more output is lost, because the output on console is following:
[dan@eagle gtkterm]$ LANG=C fedpkg local Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MQQrPL + umask 022 + cd /home/dan/projects/fedora/tmp/gtkterm + LANG=C + export LANG + unset DISPLAY + cd /home/dan/projects/fedora/tmp/gtkterm + rm -rf gtkterm-0.99.6 + /bin/mkdir -p gtkterm-0.99.6 + cd gtkterm-0.99.6 + /usr/bin/gzip -dc /home/dan/projects/fedora/tmp/gtkterm/gtkterm-0.99.6.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/0.99.5/0.99.6/g' configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bbPJZK + umask 022 + cd /home/dan/projects/fedora/tmp/gtkterm + cd gtkterm-0.99.6 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes
fedpkg version: fedpkg-0.5.1.2-2.fc12.noarch
Oh, I forgot to formate the outputs ...
output in log: {{{ Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MQQrPL Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bbPJZK checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-unknown-linux-gnu-gcc... no }}}
output in terminal: {{{ [dan@eagle gtkterm]$ LANG=C fedpkg local Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.MQQrPL + umask 022 + cd /home/dan/projects/fedora/tmp/gtkterm + LANG=C + export LANG + unset DISPLAY + cd /home/dan/projects/fedora/tmp/gtkterm + rm -rf gtkterm-0.99.6 + /bin/mkdir -p gtkterm-0.99.6 + cd gtkterm-0.99.6 + /usr/bin/gzip -dc /home/dan/projects/fedora/tmp/gtkterm/gtkterm-0.99.6.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's/0.99.5/0.99.6/g' configure + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bbPJZK + umask 022 + cd /home/dan/projects/fedora/tmp/gtkterm + cd gtkterm-0.99.6 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + ./configure --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-unknown-linux-gnu-gcc... no }}}
Ok, I can reproduce this. I suspect it's something with how tee is working, and how rpm outputs stuff.
Ugh yes. rpmbuild sends the stuff marked with + to stderr. Lovely.
Fixed in [1aa16f7]
Or for just the commands you care about:
{{{ --- a/src/pyfedpkg/init.py +++ b/src/pyfedpkg/init.py @@ -1408,7 +1408,7 @@ class PackageModule: cmd.extend(["--define '_source_filedigest_algorithm %s'" % hashtype, "--define '_binary_filedigest_algorithm %s'" % hashtype]) cmd.extend(['--target', arch, '-ba', - os.path.join(self.path, self.spec)]) + os.path.join(self.path, self.spec),'2>&1']) logfile = '.build-%s-%s.log' % (self.ver, self.rel) # Run the command _run_command(cmd, shell=True, pipe=['tee', logfile])
}}}