#29111: dpkg build fail - Possibly a side-effect of Changeset 71761 ------------------------------------------+--------------------------------- Reporter: prinzdezibel@… | Owner: landonf@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: dpkg | ------------------------------------------+--------------------------------- Description changed by ryandesign@…: Old description:
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 211 :info:build start-stop-daemon.c: In function 'pid_is_user': 212 :info:build start-stop-daemon.c:947: error: 'struct kinfo_proc' has no member named 'ki_uid'
New description: OS: Mac OS X , Snow Leopard [[br]] 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' }}} -- -- Ticket URL: <https://trac.macports.org/ticket/29111#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS