Bug 11295 - perlbrew or plenv: Your C compiler "/usr/bin/gcc" doesn't seem to support stdarg or varargs!
Summary: perlbrew or plenv: Your C compiler "/usr/bin/gcc" doesn't seem to support std...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Jerome Quelin
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, Triaged
Depends on:
Blocks:
 
Reported: 2013-09-26 19:13 CEST by Christian Westgaard
Modified: 2015-03-31 16:02 CEST (History)
1 user (show)

See Also:
Source RPM: perl
CVE:
Status comment:


Attachments

Description Christian Westgaard 2013-09-26 19:13:05 CEST
Can't build perl with either perlbrew or plenv.

For some reason both stdarg.h and varargs.h are not found even though
$ ls -l /usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/include/*arg.h 
-rw-r--r-- 1 root root 2598 May  4 23:07 /usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/include/cross-stdarg.h
-rw-r--r-- 1 root root 4203 May  4 23:07 /usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/include/stdarg.h

The compiler has the directory in its internal include list,
but that doesn't help.

This seems to be related (even though its regarding MacOSX)
http://www.perlmonks.org/?node_id=1042300

Adding the directory to CFLAGS did not seem to help:
./Configure -des -Dinc_version_list="5.18.1" -Dcc='/usr/bin/gcc' -Doptimize='-O2' -DDEBUGGING=-g -Dmyhostname=localhost -Dperladmin=root@localhost -Dcf_email=root@localhost -Dperllibs='-lnsl -ldl -lm -lcrypt -lutil -lc -pthread' -Ud_csh -Duseshrplib -Duseithreads -Di_db -Di_ndbm -Di_gdbm -Dprefix="$HOME/perl5/perlbrew/perls/mageia-perl-5.18.1-bug10449" -DCFLAGS="-I/usr/lib/gcc/x86_64-mageia-linux-gnu/4.7.2/include"

Compile options copied from
https://bugs.mageia.org/show_bug.cgi?id=10449


Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2013-09-27 21:25:43 CEST
(if it's wrongly assigned please tell us)

Keywords: (none) => Triaged
Assignee: bugsquad => jquelin
Source RPM: (none) => perl

Comment 2 Jerome Quelin 2014-02-24 09:39:09 CET
Sorry for the time to answer - real life kicked in quite hard.

Is this bug still valid?
Have you correctly launched "perlbrew init" at the beginning?

Try removing the -Dinc_version_list flag from you command line.
Also, can you paste the exact error message (+session transcript)?

Keywords: (none) => NEEDINFO
CC: (none) => jquelin

Comment 3 Marja Van Waes 2015-03-31 16:02:51 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.