Opened 9 years ago

Closed 9 years ago

#50286 closed defect (invalid)

pinentry-mac @9.9.4 build failure

Reported by: rglabella@… Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: pinentry-mac

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Is there a specific order OpenVas should be installed? I installed OpenVas-Libraries, then OpenVAS-Libnasl first. couldn't get past Libnasl as a result of missing dependencies.

See output below. Toward the bottom you'll see where libnasl failed.

> install openvas-libnasl  
--->  Computing dependencies for openvas-libnasl
--->  Dependencies to be installed: bison bison-runtime m4 gpgme gnupg2 curl gpg-agent libassuan pth libksba pinentry-mac libusb-compat libusb openldap icu tcp_wrappers readline gsed
--->  Fetching archive for bison-runtime
--->  Attempting to fetch bison-runtime-3.0.4_0.darwin_15.noarch.tbz2 from http://packages.macports.org/bison-runtime
--->  Attempting to fetch bison-runtime-3.0.4_0.darwin_15.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/bison-runtime
--->  Attempting to fetch bison-runtime-3.0.4_0.darwin_15.noarch.tbz2 from http://lil.fr.packages.macports.org/bison-runtime
--->  Fetching distfiles for bison-runtime
--->  Attempting to fetch bison-3.0.4.tar.xz from http://mirrors.ibiblio.org/gnu/ftp/gnu/bison
--->  Verifying checksums for bison-runtime                                          
--->  Extracting bison-runtime
--->  Configuring bison-runtime
--->  Building bison-runtime
--->  Staging bison-runtime into destroot
--->  Installing bison-runtime @3.0.4_0
--->  Activating bison-runtime @3.0.4_0
--->  Cleaning bison-runtime
--->  Fetching archive for m4
--->  Attempting to fetch m4-1.4.17_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/m4
--->  Attempting to fetch m4-1.4.17_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/m4
--->  Attempting to fetch m4-1.4.17_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/m4
--->  Fetching distfiles for m4
--->  Attempting to fetch m4-1.4.17.tar.bz2 from http://mirrors.ibiblio.org/gnu/ftp/gnu/m4
--->  Verifying checksums for m4                                                     
--->  Extracting m4
--->  Configuring m4
--->  Building m4
--->  Staging m4 into destroot
--->  Installing m4 @1.4.17_0
--->  Activating m4 @1.4.17_0
--->  Cleaning m4
--->  Fetching archive for bison
--->  Attempting to fetch bison-3.0.4_1.darwin_15.x86_64.tbz2 from http://packages.macports.org/bison
--->  Attempting to fetch bison-3.0.4_1.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/bison
--->  Attempting to fetch bison-3.0.4_1.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/bison
--->  Fetching distfiles for bison
--->  Verifying checksums for bison
--->  Extracting bison
--->  Applying patches to bison
--->  Configuring bison
--->  Building bison
--->  Staging bison into destroot
--->  Installing bison @3.0.4_1
--->  Activating bison @3.0.4_1
--->  Cleaning bison
--->  Fetching archive for curl
--->  Attempting to fetch curl-7.46.0_0+ssl.darwin_15.x86_64.tbz2 from http://packages.macports.org/curl
--->  Attempting to fetch curl-7.46.0_0+ssl.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/curl
--->  Attempting to fetch curl-7.46.0_0+ssl.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/curl
--->  Fetching distfiles for curl
--->  Verifying checksums for curl
--->  Extracting curl
--->  Applying patches to curl
--->  Configuring curl
--->  Building curl
--->  Staging curl into destroot
--->  Installing curl @7.46.0_0+ssl
--->  Activating curl @7.46.0_0+ssl
--->  Cleaning curl
--->  Fetching archive for pth
--->  Attempting to fetch pth-2.0.7_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/pth
--->  Attempting to fetch pth-2.0.7_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/pth
--->  Attempting to fetch pth-2.0.7_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/pth
--->  Fetching distfiles for pth
--->  Attempting to fetch pth-2.0.7.tar.gz from http://mirrors.ibiblio.org/gnu/ftp/gnu/pth
--->  Verifying checksums for pth                                                    
--->  Extracting pth
--->  Configuring pth
--->  Building pth
--->  Staging pth into destroot
--->  Installing pth @2.0.7_0
--->  Activating pth @2.0.7_0
--->  Cleaning pth
--->  Fetching archive for libassuan
--->  Attempting to fetch libassuan-2.4.2_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/libassuan
--->  Attempting to fetch libassuan-2.4.2_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/libassuan
--->  Attempting to fetch libassuan-2.4.2_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/libassuan
--->  Fetching distfiles for libassuan
--->  Attempting to fetch libassuan-2.4.2.tar.bz2 from http://distfiles.macports.org/libassuan
--->  Verifying checksums for libassuan                                              
--->  Extracting libassuan
--->  Configuring libassuan
--->  Building libassuan
--->  Staging libassuan into destroot
--->  Installing libassuan @2.4.2_0
--->  Activating libassuan @2.4.2_0
--->  Cleaning libassuan
--->  Fetching archive for libksba
--->  Attempting to fetch libksba-1.3.3_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/libksba
--->  Attempting to fetch libksba-1.3.3_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/libksba
--->  Attempting to fetch libksba-1.3.3_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/libksba
--->  Fetching distfiles for libksba
--->  Attempting to fetch libksba-1.3.3.tar.bz2 from http://distfiles.macports.org/libksba
--->  Verifying checksums for libksba                                                
--->  Extracting libksba
--->  Configuring libksba
--->  Building libksba
--->  Staging libksba into destroot
--->  Installing libksba @1.3.3_0
--->  Activating libksba @1.3.3_0
--->  Cleaning libksba
--->  Fetching archive for pinentry-mac
--->  Attempting to fetch pinentry-mac-0.9.4_0.darwin_15.x86_64.tbz2 from http://packages.macports.org/pinentry-mac
--->  Attempting to fetch pinentry-mac-0.9.4_0.darwin_15.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/pinentry-mac
--->  Attempting to fetch pinentry-mac-0.9.4_0.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/pinentry-mac
--->  Fetching distfiles for pinentry-mac
--->  Attempting to fetch pinentry-mac-0.9.4.tar.gz from https://github.com/GPGTools/pinentry-mac/tarball/v0.9.4
--->  Verifying checksums for pinentry-mac                                           
--->  Extracting pinentry-mac
--->  Configuring pinentry-mac
--->  Building pinentry-mac
Error: org.macports.build for port pinentry-mac returned: command execution failed
Error: Failed to install pinentry-mac
Please see the log file for port pinentry-mac for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_pinentry-mac/pinentry-mac/main.log
Error: The following dependencies were not installed: gpgme gnupg2 gpg-agent pinentry-mac libusb-compat libusb openldap icu tcp_wrappers readline gsed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port openvas-libnasl failed

