[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
It fails for me on maverick amd64 ... ./CXX -c ipstreams/wvunixdgsocket ipstreams/wvunixdgsocket.cc:4: error: #endif without #if 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 make[1]: *** [ipstreams/wvunixdgsocket.o] Error 1 make[1]: Leaving directory `/tmp/buildd/wvstreams-4.6.1' make: *** [build-arch-stamp] Error 2 ... -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
hmm daniel okay it has happened due to spurious #endif in the code i think on it now :) regards ** Changed in: wvstreams (Ubuntu Maverick) Status: Triaged = In Progress ** Changed in: wvstreams (Ubuntu Maverick) Assignee: (unassigned) = Bhavani Shankar (bhavi) -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
this required bit more work than I thought initially here is the updated patch regards ** Patch added: the updated diff https://bugs.edge.launchpad.net/ubuntu/maverick/+source/wvstreams/+bug/602134/+attachment/1485684/+files/wvstreams.diff ** Changed in: wvstreams (Ubuntu Maverick) Status: In Progress = Confirmed ** Changed in: wvstreams (Ubuntu Maverick) Assignee: Bhavani Shankar (bhavi) = (unassigned) -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
This bug was fixed in the package wvstreams - 4.6.1-1ubuntu1 --- wvstreams (4.6.1-1ubuntu1) maverick; urgency=low * ipstreams/wvunixdgsocket.cc, streams/wvatomicfile.cc: + remove defenition of MACOS and spurious #endif to fix chmod not found gcc error and hence build problems (LP: #602134) (forwarded upstream as http://code.google.com/p/wvstreams/issues/detail?id=28) -- Bhavani Shankar bh...@ubuntu.com Thu, 12 Aug 2010 16:08:57 +0530 ** Changed in: wvstreams (Ubuntu Maverick) Status: Confirmed = Fix Released -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
** Patch added: the patch diff to close this bug http://launchpadlibrarian.net/53165954/wvstreams.diff -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
So I think it'd be easiest to just drop the #ifdef MACOS. This should be forwarded upstream, and it certainly doesn't hurt to check upstream git/svn/etc. whether it's already fixed there. Thank you! ** Changed in: wvstreams (Ubuntu Maverick) Status: Incomplete = Triaged ** Changed in: wvstreams (Ubuntu Maverick) Milestone: maverick-alpha-3 = ubuntu-10.10-beta -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
Bhavani, The already existing stat.h include only happens if MACOS is defined, which is certainly not the case for a Linux build. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
Thanks again Bhavani for your review. Now I am happy for better patching. I suppose ... :)) As far as MOCOS is concerned I think it is a macro for MAC operating system. MAC OS might need these headers for earlier versions, we did not require these in lucid but in maverick we do. So, to keep the source code still consistent with MAC, I have not touched this code and added a separate line.. or if we want to increase our work we may have something like this #ifdef MAVERICK #include sys/stat.h .. I think by doing this in MAC also we do not have any multiple inclusions, for obvious reasons. So we can go ahead. But I'm not sure ofcourse that what exactly MACOS means and should we go like this or not.. -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
ping!! -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
yes martin, I ll have a look :) regards -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
hi martin, done :) the upstream report http://code.google.com/p/wvstreams/issues/detail?id=28 regards ** Bug watch added: code.google.com/p/wvstreams/issues #28 http://code.google.com/p/wvstreams/issues/detail?id=28 -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
** Patch added: wvstreams_4.6.1-1ubuntu1.debdiff http://launchpadlibrarian.net/52773467/wvstreams_4.6.1-1ubuntu1.debdiff ** Changed in: wvstreams (Ubuntu Maverick) Status: Confirmed = New ** Changed in: wvstreams (Ubuntu Maverick) Status: New = Confirmed -- 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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 602134] Re: wvstreams fails to build from source in maverick (glibc-2.12)
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.cc2010-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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs