Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#29111 closed defect (fixed)

dpkg build fail - Possibly a side-effect of Changeset 71761

Reported by: prinzdezibel@… Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: dpkg

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

OS: Mac OS X , Snow Leopard
gcc: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

Problem is start-stop-daemon.c starting with line 888:

#ifdef HAVE_KVM_H

That define seems to lack the #endif as the next #endif in source code at line 956 reads:

#endif /* OSOpenBSD */

which results in the following error:

:info:build /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/opt/local/share/locale\" -idirafter ../libcompat -I../lib  -I/opt/local/include  -pipe -O2 -arch x86_64     -MT start-stop-daemon.o -MD -MP -MF .deps/start-stop-daemon.Tpo -c -o start-stop-daemon.o start-stop-daemon.c
:info:build start-stop-daemon.c: In function 'pid_is_user':
:info:build start-stop-daemon.c:947: error: 'struct kinfo_proc' has no member named 'ki_uid'

Attachments (1)

main.log (17.6 KB) - added by prinzdezibel@… 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by prinzdezibel@…

Attachment: main.log added

comment:1 Changed 14 years ago by prinzdezibel@…

Cc: prinzdezibel@… added

Cc Me!

comment:2 Changed 14 years ago by afb@…

Port: dpkg added
Summary: Possibly a side-effect of Changeset 71761dpkg build fail - Possibly a side-effect of Changeset 71761
Version: 1.9.2

comment:3 Changed 14 years ago by afb@…

It's not lacking an #endif, it's just using the wrong #if... (HAVE_KVM_H rather than OSOpenBSD)

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Cc: prinzdezibel@… removed
Owner: changed from macports-tickets@… to landonf@…
Version: 1.9.2

Please remember to cc the maintainer. You do not need to be in cc when you are the reporter.

comment:5 Changed 14 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r77890.

comment:6 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.