Attachments (1)

main.log (7.2 KB) - added by 24mu13@… 9 years ago.

Download all attachments as: .zip

Change History (11)

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: Security removed
Milestone: MacPorts Future
Owner: changed from macports-tickets@… to ionic@…
Port: pinentry-mac added; OpenVAS-libnasl removed
Priority: LowNormal
Summary: OpenVAS Dependenciespinentry-mac @9.9.4 build failure
Type: submissiondefect
Version: 2.0.22.3.4

Looks like you are encountering a problem building pinentry-mac. Please attach the main.log file mentioned in the message.

I should warn you that the openvas ports are years out of date.

Changed 9 years ago by 24mu13@…

Attachment: main.log added

comment:2 Changed 9 years ago by 24mu13@…

Same problem for me. Please help us...

comment:3 Changed 9 years ago by Ionic (Mihai Moldovan)

Thanks for uploading the log file. Without it, no help is possible.

The error is different from what I've ever seen, but it's possible that the instructions on the Problem Hotlist wiki entry relating to Xcode 7.2 help here as well: ProblemHotlist#xcode7.2

No guarantee, but the main meat is that xcodebuild crashes. The port itself should be fine and I cannot workaround that issue there either.

Please try executing the suggested changes, then sudo port clean pinentry-mac and retry your previously failing operation.

