Opened 14 years ago
Closed 9 years ago
#28839 closed defect (wontfix)
perl5.12 won't compile with Xcode 4 on 10.6
Reported by: | christopher.hearn@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | sinuhet.merlin@… | |
Port: | perl5.12 |
Description (last modified by mf2k (Frank Schima))
After upgrading to Xcode4, perl5.12 won't compile:
$ sudo port -v upgrade outdated ---> Configuring perl5.12 First let's make sure your kit is complete. Checking... Would you like to see the instructions? [n] ........ Install any extra modules (y or n)? [n] Directory for the main Perl5 html pages? (~name ok) [none] Directory for the Perl5 module html pages? (~name ok) [none] Do you want to install perl as /usr/bin/perl? [n] Checking for GNU C Library... Shall I use /usr/bin/nm to extract C symbols from the libraries? [y] I can't seem to find your C library. I've looked in the following places: ............
And it hangs at that point.
Attachments (1)
Change History (17)
comment:1 follow-up: 2 Changed 14 years ago by Veence (Vincent)
comment:2 Changed 14 years ago by christopher.hearn@…
Replying to vince@…:
The portfile for Perl5 should have this configure.post_args added :
-Dusenm=n
If you can, try to add it manually, it should work.
That helps, I get further, but now:
:msg:configure ---> Building perl5.12 :debug:build build phase started at Sat Mar 19 12:35:29 EDT 2011 :debug:build Executing org.macports.build (perl5.12) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/work/perl-5.12.3" && /usr/bin/make -j8 all' :info:build make: *** No rule to make target `all'. Stop. :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/work/perl-5.12.3" && /usr/bin/make -j8 all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for perl5.12): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for perl5.12 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/main.log
comment:3 follow-up: 4 Changed 14 years ago by Veence (Vincent)
Ah, strange, it built all right for me. Looks like there still is a problem in the configuration phase. Can you clean, try to rebuild and send the whole log? Thanks.
comment:4 Changed 14 years ago by christopher.hearn@…
Replying to vince@…:
Ah, strange, it built all right for me. Looks like there still is a problem in the configuration phase. Can you clean, try to rebuild and send the whole log? Thanks.
Log file attached.
comment:5 Changed 14 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | perl5.12 removed |
comment:6 Changed 14 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ricci@… |
---|
comment:7 Changed 14 years ago by Veence (Vincent)
It appears that for an unknown reason, the "make depend" phase is not being invoked. That's what you lack. But why?
[…] Extracting utils/Makefile (with variable substitutions) Extracting writemain (with variable substitutions) Extracting x2p/cflags (with variable substitutions) Extracting x2p/Makefile (with variable substitutions) Run make depend now? [y] sh ./makedepend MAKE=make sh writemain DynaLoader.o > perlmain.c rm -f opmini.c cp op.c opmini.c rm -f perlmini.c cp perl.c perlmini.c echo av.c scope.c op.c doop.c doio.c dump.c gv.c hv.c mg.c reentr.c mro.c perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c sv.c taint.c toke.c util.c deb.c run.c universal.c pad.c globals.c perlio.c perlapi.c numeric.c mathoms.c locale.c pp_pack.c pp_sort.c miniperlmain.c perlmain.c opmini.c perlmini.c | tr ' ' '\n' >.clist Finding dependencies for av.o. Finding dependencies for scope.o. Finding dependencies for op.o. Finding dependencies for doop.o. Finding dependencies for doio.o. Finding dependencies for dump.o. Finding dependencies for gv.o. Finding dependencies for hv.o. Finding dependencies for mg.o. Finding dependencies for reentr.o. Finding dependencies for mro.o. Finding dependencies for perl.o. Finding dependencies for perly.o. Finding dependencies for pp.o. Finding dependencies for pp_hot.o. Finding dependencies for pp_ctl.o. Finding dependencies for pp_sys.o. Finding dependencies for regcomp.o. Finding dependencies for regexec.o. Finding dependencies for utf8.o. Finding dependencies for sv.o. Finding dependencies for taint.o. Finding dependencies for toke.o. Finding dependencies for util.o. Finding dependencies for deb.o. Finding dependencies for run.o. Finding dependencies for universal.o. Finding dependencies for pad.o. Finding dependencies for globals.o. Finding dependencies for perlio.o. Finding dependencies for perlapi.o. Finding dependencies for numeric.o. Finding dependencies for mathoms.o. Finding dependencies for locale.o. Finding dependencies for pp_pack.o. Finding dependencies for pp_sort.o. Finding dependencies for miniperlmain.o. Finding dependencies for perlmain.o. Finding dependencies for opmini.o. Finding dependencies for perlmini.o. echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist Updating GNUmakefile... test -s perlmain.c && touch perlmain.c cd x2p; make depend sh ../makedepend MAKE=make echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o. echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist Updating GNUmakefile... Now you must run 'make'.
comment:8 Changed 14 years ago by jmroot (Joshua Root)
Does Xcode 4 really modify libSystem (or the libc symlink)? The failing check for the C library is grepping for fprintf in the contents of libc, and it's definitely there on my 10.6 system.
comment:9 Changed 14 years ago by Veence (Vincent)
Then try also adding this line, in addition to the previous one:
-D libc=/usr/lib/system/libsystem_c.dylib
comment:10 follow-up: 11 Changed 14 years ago by jmroot (Joshua Root)
Again, does Xcode 4 add that? It doesn't exist on my system. If we're actually talking about an unreleased operating system that shall remain nameless and not Xcode 4 per se, there's an existing ticket: #28603
comment:11 Changed 14 years ago by christopher.hearn@…
comment:13 Changed 13 years ago by jmroot (Joshua Root)
Keywords: | xcode4 removed |
---|---|
Summary: | perl5.12 won't compile with Xcode 4 → perl5.12 won't compile with Xcode 4 on 10.6 |
comment:14 Changed 11 years ago by ghosthound
Owner: | changed from ricci@… to macports-tickets@… |
---|
No longer maintainer
comment:15 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to macports-tickets@… |
---|
comment:16 Changed 9 years ago by mojca (Mojca Miklavec)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Version: | 1.9.2 |
Perl5.12 is no longer maintained upstream and MacPorts no longer ships it, so I'm closing this ticket as "outdated".
The portfile for Perl5 should have this configure.post_args added :
-Dusenm=n
If you can, try to add it manually, it should work.