Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14096 closed defect (fixed)

sudo 1.6.8p12 build failure: No rule to make target gettime.c

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jeroen@…
Port:

Description

sudo 1.6.8p12 doesn't build for me on Mac OS X 10.4.11 Intel, Xcode 2.4.1, MacPorts 1.7.0. Jeroen van der Ham reported this on the mailing list too, but he's using Mac OS X 10.5.1 on PowerPC.

$ sudo port install
--->  Fetching sudo
--->  Attempting to fetch sudo-1.6.8p12.patch.gz from http://www.sudo.ws/sudo/dist/OLD/
--->  Attempting to fetch sudo-1.6.8.tar.gz from http://www.sudo.ws/sudo/dist/OLD/
--->  Verifying checksum(s) for sudo
--->  Extracting sudo
--->  Applying patches to sudo
--->  Configuring sudo
--->  Building sudo with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_sysutils_sudo/work/sudo-1.6.8" && make all " returned error 2
Command output: /usr/bin/gcc-4.0 -c -I. -I. -I/opt/local/include -O2 -D_PATH_SUDOERS=\"/opt/local/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/opt/local/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  check.c
/usr/bin/gcc-4.0 -c -I. -I. -I/opt/local/include -O2 -D_PATH_SUDOERS=\"/opt/local/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/opt/local/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  env.c
/usr/bin/gcc-4.0 -c -I. -I. -I/opt/local/include -O2 -D_PATH_SUDOERS=\"/opt/local/etc/sudoers\" -D_PATH_SUDOERS_TMP=\"/opt/local/etc/sudoers.tmp\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  getspwuid.c
make: *** No rule to make target `gettime.c', needed by `gettime.o'.  Stop.

Error: Status 1 encountered during processing.
$

I see that a new stable version, 1.6.9p12, is available, so I'll start by trying to update the port to that version.

Change History (2)

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

Resolution: fixed
Status: newclosed

1.6.9p12 builds for me! I committed the update in r33530.

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.