Last edited 9 years ago by Ionic (Mihai Moldovan) (previous) (diff)

comment:4 in reply to:  3 ; Changed 9 years ago by 24mu13@…

Thank you, but it's exactly what I tried.

chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
sudo port clean pinentry-mac
sudo port install pinentry-mac

Consider that I have the last version of MacOS and Xcode.

Replying to ionic@…:

Thanks for uploading the log file. Without it, no help is possible.

The error is different from what I've ever seen, but it's possible that the instructions on the Problem Hotlist wiki entry relating to Xcode 7.2 help here as well: ProblemHotlist#xcode7.2

No guarantee, but the main meat is that xcodebuild crashes. The port itself should be fine and I cannot workaround that issue there either.

Please try executing the suggested changes, than sudo port clean pinentry-mac and retry your previously failing operation.

comment:5 in reply to:  4 ; Changed 9 years ago by 24mu13@…

Should I try also the following?

sudo chmod 755 $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc 

Replying to 24mu13@…:

Thank you, but it's exactly what I tried.

chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
sudo port clean pinentry-mac
sudo port install pinentry-mac

Consider that I have the last version of MacOS and Xcode.

Replying to ionic@…:

Thanks for uploading the log file. Without it, no help is possible.

The error is different from what I've ever seen, but it's possible that the instructions on the Problem Hotlist wiki entry relating to Xcode 7.2 help here as well: ProblemHotlist#xcode7.2

No guarantee, but the main meat is that xcodebuild crashes. The port itself should be fine and I cannot workaround that issue there either.

Please try executing the suggested changes, than sudo port clean pinentry-mac and retry your previously failing operation.

comment:6 in reply to:  5 Changed 9 years ago by 24mu13@…

Still does not work. By the way, I tried to install another port, like Pallet, but I have the same problem.

Instead many other packages are OK.

The following ports are currently installed:
  aqbanking5 @5.5.1_2 (active)
  attica @0.4.2_1 (active)
  autoconf @2.69_5 (active)
  automake @1.15_1 (active)
  automoc @0.9.88_8 (active)
  bison @3.0.4_1 (active)
  bison-runtime @3.0.4_0 (active)
  bzip2 @1.0.6_0 (active)
  cmake @3.4.1_0
  cmake @3.4.2_0 (active)
  curl @7.46.0_0+ssl (active)
  curl-ca-bundle @7.46.0_0 (active)
  db48 @4.8.30_4 (active)
  dbus @1.8.16_0 (active)
  desktop-file-utils @0.22_0 (active)
  exiv2 @0.24_0 (active)
  expat @2.1.0_0 (active)
  gdbm @1.11_1 (active)
  gettext @0.19.6_0
  gettext @0.19.7_0 (active)
  glib2 @2.46.2_0 (active)
  gmp @6.1.0_1 (active)
  gnutls @3.3.19_0
  gnutls @3.3.20_0 (active)
  gperf @3.0.4_2 (active)
  gwenhywfar4 @4.14.0_2 (active)
  jpeg @9a_1 (active)
  ktoblzcheck @1.47_0 (active)
  lcms @1.19_5 (active)
  lcms2 @2.7_0 (active)
  libarchive @3.1.2_1 (active)
  libassuan @2.4.2_0
  libassuan @2.4.2_1 (active)
  libedit @20150325-3.1_0 (active)
  libffi @3.2.1_0 (active)
  libgcrypt @1.6.4_0 (active)
  libgpg-error @1.21_0 (active)
  libiconv @1.14_0 (active)
  libidn @1.32_0 (active)
  libksba @1.3.3_0 (active)
  libmng @1.0.10_3
  libmng @2.0.3_0 (active)
  libofx @0.9.9_1 (active)
  libpng @1.6.19_0
  libpng @1.6.21_0 (active)
  libtasn1 @4.7_0 (active)
  libtool @2.4.6_2 (active)
  libxml2 @2.9.2_2 (active)
  libxslt @1.1.28_1 (active)
  lzo2 @2.09_0 (active)
  m4 @1.4.17_0 (active)
  ncurses @6.0_0 (active)
  nettle @3.1.1_0 (active)
  opensp @1.5.2_2 (active)
  openssl @1.0.2e_0 (active)
  p11-kit @0.22.1_0 (active)
  pcre @8.37_0
  pcre @8.38_0 (active)
  perl5 @5.22.1_0+perl5_22
  perl5 @5.22.1_1+perl5_22 (active)
  perl5.22 @5.22.1_1 (active)
  phonon @4.8.3_2 (active)
  pkgconfig @0.28_0 (active)
  popt @1.16_0 (active)
  pth @2.0.7_0
  pth @2.0.7_1 (active)
  python2_select @0.0_1 (active)
  python27 @2.7.11_0 (active)
  python_select @0.3_6 (active)
  qt4-mac @4.8.7_2
  qt4-mac @4.8.7_3 (active)
  sqlite3 @3.9.2_0
  sqlite3 @3.10.1_0 (active)
  tiff @4.0.6_0 (active)
  xz @5.2.2_0 (active)
  zlib @1.2.8_0 (active)

