Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106767 - app-cdr/cdrtools-2.01.01_alpha01-r2 fails with compiler error
Summary: app-cdr/cdrtools-2.01.01_alpha01-r2 fails with compiler error
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Optical Media project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 02:31 UTC by Frank
Modified: 2006-10-28 01:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank 2005-09-21 02:31:27 UTC
# emerge cdrecord-prodvd
...
>>> emerge (1 of 2) app-cdr/cdrtools-2.01.01_alpha01-r2 to /
...
RULES/rules1.top:234: incs/Dcc.x86-linux: No such file or directory
RULES/rules.cnf:56: incs/x86-linux-cc/Inull: No such file or directory
RULES/rules.cnf:57: incs/x86-linux-cc/rules.cnf: No such file or directory
        ==> MAKING DIRECTORY "incs/x86-linux-cc/Inull"
        ==> CONFIGURING RULES "incs/x86-linux-cc/rules.cnf"
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX/OS2 environment... no
checking for executable suffix... configure: error: installation or
configuration problem: compiler cannot create executables.
make: *** [incs/x86-linux-cc/rules.cnf] Error 1

!!! ERROR: app-cdr/cdrtools-2.01.01_alpha01-r2 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
...

# less
/var/tmp/portage/cdrtools-2.01.01_alpha01-r2/work/cdrtools-2.01.01/incs/x86-linux-cc/config.log
...
configure:855: checking for executable suffix
configure:865: cc -o conftest   -O  -O2 -mcpu=pentium2
-finput-charset=ISO-8859-1 -fexec-charset=UTF-8   conftest.c  1>&5
cc1: error: unrecognized option `-finput-charset=ISO-8859-1'
cc1: error: unrecognized option `-fexec-charset=UTF-8'

In fact, having a look at ``man gcc'' ... the compiler doesn't know anything
about a -finput* or -fexec* switch.

An error in the ebuild?

Some environment information:

Hardware environment:
Notebook Acer TM2313
Processor:      Celeron M 1,5 GHz
Memory:         1GB
Chipset:        SiS 315

<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>
make.conf:

CFLAGS="-O2 -mcpu=pentium2"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"

USE="userlocales acpi -arts audiofile bash-completion bidi blas bmp bzip2
calendar cdparanoia cdr ctype dga dio directfb div4linux doc dv dvd dvdr dvdread
-eds -emboss esd ethereal examples expat fbcon ffmpeg flac flash -fortran ftp
geoip glut gmp -gnome gphoto2 -gstreamer hal iconv icq imagemagick -ipv6 java
-kde lesstif -libg++ lm_sensors matrox mcal mime ming mmx mp3 mng mozilla mpi
netcdf nptl nsplugin odbc openal oracle pcmcia pcntl pcre posix radius sasl
sharedmem shorten slang sndfile sockets sox speex sysvipc tcltk tetex theora
threads tiff truetype unicode vcd wifi win32codecs wmf Xaw3d xine xinerama xml
xvid zlib"

ACCEPT_KEYWORDS="~x86"

I've tried this with ACCEPT_KEYWORDS="x86" too.


Reproducible: Always
Steps to Reproduce:
see details
Actual Results:  
No CDrecord availible.

Expected Results:  
CDrecord wanted.
Comment 1 Petr Hodan 2005-09-29 14:59:57 UTC
Try to remove USE="unicode" from your USE flag, it may help.

Comment 2 Frank 2005-09-30 00:52:36 UTC
(In reply to comment #1)

In fact, adding

app-cdr/cdrtools USE="-unicode"

to package.keywords worked around the problem but IMHO this is only a
workaround, not a solution.
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2006-03-25 10:51:49 UTC
same problem with alpha 07 ?
Comment 4 Lars Weiler (RETIRED) gentoo-dev 2006-10-28 01:10:42 UTC
No response in a couple of month.  Let's close this.