Opened 12 years ago

Last modified 11 years ago

#36480 new defect

kerberos5: error: expected declaration specifiers before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’

Reported by: annelyse.thevenin@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: kerberos5

Description

HI,

I don't manage to install kerberos5 (useful to install subservion). I am in Mountain Lion.

$ sudo port clean kerberos5
Password:
--->  Cleaning kerberos5
$ sudo port install kerberos5
--->  Computing dependencies for kerberos5
--->  Fetching archive for kerberos5
--->  Attempting to fetch kerberos5-1.7.2_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/kerberos5
--->  Attempting to fetch kerberos5-1.7.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/kerberos5
--->  Attempting to fetch kerberos5-1.7.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/kerberos5
--->  Fetching distfiles for kerberos5
--->  Verifying checksum(s) for kerberos5
--->  Extracting kerberos5
--->  Applying patches to kerberos5
--->  Configuring kerberos5
--->  Building kerberos5
Error: org.macports.build for port kerberos5 returned: command execution failed
Please see the log file for port kerberos5 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kerberos5 failed

In attachment the corresponding log file and the list of my installed port.

Could you help me?

Attachments (3)

portInstalled.txt (5.9 KB) - added by annelyse.thevenin@… 12 years ago.
Ouput of "sudo port installed"
main.log (258.7 KB) - added by annelyse.thevenin@… 12 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log
main.2.log (103.7 KB) - added by annelyse.thevenin@… 12 years ago.
main.log for the installation of pkgconfig

Download all attachments as: .zip

Change History (12)

Changed 12 years ago by annelyse.thevenin@…

Attachment: portInstalled.txt added

Ouput of "sudo port installed"

Changed 12 years ago by annelyse.thevenin@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Keywords: kerberos5 installation removed
Port: kerberos5 added; kerberos removed

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: kerberos5 - problem to installkerberos5: error: expected declaration specifiers before ‘__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8’

comment:3 in reply to:  description ; Changed 12 years ago by pdegregorio@…

Replying to annelyse.thevenin@…:

Hi, I got the same (or very similar) error when installing subversion. Here's what worked for me:

sudo port install kerberos5

sudo port install subversion

So, what worked for me was to separately install kerveros5. Then, when subversion is installed it finds it and the bug that causes it to fail when it doesn't find it doesn't happen.

Hope this helps,

Peter

HI,

I don't manage to install kerberos5 (useful to install subservion). I am in Mountain Lion.

$ sudo port clean kerberos5
Password:
--->  Cleaning kerberos5
$ sudo port install kerberos5
--->  Computing dependencies for kerberos5
--->  Fetching archive for kerberos5
--->  Attempting to fetch kerberos5-1.7.2_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/kerberos5
--->  Attempting to fetch kerberos5-1.7.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/kerberos5
--->  Attempting to fetch kerberos5-1.7.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/kerberos5
--->  Fetching distfiles for kerberos5
--->  Verifying checksum(s) for kerberos5
--->  Extracting kerberos5
--->  Applying patches to kerberos5
--->  Configuring kerberos5
--->  Building kerberos5
Error: org.macports.build for port kerberos5 returned: command execution failed
Please see the log file for port kerberos5 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kerberos5 failed

In attachment the corresponding log file and the list of my installed port.

Could you help me?

Changed 12 years ago by annelyse.thevenin@…

Attachment: main.2.log added

main.log for the installation of pkgconfig

comment:4 Changed 12 years ago by annelyse.thevenin@…

Thank you Peter. Unfortunately, it doesn't work for me. The log in attachment correspond to the log create after the command "sudo port install kerberos5". But since this time, I discovery that I have already svn installed! But it is not in my port list and don't find where is it! But svn works. And I have no idea how I manage to do it... So maybe I don't need anymore to install kerberos5.

Re-unfortunately, I have a similar problem when I try to install pkgconfig (necessary for the installation of firefox):

__AVAILABILITY_INTERNAL__MAC_10_0_DEP__MAC_10_8

In attachment the corresponding log file.

I suppose that the solution for kerberos5 will be the same than for pkgconfig.

comment:5 in reply to:  4 ; Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to annelyse.thevenin@…:

But since this time, I discovery that I have already svn installed! But it is not in my port list and don't find where is it! But svn works. And I have no idea how I manage to do it...

Perhaps you're running /usr/bin/svn, which is part of OS X since Leopard.

comment:6 in reply to:  5 Changed 12 years ago by annelyse.thevenin@…

Replying to ryandesign@…:

Perhaps you're running /usr/bin/svn, which is part of OS X since Leopard.

Yes you alright. I have /usr/bin/svn. (Sorry for the delay, I was traveling)

comment:7 Changed 11 years ago by jmroot (Joshua Root)

I don't have 10.8, but /usr/include/MacTypes.h certainly doesn't exist on previous OS versions. I'd suspect its existence is the problem, since that header already exists in CarbonCore.framework and shadowing it with an incompatible version would be bad.

comment:8 in reply to:  3 ; Changed 11 years ago by elfishawy.sani@…

I would like to confirm that:

On Mountain Lion 10.8 when performing sudo port install subversion I got the error

:error:build org.macports.build for port kerberos5 returned: command execution failed

The following worked however for the install of subversion:

sudo port install kerberos5
sudo port install subversion.
  • Sani
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:9 in reply to:  8 Changed 11 years ago by annelyse.thevenin@…

Finally I don't have anymore problem! I had still have problem during the installation of kerberos5 but not only:

$ sudo port -d selfupdate
...
configure: WARNING: GNUSTEP_SYSTEM_ROOT is not defined in your environment, preventing the use of GNUstep's Foundation library
configure: error: Could not find a working Foundation implementation
Command failed: cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base && CC=/usr/bin/cc ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline && make && make install SELFUPDATING=1
Exit code: 1
DEBUG: Error installing new MacPorts base: command execution failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

(similar than #34102) and:

$ pdflatex
dyld: Library not loaded: /opt/local/lib/libpoppler.28.dylib
  Referenced from: /opt/local/bin/pdflatex
  Reason: image not found
Trace/BPT trap: 5

Solution: re-install OS, uninstall Xcode (deletion from Application directory), installation of Xcode and of Command Line. Then I manage to update my port.

> sudo port selfupdate
> sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
> sudo port upgrade outdated

So I don't know what was the original problem but at least everything works well now. Maybe it was because I installed the first time XCode (from AppStore) with a different MacID than for the others application?

Thanks for your help everyone!

Note: See TracTickets for help on using tickets.