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
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
________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : mercredi 10 avril 2013 23:02
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] systemimager should build.

Hi Olivier,

No, it does not seem to work.

[root@fedora SPECS]# /usr/bin/build_rpms --only-rpm 
/var/lib/oscar-packager/downloads/systemimager-4.3.0-0.8.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.8.src.rpm failed.
make: *** 
[/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4.build] 
Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Rl3pFg (%build)


RPM build errors:
    user ol222822 does not exist - using root
    group ol222822 does not exist - using root
    user ol222822 does not exist - using root
    group ol222822 does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.Rl3pFg (%build)
== Full output of rpmbuild is in 
/root/rpmbuild/SPECS/systemimager-4.3.0-0.8.err file ==
[root@fedora SPECS]#


[root@fedora SPECS]# cat /root/rpmbuild/SPECS/systemimager-4.3.0-0.8.err
...
make[2]: Entering directory 
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4/lib'
  GEN      alloca.h
  GEN      arg-nonnull.h
  GEN      link-warning.h
  GEN      configmake.h
  GEN      warn-on-use.h
  GEN      time.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      stdlib.h
  GEN      string.h
  GEN      unistd.h
  GEN      sys/stat.h
  GEN      wchar.h
  GEN      math.h
  GEN      stdio.h
/usr/bin/make  all-recursive
make[3]: Entering directory 
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4/lib'
make[4]: Entering directory 
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4/lib'
  CC       close-hook.o
  CC       freadahead.o
  CC       fseterr.o
  CC       freading.o
In file included from fseterr.h:20:0,
                 from fseterr.c:20:
./stdio.h:179:20: error: 'gets' undeclared here (not in a function)
In file included from freading.h:18:0,
                 from freading.c:20:
./stdio.h:179:20: error: 'gets' undeclared here (not in a function)
make[4]: *** [fseterr.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [freading.o] Error 1
In file included from freadahead.h:18:0,
                 from freadahead.c:20:
./stdio.h:179:20: error: 'gets' undeclared here (not in a function)
make[4]: *** [freadahead.o] Error 1
make[4]: Leaving directory 
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4'
make: *** 
[/root/rpmbuild/BUILD/systemimager-4.3.0/initrd_source/src/gzip-1.4.build] 
Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Rl3pFg (%build)


RPM build errors:
    user ol222822 does not exist - using root
    group ol222822 does not exist - using root
    user ol222822 does not exist - using root
    group ol222822 does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.Rl3pFg (%build)

Regards,

--
- DongInn

On Apr 10, 2013, at 4:58 PM, 
olivier.laha...@free.fr<mailto:olivier.laha...@free.fr> wrote:

Hi,

I've updated the build.cfg (replaced systemd-units with systemd)

On fc-17, it builds.

Can you test fc-18 DongInn?

Regards,

--
   Olivier LAHAYE

------------------------------------------------------------------------------
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<mailto:Oscar-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
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

Reply via email to