First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 27049
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Luca Barbato <lu_zero@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Pascal de Bruijn <keizerflipje@home.nl>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27049 depends on: Show dependency tree
Bug 27049 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-21 05:36 0000
when i try to emerge povray 3.50c, i get an error message! Then it aborts the
compilation sequence.

Reproducible: Always
Steps to Reproduce:
1. emerge povray


Actual Results:  
gcc -DPREFIX=\"/usr\" -DPOV_LIB_DIR=\"/usr/share/povray-3.5\"
-DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/etc\" -DUSE_IO_RESTRICTIONS=\"\" 
 -march=k6 -O2 -fomit-frame-pointer -pipe  -finline-functions -ffast-math    -O3
-mcpu=i586 -march=i586 -finline-functions -ffast-math -fomit-frame-pointer
-funroll-loops -fexpensive-optimizations -malign-double -foptimize-sibling-calls
-minline-all-stringops -Wno-multichar -c povxlib.c
povxlib.c:30:22: X11/Xlib.h: No such file or directory
povxlib.c:31:23: X11/Xutil.h: No such file or directory
povxlib.c:33: parse error before '*' token
povxlib.c: In function `pclass':
povxlib.c:35: `p' undeclared (first use in this function)
povxlib.c:35: (Each undeclared identifier is reported only once
povxlib.c:35: for each function it appears in.)
make: *** [povxlib.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-gfx/povray-3.50c failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! (no error message)

rembrandt root #



rembrandt root # uname -a
Linux rembrandt 2.4.21-g1 #2 Thu Aug 14 19:59:07 CEST 2003 i586 AMD-K6(tm) 3D
processor AuthenticAMD GNU/Linux
rembrandt root # lspci
00:00.0 Host bridge: ALi Corporation M1541 (rev 04)
00:01.0 PCI bridge: ALi Corporation M1541 PCI to AGP Controller (rev 04)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] (rev c3)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c1)
01:00.0 VGA compatible controller: Intel Corp. i740 (rev 21)
rembrandt root # gcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/specs
Configured with: /var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/configure
--prefix=/usr --bindir=/usr/i586-pc-linux-gnu/gcc-bin/3.2
--includedir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/include
--datadir=/usr/share/gcc-data/i586-pc-linux-gnu/3.2
--mandir=/usr/share/gcc-data/i586-pc-linux-gnu/3.2/man
--infodir=/usr/share/gcc-data/i586-pc-linux-gnu/3.2/info --enable-shared
--host=i586-pc-linux-gnu --target=i586-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,f77,objc --enable-threads=posix --enable-long-long
--disable-checking --enable-cstdio=stdio --enable-clocale=generic
--enable-__cxa_atexit --enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --disable-nls
Thread model: posix
gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice)

CFLAGS=-march=k6 -O2 -fomit-frame-pointer -pipe

removing the -fomit-frame-pointer part didn't help at recompilation.

------- Comment #1 From Pascal de Bruijn 2003-08-21 06:41:43 0000 -------
rembrandt root # emerge -p povray

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N   ] media-gfx/povray-3.50c  -icc -X +svga

rembrandt root #

these are my use flags!

------- Comment #2 From Seemant Kulleen (RETIRED) 2003-08-23 16:27:30 0000 -------
pascal, you have xfree installed yes? because it just looks like the include
path for the xfree headers is not in your PATH.  Please do: env-update &&
source /etc/profile if you have xfree emerged already, and then try this again.

------- Comment #3 From Pascal de Bruijn 2003-08-24 04:24:32 0000 -------
No, I do not have X installed... That's why I choose the useflag "-X"

Anyway, if that should be the case, then the -X useflag should be removed, and X would need to be coded as a hard dependancy, right?

Pascal de Bruijn

BTW: I cannot try this, my system is too slow to compile X!

------- Comment #4 From Luca Barbato 2003-08-31 12:34:14 0000 -------
I fixed (I hope) the ebuild please try again, the resulted binary does not link
against X, I didn't test on a Xless system, but now the ebuild explictly put a
without-x in the configure options if -X is present.

------- Comment #5 From Pascal de Bruijn 2003-09-07 10:44:59 0000 -------
Sorry for my late response, but it didn't work this time either... at least I
just  did emerge sync and then recompiled, or should I have looked in CVS?

You might just want to make X a hard dependancy of povray and remove the "X"
use flag.

Thanks for your time,
DrZ

------- Comment #6 From Waldemar Tribus 2003-10-12 10:13:41 0000 -------
I have this problem too. 
I too have no X installed and have -X in my use flags.

povxlib.c:30:22: X11/Xlib.h: No such file or directory
povxlib.c:31:23: X11/Xutil.h: No such file or directory
povxlib.c:33: parse error before '*' token
povxlib.c: In function `pclass':
povxlib.c:35: `p' undeclared (first use in this function)
povxlib.c:35: (Each undeclared identifier is reported only once
povxlib.c:35: for each function it appears in.)
distcc[24746] ERROR: compile on localhost failed with exit code 1
make: *** [povxlib.o] Error 1

------- Comment #7 From Luca Barbato 2003-12-31 17:40:13 0000 -------
eventually found the time to take a look at it closely

fixed

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