[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)

Bhavani Shankar right2bhavi at gmail.com
Sat Jul 31 10:42:19 BST 2010


hello mohar again!

thanks for coming up with a patch! but this needs more work i believe
since you are adding the header again which is already present in the
source from your patch:

+--- wvstreams-4.6.1.orig/ipstreams/wvunixdgsocket.cc	2010-07-31 13:46:32.074619367 +0530
++++ wvstreams-4.6.1/ipstreams/wvunixdgsocket.cc	2010-07-31 13:47:40.566613113 +0530
+@@ -1,4 +1,7 @@
+ #include "wvunixdgsocket.h"
++
++// Has to be included for maverick to remove FTBFS
++#include <sys/stat.h>
+ #ifdef MACOS
+ #include <sys/types.h>
+ #include <sys/stat.h>

you observe that already <sys/stat.h> is there in the source perhaps
this needs a check for the header as the compiler is unable to locate
header file therefore its FTB..

regards



** Changed in: wvstreams (Ubuntu Maverick)
       Status: Confirmed => Incomplete

-- 
wvstreams fails to build from source in maverick (glibc-2.12)
https://bugs.launchpad.net/bugs/602134
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.

Status in “wvstreams” package in Ubuntu: Incomplete
Status in “wvstreams” source package in Maverick: Incomplete

Bug description:
fails to build from source in maverick and in a test rebuild:
https://launchpad.net/ubuntu/+archive/test-rebuild-20100628/+build/1841619

./CXX -c ipstreams/wvunixdgsocket   
In file included from ./include/wvunixdgsocket.h:13,
                 from ipstreams/wvunixdgsocket.cc:1:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284: warning: dereferencing type-punned pointer will break strict-aliasing rules
ipstreams/wvunixdgsocket.cc: In constructor 'WvUnixDGSocket::WvUnixDGSocket(const WvFastString&, bool, int)':
ipstreams/wvunixdgsocket.cc:50: error: 'chmod' was not declared in this scope
make[1]: *** [ipstreams/wvunixdgsocket.o] Error 1
make[1]: Leaving directory `/build/buildd/wvstreams-4.6.1'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2





More information about the Ubuntu-sponsors mailing list