From manishchaks at gmail.com Fri Aug 1 03:41:49 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Fri, 1 Aug 2008 16:11:49 +0530 Subject: [belenix-dev] errors while executiing "get-pkgs devel" Message-ID: Hello All, I am not able to setup the build environment on BeleniX I get the folllowing error: Fetching package SFEamrwb-devel ... --05:32:14-- http://pkg.belenix.org/belenix_0.7.1/SFEamrwb-devel.pkg.7z => `/var/tmp/get-pkg/SFEamrwb-devel.pkg.7z' Resolving pkg.belenix.org... 204.152.191.109 Connecting to pkg.belenix.org|204.152.191.109|:80... connected. HTTP request sent, awaiting response... 404 Not Found 05:32:14 ERROR 404: Not Found. ERROR: Failed to fetch package SFEamrwb-devel Hitting http://pkg.belenix.org/belenix_0.7.1/ with a browser confirms that there is indeed no "SFEamwrb-devel" Is there anyway of skipping and going ahead with the rest of the packages? -- Manish Chakravarty http://manish-chaks.livejournal.com/ From sriramnrn at gmail.com Fri Aug 1 04:00:01 2008 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Fri, 1 Aug 2008 16:30:01 +0530 Subject: [belenix-dev] errors while executiing "get-pkgs devel" In-Reply-To: References: Message-ID: <49977f270808010400r74d4ec0bib786567bc1279680@mail.gmail.com> On Fri, Aug 1, 2008 at 4:11 PM, Manish Chakravarty wrote: > Hello All, > > I am not able to setup the build environment on BeleniX > > I get the folllowing error: > Fetching package SFEamrwb-devel ... > --05:32:14-- http://pkg.belenix.org/belenix_0.7.1/SFEamrwb-devel.pkg.7z > => `/var/tmp/get-pkg/SFEamrwb-devel.pkg.7z' > Resolving pkg.belenix.org... 204.152.191.109 > Connecting to pkg.belenix.org|204.152.191.109|:80... connected. > HTTP request sent, awaiting response... 404 Not Found > 05:32:14 ERROR 404: Not Found. > > ERROR: Failed to fetch package SFEamrwb-devel Looks like your package catalog is out of date. Run get-pkgs to get your catalog updated. And then run a pkg-get again. Also, I'm performing some maintenance in the office at the moment, so if get get a 404 or a connection timeout, then please run the pkg-get again. -- Ram From manishchaks at gmail.com Fri Aug 1 04:02:23 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Fri, 1 Aug 2008 16:32:23 +0530 Subject: [belenix-dev] errors while executiing "get-pkgs devel" In-Reply-To: <49977f270808010400r74d4ec0bib786567bc1279680@mail.gmail.com> References: <49977f270808010400r74d4ec0bib786567bc1279680@mail.gmail.com> Message-ID: On Fri, Aug 1, 2008 at 4:30 PM, Sriram Narayanan wrote: > On Fri, Aug 1, 2008 at 4:11 PM, Manish Chakravarty > wrote: >> Hello All, >> >> I am not able to setup the build environment on BeleniX >> >> I get the folllowing error: >> Fetching package SFEamrwb-devel ... >> --05:32:14-- http://pkg.belenix.org/belenix_0.7.1/SFEamrwb-devel.pkg.7z >> => `/var/tmp/get-pkg/SFEamrwb-devel.pkg.7z' >> Resolving pkg.belenix.org... 204.152.191.109 >> Connecting to pkg.belenix.org|204.152.191.109|:80... connected. >> HTTP request sent, awaiting response... 404 Not Found >> 05:32:14 ERROR 404: Not Found. >> >> ERROR: Failed to fetch package SFEamrwb-devel > > Looks like your package catalog is out of date. Run get-pkgs to get > your catalog updated. And then run a pkg-get again. > > Also, I'm performing some maintenance in the office at the moment, so > if get get a 404 or a connection timeout, then please run the pkg-get > again. Yup, I'm getting 404's manish at beleniX-KDE4:~$ pfexec /usr/bin/get-pkgs ** Fetching catalog ... --05:52:17-- http://pkg.belenix.org/belenix_0.7.1/catalog => `/tmp/get-pkg/catalog' Resolving pkg.belenix.org... 204.152.191.109 Connecting to pkg.belenix.org|204.152.191.109|:80... failed: Connection refused. ERROR: Failed to fetch catalog I'll just go home and try. Thanks Ram. -- Manish From manishchaks at gmail.com Fri Aug 1 04:58:00 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Fri, 1 Aug 2008 17:28:00 +0530 Subject: [belenix-dev] errors while executiing "get-pkgs devel" In-Reply-To: References: <49977f270808010400r74d4ec0bib786567bc1279680@mail.gmail.com> Message-ID: [...snip...] I am going to try to do it manually: wget -cr http://pkg.belenix.org/belenix_0.7.1/* Will un-7zip all the pkg's and apply them manually. If my "little research" does not work , I will restore the VM back to the plain snapshot -- Manish Chakravarty http://manish-chaks.livejournal.com/ From moinakg at belenix.org Fri Aug 1 05:57:37 2008 From: moinakg at belenix.org (Moinak Ghosh) Date: Fri, 1 Aug 2008 18:27:37 +0530 Subject: [belenix-dev] errors while executiing "get-pkgs devel" In-Reply-To: References: <49977f270808010400r74d4ec0bib786567bc1279680@mail.gmail.com> Message-ID: <46fe20470808010557i6a77eee7u671f5c496989fdd0@mail.gmail.com> On Fri, Aug 1, 2008 at 5:28 PM, Manish Chakravarty wrote: > [...snip...] > > I am going to try to do it manually: > > wget -cr http://pkg.belenix.org/belenix_0.7.1/* > Will un-7zip all the pkg's and apply them manually. > If my "little research" does not work , I will restore the VM back to > the plain snapshot UGH. One more problem of manually maintaining the package lists. A modified pkg-get is needed fast. I have fixed this problem. Regards, Moinak. > > > > -- > Manish Chakravarty > http://manish-chaks.livejournal.com/ > _______________________________________________ > belenix-dev mailing list > belenix-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/belenix-dev > -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ From sriramnrn at gmail.com Sun Aug 3 09:26:31 2008 From: sriramnrn at gmail.com (Sriram Narayanan) Date: Sun, 3 Aug 2008 21:56:31 +0530 Subject: [belenix-dev] IRC chat about Belenix Tech Directions on #belenix @ freenode.et Message-ID: <49977f270808030926v5baec061hf4610537ca93ead8@mail.gmail.com> Hi everyone: Let's meet on #belenix on freenode.net for a discussion on Belenix Tech directions, with a focus on the next release. The times for various cities worldwide is given here : http://tinyurl.com/65uf9p -- Sriram ---------- Forwarded message ---------- From: Sriram Narayanan Date: Sun, Aug 3, 2008 at 2:11 PM Subject: Ideal time for an IRC chat ? To: Belenix Discuss Hi all: Given that we've not really tried IRC as a tool for discussing Belenix directions, I propose that we all meet on IRC. Would Monday, August 4 9:30 pm IST (See New Delhi at http://www.timeanddate.com/worldclock/) be a good time ? Also, if anyone knows of a useful site that would let us plan meets across timezones, do let the list know. -- Sriram From manishchaks at gmail.com Thu Aug 7 12:27:03 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Fri, 8 Aug 2008 00:57:03 +0530 Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check Message-ID: Hello , I am trying to build gcc4 on my 0.7.1 ( plan to build qt4 using it) SFEgccruntime depends on SFEbinutils which fails with the following error message: pkgbuild: checking how to run the C preprocessor... cc -E -Xs pkgbuild: configure: error: C preprocessor "cc -E -Xs" fails sanity check pkgbuild: See `config.log' for more details. pkgbuild: make[1]: *** [configure-intl] Error 1 pkgbuild: make[1]: Leaving directory `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' pkgbuild: make: *** [all] Error 2 pkgbuild: Bad exit status from /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) I have set the CC,CXX,cc andd cxx env variables correctly ( pointing to gcc and g++ ) can someone please help me out with the problem Attachments: SFEbinutils.log - the log file created by pkgtool env.txt - output of the "env" command on my system pkgtoolrc -> my ~/.pkgtoolrc Thanks in advance! -- Manish Chakravarty http://manish-chaks.livejournal.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: SFEbinutils.log Type: application/octet-stream Size: 74562 bytes Desc: not available URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: env.txt URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pkgtoolrc Type: application/octet-stream Size: 3720 bytes Desc: not available URL: From moinakg at belenix.org Thu Aug 7 20:29:07 2008 From: moinakg at belenix.org (Moinak Ghosh) Date: Fri, 8 Aug 2008 08:59:07 +0530 Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check In-Reply-To: References: Message-ID: <46fe20470808072029n6ed70e84g883f7696fffad3e0@mail.gmail.com> On Fri, Aug 8, 2008 at 12:57 AM, Manish Chakravarty wrote: > Hello , > > I am trying to build gcc4 on my 0.7.1 ( plan to build qt4 using it) > > SFEgccruntime depends on SFEbinutils which fails with the following > error message: > pkgbuild: checking how to run the C preprocessor... cc -E -Xs > pkgbuild: configure: error: C preprocessor "cc -E -Xs" fails sanity check > pkgbuild: See `config.log' for more details. > pkgbuild: make[1]: *** [configure-intl] Error 1 > pkgbuild: make[1]: Leaving directory > `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' > pkgbuild: make: *** [all] Error 2 > pkgbuild: Bad exit status from > /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) > > I have set the CC,CXX,cc andd cxx env variables correctly ( pointing > to gcc and g++ ) Did you set these in the spec file or outside in the environment ? Regards, Moinak. > > can someone please help me out with the problem > > > Attachments: > SFEbinutils.log - the log file created by pkgtool > env.txt - output of the "env" command on my system > pkgtoolrc -> my ~/.pkgtoolrc > > Thanks in advance! > -- > Manish Chakravarty > http://manish-chaks.livejournal.com/ > > _______________________________________________ > belenix-dev mailing list > belenix-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/belenix-dev > > -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ From moinakg at belenix.org Thu Aug 7 20:33:58 2008 From: moinakg at belenix.org (Moinak Ghosh) Date: Fri, 8 Aug 2008 09:03:58 +0530 Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check In-Reply-To: References: Message-ID: <46fe20470808072033n5139cd43r486f167e5ff29eb@mail.gmail.com> On Fri, Aug 8, 2008 at 12:57 AM, Manish Chakravarty wrote: > Hello , > > I am trying to build gcc4 on my 0.7.1 ( plan to build qt4 using it) > > SFEgccruntime depends on SFEbinutils which fails with the following > error message: > pkgbuild: checking how to run the C preprocessor... cc -E -Xs > pkgbuild: configure: error: C preprocessor "cc -E -Xs" fails sanity check > pkgbuild: See `config.log' for more details. > pkgbuild: make[1]: *** [configure-intl] Error 1 > pkgbuild: make[1]: Leaving directory > `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' > pkgbuild: make: *** [all] Error 2 > pkgbuild: Bad exit status from > /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) > > I have set the CC,CXX,cc andd cxx env variables correctly ( pointing > to gcc and g++ ) > > can someone please help me out with the problem Well from log file it is cleat that CC and CPP are being reset: pkgbuild: + CPP='cc -E -Xs' pkgbuild: + export CC= pkgbuild: + CC= This is inside the SPEC file. Regards, Moinak. > > > Attachments: > SFEbinutils.log - the log file created by pkgtool > env.txt - output of the "env" command on my system > pkgtoolrc -> my ~/.pkgtoolrc > > Thanks in advance! > -- > Manish Chakravarty > http://manish-chaks.livejournal.com/ > > _______________________________________________ > belenix-dev mailing list > belenix-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/belenix-dev > > -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ From manishchaks at gmail.com Fri Aug 8 04:44:48 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Fri, 8 Aug 2008 17:14:48 +0530 Subject: [belenix-dev] Qt Port of Mozilla and Firefox 3 and why we should use it in BeleniX Message-ID: http://osnews.com/story/20160/Qt_Port_of_Mozilla_and_Firefox_3 This is interesting stuff. I will try and build this on belenix tonight. If I do succeed, we could have a look at making this the FF build for belenix Reasons - FF3 now uses GTK. A user would typically launch firefox after installing belenix and just for one application the entire gtk stuff has to be loaded which makes it slow and more resource-hungry - Better integration: FF3 does not look well-integrated into BeleniX, it stands out - BeleniX is known for using bleeding edge software :) -- Manish Chakravarty http://manish-chaks.livejournal.com/ From moinakg at belenix.org Fri Aug 8 06:27:18 2008 From: moinakg at belenix.org (Moinak Ghosh) Date: Fri, 8 Aug 2008 18:57:18 +0530 Subject: [belenix-dev] Qt Port of Mozilla and Firefox 3 and why we should use it in BeleniX In-Reply-To: References: Message-ID: <46fe20470808080627g49915edfkafd8683eaf5f4d24@mail.gmail.com> On Fri, Aug 8, 2008 at 5:14 PM, Manish Chakravarty wrote: > http://osnews.com/story/20160/Qt_Port_of_Mozilla_and_Firefox_3 > > This is interesting stuff. I will try and build this on belenix tonight. > > If I do succeed, we could have a look at making this the FF build for belenix > Reasons > - FF3 now uses GTK. A user would typically launch firefox after > installing belenix and just for one application the entire gtk stuff > has to be loaded which makes it slow and more resource-hungry > - Better integration: FF3 does not look well-integrated into BeleniX, > it stands out BeleniX uses the Gtk-QT engine so this point is moot. But it will be interesting to have a QT port of FF3 nevertheless. My gut feeling is that it will be sleeker and faster. Regards, Moinak. > - BeleniX is known for using bleeding edge software :) > > > > -- > Manish Chakravarty > http://manish-chaks.livejournal.com/ > _______________________________________________ > belenix-dev mailing list > belenix-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/belenix-dev > -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ From manishchaks at gmail.com Fri Aug 8 06:54:57 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Fri, 8 Aug 2008 19:24:57 +0530 Subject: [belenix-dev] Qt Port of Mozilla and Firefox 3 and why we should use it in BeleniX In-Reply-To: <46fe20470808080627g49915edfkafd8683eaf5f4d24@mail.gmail.com> References: <46fe20470808080627g49915edfkafd8683eaf5f4d24@mail.gmail.com> Message-ID: On Fri, Aug 8, 2008 at 6:57 PM, Moinak Ghosh wrote: > On Fri, Aug 8, 2008 at 5:14 PM, Manish Chakravarty > wrote: >> http://osnews.com/story/20160/Qt_Port_of_Mozilla_and_Firefox_3 >> >> This is interesting stuff. I will try and build this on belenix tonight. >> >> If I do succeed, we could have a look at making this the FF build for belenix >> Reasons >> - FF3 now uses GTK. A user would typically launch firefox after >> installing belenix and just for one application the entire gtk stuff >> has to be loaded which makes it slow and more resource-hungry >> - Better integration: FF3 does not look well-integrated into BeleniX, >> it stands out > > BeleniX uses the Gtk-QT engine so this point is moot. But it will be > interesting to have a QT port of FF3 nevertheless. My gut feeling is > that it will be sleeker and faster. I differ with you on that Moinak :) Two points 1) the Gtk-Qt engine is called only to render the widgets. Each time a GTK widget has to be rendered, it issues a call to the qt engine to draw it. Internally, GTK is still getting loaded and the non-gui components used. 2) Even with the Gtk-Qt engine, FF3 does not look very good. It looks out of place. FF2 however, looks better integrated into a KDE desktop. As always, I am glad if my understanding of the situation is proven wrong :) Regards, Manish From moinakg at belenix.org Fri Aug 8 06:59:24 2008 From: moinakg at belenix.org (Moinak Ghosh) Date: Fri, 8 Aug 2008 19:29:24 +0530 Subject: [belenix-dev] Qt Port of Mozilla and Firefox 3 and why we should use it in BeleniX In-Reply-To: References: <46fe20470808080627g49915edfkafd8683eaf5f4d24@mail.gmail.com> Message-ID: <46fe20470808080659k58999778xd83dbd30848deda1@mail.gmail.com> On Fri, Aug 8, 2008 at 7:24 PM, Manish Chakravarty wrote: > On Fri, Aug 8, 2008 at 6:57 PM, Moinak Ghosh wrote: >> On Fri, Aug 8, 2008 at 5:14 PM, Manish Chakravarty >> wrote: >>> http://osnews.com/story/20160/Qt_Port_of_Mozilla_and_Firefox_3 >>> >>> This is interesting stuff. I will try and build this on belenix tonight. >>> >>> If I do succeed, we could have a look at making this the FF build for belenix >>> Reasons >>> - FF3 now uses GTK. A user would typically launch firefox after >>> installing belenix and just for one application the entire gtk stuff >>> has to be loaded which makes it slow and more resource-hungry >>> - Better integration: FF3 does not look well-integrated into BeleniX, >>> it stands out >> >> BeleniX uses the Gtk-QT engine so this point is moot. But it will be >> interesting to have a QT port of FF3 nevertheless. My gut feeling is >> that it will be sleeker and faster. > > I differ with you on that Moinak :) > Two points > 1) the Gtk-Qt engine is called only to render the widgets. Each time a > GTK widget has to be rendered, it issues a call to the qt engine to > draw it. Internally, GTK is still getting loaded and the non-gui > components used. > 2) Even with the Gtk-Qt engine, FF3 does not look very good. It looks > out of place. FF2 however, looks better integrated into a KDE desktop. > > As always, I am glad if my understanding of the situation is proven wrong :) Whatever be the details a QT port of FF3 will be of interest. QT is a far better toolkit than Gtk+ and should result in a significantly better FF3 experience. > > Regards, > Manish > _______________________________________________ > belenix-dev mailing list > belenix-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/belenix-dev > Regards, Moinak. -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ From victoredwardocallaghan at gmail.com Fri Aug 8 11:02:40 2008 From: victoredwardocallaghan at gmail.com (Edward O'Callaghan) Date: Sat, 9 Aug 2008 04:02:40 +1000 Subject: [belenix-dev] Qt Port of Mozilla and Firefox 3 and why we should use it in BeleniX In-Reply-To: <46fe20470808080659k58999778xd83dbd30848deda1@mail.gmail.com> References: <46fe20470808080627g49915edfkafd8683eaf5f4d24@mail.gmail.com> <46fe20470808080659k58999778xd83dbd30848deda1@mail.gmail.com> Message-ID: I *have* to say that this is trivial at the moment and we really *should* be working on the greater problems at hand ! Can we please focus more on KDE4.1 building cleanly and all the more bugs striped out on the solaris platform.. My two cent, Edward. 2008/8/8 Moinak Ghosh : > On Fri, Aug 8, 2008 at 7:24 PM, Manish Chakravarty > wrote: >> On Fri, Aug 8, 2008 at 6:57 PM, Moinak Ghosh wrote: >>> On Fri, Aug 8, 2008 at 5:14 PM, Manish Chakravarty >>> wrote: >>>> http://osnews.com/story/20160/Qt_Port_of_Mozilla_and_Firefox_3 >>>> >>>> This is interesting stuff. I will try and build this on belenix tonight. >>>> >>>> If I do succeed, we could have a look at making this the FF build for belenix >>>> Reasons >>>> - FF3 now uses GTK. A user would typically launch firefox after >>>> installing belenix and just for one application the entire gtk stuff >>>> has to be loaded which makes it slow and more resource-hungry >>>> - Better integration: FF3 does not look well-integrated into BeleniX, >>>> it stands out >>> >>> BeleniX uses the Gtk-QT engine so this point is moot. But it will be >>> interesting to have a QT port of FF3 nevertheless. My gut feeling is >>> that it will be sleeker and faster. >> >> I differ with you on that Moinak :) >> Two points >> 1) the Gtk-Qt engine is called only to render the widgets. Each time a >> GTK widget has to be rendered, it issues a call to the qt engine to >> draw it. Internally, GTK is still getting loaded and the non-gui >> components used. >> 2) Even with the Gtk-Qt engine, FF3 does not look very good. It looks >> out of place. FF2 however, looks better integrated into a KDE desktop. >> >> As always, I am glad if my understanding of the situation is proven wrong :) > > Whatever be the details a QT port of FF3 will be of interest. QT is > a far better > toolkit than Gtk+ and should result in a significantly better FF3 experience. > >> >> Regards, >> Manish >> _______________________________________________ >> belenix-dev mailing list >> belenix-dev at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/belenix-dev >> > > > Regards, > Moinak. > > -- > ================================ > http://www.belenix.org/ > http://moinakg.wordpress.com/ > _______________________________________________ > belenix-dev mailing list > belenix-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/belenix-dev > -- All Documents adhered to the ISO/IEC 26300 standard file format for electronic office documents, such as spreadsheets, charts, presentations and word processing documents from this email address. The author does not take responsibility of the recipients inability to read international standards and who use proprietary products such as MS Office. See: http://www.openoffice.org/ Edward O'Callaghan. -- http://fedoraproject.org/wiki/EdwardOcallaghan http://moonshine.opn4.org/ http://www.pcbsd.org/ From manishchaks at gmail.com Sat Aug 9 00:36:20 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Sat, 9 Aug 2008 07:36:20 +0000 Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check In-Reply-To: <46fe20470808072033n5139cd43r486f167e5ff29eb@mail.gmail.com> References: <46fe20470808072033n5139cd43r486f167e5ff29eb@mail.gmail.com> Message-ID: On Fri, Aug 8, 2008 at 3:33 AM, Moinak Ghosh wrote: > On Fri, Aug 8, 2008 at 12:57 AM, Manish Chakravarty > wrote: >> Hello , >> >> I am trying to build gcc4 on my 0.7.1 ( plan to build qt4 using it) >> >> SFEgccruntime depends on SFEbinutils which fails with the following >> error message: >> pkgbuild: checking how to run the C preprocessor... cc -E -Xs >> pkgbuild: configure: error: C preprocessor "cc -E -Xs" fails sanity check >> pkgbuild: See `config.log' for more details. >> pkgbuild: make[1]: *** [configure-intl] Error 1 >> pkgbuild: make[1]: Leaving directory >> `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' >> pkgbuild: make: *** [all] Error 2 >> pkgbuild: Bad exit status from >> /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) >> >> I have set the CC,CXX,cc andd cxx env variables correctly ( pointing >> to gcc and g++ ) >> >> can someone please help me out with the problem > > Well from log file it is cleat that CC and CPP are being reset: > > pkgbuild: + CPP='cc -E -Xs' > pkgbuild: + export CC= > pkgbuild: + CC= > > This is inside the SPEC file. > Moinak, There is a problem with the command line options as I see it. If i replace CC which the full path and give the same command line options, I get this: manish at beleniX-KDE4:~/builds/belenix/trunk/spec_files$ /usr/sfw/bin/gcc -E -Xs gcc: unrecognized option `-Xs' gcc: no input files Thus we need to remove the -Xs option from the command line. (for gcc atleast ) Can you please help me out with the binutils + gcc ccompilation? I am struggling to get it through. Thanks , Manish From moinakg at belenix.org Sat Aug 9 00:50:03 2008 From: moinakg at belenix.org (Moinak Ghosh) Date: Sat, 9 Aug 2008 13:20:03 +0530 Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check In-Reply-To: References: <46fe20470808072033n5139cd43r486f167e5ff29eb@mail.gmail.com> Message-ID: <46fe20470808090050j4c1a45feo81a21f6dd14e74f@mail.gmail.com> On Sat, Aug 9, 2008 at 1:06 PM, Manish Chakravarty wrote: > On Fri, Aug 8, 2008 at 3:33 AM, Moinak Ghosh wrote: >> On Fri, Aug 8, 2008 at 12:57 AM, Manish Chakravarty >> wrote: >>> Hello , >>> >>> I am trying to build gcc4 on my 0.7.1 ( plan to build qt4 using it) >>> >>> SFEgccruntime depends on SFEbinutils which fails with the following >>> error message: >>> pkgbuild: checking how to run the C preprocessor... cc -E -Xs >>> pkgbuild: configure: error: C preprocessor "cc -E -Xs" fails sanity check >>> pkgbuild: See `config.log' for more details. >>> pkgbuild: make[1]: *** [configure-intl] Error 1 >>> pkgbuild: make[1]: Leaving directory >>> `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' >>> pkgbuild: make: *** [all] Error 2 >>> pkgbuild: Bad exit status from >>> /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) >>> >>> I have set the CC,CXX,cc andd cxx env variables correctly ( pointing >>> to gcc and g++ ) >>> >>> can someone please help me out with the problem >> >> Well from log file it is cleat that CC and CPP are being reset: >> >> pkgbuild: + CPP='cc -E -Xs' >> pkgbuild: + export CC= >> pkgbuild: + CC= >> >> This is inside the SPEC file. >> > Moinak, > There is a problem with the command line options as I see it. > If i replace CC which the full path and give the same command line > options, I get this: > manish at beleniX-KDE4:~/builds/belenix/trunk/spec_files$ /usr/sfw/bin/gcc -E -Xs > gcc: unrecognized option `-Xs' > gcc: no input files > > Thus we need to remove the -Xs option from the command line. (for gcc atleast ) > > Can you please help me out with the binutils + gcc ccompilation? I am > struggling to get it through. The error message is clear. You need to omit the -Xs option when using GCC. It is a SUN Studio specirfic option. Regards, Moinak. -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ From manishchaks at gmail.com Sat Aug 9 01:03:04 2008 From: manishchaks at gmail.com (Manish Chakravarty) Date: Sat, 9 Aug 2008 13:33:04 +0530 Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check In-Reply-To: <46fe20470808090050j4c1a45feo81a21f6dd14e74f@mail.gmail.com> References: <46fe20470808072033n5139cd43r486f167e5ff29eb@mail.gmail.com> <46fe20470808090050j4c1a45feo81a21f6dd14e74f@mail.gmail.com> Message-ID: On Sat, Aug 9, 2008 at 1:20 PM, Moinak Ghosh wrote: > On Sat, Aug 9, 2008 at 1:06 PM, Manish Chakravarty > wrote: >> On Fri, Aug 8, 2008 at 3:33 AM, Moinak Ghosh wrote: >>> On Fri, Aug 8, 2008 at 12:57 AM, Manish Chakravarty >>> wrote: >>>> Hello , >>>> >>>> I am trying to build gcc4 on my 0.7.1 ( plan to build qt4 using it) >>>> >>>> SFEgccruntime depends on SFEbinutils which fails with the following >>>> error message: >>>> pkgbuild: checking how to run the C preprocessor... cc -E -Xs >>>> pkgbuild: configure: error: C preprocessor "cc -E -Xs" fails sanity check >>>> pkgbuild: See `config.log' for more details. >>>> pkgbuild: make[1]: *** [configure-intl] Error 1 >>>> pkgbuild: make[1]: Leaving directory >>>> `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' >>>> pkgbuild: make: *** [all] Error 2 >>>> pkgbuild: Bad exit status from >>>> /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) >>>> >>>> I have set the CC,CXX,cc andd cxx env variables correctly ( pointing >>>> to gcc and g++ ) >>>> >>>> can someone please help me out with the problem >>> >>> Well from log file it is cleat that CC and CPP are being reset: >>> >>> pkgbuild: + CPP='cc -E -Xs' >>> pkgbuild: + export CC= >>> pkgbuild: + CC= >>> >>> This is inside the SPEC file. >>> >> Moinak, >> There is a problem with the command line options as I see it. >> If i replace CC which the full path and give the same command line >> options, I get this: >> manish at beleniX-KDE4:~/builds/belenix/trunk/spec_files$ /usr/sfw/bin/gcc -E -Xs >> gcc: unrecognized option `-Xs' >> gcc: no input files >> >> Thus we need to remove the -Xs option from the command line. (for gcc atleast ) >> >> Can you please help me out with the binutils + gcc ccompilation? I am >> struggling to get it through. > > The error message is clear. You need to omit the -Xs option when > using GCC. It is > a SUN Studio specirfic option. Just wanted to confirm that. So should i make the changes in the spec file itself? and should I submit the changes as a patch to this mailing list? Thanks Manish From moinakg at belenix.org Sat Aug 9 01:14:47 2008 From: moinakg at belenix.org (Moinak Ghosh) Date: Sat, 9 Aug 2008 13:44:47 +0530 Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check In-Reply-To: References: <46fe20470808072033n5139cd43r486f167e5ff29eb@mail.gmail.com> <46fe20470808090050j4c1a45feo81a21f6dd14e74f@mail.gmail.com> Message-ID: <46fe20470808090114t61f69aceu8de6ca0b89d41ac3@mail.gmail.com> On Sat, Aug 9, 2008 at 1:33 PM, Manish Chakravarty wrote: > On Sat, Aug 9, 2008 at 1:20 PM, Moinak Ghosh wrote: >> On Sat, Aug 9, 2008 at 1:06 PM, Manish Chakravarty >> wrote: >>> On Fri, Aug 8, 2008 at 3:33 AM, Moinak Ghosh wrote: >>>> On Fri, Aug 8, 2008 at 12:57 AM, Manish Chakravarty >>>> wrote: >>>>> Hello , >>>>> >>>>> I am trying to build gcc4 on my 0.7.1 ( plan to build qt4 using it) >>>>> >>>>> SFEgccruntime depends on SFEbinutils which fails with the following >>>>> error message: >>>>> pkgbuild: checking how to run the C preprocessor... cc -E -Xs >>>>> pkgbuild: configure: error: C preprocessor "cc -E -Xs" fails sanity check >>>>> pkgbuild: See `config.log' for more details. >>>>> pkgbuild: make[1]: *** [configure-intl] Error 1 >>>>> pkgbuild: make[1]: Leaving directory >>>>> `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' >>>>> pkgbuild: make: *** [all] Error 2 >>>>> pkgbuild: Bad exit status from >>>>> /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) >>>>> >>>>> I have set the CC,CXX,cc andd cxx env variables correctly ( pointing >>>>> to gcc and g++ ) >>>>> >>>>> can someone please help me out with the problem >>>> >>>> Well from log file it is cleat that CC and CPP are being reset: >>>> >>>> pkgbuild: + CPP='cc -E -Xs' >>>> pkgbuild: + export CC= >>>> pkgbuild: + CC= >>>> >>>> This is inside the SPEC file. >>>> >>> Moinak, >>> There is a problem with the command line options as I see it. >>> If i replace CC which the full path and give the same command line >>> options, I get this: >>> manish at beleniX-KDE4:~/builds/belenix/trunk/spec_files$ /usr/sfw/bin/gcc -E -Xs >>> gcc: unrecognized option `-Xs' >>> gcc: no input files >>> >>> Thus we need to remove the -Xs option from the command line. (for gcc atleast ) >>> >>> Can you please help me out with the binutils + gcc ccompilation? I am >>> struggling to get it through. >> >> The error message is clear. You need to omit the -Xs option when >> using GCC. It is >> a SUN Studio specirfic option. > Just wanted to confirm that. > So should i make the changes in the spec file itself? and should I > submit the changes as a patch to this mailing list? Yes the SPEC file has to be fixed. You can post the patch on this list. Actually the SPEC has to be made to work with both Gcc and Studio. But post the patch and then we can discuss further changes. Regards, Moinak. > > Thanks > Manish > _______________________________________________ > belenix-dev mailing list > belenix-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/belenix-dev > -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ From maybird1776 at yahoo.com Sat Aug 9 14:56:54 2008 From: maybird1776 at yahoo.com (ken mays) Date: Sat, 9 Aug 2008 14:56:54 -0700 (PDT) Subject: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check In-Reply-To: Message-ID: <61404.39493.qm@web34202.mail.mud.yahoo.com> --- On Sat, 8/9/08, Manish Chakravarty wrote: > From: Manish Chakravarty > Subject: Re: [belenix-dev] SFEbinutils fails to build : configure: error: C preprocessor "cc -E -Xs" fails sanity check > To: "BeleniX Development" > Date: Saturday, August 9, 2008, 4:03 AM > On Sat, Aug 9, 2008 at 1:20 PM, Moinak Ghosh > wrote: > > On Sat, Aug 9, 2008 at 1:06 PM, Manish Chakravarty > > wrote: > >> On Fri, Aug 8, 2008 at 3:33 AM, Moinak Ghosh > wrote: > >>> On Fri, Aug 8, 2008 at 12:57 AM, Manish > Chakravarty > >>> wrote: > >>>> Hello , > >>>> > >>>> I am trying to build gcc4 on my 0.7.1 ( > plan to build qt4 using it) > >>>> > >>>> SFEgccruntime depends on SFEbinutils which > fails with the following > >>>> error message: > >>>> pkgbuild: checking how to run the C > preprocessor... cc -E -Xs > >>>> pkgbuild: configure: error: C preprocessor > "cc -E -Xs" fails sanity check > >>>> pkgbuild: See `config.log' for more > details. > >>>> pkgbuild: make[1]: *** [configure-intl] > Error 1 > >>>> pkgbuild: make[1]: Leaving directory > >>>> > `/export/home/manish/packages/BUILD/SFEbinutils-2.18/binutils-2.18-64' > >>>> pkgbuild: make: *** [all] Error 2 > >>>> pkgbuild: Bad exit status from > >>>> > /var/tmp/pkgbuild-manish/pkgbuild-tmp-2.5080 (%build) > >>>> > >>>> I have set the CC,CXX,cc andd cxx env > variables correctly ( pointing > >>>> to gcc and g++ ) > >>>> > >>>> can someone please help me out with the > problem > >>> > >>> Well from log file it is cleat that CC and > CPP are being reset: > >>> > >>> pkgbuild: + CPP='cc -E -Xs' > >>> pkgbuild: + export CC= > >>> pkgbuild: + CC= > >>> > >>> This is inside the SPEC file. > >>> > >> Moinak, > >> There is a problem with the command line options > as I see it. > >> If i replace CC which the full path and give the > same command line > >> options, I get this: > >> > manish at beleniX-KDE4:~/builds/belenix/trunk/spec_files$ > /usr/sfw/bin/gcc -E -Xs > >> gcc: unrecognized option `-Xs' > >> gcc: no input files > >> > >> Thus we need to remove the -Xs option from the > command line. (for gcc atleast ) > >> > >> Can you please help me out with the binutils + gcc > ccompilation? I am > >> struggling to get it through. > > > > The error message is clear. You need to omit the -Xs > option when > > using GCC. It is > > a SUN Studio specirfic option. > Just wanted to confirm that. > So should i make the changes in the spec file itself? and > should I > submit the changes as a patch to this mailing list? > > Thanks > Manish I'd remembered I compiled binutils 2.18 awhile ago. I'll review the belenix packages and see if I can upload it somewhere for you... ~ Ken Mays