Opened 12 years ago

Last modified 8 years ago

#35093 reopened defect

mpkg / mdmg requires cleaning and reinstalling every time

Reported by: virgilg@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.1
Keywords: Cc: cooljeanius (Eric Gallager), rogerdpack@…, ctreleaven (Craig Treleaven)
Port:

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

root@machine:~# port pkg mysql5-server +universal
--->  Computing dependencies for mysql5-server
--->  Creating pkg for mysql5-server-5.1.63
--->  Package for mysql5-server-5.1.63 is up-to-date

# port mpkg mysql5-server +universal
--->  Computing dependencies for mysql5-server
--->  Creating pkg for mysql5-server-5.1.63
--->  Package for mysql5-server-5.1.63 is up-to-date
--->  Computing dependencies for mysql5
--->  Creating pkg for mysql5-5.1.63
--->  Package for mysql5-5.1.63 is up-to-date
--->  Creating pkg for ncurses-5.9
--->  Package for ncurses-5.9 is up-to-date
Error: Requested variants "" do not match original selection "+universal".
Please use the same variants again, perform 'port clean openssl' or specify the force option (-f).
Error: org.macports.mpkg for port mysql5-server returned: could not set effective gid to 505
Please see the log file for port mysql5-server for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mysql5-server/mysql5-server/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mysql5-server failed

Attachments (1)

main.log (9.1 KB) - added by virgilg@… 12 years ago.
Referenced log while port mpkg'ing mysql

Download all attachments as: .zip

Change History (10)

Changed 12 years ago by virgilg@…

Attachment: main.log added

Referenced log while port mpkg'ing mysql

comment:1 Changed 12 years ago by virgilg@…

mysql-5-server, arr!

comment:2 Changed 12 years ago by virgilg@…

# port clean -f <specified-port> && port install <specified-port> +universal

got me through this. The problem is that moments before I specified:

# port mpkg mysql5 +universal

which requires most of the same dependencies anyway; that worked and metapackaged the result just fine. mysql5-server did not.

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

Description: modified (diff)
Resolution: invalid
Status: newclosed
Summary: Cannot mpkg mysql4-serverCannot mpkg mysql5-server

Please use WikiFormatting when writing in Trac.

Single-letter flags like -f had no effect unless placed immediately after the word port. The -f flag doesn't do anything when cleaning.

I don't see anything reported here that is necessarily a bug in MacPorts. The bug you showed in the ticket description was that you had not cleaned openssl before trying again. Any time any port fails, cleaning and trying again should be the first thing you try.

comment:4 Changed 12 years ago by virgilg@…

Resolution: invalid
Status: closedreopened

That's all very true, but then why do I have to clean openssl, zlib, ncurses and a bunch of others every time I make a metapackage containing them? I made mysql5 +universal, mysql5-server +universal and cfengine +universal in that order and every time I made the last two I had to clean and re-install (not port pkg, but port install) the above-mentioned packages.

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

Component: portsbase
Summary: Cannot mpkg mysql5-servermpkg requires cleaning and reinstalling every time

I don't know.

comment:6 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

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

Cc: rogerdpack@… added
Summary: mpkg requires cleaning and reinstalling every timempkg / mdmg requires cleaning and reinstalling every time

Has duplicate #38681.

comment:8 Changed 11 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

comment:9 Changed 8 years ago by jmroot (Joshua Root)

Could be a dupe of #34177?

Note: See TracTickets for help on using tickets.