#23400 closed defect (invalid)
libraries in /usr/local interfering with perl build
Reported by: | coml@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | perl5.8 |
Description (last modified by skymoo (Adam Mercer))
Computer: 27" i7 iMac OS X 10.6.2 with latest software updates.
I hope that you can help me with g95.
Thanks,
Hugh McCutchen, Jr.
I downloaded MacPorts and tried to install G95 with the following messages:
Error: The following dependencies failed to build: libtool automake autoconf help2man p5-locale-gettext perl5 perl5.8 m4 Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. oz-2:~ hugh$ sudo port -d install g95 Password: DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/g95 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/g95 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port g95. DEBUG: Requested variant i386 is not provided by port g95. DEBUG: Requested variant macosx is not provided by port g95. DEBUG: Executing variant darwin_10 provides darwin_10 DEBUG: Executing variant gcc42 provides gcc42 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: epoch: in tree: 0 installed: 0 DEBUG: libiconv 1.13_0 exists in the ports tree DEBUG: libiconv 1.13_0 is the latest installed DEBUG: libiconv 1.13_0 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant i386 is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: epoch: in tree: 0 installed: 0 DEBUG: gperf 3.0.4_0 exists in the ports tree DEBUG: gperf 3.0.4_0 is the latest installed DEBUG: gperf 3.0.4_0 is active DEBUG: Merging existing variants into variants DEBUG: new fully merged portvariants: DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gperf DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port gperf. DEBUG: Requested variant i386 is not provided by port gperf. DEBUG: Requested variant macosx is not provided by port gperf. DEBUG: No need to upgrade! gperf 3.0.4_0 >= gperf 3.0.4_0 DEBUG: No need to upgrade! libiconv 1.13_0 >= libiconv 1.13_0 ---> Computing dependencies for g95 DEBUG: Searching for dependency: libtool DEBUG: Didn't find receipt, going to depspec regex for: libtool DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libtool DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libtool DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port libtool. DEBUG: Requested variant i386 is not provided by port libtool. DEBUG: Requested variant macosx is not provided by port libtool. DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Searching for dependency: automake DEBUG: Didn't find receipt, going to depspec regex for: automake DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/automake DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/automake DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port automake. DEBUG: Requested variant i386 is not provided by port automake. DEBUG: Requested variant macosx is not provided by port automake. DEBUG: Searching for dependency: perl5 DEBUG: Didn't find receipt, going to depspec regex for: perl5 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port perl5. DEBUG: Requested variant i386 is not provided by port perl5. DEBUG: Requested variant macosx is not provided by port perl5. DEBUG: Searching for dependency: autoconf DEBUG: Didn't find receipt, going to depspec regex for: autoconf DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/autoconf DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port autoconf. DEBUG: Requested variant i386 is not provided by port autoconf. DEBUG: Requested variant macosx is not provided by port autoconf. DEBUG: Searching for dependency: perl5.8 DEBUG: Didn't find receipt, going to depspec regex for: perl5.8 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.8 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port perl5.8. DEBUG: Requested variant i386 is not provided by port perl5.8. DEBUG: Requested variant macosx is not provided by port perl5.8. DEBUG: Searching for dependency: perl5 DEBUG: Didn't find receipt, going to depspec regex for: perl5 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: Searching for dependency: m4 DEBUG: Didn't find receipt, going to depspec regex for: m4 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/m4 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/m4 DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port m4. DEBUG: Requested variant i386 is not provided by port m4. DEBUG: Requested variant macosx is not provided by port m4. DEBUG: Searching for dependency: help2man DEBUG: Didn't find receipt, going to depspec regex for: help2man DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/help2man DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/help2man DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Requested variant darwin is not provided by port help2man. DEBUG: Requested variant i386 is not provided by port help2man. DEBUG: Requested variant macosx is not provided by port help2man. DEBUG: Searching for dependency: perl5 DEBUG: Didn't find receipt, going to depspec regex for: perl5 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: Searching for dependency: p5-locale-gettext DEBUG: Didn't find receipt, going to depspec regex for: p5-locale-gettext DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/perl/p5-locale-gettext DEBUG: OS Platform: darwin DEBUG: OS Version: 10.2.0 DEBUG: Mac OS X Version: 10.6 DEBUG: System Arch: i386 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/perl5-1.0.tcl DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port p5-locale-gettext. DEBUG: Requested variant i386 is not provided by port p5-locale-gettext. DEBUG: Requested variant macosx is not provided by port p5-locale-gettext. DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Searching for dependency: perl5 DEBUG: Didn't find receipt, going to depspec regex for: perl5 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: Searching for dependency: gettext DEBUG: Found Dependency: receipt exists for gettext DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Executing org.macports.main (perl5.8) DEBUG: Skipping completed org.macports.fetch (perl5.8) DEBUG: Skipping completed org.macports.checksum (perl5.8) DEBUG: setting option extract.cmd to /usr/bin/bzip2 DEBUG: Skipping completed org.macports.extract (perl5.8) DEBUG: Skipping completed org.macports.patch (perl5.8) DEBUG: Skipping completed org.macports.configure (perl5.8) ---> Building perl5.8 DEBUG: Executing org.macports.build (perl5.8) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && /usr/bin/make -j5 all' /usr/bin/gcc-4.2 -L/opt/local/lib -L/usr/local/lib -force_flat_namespace -o miniperl \ `echo gv.o toke.o perly.o op.o pad.o regcomp.o dump.o util.o mg.o reentr.o hv.o av.o perl.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o xsutils.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o | sed 's/ op.o / /'` \ miniperlmain.o opmini.o -ldl -lm -lutil -lc ld: in /usr/local/lib/libstdc++.6.dylib, file is not of required architecture collect2: ld returned 1 exit status make: *** [miniperl] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && /usr/bin/make -j5 all " returned error 2 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && /usr/bin/make -j5 all " returned error 2 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for perl5.8): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: The following dependencies failed to build: libtool automake autoconf help2man p5-locale-gettext perl5 perl5.8 m4 Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Change History (4)
comment:1 Changed 15 years ago by skymoo (Adam Mercer)
Description: | modified (diff) |
---|---|
Keywords: | g95 removed |
Port: | perl added |
Summary: | Installing G95 failed → libraries in /usr/local interfering with perl build |
Version: | 1.8.2 |
comment:2 follow-up: 4 Changed 15 years ago by coml@…
Thanks for the VERY quick assistance. g95 now works. Should I return libstdc++.6.dylib to its original position?
I used the -d option and I never saw so many commands scroll by!!!
Hugh
comment:3 Changed 15 years ago by mf2k (Frank Schima)
Port: | perl5.8 added; perl removed |
---|---|
Resolution: | → invalid |
Status: | new → closed |
comment:4 Changed 15 years ago by skymoo (Adam Mercer)
Replying to coml@…:
Should I return libstdc++.6.dylib to its original position?
Thats up to you, but bear in mind that this will be constant source of problems when building ports.
Note: See
TracTickets for help on using
tickets.
Libraries in /usr/local are interfering with the build:
you should remove these from /usr/local and then try the build again.