Very disappointed... I am a Linux user, and now that I try to use Mac with some port, I am really disappointed.

Replying to 24mu13@…:

Should I try also the following?

sudo chmod 755 $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc 

Replying to 24mu13@…:

Thank you, but it's exactly what I tried.

chmod -R g-w $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
sudo chown -R root:wheel $(xcode-select -p)/Library/PrivateFrameworks/CoreSimulator.framework/Versions/A/XPCServices/com.apple.CoreSimulator.CoreSimulatorService.xpc
sudo port clean pinentry-mac
sudo port install pinentry-mac

Consider that I have the last version of MacOS and Xcode.

Replying to ionic@…:

Thanks for uploading the log file. Without it, no help is possible.

The error is different from what I've ever seen, but it's possible that the instructions on the Problem Hotlist wiki entry relating to Xcode 7.2 help here as well: ProblemHotlist#xcode7.2

No guarantee, but the main meat is that xcodebuild crashes. The port itself should be fine and I cannot workaround that issue there either.

Please try executing the suggested changes, than sudo port clean pinentry-mac and retry your previously failing operation.

comment:7 Changed 9 years ago by Ionic (Mihai Moldovan)

Yes, most ports work fine because they do not use Xcode to build. pinentry-mac and Pallet are two examples of relatively rare ports that use the xcodebuild build system. If Xcode is broken due to a bug, these builds fail without us being able to do anything about it, but provide workarounds to affected users iff we know of any. I'm sorry the offered workaround didn't work for you.

This seems to be a new bug and even with a Google search I find only one other reference on our bug tracker - as it turns out, this also happened in #49962. In there, the reporters were asked to try the workaround described in #49101.

I ask you two to please look up the comments in the last mentioned bug and adapt to your case.

Last edited 9 years ago by Ionic (Mihai Moldovan) (previous) (diff)

comment:8 in reply to:  7 Changed 9 years ago by 24mu13@…

Yes, that workaround works well! Thank you.

Somebody probably should add this workaround to the page: https://trac.macports.org/wiki/ProblemHotlist

Replying to ionic@…:

Yes, most ports work fine because they do not use Xcode to build. pinentry-mac and Pallet are two examples of relatively rare ports that use the xcodebuild build system. If Xcode is broken due to a bug, these builds fail without us being able to do anything about it, but provide workarounds to affected users iff we know of any. I'm sorry the offered workaround didn't work for you.

This seems to be a new bug and even with a Google search I find only one other reference on our bug tracker - as it turns out, this also happened in #49962. In there, the reporters were asked to try the workaround described in #49101.

I ask you two to please look up the comments in the last mentioned bug and adapt to your case.

comment:9 Changed 9 years ago by sommteck@…

Apple has has fixed some bugfixes in Xcode 7.2.1.

Before you install pinentry-mac, update Xcode to Version 7.2.1! It works.

comment:10 Changed 9 years ago by Ionic (Mihai Moldovan)

Resolution: invalid
Status: newclosed

Thanks! Closing up here.

The ProblemHotlist was already updated.

Note: See TracTickets for help on using tickets.