Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424689 - media-libs/libjpeg-turbo-1.2.0-r2 wants C++ CPP (?)
Summary: media-libs/libjpeg-turbo-1.2.0-r2 wants C++ CPP (?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-04 01:01 UTC by Sylvain BERTRAND
Modified: 2012-07-04 18:24 UTC (History)
0 users

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


Attachments
emerge --info (info,4.37 KB, text/plain)
2012-07-04 01:01 UTC, Sylvain BERTRAND
Details
build.log (build.log,65 bytes, text/plain)
2012-07-04 01:03 UTC, Sylvain BERTRAND
Details
build.log (build.log,6.63 KB, text/plain)
2012-07-04 01:06 UTC, Sylvain BERTRAND
Details
emerge -pv sys-devel/gcc (gcc,415 bytes, text/plain)
2012-07-04 11:20 UTC, Sylvain BERTRAND
Details
config.log.bz2 (config.log.bz2,5.72 KB, application/octet-stream)
2012-07-04 11:37 UTC, Sylvain BERTRAND
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvain BERTRAND 2012-07-04 01:01:40 UTC
Created attachment 317081 [details]
emerge --info

fail to compile because configure is looking for a C++ CPP, but this is a C lib.
Comment 1 Sylvain BERTRAND 2012-07-04 01:03:27 UTC
Created attachment 317083 [details]
build.log
Comment 2 Sylvain BERTRAND 2012-07-04 01:06:11 UTC
Created attachment 317085 [details]
build.log
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-07-04 07:11:19 UTC
It says: See `config.log' for more details.

Always when you have problem with ./configure on a autotools based package (has econf in ebuild) then attach config.log right next to build.log.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-07-04 09:35:59 UTC
Reopen the bug from NEEDINFO status when you have config.log and 'emerge -pv sys-devel/gcc' outputs provided.
Comment 5 Sylvain BERTRAND 2012-07-04 11:20:42 UTC
Created attachment 317103 [details]
emerge -pv sys-devel/gcc
Comment 6 Sylvain BERTRAND 2012-07-04 11:37:53 UTC
Created attachment 317115 [details]
config.log.bz2
Comment 7 Sylvain BERTRAND 2012-07-04 11:39:15 UTC
logs added
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-07-04 14:34:35 UTC
[ebuild   R    ] sys-devel/gcc-4.6.3  USE="nls nocxx nptl (-altivec) -bootstrap -build -cxx

^ USE="-cxx" means you don't have g++ C++ compiler installed at all. is that in purpose? anyway...

Try if adding

epunt_cxx

to the end of src_prepare() (as last command of the function)
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2012-07-04 14:36:22 UTC
(In reply to comment #8)
[ ... ]

> to the end of src_prepare() (as last command of the function)

--- libjpeg-turbo-1.2.0-r2.ebuild
+++ libjpeg-turbo-1.2.0-r2.ebuild
@@ -49,6 +49,8 @@
 		eautoreconf
 	fi
 	java-pkg-opt-2_src_prepare
+
+	epunt_cxx
 }
Comment 10 Sylvain BERTRAND 2012-07-04 16:27:51 UTC
"epunt_cxx" works: configuring without pb, compiling ok.
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2012-07-04 18:24:08 UTC
cool

epunt_cxx added to tree for -r2