Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96191 - eject-2.0.13-r2 compile fails with gcc-2.95
Summary: eject-2.0.13-r2 compile fails with gcc-2.95
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-15 09:26 UTC by Matt Taylor
Modified: 2005-06-15 21:25 UTC (History)
0 users

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


Attachments
eject-2.0.13-r2-gcc2.patch (eject-2.0.13-r2-gcc2.patch,402 bytes, patch)
2005-06-15 09:27 UTC, Matt Taylor
Details | Diff
eject-2.0.13-toggle.patch (eject-2.0.13-toggle.patch,2.77 KB, patch)
2005-06-15 14:30 UTC, Matt Taylor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Taylor 2005-06-15 09:26:37 UTC
make[1]: Entering directory `/mnt/portage/tmp/portage/eject-2.0.13-r2/work/eject-2.0.13'
gcc -DPACKAGE=\"eject\" -DVERSION=\"2.0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_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   -march=i686 -O3 -pipe -c eject.c
eject.c: In function `main':
eject.c:994: parse error before `struct'
eject.c:995: `tv' undeclared (first use in this function)
eject.c:995: (Each undeclared identifier is reported only once
eject.c:995: for each function it appears in.)
eject.c:997: `tv2' undeclared (first use in this function)
make[1]: *** [eject.o] Error 1
make[1]: Leaving directory `/mnt/portage/tmp/portage/eject-2.0.13-r2/work/eject-2.0.13'
make: *** [all-recursive] Error 1

!!! ERROR: sys-apps/eject-2.0.13-r2 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Matt Taylor 2005-06-15 09:27:07 UTC
Created attachment 61285 [details, diff]
eject-2.0.13-r2-gcc2.patch

fixes compile with gcc-2.95
Comment 2 SpanKY gentoo-dev 2005-06-15 10:35:28 UTC
rather than patching the source we should just fix the patch that introduced
this bug
Comment 3 Matt Taylor 2005-06-15 14:30:30 UTC
Created attachment 61304 [details, diff]
eject-2.0.13-toggle.patch

Updated patch that introduced the compile failure.  I didn't even think to look
at the patches, will try to do so in the future.
Comment 4 SpanKY gentoo-dev 2005-06-15 21:25:56 UTC
fixed in cvs, thanks