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)
Change History (10)
Changed 12 years ago by virgilg@…
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: | new → closed |
Summary: | Cannot mpkg mysql4-server → Cannot 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: | closed → reopened |
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: | ports → base |
---|---|
Summary: | Cannot mpkg mysql5-server → mpkg requires cleaning and reinstalling every time |
I don't know.
comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | rogerdpack@… added |
---|---|
Summary: | mpkg requires cleaning and reinstalling every time → mpkg / mdmg requires cleaning and reinstalling every time |
Has duplicate #38681.
Referenced log while port mpkg'ing mysql