Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524048 - media-gfx/sam2p-0.49.1: build fails w/glibc-2.20: ./ccdep.pl: invalid depend: [/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]]
Summary: media-gfx/sam2p-0.49.1: build fails w/glibc-2.20: ./ccdep.pl: invalid depend:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 528376 (view as bug list)
Depends on:
Blocks: glibc-2.20
  Show dependency tree
 
Reported: 2014-09-29 17:16 UTC by Dale Lukas Peterson
Modified: 2014-11-08 18:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,7.11 KB, text/plain)
2014-09-29 17:20 UTC, Dale Lukas Peterson
Details
emerge --info output (emerge_info.txt,5.66 KB, text/plain)
2014-09-29 17:21 UTC, Dale Lukas Peterson
Details
emerge -pqv output (emerge_pqv.txt,61 bytes, text/plain)
2014-09-29 17:21 UTC, Dale Lukas Peterson
Details
environment (environment,97.70 KB, text/plain)
2014-09-29 17:21 UTC, Dale Lukas Peterson
Details
config.log (config.log,42.84 KB, text/plain)
2014-09-29 19:41 UTC, Dale Lukas Peterson
Details
fix build sam2p-0.49.1 against glibc-2.20 (deprecated_sources_fix_sam2p-0.49.1.patch,601 bytes, patch)
2014-10-27 17:44 UTC, Dmitry Derevyanko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dale Lukas Peterson 2014-09-29 17:16:21 UTC
Similar bugs have popped in the past (463343, 315619) but in my case I am using gcc-4.9.1.

The error that occurs during the configure step is:

running gmake Makedep... error
configure: error: cannot compute depends
Comment 1 Dale Lukas Peterson 2014-09-29 17:20:48 UTC
Created attachment 385750 [details]
build.log
Comment 2 Dale Lukas Peterson 2014-09-29 17:21:04 UTC
Created attachment 385752 [details]
emerge --info output
Comment 3 Dale Lukas Peterson 2014-09-29 17:21:18 UTC
Created attachment 385754 [details]
emerge -pqv output
Comment 4 Dale Lukas Peterson 2014-09-29 17:21:52 UTC
Created attachment 385756 [details]
environment
Comment 5 Rafał Mużyło 2014-09-29 19:06:42 UTC
Well, given:
> configure: loading site script /usr/share/config.site

crossdev might be messing up stuff.

Still, attach config.log.
Comment 6 Dale Lukas Peterson 2014-09-29 19:41:51 UTC
Created attachment 385778 [details]
config.log
Comment 7 Dale Lukas Peterson 2014-09-29 20:30:19 UTC
I removed crossdev and am still getting the same problem.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-09-29 22:49:28 UTC
configure: error: cannot compute depends
Comment 9 Dale Lukas Peterson 2014-10-02 09:06:10 UTC
I tried checking out the latest master of sam2p (https://code.google.com/p/sam2p/source/checkout), and with master, I am able to ./configure and build successfully.  The 0.49.2 release tarball gives the same error as what I was getting while trying to emerge 0.49.1 through portage, so presumably the fix is in one of the commits that have been made since the 0.49.2 release.
Comment 10 Dmitry Derevyanko 2014-10-27 17:44:34 UTC
Created attachment 387572 [details, diff]
fix build sam2p-0.49.1 against glibc-2.20

Probably this (https://code.google.com/p/sam2p/source/detail?r=db2e6469710b48a23bda8be8f4be4ca06a21877a) commit fixed build error. I haven't tried myself but soon I will.
Comment 11 Dmitry Derevyanko 2014-10-27 18:01:36 UTC
After patching compiles fine.
Comment 12 SpanKY gentoo-dev 2014-11-08 18:27:01 UTC
*** Bug 528376 has been marked as a duplicate of this bug. ***