hi DongInn,
thanks for reporting the quilt requirement, for some reasons it vanished from
the spec file. I've re added it into the spec file in the systemimager git and
I also update the build.cfg in oscar svn...
I've read that effectively, upgrading tar from 1.24 to 1.26 is not sufficient,
I'll add the required patch.
could you go to the ~/rpmbuild/BUILD/systemimager-4.3.0 and do a make -k and
capture the output so
I can see which components are affected by the new glibc that doesn't provides
gets (riquires fgets instead).
Many thanks for your great help DongInn,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : jeudi 11 avril 2013 13:04
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] RE : systemimager should build.
Hi Olivier,
It seems that it does not build because of the missing command "quilt". :-(
I installed it manually and then tried to build it again. It failed because
"gets" is not defined in stdio.h???
Note that mine has gzip-1.5 and tar-1.26.
[root@fedora SPECS]# /usr/bin/build_rpms --only-rpm
/var/lib/oscar-packager/downloads/systemimager-4.3.0-0.9.src.rpm --target
noarch
Building only RPMs, passed arguments are interpreted as SRPMs
EEEE: Building RPMs from
/var/lib/oscar-packager/downloads/systemimager-4.3.0-0.9.src.rpm failed.
make[2]: *** [unpatch] Error 1
make[2]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf'
make[1]: *** [clean] Error 2
make[1]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf'
make: ***
[/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf.build]
Error 2
error: Bad exit status from /var/tmp/rpm-tmp.qQVXZC (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.qQVXZC (%build)
== Full output of rpmbuild is in
/root/rpmbuild/SPECS/systemimager-4.3.0-0.9.err file ==
[root@fedora SPECS]#
make[2]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf/src'
/usr/bin/make -C debian/startpar clean
make[2]: Entering directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf/debian/startpar'
rm -f startpar makeboot startpar.o makeboot.o proc.o
make[2]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf/debian/startpar'
/usr/bin/make -f debian/rules unpatch
make[2]: Entering directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf'
QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2
/bin/sh: quilt: command not found
make[2]: *** [unpatch] Error 1
make[2]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf'
make[1]: *** [clean] Error 2
make[1]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf'
make: ***
[/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/sysvinit-2.88dsf.build]
Error 2
error: Bad exit status from /var/tmp/rpm-tmp.qQVXZC (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.qQVXZC (%build)
./stdio.h:479:20: error: 'gets' undeclared here (not in a function)
make[5]: *** [argp-eexst.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from argp-fmtstream.h:29:0,
from argp-fmtstream.c:35:
./stdio.h:479:20: error: 'gets' undeclared here (not in a function)
make[5]: *** [argp-fmtstream.o] Error 1
make[5]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/tar-1.26/gnu'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/tar-1.26/gnu'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/tar-1.26/gnu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/tar-1.26'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/tar-1.26'
make: ***
[/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/tar-1.26.build]
Error 2
error: Bad exit status from /var/tmp/rpm-tmp.nwjT6L (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.nwjT6L (%build)
[root@fedora SPECS]# gzip --version
gzip 1.5
Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Jean-loup Gailly.
[root@fedora SPECS]#
[root@fedora SPECS]# tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
[root@fedora SPECS]#
Regards,
--
- DongInn
On Apr 11, 2013, at 4:38 AM, LAHAYE Olivier
<olivier.lah...@cea.fr<mailto:olivier.lah...@cea.fr>> wrote:
Hi,
According to this link, gzip-1.5 fixes the problem with gets undeclared. (GNU
libc (2.16+))
https://github.com/NixOS/nixpkgs/commit/51a6b27cc7bd70819927337e0b5505b446ad19b3
I've also upgraded tar to 1.26 for the same reason.
The new systemimager-4.3.0-0.9 should now hopefully build (provided there are
no other components impacted by the new glibc 'gets undeclared' issue (gets
support dropped).
DongInn, can you give a new try?
Regards,
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : jeudi 11 avril 2013 09:49
À : oscar-devel@lists.sourceforge.net<mailto:oscar-devel@lists.sourceforge.net>
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : systemimager should build.
The problem is here......
http://comments.gmane.org/gmane.comp.gnu.coreutils.general/2525
=> Newer glibcs don't declare gets() any more.
I'm upgrading to 1.5 to see if it fixes the problem. Otherwize, I've seen
patches around on the internet, so it should be easy to fix....
Regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel