First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 45537
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Adrian Almenar <aalmenar@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mtx-include-path.patch mtx-include-path.patch patch Nicolas Boichat 2004-03-29 12:04 0000 324 bytes Details | Diff
mtx-1.2.17-r1.ebuild mtx-1.2.17-r1.ebuild application/octet-stream Nicolas Boichat 2004-03-29 12:07 0000 897 bytes Details
mtx-1.2.18-r1.ebuild mtx-1.2.18-r1.ebuild application/octet-stream Nicolas Boichat 2004-03-29 12:08 0000 894 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 45537 depends on: Show dependency tree
Show dependency graph
Bug 45537 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-23 13:04 0000
checking whether byte ordering is bigendian... no
checking return type of signal handlers... void
checking for vprintf... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged
gcc -O3 -march=pentium4 -fomit-frame-pointer -pipe -Wall -DVERSION="\"1.2.18rel\"" -I/usr/src/linux/include -DLONG_PRINT_REQUEST_SENSE=1  -c -o mtx.o mtx.c
gcc -O3 -march=pentium4 -fomit-frame-pointer -pipe -Wall -DVERSION="\"1.2.18rel\"" -I/usr/src/linux/include -DLONG_PRINT_REQUEST_SENSE=1  -c -o mtxl.o mtxl.c
In file included from mtx.h:65,
                 from mtxl.c:26:
/usr/src/linux/include/scsi/scsi.h:210: error: syntax error before "u8"
/usr/src/linux/include/scsi/scsi.h:210: warning: no semicolon at end of struct or union
/usr/src/linux/include/scsi/scsi.h:211: warning: type defaults to `int' in declaration of `medium'
/usr/src/linux/include/scsi/scsi.h:211: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:212: error: syntax error before "_r2"
/usr/src/linux/include/scsi/scsi.h:212: warning: type defaults to `int' in declaration of `_r2'
/usr/src/linux/include/scsi/scsi.h:212: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:213: error: syntax error before "block_desc_length"
/usr/src/linux/include/scsi/scsi.h:213: warning: type defaults to `int' in declaration of `block_desc_length'
/usr/src/linux/include/scsi/scsi.h:213: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:214: error: syntax error before "density"
/usr/src/linux/include/scsi/scsi.h:214: warning: type defaults to `int' in declaration of `density'
/usr/src/linux/include/scsi/scsi.h:214: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:215: error: syntax error before "number_blocks_hi"
/usr/src/linux/include/scsi/scsi.h:215: warning: type defaults to `int' in declaration of `number_blocks_hi'
/usr/src/linux/include/scsi/scsi.h:215: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:216: error: syntax error before "number_blocks_med"
/usr/src/linux/include/scsi/scsi.h:216: warning: type defaults to `int' in declaration of `number_blocks_med'
/usr/src/linux/include/scsi/scsi.h:216: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:217: error: syntax error before "number_blocks_lo"
/usr/src/linux/include/scsi/scsi.h:217: warning: type defaults to `int' in declaration of `number_blocks_lo'
/usr/src/linux/include/scsi/scsi.h:217: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:218: error: syntax error before "_r3"
/usr/src/linux/include/scsi/scsi.h:218: warning: type defaults to `int' in declaration of `_r3'
/usr/src/linux/include/scsi/scsi.h:218: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:219: error: syntax error before "block_length_hi"
/usr/src/linux/include/scsi/scsi.h:219: warning: type defaults to `int' in declaration of `block_length_hi'
/usr/src/linux/include/scsi/scsi.h:219: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:220: error: syntax error before "block_length_med"
/usr/src/linux/include/scsi/scsi.h:220: warning: type defaults to `int' in declaration of `block_length_med'
/usr/src/linux/include/scsi/scsi.h:220: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:221: error: syntax error before "block_length_lo"
/usr/src/linux/include/scsi/scsi.h:221: warning: type defaults to `int' in declaration of `block_length_lo'
/usr/src/linux/include/scsi/scsi.h:221: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:228: error: syntax error before "u8"
/usr/src/linux/include/scsi/scsi.h:228: warning: no semicolon at end of struct or union
In file included from mtx.h:65,
                 from mtx.c:39:
