Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurs when execute rpmbuild with -enable-linuxkernel. #1068

Open
gfarm-admin opened this issue May 30, 2019 · 1 comment
Open

Error occurs when execute rpmbuild with -enable-linuxkernel. #1068

gfarm-admin opened this issue May 30, 2019 · 1 comment
Labels
auto-migrated bug Something isn't working sourceforge
Milestone

Comments

@gfarm-admin
Copy link
Member

The following error occurs when the rpmbuild command is executed with --enable-linuxkernel.

# GFARM_CONFIGURE_OPTION="--enable-linuxkernel" rpmbuild --rebuild gfarm-2.7.13-1.src.rpm

Error: No such file or directory

mkdir -p /root/rpmbuild/BUILD/gfarm-2.7.13/linux/kernel/.tmp_versions ; rm -f /root/rpmbuild/BUILD/gfarm-2.7.13/linux/kernel/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/rpmbuild/BUILD/gfarm-2.7.13/linux/kernel
/root/rpmbuild/BUILD/gfarm-2.7.13/linux/kernel/Makefile:193: ../../makes/var.mk: No such file or directory
/root/rpmbuild/BUILD/gfarm-2.7.13/linux/kernel/Makefile:194: ../../makes/gflog.mk: No such file or directory
make[4]: *** No rule to make target `../../makes/gflog.mk'.  Stop.
make[3]: *** [_module_/root/rpmbuild/BUILD/gfarm-2.7.13/linux/kernel] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.x86_64'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/gfarm-2.7.13/linux/kernel'
make[1]: *** [subdir-all] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/gfarm-2.7.13/linux'
make: *** [subdir-all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.jThF5s (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.jThF5s (%build)

The execution environment is as follows.

# uname -a
Linux gfarm 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
# cat /etc/redhat-release 
CentOS release 6.4 (Final)
# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) 

Reported by: kazuito at SourceForge

Original Ticket: gfarm/tickets/1068

@gfarm-admin
Copy link
Member Author

  • Milestone: gfarm-2.7.13 --> gfarm-2.7.16

Original comment by: n-soda

@gfarm-admin gfarm-admin added this to the gfarm-2.7.16 milestone Nov 19, 2019
@n-soda n-soda modified the milestones: gfarm-2.7.16, gfarm-2.7.17 Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-migrated bug Something isn't working sourceforge
Projects
None yet
Development

No branches or pull requests

2 participants