Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#50052 closed defect (fixed)

Need to create perl5.22 symbolic link

Reported by: dixiao@… Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: perl5.22

Description

I actually found this bug when installing gsl on a freshly installed macports system. During the installation, p5.22-locale-gettext failed, and the log file is attached. Obviously, p5.22-locale-gettext is looking for perl5.22 while in /opt/local/bin only perl5.22.1 is created.

Change History (5)

comment:1 Changed 9 years ago by dixiao@…

I made a symbolic link perl5.22 to perl5 in /opt/local/bin, then p5.22-locale-gettext can install without any problem. However, by doing so, I no longer have the log file. Below is the log file copied from a previous terminal session

:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 503
:debug:main Executing org.macports.main (p5.22-locale-gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (p5.22-locale-gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (p5.22-locale-gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (p5.22-locale-gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (p5.22-locale-gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (p5.22-locale-gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Tue Dec 15 21:12:36 EST 2015
:notice:configure --->  Configuring p5.22-locale-gettext
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (p5.22-locale-gettext)
:debug:configure Environment: 
CC='/usr/bin/clang'
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.22-locale-gettext/work/.CC_PRINT_OPTIONS'
CFLAGS='-pipe -Os -arch x86_64'
CPATH='/opt/local/include'
CPPFLAGS='-I/opt/local/include'
CXX='/usr/bin/clang++'
CXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
F77FLAGS='-m64'
F90FLAGS='-pipe -Os -m64'
FCFLAGS='-pipe -Os -m64'
FFLAGS='-pipe -Os'
INSTALL='/usr/bin/install -c'
LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.11'
OBJC='/usr/bin/clang'
OBJCFLAGS='-pipe -Os -arch x86_64'
OBJCXX='/usr/bin/clang++'
OBJCXXFLAGS='-pipe -Os -arch x86_64 -stdlib=libc++'
PERL_AUTOINSTALL='--skipdeps'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.22-locale-gettext/work/Locale-gettext-1.07" && /opt/local/bin/perl5.22 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang"'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.22-locale-gettext/work/Locale-gettext-1.07" && /opt/local/bin/perl5.22 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" 
:info:configure sh: /opt/local/bin/perl5.22: No such file or directory
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.22-locale-gettext/work/Locale-gettext-1.07" && /opt/local/bin/perl5.22 Makefile.PL INSTALLDIRS=vendor CC="/usr/bin/clang" LD="/usr/bin/clang" 
:info:configure Exit code: 127
:error:configure org.macports.configure for port p5.22-locale-gettext returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"portconfigure::configure_main org.macports.configure"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:configure Warning: targets not executed for p5.22-locale-gettext: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install p5.22-locale-gettext
:debug:configure Registry error: xz not registered as installed & active.
    invoked from within
"registry_active $subport"
    invoked from within
"$workername eval registry_active \$subport"
:notice:configure Please see the log file for port p5.22-locale-gettext for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-locale-gettext/p5.22-locale-gettext/main.log
Last edited 9 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 9 years ago by dixiao@…

The newest commit seems to have fixed the problem.

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mojca removed
Owner: changed from macports-tickets@… to mojca@…

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

comment:5 Changed 9 years ago by mojca (Mojca Miklavec)

Just for reference, here's the commit that fixed the problem: r143622.

Note: See TracTickets for help on using tickets.