/usr/src/linux/include/scsi/scsi.h:210: error: syntax error before "u8"
/usr/src/linux/include/scsi/scsi.h:210: warning: no semicolon at end of struct or union
/usr/src/linux/include/scsi/scsi.h:211: warning: type defaults to `int' in declaration of `medium'
/usr/src/linux/include/scsi/scsi.h:211: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:212: error: syntax error before "_r2"
/usr/src/linux/include/scsi/scsi.h:212: warning: type defaults to `int' in declaration of `_r2'
/usr/src/linux/include/scsi/scsi.h:212: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:213: error: syntax error before "block_desc_length"
/usr/src/linux/include/scsi/scsi.h:213: warning: type defaults to `int' in declaration of `block_desc_length'
/usr/src/linux/include/scsi/scsi.h:213: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:214: error: syntax error before "density"
/usr/src/linux/include/scsi/scsi.h:214: warning: type defaults to `int' in declaration of `density'
/usr/src/linux/include/scsi/scsi.h:214: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:215: error: syntax error before "number_blocks_hi"
/usr/src/linux/include/scsi/scsi.h:215: warning: type defaults to `int' in declaration of `number_blocks_hi'
/usr/src/linux/include/scsi/scsi.h:215: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:216: error: syntax error before "number_blocks_med"
/usr/src/linux/include/scsi/scsi.h:216: warning: type defaults to `int' in declaration of `number_blocks_med'
/usr/src/linux/include/scsi/scsi.h:216: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:217: error: syntax error before "number_blocks_lo"
/usr/src/linux/include/scsi/scsi.h:217: warning: type defaults to `int' in declaration of `number_blocks_lo'
/usr/src/linux/include/scsi/scsi.h:217: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:218: error: syntax error before "_r3"
/usr/src/linux/include/scsi/scsi.h:218: warning: type defaults to `int' in declaration of `_r3'
/usr/src/linux/include/scsi/scsi.h:218: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:219: error: syntax error before "block_length_hi"
/usr/src/linux/include/scsi/scsi.h:219: warning: type defaults to `int' in declaration of `block_length_hi'
/usr/src/linux/include/scsi/scsi.h:219: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:220: error: syntax error before "block_length_med"
/usr/src/linux/include/scsi/scsi.h:220: warning: type defaults to `int' in declaration of `block_length_med'
/usr/src/linux/include/scsi/scsi.h:220: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:221: error: syntax error before "block_length_lo"
/usr/src/linux/include/scsi/scsi.h:221: warning: type defaults to `int' in declaration of `block_length_lo'
/usr/src/linux/include/scsi/scsi.h:221: warning: data definition has no type or storage class
/usr/src/linux/include/scsi/scsi.h:228: error: syntax error before "u8"
/usr/src/linux/include/scsi/scsi.h:228: warning: no semicolon at end of struct or union
make: *** [mtx.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [mtxl.o] Error 1

!!! ERROR: sys-apps/mtx-1.2.18 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! Make failed


ordkur root # emerge info
Portage 2.0.50-r2 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.conectium.com http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://gentoo.conectium.com/gentoo-portage"
USE="X aalib acpi alsa apm arts artswrappersuid avi berkdb cdr crypt cups dga directfb doc encode fam fbcon foomaticdb gd gdbm gdm ggi ggz gif gphoto2 gpm gtk gtk2 imap imlib innodb java jikes jpeg kde lcm libg++ libgda libwww mad mbox mikmod mmx motif mozilla moznocompose moznoirc mpeg ncurses nls oggvorbis opengl openssh oss pam pdflib perl png pnp postgres python qt quicktime radeon readline samba sasl sdl sis skey slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype trusted x86 xface xine xml xml2 xmms xv zlib video_cards_i830"

------- Comment #1 From torgo@hotpop.com 2004-03-25 11:43:39 0000 -------
same issue with development-sources-2.6.4 here.  the package appears to be
compiling against /usr/src/linux instead of /usr/include/linux

it is worth noting that i removed the /usr/src/linux symlink and the build
completed successfully.

------- Comment #2 From Seemant Kulleen (RETIRED) 2004-03-26 11:04:19 0000 -------
removing base-system

------- Comment #3 From Nicolas Boichat 2004-03-29 12:04:24 0000 -------
Created an attachment (id=28304) [edit]
mtx-include-path.patch

Change :
 - Removed -I/usr/src/linux/include from CPPFLAGS in Makefile.in

Compiles fine with kernel 2.6.4-gentoo-r1, but I don't have the hardware to
test it (I compiled it because amanda depends on it), so please test it.

------- Comment #4 From Nicolas Boichat 2004-03-29 12:07:45 0000 -------
Created an attachment (id=28306) [edit]
mtx-1.2.17-r1.ebuild

New ebuild for mtx-1.2.17.

Changes :
 - Uses mtx-include-patch (see above)
 - Masked KEYWORDS with ~

------- Comment #5 From Nicolas Boichat 2004-03-29 12:08:54 0000 -------
Created an attachment (id=28307) [edit]
mtx-1.2.18-r1.ebuild

New ebuild for mtx-1.2.18.

Changes :
 - Uses mtx-include-path.patch

------- Comment #6 From Tim Yamin (RETIRED) 2004-04-02 13:07:47 0000 -------
Fixed in CVS; the change should reach the Portage mirrors in an hour. Thanks!

First Last Prev Next    No search results available      Search page      Enter new bug