Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151607 - emerge sys-apps/eject-2.1.5-r1 fails
Summary: emerge sys-apps/eject-2.1.5-r1 fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-16 09:44 UTC by Pierre Lejeune
Modified: 2006-10-16 23:07 UTC (History)
0 users

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


Attachments
Output of emerge --info (emerge_info,4.68 KB, text/plain)
2006-10-16 09:45 UTC, Pierre Lejeune
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Lejeune 2006-10-16 09:44:07 UTC
I got this error when emerging sys-apps/eject-2.1.5-r1 :

Calculating dependencies   ... done!

>>> Emerging (1 of 1) sys-apps/eject-2.1.5-r1 to /
 * eject-2.1.5.tar.gz MD5 ;-) ...                                         [ ok ]
 * eject-2.1.5.tar.gz RMD160 ;-) ...                                      [ ok ]
 * eject-2.1.5.tar.gz SHA1 ;-) ...                                        [ ok ]
 * eject-2.1.5.tar.gz SHA256 ;-) ...                                      [ ok ]
 * eject-2.1.5.tar.gz size ;-) ...                                        [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking eject-2.1.5.tar.gz ;-) ...                                    [ ok ]
>>> Unpacking source...
>>> Unpacking eject-2.1.5.tar.gz to /var/tmp/portage/sys-apps/eject-2.1.5-r1/work
 [32;01m*[0m Applying eject-2.0.13-xmalloc.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying eject-2.1.4-scsi-rdwr.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying eject-2.1.5-handle-spaces.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/eject-2.1.5-r1/work/eject ...
 * econf: updating eject/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating eject/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 --enable-nls --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
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 ANSI C... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for regcomp... yes
checking for strdup... yes
checking for strerror... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
configure: creating ./config.status
config.status: creating Makefile
Making all in po
make[1]: entrant dans le r
Comment 1 Pierre Lejeune 2006-10-16 09:44:07 UTC
I got this error when emerging sys-apps/eject-2.1.5-r1 :

Calculating dependencies   ... done!

>>> Emerging (1 of 1) sys-apps/eject-2.1.5-r1 to /
 * eject-2.1.5.tar.gz MD5 ;-) ...                                         [ ok ]
 * eject-2.1.5.tar.gz RMD160 ;-) ...                                      [ ok ]
 * eject-2.1.5.tar.gz SHA1 ;-) ...                                        [ ok ]
 * eject-2.1.5.tar.gz SHA256 ;-) ...                                      [ ok ]
 * eject-2.1.5.tar.gz size ;-) ...                                        [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking eject-2.1.5.tar.gz ;-) ...                                    [ ok ]
>>> Unpacking source...
>>> Unpacking eject-2.1.5.tar.gz to /var/tmp/portage/sys-apps/eject-2.1.5-r1/work
 [32;01m*[0m Applying eject-2.0.13-xmalloc.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying eject-2.1.4-scsi-rdwr.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Applying eject-2.1.5-handle-spaces.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/eject-2.1.5-r1/work/eject ...
 * econf: updating eject/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating eject/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 --enable-nls --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
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 ANSI C... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for regcomp... yes
checking for strdup... yes
checking for strerror... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
configure: creating ./config.status
config.status: creating Makefile
Making all in po
make[1]: entrant dans le répertoire « /var/tmp/portage/sys-apps/eject-2.1.5-r1/work/eject/po »
make[1]: Rien à faire pour « all ».
make[1]: quittant le répertoire « /var/tmp/portage/sys-apps/eject-2.1.5-r1/work/eject/po »
make[1]: entrant dans le répertoire « /var/tmp/portage/sys-apps/eject-2.1.5-r1/work/eject »
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"eject\" -DVERSION=\"2.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1  -I. -I.   -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG  -Wall  -O3 -march=prescott -pipe -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -DUSE_NLS=1 -c eject.c
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"eject\" -DVERSION=\"2.1.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1  -I. -I.   -DDEFAULTDEVICE=\"cdrom\" -DGETOPTLONG  -Wall  -O3 -march=prescott -pipe -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -DUSE_NLS=1 -c volname.c
i686-pc-linux-gnu-gcc -Wall  -O3 -march=prescott -pipe -falign-functions=4 -fprefetch-loop-arrays -fomit-frame-pointer -DUSE_NLS=1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=both -o volname  volname.o  
eject.c:70:23: erreur: scsi/scsi.h : Aucun fichier ou répertoire de ce type
eject.c:71:21: erreur: scsi/sg.h : Aucun fichier ou répertoire de ce type
eject.c:72:29: erreur: scsi/scsi_ioctl.h : Aucun fichier ou répertoire de ce type
eject.c: In function EjectScsi:
eject.c:737: erreur: sg_io_hdr_t undeclared (first use in this function)
eject.c:737: erreur: (Each undeclared identifier is reported only once
eject.c:737: erreur: for each function it appears in.)
eject.c:737: erreur: expected ; before io_hdr
eject.c:738: erreur: ALLOW_MEDIUM_REMOVAL undeclared (first use in this function)
eject.c:739: erreur: START_STOP undeclared (first use in this function)
eject.c:744: erreur: SG_GET_VERSION_NUM undeclared (first use in this function)
eject.c:749: erreur: io_hdr undeclared (first use in this function)
eject.c:753: erreur: SG_DXFER_NONE undeclared (first use in this function)
eject.c:760: erreur: SG_IO undeclared (first use in this function)
make[1]: *** [eject.o] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/sys-apps/eject-2.1.5-r1/work/eject »
make: *** [all-recursive] Erreur 1

!!! ERROR: sys-apps/eject-2.1.5-r1 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  eject-2.1.5-r1.ebuild, line 32:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

My emerge --info is attached
Comment 2 Pierre Lejeune 2006-10-16 09:45:33 UTC
Created attachment 99819 [details]
Output of emerge --info
Comment 3 Pierre Lejeune 2006-10-16 10:24:12 UTC
sys-apps/hal has the same problem
Comment 4 SpanKY gentoo-dev 2006-10-16 17:12:54 UTC
something is broken on your system ... linux-headers should be providing those /usr/include/scsi/ files
Comment 5 Pierre Lejeune 2006-10-16 23:07:39 UTC
(In reply to comment #3)
> something is broken on your system ... linux-headers should be providing those
> /usr/include/scsi/ files
> 

I'll remerge glibc, because it's the package providing the missing files