Opened 12 years ago

Closed 6 years ago

#35931 closed defect (wontfix)

mysql5-connector-cpp @1.1.1: post-destroot failed to change install_name

Reported by: hwen0419@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: mysql5-connector-cpp

Description (last modified by mf2k (Frank Schima))


--->  Computing dependencies for mysql5-connector-cpp
--->  Staging mysql5-connector-cpp into destroot
Error: org.macports.destroot for port mysql5-connector-cpp returned: command execution failed
Please see the log file for port mysql5-connector-cpp for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55-connector-cpp/mysql5-connector-cpp/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mysql5-connector-cpp failed

I get above error when I try to install this port

Attachments (1)

main.log (433.8 KB) - added by hwen0419@… 12 years ago.
updated log by a clean build

Download all attachments as: .zip

Change History (10)

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

Description: modified (diff)
Keywords: port install mysql5-connector-cpp fail removed
Owner: changed from macports-tickets@… to pixilla@…
Priority: HighNormal

In the future, please use WikiFormatting and Cc the port maintainer(s).

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

This is not a clean build attempt. Please clean the port and try again. Attach the main.log if it fails again.

comment:3 in reply to:  2 Changed 12 years ago by hwen0419@…

Replying to pixilla@…:

This is not a clean build attempt. Please clean the port and try again. Attach the main.log if it fails again.

Hi pixilla,

I would love to do a clean install if I have a good way. But the truth is I spent hours installing many and building many packages. A clean install will force me to remove all of them which is not a good way. I want to help, but maybe you can tell me a good way. Does port have a testing mode which have virtual clean port to test?

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cleaning the mysql5-connector-cpp port will not effect installed ports.

sudo port clean mysql5-connector-cpp
sudo port install mysql5-connector-cpp

Replace the log attached to this ticket if the build fails.

Changed 12 years ago by hwen0419@…

Attachment: main.log added

updated log by a clean build

comment:5 Changed 12 years ago by hwen0419@…

Hi Pixilla, I have uploaded clean build fail log, pls help.

comment:6 Changed 12 years ago by jmroot (Joshua Root)

Summary: port install mysql5-connector-cpp failed under mac os x mountain lionmysql5-connector-cpp @1.1.1: post-destroot failed to change install_name

The relevant part of the log is:

:info:destroot install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55-connector-cpp/mysql5-connector-cpp/work/destroot/opt/local/lib/mysql5-connector-cpp/libmysqlcppconn.6.1.1.1.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names)
:info:destroot Command failed: install_name_tool -id /opt/local/lib/mysql5-connector-cpp/libmysqlcppconn.6.1.1.1.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55-connector-cpp/mysql5-connector-cpp/work/destroot/opt/local/lib/mysql5-connector-cpp/libmysqlcppconn.6.1.1.1.dylib

comment:7 in reply to:  6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmr@…:

The relevant part of the log is:

:info:destroot install_name_tool: changing install names or rpaths can't be redone for: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql55-connector-cpp/mysql5-connector-cpp/work/destroot/opt/local/lib/mysql5-connector-cpp/libmysqlcppconn.6.1.1.1.dylib (for architecture x86_64) because larger updated load commands do not fit (the program must be relinked, and you may need to use -headerpad or -headerpad_max_install_names)

The current version of MacPorts base now automatically adds -headerpad_max_install_names. Has that helped this problem?

comment:8 Changed 6 years ago by mf2k (Frank Schima)

Owner: pixilla deleted
Status: newassigned

See #57827

comment:9 Changed 6 years ago by mf2k (Frank Schima)

Resolution: wontfix
Status: assignedclosed

This port no longer exists.

Note: See TracTickets for help on using tickets.