Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#1135 closed defect (fixed)

Invalid Argument Error while "install mysql +server"

Reported by: gugod@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Can't install database/mysql because installation error with "server" variant.

Here's the error message:

install: mysql: Invalid argument Error: Target com.apple.destroot returned: shell command "install -o mysql -g mysql -m 755 -d /opt/local/var/db/mysql" returned error 67 Command output: install: mysql: Invalid argument Warning: the following items did not execute (for mysql): com.apple.install com.apple.destroot

Change History (3)

comment:1 Changed 17 years ago by mij@…

Owner: changed from darwinports-bugs@… to mij@…

Is this on Panther or Jaguar? I just built the mysql dport with +server on Panther yesterday afternoon and had no problems. Also, how up-to-date is your ports tree?

Could you please run:

# cd /path/to/dports/databases/mysql # port clean # script ~/mysql.txt # port -v -d install # exit

Then repost the contents of ~/mysql.txt.

Thanks,

  • jim

comment:2 Changed 17 years ago by mij@…

Please update your ports tree and try with the current Portfile. I moved the user/group creation to pre-destroot and before it tries to create a directory that the mysql user owns.

Let me know if that fixes the problem so I can close this bug.

  • jim

comment:3 Changed 17 years ago by toby@…

Resolution: fixed
Status: newclosed

Maintainer put in a fix; no response from reporter for 3+ months. Closed.

Note: See TracTickets for help on using tickets.