Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218887 - sys-power/suspend fails to ebuild.
Summary: sys-power/suspend fails to ebuild.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 13:43 UTC by Jason
Modified: 2008-04-23 12:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,3.03 KB, text/plain)
2008-04-22 16:57 UTC, Jason
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason 2008-04-22 13:43:53 UTC
When attempting to emerge suspend, the ebuild fails.

Reproducible: Always

Steps to Reproduce:
1. emerge -av sys-power/suspend


Actual Results:  
Failed to compile.

Expected Results:  
I expected it to compile and install.

>>> Unpacking source...
>>> Unpacking suspend-0.8.tar.gz to /var/tmp/portage/sys-power/suspend-0.8/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8 ...
 * econf: updating suspend-0.8/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating suspend-0.8/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/suspend-0.8 --enable-compress --enable-fbsplash --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a BSD-compatible install... /bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i686-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of i686-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
checking for i686-pc-linux-gnu-g77... no
checking for i686-pc-linux-gnu-xlf... no
checking for i686-pc-linux-gnu-f77... no
checking for i686-pc-linux-gnu-frt... no
checking for i686-pc-linux-gnu-pgf77... no
checking for i686-pc-linux-gnu-cf77... no
checking for i686-pc-linux-gnu-fort77... no
checking for i686-pc-linux-gnu-fl32... no
checking for i686-pc-linux-gnu-af77... no
checking for i686-pc-linux-gnu-xlf90... no
checking for i686-pc-linux-gnu-f90... no
checking for i686-pc-linux-gnu-pgf90... no
checking for i686-pc-linux-gnu-pghpf... no
checking for i686-pc-linux-gnu-epcf90... no
checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether i686-pc-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-g++ static flag -static works... yes
checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gfortran static flag -static works... yes
checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for m4... m4
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for LIBPCI... no
checking for pci_init in -lpci... no
checking for pci_init in -lpci... yes
checking for LRMI_common_init in -lx86... yes
checking for lzo1x_1_compress in -llzo2... yes
checking for FBSPLASH... yes
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating scripts/suse-10.1/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/doc'
Making all in scripts
make[2]: Entering directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/scripts'
Making all in suse-10.1
make[3]: Entering directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/scripts/suse-10.1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/scripts/suse-10.1'
make[3]: Entering directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/scripts'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/scripts'
make[2]: Leaving directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8/scripts'
make[2]: Entering directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8'
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT vt.o -MD -MP -MF .deps/vt.Tpo -c -o vt.o vt.c
mv -f .deps/vt.Tpo .deps/vt.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT config_parser.o -MD -MP -MF .deps/config_parser.Tpo -c -o config_parser.o config_parser.c
mv -f .deps/config_parser.Tpo .deps/config_parser.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c
mv -f .deps/md5.Tpo .deps/md5.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT encrypt.o -MD -MP -MF .deps/encrypt.Tpo -c -o encrypt.o encrypt.c
mv -f .deps/encrypt.Tpo .deps/encrypt.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT loglevel.o -MD -MP -MF .deps/loglevel.Tpo -c -o loglevel.o loglevel.c
mv -f .deps/loglevel.Tpo .deps/loglevel.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT splash.o -MD -MP -MF .deps/splash.Tpo -c -o splash.o splash.c
mv -f .deps/splash.Tpo .deps/splash.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT splashy_funcs.o -MD -MP -MF .deps/splashy_funcs.Tpo -c -o splashy_funcs.o splashy_funcs.c
mv -f .deps/splashy_funcs.Tpo .deps/splashy_funcs.Po
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DS2RAM       -O2 -march=pentium-m -pipe -MT fbsplash_funcs.o -MD -MP -MF .deps/fbsplash_funcs.Tpo -c -o fbsplash_funcs.o fbsplash_funcs.c
In file included from fbsplash_funcs.c:23:
swsusp.h:18: error: expected specifier-qualifier-list before 'loff_t'
swsusp.h:70: error: expected specifier-qualifier-list before 'loff_t'
swsusp.h:90: error: expected specifier-qualifier-list before 'loff_t'
swsusp.h: In function 'start_writeout':
swsusp.h:171: error: 'loff_t' undeclared (first use in this function)
swsusp.h:171: error: (Each undeclared identifier is reported only once
swsusp.h:171: error: for each function it appears in.)
swsusp.h:171: error: expected ')' before numeric constant
swsusp.h: At top level:
swsusp.h:179: error: expected specifier-qualifier-list before 'loff_t'
make[2]: *** [fbsplash_funcs.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-power/suspend-0.8/work/suspend-0.8'
make: *** [all] Error 2

!!! ERROR: sys-power/suspend-0.8 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1197:   Called src_compile
  suspend-0.8.ebuild, line 33:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-power/suspend-0.8/temp/build.log'.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-22 16:46:53 UTC
emerge --info, please.
Comment 2 Jason 2008-04-22 16:57:25 UTC
Created attachment 150614 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-04-22 17:55:14 UTC
Before I assign this bug report to sys-power/suspend's maintainer, could you please update your system to current standards? sys-apps/portage, sys-libs/glibc and dev-lang/python are all ancient, and while you're running ~arch at that. A general overhaul using `emerge -vuaDN world` is long overdue.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2008-04-23 02:02:30 UTC
a linux-headers update should help.
Comment 5 Jason 2008-04-23 12:17:13 UTC
the linux headers update did fix it