First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 27519
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Martin Holzer (RETIRED) <mholzer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Norberto Bensa <nbensa@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
compile-ok-with-gcc-3.3.1.patch allows compilation with gcc-3.3.1 patch James Harlow (RETIRED) 2003-09-09 23:19 0000 1.94 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2003-08-29 03:00 0000
I'm trying to install qtparted, ntfsprogs is a dependency but it doesn't 
build. 
 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -Wall 
-march=pentium2 -O2 -mmmx -pipe -fomit-frame-pointer -ffast-math 
-maccumulate-outgoing-args -c attrib.c  -fPIC -DPIC -o .libs/attrib.lo 
In file included from ../include/unistr.h:27, 
                 from ../include/attrib.h:30, 
                 from bitmap.c:28: 
../include/layout.h:295: warning: declaration does not declare anything 
../include/layout.h:1431: warning: declaration does not declare anything 
../include/layout.h:1446: warning: declaration does not declare anything 
../include/layout.h:1695: warning: declaration does not declare anything 
../include/layout.h:1870: warning: declaration does not declare anything 
../include/layout.h:2021: warning: declaration does not declare anything 
../include/layout.h:2033: warning: declaration does not declare anything 
In file included from ../include/unistr.h:27, 
                 from ../include/attrib.h:30, 
                 from attrib.c:30: 
../include/layout.h:295: warning: declaration does not declare anything 
../include/layout.h:1431: warning: declaration does not declare anything 
../include/layout.h:1446: warning: declaration does not declare anything 
../include/layout.h:1695: warning: declaration does not declare anything 
../include/layout.h:1870: warning: declaration does not declare anything 
../include/layout.h:2021: warning: declaration does not declare anything 
../include/layout.h:2033: warning: declaration does not declare anything 
In file included from attrib.c:32: 
../include/mft.h: In function `ntfs_mft_record_get_data_size': 
../include/mft.h:98: error: structure has no member named `magic' 
make[2]: *** [attrib.lo] Error 1 
make[2]: *** Waiting for unfinished jobs.... 
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -Wall 
-march=pentium2 -O2 -mmmx -pipe -fomit-frame-pointer -ffast-math 
-maccumulate-outgoing-args -c bitmap.c -o bitmap.o >/dev/null 2>&1 
mv -f .libs/bitmap.lo bitmap.lo 
make[2]: Leaving directory 
`/var/tmp/portage/ntfsprogs-1.7.1/work/ntfsprogs-1.7.1/libntfs' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/ntfsprogs-1.7.1/work/ntfsprogs-1.7.1' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: sys-apps/ntfsprogs-1.7.1 failed. 
!!! Function src_compile, Line 22, Exitcode 2 
!!! Make failed 
 
 
$ emerge info 
Portage 2.0.49-r1 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.21) 
================================================================= 
System uname: 2.4.21 i686 Pentium II (Klamath) 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium2 -O2 -mmmx -pipe -fomit-frame-pointer -ffast-math 
-maccumulate-outgoing-args" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium2 -O2 -mmmx -pipe -fomit-frame-pointer -ffast-math 
-maccumulate-outgoing-args" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache distcc userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt encode foomaticdb gif gpm java jpeg libg++ mad 
mikmod mmx motif mpeg ncurses pdflib png quicktime slang spell truetype xml2 
xmms xv zlib gdbm berkdb readline tetex X tcpd pam libwww ssl perl python esd 
imlib oggvorbis dvd -gnome -xfs -acpi4linux -3dnow -ipv6 threads -nls -kde 
-cups arts qt gtk -opengl -svga -sdl faad tiff" 
 
 
 

Reproducible: Always
Steps to Reproduce:
1. emerge ntfsprogs

------- Comment #1 From James Harlow (RETIRED) 2003-09-09 04:21:44 0000 -------
This is caused by naughty C coding in some of the files, which gcc-3.3.1
chooses to reject. I'm working on a fix, which I will put here and send
upstream.

------- Comment #2 From James Harlow (RETIRED) 2003-09-09 23:19:35 0000 -------
Created an attachment (id=17397) [edit]
allows compilation with gcc-3.3.1

Adds an extension (-fms-extensions) to the Makefiles and splits a multi-line
string.

------- Comment #3 From Martin Holzer (RETIRED) 2003-09-16 12:06:09 0000 -------
patch added

------- Comment #4 From Martin Holzer (RETIRED) 2003-09-16 12:06:32 0000 -------
not in cvs, just as info for bugzilla, which doesn't send mails for attachments

------- Comment #5 From Norberto Bensa 2003-09-16 20:15:20 0000 -------
patch works for me 

------- Comment #6 From Warp Zero (RETIRED) 2003-09-17 21:00:18 0000 -------
ONLY way i could get it to work for me on ~x86 recommend commit

------- Comment #7 From Martin Holzer (RETIRED) 2003-09-29 15:29:58 0000 -------
in cvs

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