Opened 14 years ago

Closed 14 years ago

#25603 closed defect (fixed)

alpine 2.00 upgrade issue on intel MBP

Reported by: schnide (Joe Schnide) Owned by: todmorrison (Tod Morrison)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: alpine

Description

Mac OS X 10.6.4 fully patched on Intel Mac Book Pro

This morning ran:

sudo bash
port -d selfupdate
port upgrade outdated

Got a failure and error at upgrading alpine. I then ran port list outdated

The rest of the outdated ports upgraded with the exception of nmap. One of the first upgrades (before alpine) was of openssl. The other outdated packages dependent on openssl built fine, only alpine and nmap failed to upgrade. I have attached the output of

port -d upgrade alpine

Please let me know if I can provide further information.

Attachments (1)

alpine.txt (44.5 KB) - added by schnide (Joe Schnide) 14 years ago.

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by schnide (Joe Schnide)

Attachment: alpine.txt added

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

Keywords: alpine removed
Owner: changed from macports-tickets@… to todmorrison@…

Has duplicate #25511 (that has logs using openssl 0.9.8o, so this is not a new openssl 1.0.0a problem).

comment:2 in reply to:  description ; Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jschnide@…:

I then ran port list outdated

"port list outdated" is almost certainly not what you want; see the FAQ for why and what you should use instead.

The rest of the outdated ports upgraded with the exception of nmap.

Please file a separate ticket for nmap with more details, if that's still a problem.

comment:3 in reply to:  2 Changed 14 years ago by schnide (Joe Schnide)

Replying to ryandesign@…:

Replying to jschnide@…:

I then ran port list outdated

"port list outdated" is almost certainly not what you want; see the FAQ for why and what you should use instead.

Appreciate that as I was unaware of the problems with the list command.

The rest of the outdated ports upgraded with the exception of nmap.

Please file a separate ticket for nmap with more details, if that's still a problem.

Thats not as important for me as the alpine issue. I will do that later.

comment:4 in reply to:  description Changed 14 years ago by asgalon

Replying to jschnide@…:

This morning ran:

port upgrade outdated

Yeah, me too. Normally I don't touch the port installation if it isn't absolutely necessary, but it was and I had to. The actual cause seems to be quite obvious from the logfile: both /usr/include/openssl and /opt/local/include/openssl are included, which leads to this:

:info:build In file included from osdep.c:260:
:info:build /usr/include/openssl/x509v3.h:229: error: redefinition of typedef 'DIST_POINT'
:info:build /opt/local/include/openssl/ossl_typ.h:179: error: previous declaration of 'DIST_POINT' was here
:info:build /usr/include/openssl/x509v3.h:240: error: redefinition of typedef 'AUTHORITY_KEYID'
:info:build /opt/local/include/openssl/ossl_typ.h:178: error: previous declaration of 'AUTHORITY_KEYID' was here
:info:build /usr/include/openssl/x509v3.h:309: error: redefinition of typedef 'NAME_CONSTRAINTS'
:info:build /opt/local/include/openssl/ossl_typ.h:181: error: previous declaration of 'NAME_CONSTRAINTS' was here

but I have no idea which one should be removed, or where exactly. Unfortunately, I also have no time to examine this further before the weekend, so it's back to thunderbird...

comment:5 Changed 14 years ago by asgalon

BTW, I just changed all occurences of /usr/include/openssl in the working source directory to /opt/local/include/openssl (imap/c-client, Makefile and another FLAGS file), after that there is only the missing -lintl argument (solved rather brutally by copying the last command from the logfile, putting a sudo in front and a -lintl behind, executing it inside the alpine subdirectory) Ugly, but it works. there is another bug track with a better solution to that one, though.

comment:6 Changed 14 years ago by todmorrison (Tod Morrison)

Ticket #25657 has a patch for the alpine Portfile that should fix this problem (as well as the "-lintl" problem). It is sufficient to change "C_CLIENT_SPECIALS" to just "SPECIALS".

comment:7 Changed 14 years ago by schnide (Joe Schnide)

Followed instructions in Ticket #24954, alpine built and running fine. Ticket resolved and thank you very much.

comment:8 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Committed in r69754.

Note: See TracTickets for help on using tickets.