Quantcast
Viewing all articles
Browse latest Browse all 19115

0008238: rpmbuild trys to run a ./configure in a random folder

I'm learning how to build packages. so I'm no expert, but I find it very very odd that this happens. and I have even made a fake configure script to try to get this build to run, and it still fails because its running a configure somewhere random....<br /> <br /> my spec file is super duper basic.<br /> no %build no %make.<br /> rpmbuild works (without %prep) if the source is not compressed<br /> once I compress the source and need to use a %prep and %setup rpmbuild breaks.<br /> <br /> <br /> <br /> here is the output from rpmbuild<br /> [<a href="mailto:rpmbuilder@ChefServer">rpmbuilder@ChefServer</a> SPECS]$ rpmbuild -v -bb newpackage.spec<br /> Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KxALJQ<br /> + umask 022<br /> + cd /home/rpmbuilder/rpmbuild/BUILD<br /> + cd /home/rpmbuilder/rpmbuild/BUILD<br /> + rm -rf hello-1.6<br /> + /usr/bin/gzip -dc /home/rpmbuilder/rpmbuild/SOURCES/hello-1.6.tar.gz<br /> + /usr/bin/tar -xf -<br /> + STATUS=0<br /> + '[' 0 -ne 0 ']'<br /> + cd hello-1.6<br /> <br /> ###this is where things (to me) go haywire...<br /> <br /> + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .<br /> + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'<br /> + export CFLAGS<br /> + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic'<br /> + export CXXFLAGS<br /> + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'<br /> + export FFLAGS<br /> + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules'<br /> + export FCFLAGS<br /> + LDFLAGS='-Wl,-z,relro '<br /> + export LDFLAGS<br /> ++ find . -name config.guess -o -name config.sub<br /> + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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<br /> /var/tmp/rpm-tmp.KxALJQ: line 53: ./configure: No such file or directory<br /> error: Bad exit status from /var/tmp/rpm-tmp.KxALJQ (%prep)

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>