From pfelecan at opencsw.org Sat Jun 1 11:38:42 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sat, 01 Jun 2013 11:38:42 +0200 Subject: [csw-maintainers] support for GitHub hosted repositories Message-ID: FYI, in http://gar.svn.sourceforge.net/gar/?rev=21236&view=rev I implemented the support for GitHub hosted repositories which is documented at: https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference#DownloadSettings I'm welcoming comments and enhancement proposals. -- Peter From maciej at opencsw.org Sun Jun 2 13:15:06 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 2 Jun 2013 12:15:06 +0100 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: References: Message-ID: 2013/6/1 Peter FELECAN : > FYI, in http://gar.svn.sourceforge.net/gar/?rev=21236&view=rev I > implemented the support for GitHub hosted repositories which is > documented at: > https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference#DownloadSettings > > I'm welcoming comments and enhancement proposals. When you build a package from a github repository, is the idea that you build a specific node/commit/hash, or do you build whatever happens to be in the master branch at the moment? From pfelecan at opencsw.org Sun Jun 2 16:27:47 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sun, 02 Jun 2013 16:27:47 +0200 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sun, 2 Jun 2013 12:15:06 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/6/1 Peter FELECAN : >> FYI, in http://gar.svn.sourceforge.net/gar/?rev=21236&view=rev I >> implemented the support for GitHub hosted repositories which is >> documented at: >> https://sourceforge.net/apps/trac/gar/wiki/GAR%20Variable%20Reference#DownloadSettings >> >> I'm welcoming comments and enhancement proposals. > > When you build a package from a github repository, is the idea that > you build a specific node/commit/hash, or do you build whatever > happens to be in the master branch at the moment? What's gathered/built depends on GITHUB_BRANCH variable, by default "master"; if you provide something else, as in the example given in the documentation, then that is gathered and eventually built... -- Peter From maciej at opencsw.org Sun Jun 2 16:34:58 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 2 Jun 2013 15:34:58 +0100 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: References: Message-ID: 2013/6/2 Peter FELECAN : > What's gathered/built depends on GITHUB_BRANCH variable, by default > "master"; if you provide something else, as in the example given in the > documentation, then that is gathered and eventually built... Aha, so it can be a sha1 sum as well, and you can do something like: GITHUB_BRANCH = d40fb7cc8f2b598df1225ec2c1841dbd6843c712 Then maybe the variable can be named in a fashion suggesting that you can put any identifier in there? Maciej From pfelecan at opencsw.org Sun Jun 2 16:43:28 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sun, 02 Jun 2013 16:43:28 +0200 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sun, 2 Jun 2013 15:34:58 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/6/2 Peter FELECAN : >> What's gathered/built depends on GITHUB_BRANCH variable, by default >> "master"; if you provide something else, as in the example given in the >> documentation, then that is gathered and eventually built... > > Aha, so it can be a sha1 sum as well, and you can do something like: > > GITHUB_BRANCH = d40fb7cc8f2b598df1225ec2c1841dbd6843c712 > > > Then maybe the variable can be named in a fashion suggesting that you > can put any identifier in there? I don't know and, consequently not tested, something like that. My implementation is based on http://developer.github.com/v3/repos/contents/#get-archive-link and if what you shown is a valid Git reference the I suppose that it's possible and if somebody test this with success we can rename it as GITHUB_REFERENCE. -- Peter From bwalton at opencsw.org Sun Jun 2 16:54:33 2013 From: bwalton at opencsw.org (Ben Walton) Date: Sun, 2 Jun 2013 15:54:33 +0100 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: References: Message-ID: Also note that I added generic git (git or http protocol) support a few years back. It supports arbitrary treeish targets. The downside I found was permissions when a subsequent maintainer wants to pull. I never got sons to forcing usable permissions in the garchive directory. A second downside was needing to v drive the auto tools setup every time. There are a few examples if using this support in the tree still. Hth. Thanks -Ben On Jun 2, 2013 3:43 PM, "Peter FELECAN" wrote: > "Maciej (Matchek) Blizi?ski" writes: > > > 2013/6/2 Peter FELECAN : > >> What's gathered/built depends on GITHUB_BRANCH variable, by default > >> "master"; if you provide something else, as in the example given in the > >> documentation, then that is gathered and eventually built... > > > > Aha, so it can be a sha1 sum as well, and you can do something like: > > > > GITHUB_BRANCH = d40fb7cc8f2b598df1225ec2c1841dbd6843c712 > > > > > > Then maybe the variable can be named in a fashion suggesting that you > > can put any identifier in there? > > I don't know and, consequently not tested, something like that. My > implementation is based on > http://developer.github.com/v3/repos/contents/#get-archive-link and if > what you shown is a valid Git reference the I suppose that it's > possible and if somebody test this with success we can rename it as > GITHUB_REFERENCE. > -- > Peter > _______________________________________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rmottola at opencsw.org Mon Jun 3 01:15:17 2013 From: rmottola at opencsw.org (Riccardo Mottola) Date: Mon, 03 Jun 2013 01:15:17 +0200 Subject: [csw-maintainers] emacs missing library / relocation error Message-ID: <51ABD205.50201@opencsw.org> Hi list, after doing pkgutil --upgrade, emacs stopped working: bash-3.2$ ld.so.1: emacs-24.3-gtk: fatal: libm17n-flt.so.0: open failed: No such file or directory ld.so.1: emacs-24.3-gtk: fatal: relocation error: file /opt/csw/bin/emacs-24.3-gtk: symbol mflt_enable_new_feature: referenced symbol not found this is on Solaris 10 Riccardo From pfelecan at opencsw.org Mon Jun 3 09:27:43 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 03 Jun 2013 09:27:43 +0200 Subject: [csw-maintainers] emacs missing library / relocation error In-Reply-To: <51ABD205.50201@opencsw.org> (Riccardo Mottola's message of "Mon, 03 Jun 2013 01:15:17 +0200") References: <51ABD205.50201@opencsw.org> Message-ID: Riccardo Mottola writes: > Hi list, > > after doing pkgutil --upgrade, emacs stopped working: > > bash-3.2$ ld.so.1: emacs-24.3-gtk: fatal: libm17n-flt.so.0: open > failed: No such file or directory > ld.so.1: emacs-24.3-gtk: fatal: relocation error: file > /opt/csw/bin/emacs-24.3-gtk: symbol mflt_enable_new_feature: > referenced symbol not found > > > this is on Solaris 10 We use mantis for this kind of report. After that, as the maintainer for Emacs, I'll analyze the issue. -- Peter From pfelecan at opencsw.org Mon Jun 3 10:17:20 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 03 Jun 2013 10:17:20 +0200 Subject: [csw-maintainers] emacs missing library / relocation error In-Reply-To: <51ABD205.50201@opencsw.org> (Riccardo Mottola's message of "Mon, 03 Jun 2013 01:15:17 +0200") References: <51ABD205.50201@opencsw.org> Message-ID: Riccardo Mottola writes: > after doing pkgutil --upgrade, emacs stopped working: > > bash-3.2$ ld.so.1: emacs-24.3-gtk: fatal: libm17n-flt.so.0: open > failed: No such file or directory > ld.so.1: emacs-24.3-gtk: fatal: relocation error: file > /opt/csw/bin/emacs-24.3-gtk: symbol mflt_enable_new_feature: > referenced symbol not found CSWemacs-gtk depends on CSWlibm17n-utils which depends on CSWlibm17n-flt0 which contains /opt/csw/lib/libm17n-flt.so.0 Consequently, the error is in the installation/upgrade process for which I don't have enough information do analyze further. Anyhow, as said in the sibling message, a Mantis report is required to go further. -- Peter From pfelecan at opencsw.org Mon Jun 3 10:52:09 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 03 Jun 2013 10:52:09 +0200 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sun, 2 Jun 2013 15:34:58 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/6/2 Peter FELECAN : >> What's gathered/built depends on GITHUB_BRANCH variable, by default >> "master"; if you provide something else, as in the example given in the >> documentation, then that is gathered and eventually built... > > Aha, so it can be a sha1 sum as well, and you can do something like: > > GITHUB_BRANCH = d40fb7cc8f2b598df1225ec2c1841dbd6843c712 > > > Then maybe the variable can be named in a fashion suggesting that you > can put any identifier in there? I tested using a commit identifier similar to what you show above and it works. I made some tweaks to gar and changed the variable's name to GITHUB_REFERENCE. -- Peter From pfelecan at opencsw.org Mon Jun 3 10:54:49 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 03 Jun 2013 10:54:49 +0200 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: (Ben Walton's message of "Sun, 2 Jun 2013 15:54:33 +0100") References: Message-ID: Ben Walton writes: > Also note that I added generic git (git or http protocol) support a few > years back. It supports arbitrary treeish targets. > > The downside I found was permissions when a subsequent maintainer wants to > pull. I never got sons to forcing usable permissions in the garchive > directory. A second downside was needing to v drive the auto tools setup > every time. > > There are a few examples if using this support in the tree still. I have seen that. However, what I implemented is downloading tarballs fro GitHub and that has less issues even tough the autotools part can be necessary which I don't see as an issue but a feature... -- Peter From bwalton at opencsw.org Mon Jun 3 12:48:40 2013 From: bwalton at opencsw.org (Ben Walton) Date: Mon, 3 Jun 2013 11:48:40 +0100 Subject: [csw-maintainers] support for GitHub hosted repositories In-Reply-To: References: Message-ID: Cool. That is a good feature then! Thanks -Ben On Jun 3, 2013 9:55 AM, "Peter FELECAN" wrote: > Ben Walton writes: > > > Also note that I added generic git (git or http protocol) support a few > > years back. It supports arbitrary treeish targets. > > > > The downside I found was permissions when a subsequent maintainer wants > to > > pull. I never got sons to forcing usable permissions in the garchive > > directory. A second downside was needing to v drive the auto tools setup > > every time. > > > > There are a few examples if using this support in the tree still. > > I have seen that. However, what I implemented is downloading tarballs > fro GitHub and that has less issues even tough the autotools part can be > necessary which I don't see as an issue but a feature... > -- > Peter > _______________________________________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From slowfranklin at opencsw.org Mon Jun 3 18:21:02 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Mon, 3 Jun 2013 18:21:02 +0200 Subject: [csw-maintainers] glib2 updates In-Reply-To: <20130527150905.GA9436@bender.opencsw.org> References: <55A7B138-94BA-4920-9BB3-57E43F4A9CE1@opencsw.org> <20130527150905.GA9436@bender.opencsw.org> Message-ID: <34CD2E71-34D0-4BC7-8EC1-29C72D5A2780@opencsw.org> Hi Rafael Am 27.05.2013 um 17:09 schrieb Rafael Ostertag : > Hi guys > > On Mon, May 27, 2013 at 10:56:34AM +0200, slowfranklin wrote: >> Hey Rafael, >> >> Laurent Blume and myself have committed several changes to the glib2 recipe. Don't remember off-hand what Laurent's changes are about, but my commits add Solaris 11 specific packages in order to have a glib2 with FEN support on Solaris 11. >> >> Can you take a look at it and release updates packages? > > Just started > > mgar platforms > > will let you know of the outcome. any progress so far? Don't mean to push you, but I'm eagerly waiting for the glib/s11 packages so I can finally finish my work on the Tracker package. Thanks! -Ralph From laurent at opencsw.org Mon Jun 3 20:13:03 2013 From: laurent at opencsw.org (Laurent Blume) Date: Mon, 03 Jun 2013 20:13:03 +0200 Subject: [csw-maintainers] glib2 updates In-Reply-To: <34CD2E71-34D0-4BC7-8EC1-29C72D5A2780@opencsw.org> References: <55A7B138-94BA-4920-9BB3-57E43F4A9CE1@opencsw.org> <20130527150905.GA9436@bender.opencsw.org> <34CD2E71-34D0-4BC7-8EC1-29C72D5A2780@opencsw.org> Message-ID: <51ACDCAF.3030708@opencsw.org> As a sidenote, I've found a workaround for my gesttings segfault issue: $ gsettings list-schemas Segmentation Fault (core dumped) If I just add an empty file, it stops: # touch "/opt/csw/share/glib-2.0/schemas/gschemas.compiled" $ gsettings list-schemas I have no idea why there's no .gschema.xml file that would be compiled into it. Maybe because they came in later GNOME versions. But that's good enough for now. The question is, is it worth creating that file inside the package? Postinstall script, if it doesn't exist, touch it? Laurent On 2013-06-03 6:21 PM, slowfranklin wrote: > Hi Rafael > > Am 27.05.2013 um 17:09 schrieb Rafael Ostertag : > >> Hi guys >> >> On Mon, May 27, 2013 at 10:56:34AM +0200, slowfranklin wrote: >>> Hey Rafael, >>> >>> Laurent Blume and myself have committed several changes to the glib2 recipe. Don't remember off-hand what Laurent's changes are about, but my commits add Solaris 11 specific packages in order to have a glib2 with FEN support on Solaris 11. >>> >>> Can you take a look at it and release updates packages? >> >> Just started >> >> mgar platforms >> >> will let you know of the outcome. > > any progress so far? Don't mean to push you, but I'm eagerly waiting for the glib/s11 packages so I can finally finish my work on the Tracker package. > > Thanks! > -Ralph > From slowfranklin at opencsw.org Wed Jun 5 10:11:18 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Wed, 5 Jun 2013 10:11:18 +0200 Subject: [csw-maintainers] Maintainer and Uploader Info In-Reply-To: References: <6D4996B8-BB29-4E60-8E03-79C5940B0D92@opencsw.org> Message-ID: <873FA4B5-4AE5-4F0F-8FA3-A1BE1C49400E@opencsw.org> Hey Am 28.05.2013 um 18:15 schrieb Maciej (Matchek) Blizi?ski : > 2013/5/24 slowfranklin >> just noticed that the packages I've uploaded are missing proper maintainer and uploader info, e.g. >> >> http://www.opencsw.org/package/netatalk/ >> http://www.opencsw.org/qa/package/netatalk/ > > There's an additional manual step we currently have to take to put > maintainer's full name in the database. I've just done that. It should > be updated in the next iteration. Thanks! -slow From dam at opencsw.org Wed Jun 5 15:47:53 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Wed, 5 Jun 2013 15:47:53 +0200 Subject: [csw-maintainers] Update of Ghostscript In-Reply-To: References: <4E9D255A-E09D-41D3-8203-C6D6F596C841@opencsw.org> Message-ID: <84A0AC6A-1151-40B1-9EAE-7B845C13F420@opencsw.org> Hi Peter, Am 29.05.2013 um 16:55 schrieb Peter FELECAN : > Dagobert Michelsen writes: >> I have updated ghostscript to the latest 9.07. However, this goes with bumping libgs from >> libgs.so.8 to libgs.so.9 which are used by a couple of packages that would need rebuilding. >> I am not sure about how libgs.so interacts with other files like printer drivers between >> 8 and 9, probably someone can help me out on this? The updated packages are available at >> http://buildfarm.opencsw.org/experimental.html#ghostscript >> for testing. Additionally, the final packages would need to include CSWlibgs8 for libgs.so.8 >> being required by a couple of packages including texlive which will probably not be rebuilt >> because of some minor dependency change :-) > > The maintainer of TeXLive greatly appreciate this! Sometime, in the > future, I'll rebuild it and use the new library? I have made updated packages with legacy dependencies of CSWgs to CSWlibgs8 which should allow continuing use of existing software: http://buildfarm.opencsw.org/experimental.html#ghostscript Peter, would you be so kind verifying texlive against it as it is the most complex package? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From pfelecan at opencsw.org Wed Jun 5 17:59:45 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Wed, 05 Jun 2013 17:59:45 +0200 Subject: [csw-maintainers] Update of Ghostscript In-Reply-To: <84A0AC6A-1151-40B1-9EAE-7B845C13F420@opencsw.org> (Dagobert Michelsen's message of "Wed, 5 Jun 2013 15:47:53 +0200") References: <4E9D255A-E09D-41D3-8203-C6D6F596C841@opencsw.org> <84A0AC6A-1151-40B1-9EAE-7B845C13F420@opencsw.org> Message-ID: Dagobert Michelsen writes: > Hi Peter, > > Am 29.05.2013 um 16:55 schrieb Peter FELECAN : >> Dagobert Michelsen writes: >>> I have updated ghostscript to the latest 9.07. However, this goes with bumping libgs from >>> libgs.so.8 to libgs.so.9 which are used by a couple of packages that would need rebuilding. >>> I am not sure about how libgs.so interacts with other files like printer drivers between >>> 8 and 9, probably someone can help me out on this? The updated packages are available at >>> http://buildfarm.opencsw.org/experimental.html#ghostscript >>> for testing. Additionally, the final packages would need to include CSWlibgs8 for libgs.so.8 >>> being required by a couple of packages including texlive which will probably not be rebuilt >>> because of some minor dependency change :-) >> >> The maintainer of TeXLive greatly appreciate this! Sometime, in the >> future, I'll rebuild it and use the new library? > > I have made updated packages with legacy dependencies of CSWgs to CSWlibgs8 which > should allow continuing use of existing software: > http://buildfarm.opencsw.org/experimental.html#ghostscript > > Peter, would you be so kind verifying texlive against it as it is the most complex package? Tested and works for me. -- Peter From dam at opencsw.org Thu Jun 6 14:11:29 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 6 Jun 2013 14:11:29 +0200 Subject: [csw-maintainers] Update of Ghostscript In-Reply-To: References: <4E9D255A-E09D-41D3-8203-C6D6F596C841@opencsw.org> <84A0AC6A-1151-40B1-9EAE-7B845C13F420@opencsw.org> Message-ID: <5084A619-F4CA-4D24-A7A7-4ED750500D3D@opencsw.org> Hi folks, Am 05.06.2013 um 17:59 schrieb Peter FELECAN : > Dagobert Michelsen writes: >> Am 29.05.2013 um 16:55 schrieb Peter FELECAN : >>> Dagobert Michelsen writes: >>>> I have updated ghostscript to the latest 9.07. However, this goes with bumping libgs from >>>> libgs.so.8 to libgs.so.9 which are used by a couple of packages that would need rebuilding. >>>> I am not sure about how libgs.so interacts with other files like printer drivers between >>>> 8 and 9, probably someone can help me out on this? The updated packages are available at >>>> http://buildfarm.opencsw.org/experimental.html#ghostscript >>>> for testing. Additionally, the final packages would need to include CSWlibgs8 for libgs.so.8 >>>> being required by a couple of packages including texlive which will probably not be rebuilt >>>> because of some minor dependency change :-) >>> >>> The maintainer of TeXLive greatly appreciate this! Sometime, in the >>> future, I'll rebuild it and use the new library? >> >> I have made updated packages with legacy dependencies of CSWgs to CSWlibgs8 which >> should allow continuing use of existing software: >> http://buildfarm.opencsw.org/experimental.html#ghostscript >> >> Peter, would you be so kind verifying texlive against it as it is the most complex package? > > Tested and works for me. Ok, I have now pushed a new ghostscript 9.07,REV=2013.06.06. There have been the following changes to the existing package: - The package is now called CSWghostscript instead of CSWgs - The existing CSWgs still depends on CSWlibgs8 until all programs have been rebuilt - The new CSWghostscript uses CSWlibgs9 and there is now CSWghostscript-dev - The CUPS filters have been put into a separate package CSWghostscript-filters All known bugs have been addressed which include #3651 Please provide 64 bit version #4551 Please upgrade to 9.00 #4704 Documentation reference incorrect in -help page output #4913 pstopxl: Solaris /bin/sh cannot eval $( ), sed has not option -r If you encounter anything suspicious just let me know. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From dam at opencsw.org Thu Jun 6 14:15:25 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 6 Jun 2013 14:15:25 +0200 Subject: [csw-maintainers] New package for Erlang R16B Message-ID: Hi folks, I just finished an updated package for Erlang R16B. It features full 32/64 bit with isaexec. As my erlang skills are a bit rusty it would be nice if someone with more skills could have a look if I everything is in good shape. Packages are available from http://buildfarm.opencsw.org/experimental.html#erlang Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From maciej at opencsw.org Sun Jun 9 00:32:59 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sat, 8 Jun 2013 23:32:59 +0100 Subject: [csw-maintainers] Inspecting package metadata using curl - made easier Message-ID: I've been really missing the display of package metadata in pkgdb on the buildfarm website. I couldn't put them on the site because of the amount of data, but I just added a generated copy&paste-ready shell line which displays package metadata. For instance under this address: http://buildfarm.opencsw.org/pkgdb/srv4/1643972067f15dc105328a5b67ed19a2/ ...there's a curl invocation which will download the data, prettify and display them. If you're interested in viewing your package's metadata, calculate its md5 sum and use it in the URL. You can also view recently built packages under this address: http://buildfarm.opencsw.org/pkgdb/srv4/ Maciej From laurent at opencsw.org Tue Jun 11 20:55:26 2013 From: laurent at opencsw.org (Laurent Blume) Date: Tue, 11 Jun 2013 20:55:26 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) Message-ID: <51B7729E.70604@opencsw.org> Hello all, I'm a bit in a tie because of C++ ABI issue. I'm trying t o build the scummvm-tools. They use wxwidget, which is a C++ library. Only g++ is officially supported. That can't work, because wxwidget is built with Studio. So I tinkered a little, and it builds reasonably well with Studio, until this: $ CC -library=iostream -library=rwtools7 -g -DHAVE_CONFIG_H -DSOLARIS -DSYSTEM_NOT_SUPPORTING_D_TYPE -DPOSIX -I. -I. -c scummvm-tools-cli.cpp -o scummvm-tools-cli.o "scummvm-tools-cli.cpp", line 43: Error: Could not find a match for std::deque::deque(char**, char**) needed in ToolsCLI::run(int, char**). 1 Error(s) detected. Basically, it appears to be using a constructor that's not supported on Studio. However, I've found out that this bit builds when adding -library=stlport4. But that doesn't help much, because it means that all dependencies must be built with that too, so it's practically the same problem as the GCC incompatibility. At this point, I wonder what's the best path? Have a special GCC-built version of the lib (messy)? Try to get upstream change their code (doubtful)? Give it up already and get a drink? Thanks for any insight, Laurent From jh at opencsw.org Wed Jun 12 07:03:08 2013 From: jh at opencsw.org (Jan Holzhueter) Date: Wed, 12 Jun 2013 07:03:08 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <51B7729E.70604@opencsw.org> References: <51B7729E.70604@opencsw.org> Message-ID: <51B8010C.3060008@opencsw.org> Hi, Am 11.06.13 20:55, schrieb Laurent Blume: > Hello all, > > I'm a bit in a tie because of C++ ABI issue. > > I'm trying t o build the scummvm-tools. They use wxwidget, which is a > C++ library. > Only g++ is officially supported. That can't work, because wxwidget is > built with Studio. > So I tinkered a little, and it builds reasonably well with Studio, until > this: > > > $ CC -library=iostream -library=rwtools7 -g -DHAVE_CONFIG_H -DSOLARIS > -DSYSTEM_NOT_SUPPORTING_D_TYPE -DPOSIX -I. -I. -c scummvm-tools-cli.cpp > -o scummvm-tools-cli.o > "scummvm-tools-cli.cpp", line 43: Error: Could not find a match for > std::deque::deque(char**, char**) needed in > ToolsCLI::run(int, char**). > 1 Error(s) detected. > > > Basically, it appears to be using a constructor that's not supported on > Studio. > > However, I've found out that this bit builds when adding > -library=stlport4. But that doesn't help much, because it means that all > dependencies must be built with that too, so it's practically the same > problem as the GCC incompatibility. > > > At this point, I wonder what's the best path? Have a special GCC-built > version of the lib (messy)? Try to get upstream change their code > (doubtful)? Give it up already and get a drink? The plan for C++ stuff iirc was to switch to gcc anyway. Since you build a new wxwidget anyway I would should rebuild it with gcc. Greetings Jan From laurent at opencsw.org Wed Jun 12 09:58:06 2013 From: laurent at opencsw.org (Laurent Blume) Date: Wed, 12 Jun 2013 09:58:06 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <51B8010C.3060008@opencsw.org> References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> Message-ID: <51B82A0E.9020602@opencsw.org> On 12/06/13 07:03, Jan Holzhueter wrote: > The plan for C++ stuff iirc was to switch to gcc anyway. Since you build > a new wxwidget anyway I would should rebuild it with gcc. I'm not against, not much in favour either: that will break all dependencies. Switching to g++ looks like a huge task, since everything touched should be repushed at the same time. And GCC has a poor track record of keeping ABI compatibility on Solaris, particularly on Sparc, so it's far from being a warranty there won't be the same issue down the path later. I noticed that Studio 12.3 now has a g++ compatibility mode, but only on x86. If that were extended to Sparc, it'd make it much more attractive as a de facto standard ABI. For the concern at hand, I did get help from upstream (they're cool :-) and I could get all to build. Laurent From slowfranklin at opencsw.org Wed Jun 12 11:11:23 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Wed, 12 Jun 2013 11:11:23 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <51B82A0E.9020602@opencsw.org> References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> <51B82A0E.9020602@opencsw.org> Message-ID: <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> Hey Laurent! Am 12.06.2013 um 09:58 schrieb Laurent Blume : > On 12/06/13 07:03, Jan Holzhueter wrote: >> The plan for C++ stuff iirc was to switch to gcc anyway. Since you build >> a new wxwidget anyway I would should rebuild it with gcc. > > I'm not against, not much in favour either: that will break all dependencies. > Switching to g++ looks like a huge task, since everything touched should be repushed at the same time. > And GCC has a poor track record of keeping ABI compatibility on Solaris, particularly on Sparc, so it's far from being a warranty there won't be the same issue down the path later. > > I noticed that Studio 12.3 now has a g++ compatibility mode, but only on x86. If that were extended to Sparc, it'd make it much more attractive as a de facto standard ABI. > > For the concern at hand, I did get help from upstream (they're cool :-) and I could get all to build. how? -slow From Joerg.Schilling at fokus.fraunhofer.de Wed Jun 12 11:27:25 2013 From: Joerg.Schilling at fokus.fraunhofer.de (Joerg Schilling) Date: Wed, 12 Jun 2013 11:27:25 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> <51B82A0E.9020602@opencsw.org> <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> Message-ID: <51b83efd.yDaaAgTrwhTRb47G%Joerg.Schilling@fokus.fraunhofer.de> slowfranklin wrote: > > I noticed that Studio 12.3 now has a g++ compatibility mode, but only on x86. If that were extended to Sparc, it'd make it much more attractive as a de facto standard ABI. > > > > For the concern at hand, I did get help from upstream (they're cool :-) and I could get all to build. > > how? Wasn't this something you could get from the Linux version of Sun Studio? J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From laurent at opencsw.org Wed Jun 12 11:30:38 2013 From: laurent at opencsw.org (Laurent Blume) Date: Wed, 12 Jun 2013 11:30:38 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> <51B82A0E.9020602@opencsw.org> <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> Message-ID: <51B83FBE.1010501@opencsw.org> On 12/06/13 11:11, slowfranklin wrote: > how? I asked politely on #scummvm and I was provided with a simple alternative that works with Studio. I'm going to provide them some patches back. Overall, it was an easy build, more than I expected, only a couple of outstanding errors. Laurent From laurent at opencsw.org Wed Jun 12 11:40:03 2013 From: laurent at opencsw.org (Laurent Blume) Date: Wed, 12 Jun 2013 11:40:03 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <51b83efd.yDaaAgTrwhTRb47G%Joerg.Schilling@fokus.fraunhofer.de> References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> <51B82A0E.9020602@opencsw.org> <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> <51b83efd.yDaaAgTrwhTRb47G%Joerg.Schilling@fokus.fraunhofer.de> Message-ID: <51B841F3.5040608@opencsw.org> On 12/06/13 11:27, Joerg Schilling wrote: > Wasn't this something you could get from the Linux version of Sun Studio? Ah, if talking about g++ ABI compatibility, it is available for Studio x86, both Solaris and Linux. Too bad they didn't add it for Sparc. http://docs.oracle.com/cd/E24457_01/html/E21991/bkana.html#bkanr Laurent From laurent at opencsw.org Wed Jun 12 20:22:17 2013 From: laurent at opencsw.org (Laurent Blume) Date: Wed, 12 Jun 2013 20:22:17 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <51B841F3.5040608@opencsw.org> References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> <51B82A0E.9020602@opencsw.org> <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> <51b83efd.yDaaAgTrwhTRb47G%Joerg.Schilling@fokus.fraunhofer.de> <51B841F3.5040608@opencsw.org> Message-ID: <51B8BC59.90704@opencsw.org> On 2013-06-12 11:40 AM, Laurent Blume wrote: > On 12/06/13 11:27, Joerg Schilling wrote: >> Wasn't this something you could get from the Linux version of Sun Studio? > > Ah, if talking about g++ ABI compatibility, it is available for Studio > x86, both Solaris and Linux. Too bad they didn't add it for Sparc. > > http://docs.oracle.com/cd/E24457_01/html/E21991/bkana.html#bkanr And I've heard that the next Studio is planned to have the g++ ABI compatibility mode for Solaris sparc as well. So standardizing on that will make a lot of sense, building with either Studio or GCC. The plan to change ABI will be an interesting one to pull up, though. Laurent From pfelecan at opencsw.org Thu Jun 13 09:17:56 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 13 Jun 2013 09:17:56 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: <51B8BC59.90704@opencsw.org> (Laurent Blume's message of "Wed, 12 Jun 2013 20:22:17 +0200") References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> <51B82A0E.9020602@opencsw.org> <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> <51b83efd.yDaaAgTrwhTRb47G%Joerg.Schilling@fokus.fraunhofer.de> <51B841F3.5040608@opencsw.org> <51B8BC59.90704@opencsw.org> Message-ID: Laurent Blume writes: > The plan to change ABI will be an interesting one to pull up, though. The decision to standardize on GNU C++ ABI is already taken and underway. The decision to not transit wxwidgets to it is temporary, i.e., work force availability. I do not remember when GNU C++ ABI changed last time but now we can consider it quite stable isn't it? -- Peter From laurent at opencsw.org Thu Jun 13 10:38:06 2013 From: laurent at opencsw.org (Laurent Blume) Date: Thu, 13 Jun 2013 10:38:06 +0200 Subject: [csw-maintainers] C++ ABIs are fun (not) In-Reply-To: References: <51B7729E.70604@opencsw.org> <51B8010C.3060008@opencsw.org> <51B82A0E.9020602@opencsw.org> <86B23951-66BE-40CF-AA2A-85718472FB75@opencsw.org> <51b83efd.yDaaAgTrwhTRb47G%Joerg.Schilling@fokus.fraunhofer.de> <51B841F3.5040608@opencsw.org> <51B8BC59.90704@opencsw.org> Message-ID: <51B984EE.6080401@opencsw.org> On 13/06/13 09:17, Peter FELECAN wrote: > The decision to standardize on GNU C++ ABI is already taken and > underway. > > The decision to not transit wxwidgets to it is temporary, i.e., work > force availability. > > I do not remember when GNU C++ ABI changed last time but now we can > consider it quite stable isn't it? At least Oracle does, which is a good sign, I guess. Laurent From dam at opencsw.org Thu Jun 13 12:54:24 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 13 Jun 2013 12:54:24 +0200 Subject: [csw-maintainers] Issue with checkpkg Message-ID: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> Hi folks, I am currently trying with Joerg to roll a new set of his packages like star, snake and cdrtools but get an error on checkpkg that some output can not be parsed. Notably these packages have not been built with GAR as Joerg uses his cross-platform build system to make package for all architectures at once, so there may be some other flags to parse than in our normal case. Nonetheless I would think making checkpkg more flexible and not bail out would be a good thing: > dam at login [login]:/home/joerg/newpackages > ls -l /home/dam/bin/checkpkg > lrwxrwxrwx 1 dam csw 27 Mrz 28 2011 /home/dam/bin/checkpkg -> ../mgar/gar/v2/bin/checkpkg > dam at login [login]:/home/joerg/newpackages > checkpkg --catalog-architecture sparc --os-release SunOS5.9 *sparc*.pkg.gz > INFO:root:Juicing the svr4 package stream files... > Traceback (most recent call last): | > File "/home/dam/bin/checkpkg", line 211, in > main() > File "/home/dam/bin/checkpkg", line 120, in main > stats_list = collector.CollectStatsFromFiles(file_list, None) > File "/home/dam/mgar/gar/v2/lib/python/package_stats.py", line 527, in CollectStatsFromFiles > stats.CollectStats(force=force_unpack) > File "/home/dam/mgar/gar/v2/lib/python/package_stats.py", line 184, in CollectStats > return self._CollectStats(register_files=register_files) > File "/home/dam/mgar/gar/v2/lib/python/package_stats.py", line 224, in _CollectStats > "ldd_info": dir_pkg.GetLddMinusRlines(), > File "/home/dam/mgar/gar/v2/lib/python/inspective_package.py", line 394, in GetLddMinusRlines > result = self._ParseLddDashRline(line, binary_abspath) > File "/home/dam/mgar/gar/v2/lib/python/inspective_package.py", line 573, in _ParseLddDashRline > % (repr(line), common_re)) > package.StdoutSyntaxError: Could not parse ' nicht referenziertes Objekt=/lib/libnsl.so.1; nicht verwendete Abh\xc3\xa4ngigkeit von /var/tmp/pkg_mQb_eN/CSWcdrtools/reloc/bin/isovfy' with (^\t(?P\S+)\s+=>\s+(?P\S+)|^\tsymbol not found:\s(?P\S+)\s+\((?P\S+)\)|^\t(?P\S+)$|^\t(?P\S+) \((?P\S+)\) =>\t \(version not found\)|^\trelocation \S+ symbol: (?P\S+): file (?P\S+): relocation bound to a symbol with STV_PROTECTED visibility$|^\trelocation \S+ sizes differ: (?P\S+)$|^\t\t\(file (?P\S+) size=(?P0x\w+); file (?P\S+) size=(?P0x\w+)\)$|^\t\t(?P\S+) size used; possible insufficient data copied$|^\s*unreferenced object=(?P.*); unused dependency of (?P.*)$|^\s*unused object=.*$|^\s*unused search path=.* \((?:LD_LIBRARY_PATH|RUNPATH/RPATH from file .*)\)$|^\s*$|^\tmove (?P\d+) offset invalid: \(unknown\): offset=(?P0x[0-9a-f]+) lies outside memory image; move discarded|relocation R_(386|AMD64|X86_64|SPARC)_\w+ sizes differ: (?P.*)|\t\t\(file .* size=0(?:x[0-9a-f]+)?; file .*size=0x(?:[0-9a-f]+)?\)|\t.* size used; possible data truncation|\tsymbol (?P\S+): file \S+: copy relocation symbol may have been displacement relocated) > zsh: 14307 exit 1 checkpkg --catalog-architecture sparc --os-release SunOS5.9 *sparc*.pkg.gz > dam at login [login]:/home/joerg/newpackages > Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From yann at pleiades.fr.eu.org Thu Jun 13 13:01:19 2013 From: yann at pleiades.fr.eu.org (Yann Rouillard) Date: Thu, 13 Jun 2013 13:01:19 +0200 Subject: [csw-maintainers] Issue with checkpkg In-Reply-To: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> References: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> Message-ID: It looks like a simple translation issue: ldd is launched with the german locale hence the parsing code doesn't understand the output. It can be easily solved by making sure LC_ALL=C is set before checkpkg launchd ldd but there is even better: Following a discussion with Maciej, I rewrote the dependency check to use elfdump information instead of ldd. The test isn't as perfect as using ldd but will work the same in most case and will avoid some troubles with ldd (having to parse a package on the same architecture, possible side effect of the runtime environment of ldd, ldd output modifications or ldd bugs). The new test is already in place but I wanted to wait sometime before disabling ldd information retrieval, it's ok now, so I will remove the ldd code and this problem will disappear. Yann 2013/6/13 Dagobert Michelsen > Hi folks, > > I am currently trying with Joerg to roll a new set of his packages like > star, snake and > cdrtools but get an error on checkpkg that some output can not be parsed. > Notably these > packages have not been built with GAR as Joerg uses his cross-platform > build system to > make package for all architectures at once, so there may be some other > flags to parse than > in our normal case. Nonetheless I would think making checkpkg more > flexible and not > bail out would be a good thing: > > > dam at login [login]:/home/joerg/newpackages > ls -l /home/dam/bin/checkpkg > > lrwxrwxrwx 1 dam csw 27 Mrz 28 2011 > /home/dam/bin/checkpkg -> ../mgar/gar/v2/bin/checkpkg > > dam at login [login]:/home/joerg/newpackages > checkpkg > --catalog-architecture sparc --os-release SunOS5.9 *sparc*.pkg.gz > > INFO:root:Juicing the svr4 package stream files... > > Traceback (most recent call last): > > | > > File "/home/dam/bin/checkpkg", line 211, in > > main() > > File "/home/dam/bin/checkpkg", line 120, in main > > stats_list = collector.CollectStatsFromFiles(file_list, None) > > File "/home/dam/mgar/gar/v2/lib/python/package_stats.py", line 527, in > CollectStatsFromFiles > > stats.CollectStats(force=force_unpack) > > File "/home/dam/mgar/gar/v2/lib/python/package_stats.py", line 184, in > CollectStats > > return self._CollectStats(register_files=register_files) > > File "/home/dam/mgar/gar/v2/lib/python/package_stats.py", line 224, in > _CollectStats > > "ldd_info": dir_pkg.GetLddMinusRlines(), > > File "/home/dam/mgar/gar/v2/lib/python/inspective_package.py", line > 394, in GetLddMinusRlines > > result = self._ParseLddDashRline(line, binary_abspath) > > File "/home/dam/mgar/gar/v2/lib/python/inspective_package.py", line > 573, in _ParseLddDashRline > > % (repr(line), common_re)) > > package.StdoutSyntaxError: Could not parse ' nicht referenziertes > Objekt=/lib/libnsl.so.1; nicht verwendete Abh\xc3\xa4ngigkeit von > /var/tmp/pkg_mQb_eN/CSWcdrtools/reloc/bin/isovfy' with > (^\t(?P\S+)\s+=>\s+(?P\S+)|^\tsymbol not > found:\s(?P\S+)\s+\((?P\S+)\)|^\t(?P\S+)$|^\t(?P\S+) > \((?P\S+)\) =>\t \(version not found\)|^\trelocation \S+ symbol: > (?P\S+): file (?P\S+): relocation bound > to a symbol with STV_PROTECTED visibility$|^\trelocation \S+ sizes differ: > (?P\S+)$|^\t\t\(file (?P\S+) > size=(?P0x\w+); file (?P\S+) > size=(?P0x\w+)\)$|^\t\t(?P\S+) size used; > possible insufficient data copied$|^\s*unreferenced object=(?P.*); > unused dependency of (?P.*)$|^\s*unused object=.*$|^\s*unused > search path=.* \((?:LD_LIBRARY_PATH|RUNPATH/RPATH from file .*)\)$|^\s*$|^ > \tmove (?P\d+) offset invalid: \(unknown\): > offset=(?P0x[0-9a-f]+) lies outside memory image; move > discarded|relocation R_(386|AMD64|X86_64|SPARC)_\w+ sizes differ: > (?P.*)|\t\t\(file .* size=0(?:x[0-9a-f]+)?; file > .*size=0x(?:[0-9a-f]+)?\)|\t.* size used; possible data truncation|\tsymbol > (?P\S+): file \S+: copy relocation symbol may have been > displacement relocated) > > zsh: 14307 exit 1 checkpkg --catalog-architecture sparc --os-release > SunOS5.9 *sparc*.pkg.gz > > dam at login [login]:/home/joerg/newpackages > > > > Best regards > > -- Dago > > -- > "You don't become great by trying to be great, you become great by wanting > to do something, > and then doing it so hard that you become great in the process." - xkcd > #896 > > _______________________________________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Thu Jun 13 13:13:19 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Thu, 13 Jun 2013 12:13:19 +0100 Subject: [csw-maintainers] Issue with checkpkg In-Reply-To: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> References: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> Message-ID: 2013/6/13 Dagobert Michelsen : > Nonetheless I would think making checkpkg more flexible and not > bail out would be a good thing. It almost sounds as if you wanted to make runtime errors silent and subsequent problems down the road harder to debug... that doesn't sound like you at all! From dam at opencsw.org Thu Jun 13 13:16:37 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 13 Jun 2013 13:16:37 +0200 Subject: [csw-maintainers] Issue with checkpkg In-Reply-To: References: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> Message-ID: <302506F9-AE99-4D9E-A251-F1D9D9189E3D@opencsw.org> Hi Maciej, Am 13.06.2013 um 13:13 schrieb Maciej (Matchek) Blizi?ski : > 2013/6/13 Dagobert Michelsen : >> Nonetheless I would think making checkpkg more flexible and not >> bail out would be a good thing. > > It almost sounds as if you wanted to make runtime errors silent and > subsequent problems down the road harder to debug... that doesn't > sound like you at all! With "more flexible" I meant not to bail out on packages not built with GAR. That means, remove the error, enhance the regex, not remove the reporting, of course :-) As it turned out the locale issue will go away soon anyway, otherwise I would have suggested hardcoding the locale in checkpkg before calling ldd. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From maciej at opencsw.org Thu Jun 13 19:58:27 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Thu, 13 Jun 2013 18:58:27 +0100 Subject: [csw-maintainers] Issue with checkpkg In-Reply-To: <302506F9-AE99-4D9E-A251-F1D9D9189E3D@opencsw.org> References: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> <302506F9-AE99-4D9E-A251-F1D9D9189E3D@opencsw.org> Message-ID: The code switched to pyelftools will need more time. I think it's best to set ldd's env to C when forking. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yann at pleiades.fr.eu.org Fri Jun 14 13:42:24 2013 From: yann at pleiades.fr.eu.org (Yann Rouillard) Date: Fri, 14 Jun 2013 13:42:24 +0200 Subject: [csw-maintainers] Issue with checkpkg In-Reply-To: References: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> <302506F9-AE99-4D9E-A251-F1D9D9189E3D@opencsw.org> Message-ID: Hi Maciej, This is not related to pyelftools. The check relies on elf data which can be retrieved from elfdump output (the current state) or pyelftools. I already removed the ldd part in the checkpkg code. BTW, maybe we should set env to C by default in the ShellCommand function. I didn't check but other commands executions maybe also be affected. At least the modification needs to be made for elfdump output parsing. Yann 2013/6/13 Maciej (Matchek) Blizi?ski > The code switched to pyelftools will need more time. I think it's best to > set ldd's env to C when forking. > > _______________________________________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Fri Jun 14 16:06:58 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 14 Jun 2013 15:06:58 +0100 Subject: [csw-maintainers] Issue with checkpkg In-Reply-To: References: <3A8319F6-75FC-4CAC-8A81-DB7D761E2F52@opencsw.org> <302506F9-AE99-4D9E-A251-F1D9D9189E3D@opencsw.org> Message-ID: Hi Yann, I agree, ShellCommand is the best place to do it. Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: From slowfranklin at opencsw.org Mon Jun 17 17:48:00 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Mon, 17 Jun 2013 17:48:00 +0200 Subject: [csw-maintainers] csw-upload-package error from checkpkg: "KeyError: 'ldd_info'" Message-ID: <26C1A8C0-B7E7-461E-90F5-6C09E37CD182@opencsw.org> Hey, as discussed on IRC: I'm getting these error from caw-upload-package when trying to upload my new tracker package: ---8<--- slowfranklin at login [login]:~/pkgs > locale LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_ALL=C slowfranklin at login [login]:~/pkgs > csw-upload-pkg * Processing 12 file(s). Please wait. Checking 6 package(s) against catalog unstable i386 SunOS5.10 Traceback (most recent call last): File "/opt/csw/bin/checkpkg", line 196, in main() File "/opt/csw/bin/checkpkg", line 157, in main exit_code, screen_report, tags_report = check_manager.Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run return super(CheckpkgManager2, self).Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags function(pkgs_data, check_interface, logger=logger, messenger=messenger) File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries depchecks.Libraries(*check_args) File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries ldd_info = pkg_data['ldd_info'][binary_info["path"]] KeyError: 'ldd_info' Checking 6 package(s) against catalog unstable sparc SunOS5.10 Traceback (most recent call last): File "/opt/csw/bin/checkpkg", line 196, in main() File "/opt/csw/bin/checkpkg", line 157, in main exit_code, screen_report, tags_report = check_manager.Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run return super(CheckpkgManager2, self).Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags function(pkgs_data, check_interface, logger=logger, messenger=messenger) File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries depchecks.Libraries(*check_args) File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries ldd_info = pkg_data['ldd_info'][binary_info["path"]] KeyError: 'ldd_info' Checking 6 package(s) against catalog unstable i386 SunOS5.11 Traceback (most recent call last): File "/opt/csw/bin/checkpkg", line 196, in main() File "/opt/csw/bin/checkpkg", line 157, in main exit_code, screen_report, tags_report = check_manager.Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run return super(CheckpkgManager2, self).Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags function(pkgs_data, check_interface, logger=logger, messenger=messenger) File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries depchecks.Libraries(*check_args) File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries ldd_info = pkg_data['ldd_info'][binary_info["path"]] KeyError: 'ldd_info' Checking 6 package(s) against catalog unstable sparc SunOS5.11 Traceback (most recent call last): File "/opt/csw/bin/checkpkg", line 196, in main() File "/opt/csw/bin/checkpkg", line 157, in main exit_code, screen_report, tags_report = check_manager.Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run return super(CheckpkgManager2, self).Run() File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags function(pkgs_data, check_interface, logger=logger, messenger=messenger) File "/opt/csw/lib/python/csw/package_checks.py", line 322, in SetCheckLibraries depchecks.Libraries(*check_args) File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in Libraries ldd_info = pkg_data['ldd_info'][binary_info["path"]] KeyError: 'ldd_info' Checks failed for catalogs: - i386 SunOS5.10 libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz tracker-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz To see errors, run: /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 --catalog-architecture i386 4a1ced0b60d4d311bae71f58fd60f308 b96ca3246d5a807c6cab3db77d833c7f 4b0fb6c3329445eec00844866ae75386 414aa606b2fe39842f17423ebf511916 630e17ac5049ac7aa0ad24f7bde4a7e2 f2bd2e0d45dde6d41fd288d7e672db0d - sparc SunOS5.10 libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz tracker-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz To see errors, run: /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 --catalog-architecture sparc fa1d972ed3c73bb4bdabcb2eb3f4d279 87ce5a40951f59b59f7c9de6a677f5bd e8ef46502d96679aa0a527ccccf72716 2658e5dcb803e0b6d2fb71518f01100f b51364b0d930523850e0910564e1cca5 063ddd21b4378cb3f6fad3f876e25bb6 - i386 SunOS5.11 libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz tracker-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz To see errors, run: /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.11 --catalog-architecture i386 4a1ced0b60d4d311bae71f58fd60f308 b96ca3246d5a807c6cab3db77d833c7f 4b0fb6c3329445eec00844866ae75386 414aa606b2fe39842f17423ebf511916 630e17ac5049ac7aa0ad24f7bde4a7e2 f2bd2e0d45dde6d41fd288d7e672db0d - sparc SunOS5.11 libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz tracker-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz To see errors, run: /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.11 --catalog-architecture sparc fa1d972ed3c73bb4bdabcb2eb3f4d279 87ce5a40951f59b59f7c9de6a677f5bd e8ef46502d96679aa0a527ccccf72716 2658e5dcb803e0b6d2fb71518f01100f b51364b0d930523850e0910564e1cca5 063ddd21b4378cb3f6fad3f876e25bb6 Packages have not been submitted to the unstable catalog. slowfranklin at login [login]:~/pkgs > ---8<--- Running the suggested checkpkg commands results in the same error "KeyError: 'ldd_info'". Thanks! -slow From yann at pleiades.fr.eu.org Mon Jun 17 21:06:31 2013 From: yann at pleiades.fr.eu.org (Yann Rouillard) Date: Mon, 17 Jun 2013 21:06:31 +0200 Subject: [csw-maintainers] csw-upload-package error from checkpkg: "KeyError: 'ldd_info'" In-Reply-To: <26C1A8C0-B7E7-461E-90F5-6C09E37CD182@opencsw.org> References: <26C1A8C0-B7E7-461E-90F5-6C09E37CD182@opencsw.org> Message-ID: Hmm, I think it's because I updated the checkpkg code in subversion but I also have to update the cswutils package on login otherwise it still uses the old code. I rebuild the cswutils package and uploaded it. Dago (or someone with root access), can you install it ? It's also in my build directory. Yann 2013/6/17 slowfranklin > Hey, > > as discussed on IRC: > > I'm getting these error from caw-upload-package when trying to upload my > new tracker package: > > ---8<--- > slowfranklin at login [login]:~/pkgs > locale > LANG=C > LC_CTYPE="C" > LC_NUMERIC="C" > LC_TIME="C" > LC_COLLATE="C" > LC_MONETARY="C" > LC_MESSAGES="C" > LC_ALL=C > slowfranklin at login [login]:~/pkgs > csw-upload-pkg * > Processing 12 file(s). Please wait. > Checking 6 package(s) against catalog unstable i386 SunOS5.10 > Traceback (most recent call last): > File "/opt/csw/bin/checkpkg", line 196, in > main() > File "/opt/csw/bin/checkpkg", line 157, in main > exit_code, screen_report, tags_report = check_manager.Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run > return super(CheckpkgManager2, self).Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run > errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags > function(pkgs_data, check_interface, logger=logger, > messenger=messenger) > File "/opt/csw/lib/python/csw/package_checks.py", line 322, in > SetCheckLibraries > depchecks.Libraries(*check_args) > File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in > Libraries > ldd_info = pkg_data['ldd_info'][binary_info["path"]] > KeyError: 'ldd_info' > Checking 6 package(s) against catalog unstable sparc SunOS5.10 > Traceback (most recent call last): > File "/opt/csw/bin/checkpkg", line 196, in > main() > File "/opt/csw/bin/checkpkg", line 157, in main > exit_code, screen_report, tags_report = check_manager.Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run > return super(CheckpkgManager2, self).Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run > errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags > function(pkgs_data, check_interface, logger=logger, > messenger=messenger) > File "/opt/csw/lib/python/csw/package_checks.py", line 322, in > SetCheckLibraries > depchecks.Libraries(*check_args) > File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in > Libraries > ldd_info = pkg_data['ldd_info'][binary_info["path"]] > KeyError: 'ldd_info' > Checking 6 package(s) against catalog unstable i386 SunOS5.11 > Traceback (most recent call last): > File "/opt/csw/bin/checkpkg", line 196, in > main() > File "/opt/csw/bin/checkpkg", line 157, in main > exit_code, screen_report, tags_report = check_manager.Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run > return super(CheckpkgManager2, self).Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run > errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags > function(pkgs_data, check_interface, logger=logger, > messenger=messenger) > File "/opt/csw/lib/python/csw/package_checks.py", line 322, in > SetCheckLibraries > depchecks.Libraries(*check_args) > File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in > Libraries > ldd_info = pkg_data['ldd_info'][binary_info["path"]] > KeyError: 'ldd_info' > Checking 6 package(s) against catalog unstable sparc SunOS5.11 > Traceback (most recent call last): > File "/opt/csw/bin/checkpkg", line 196, in > main() > File "/opt/csw/bin/checkpkg", line 157, in main > exit_code, screen_report, tags_report = check_manager.Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 901, in Run > return super(CheckpkgManager2, self).Run() > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 309, in Run > errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list) > File "/opt/csw/lib/python/csw/checkpkg_lib.py", line 884, in GetAllTags > function(pkgs_data, check_interface, logger=logger, > messenger=messenger) > File "/opt/csw/lib/python/csw/package_checks.py", line 322, in > SetCheckLibraries > depchecks.Libraries(*check_args) > File "/opt/csw/lib/python/csw/dependency_checks.py", line 175, in > Libraries > ldd_info = pkg_data['ldd_info'][binary_info["path"]] > KeyError: 'ldd_info' > Checks failed for catalogs: > - i386 SunOS5.10 > libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > > libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > tracker-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > To see errors, run: > /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 > --catalog-architecture i386 4a1ced0b60d4d311bae71f58fd60f308 > b96ca3246d5a807c6cab3db77d833c7f 4b0fb6c3329445eec00844866ae75386 > 414aa606b2fe39842f17423ebf511916 630e17ac5049ac7aa0ad24f7bde4a7e2 > f2bd2e0d45dde6d41fd288d7e672db0d > - sparc SunOS5.10 > libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > > libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > > libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > tracker-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > To see errors, run: > /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.10 > --catalog-architecture sparc fa1d972ed3c73bb4bdabcb2eb3f4d279 > 87ce5a40951f59b59f7c9de6a677f5bd e8ef46502d96679aa0a527ccccf72716 > 2658e5dcb803e0b6d2fb71518f01100f b51364b0d930523850e0910564e1cca5 > 063ddd21b4378cb3f6fad3f876e25bb6 > - i386 SunOS5.11 > libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > > libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > tracker-0.15.2,REV=2013.06.17-SunOS5.10-i386-CSW.pkg.gz > To see errors, run: > /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.11 > --catalog-architecture i386 4a1ced0b60d4d311bae71f58fd60f308 > b96ca3246d5a807c6cab3db77d833c7f 4b0fb6c3329445eec00844866ae75386 > 414aa606b2fe39842f17423ebf511916 630e17ac5049ac7aa0ad24f7bde4a7e2 > f2bd2e0d45dde6d41fd288d7e672db0d > - sparc SunOS5.11 > libtracker_common-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > libtracker_dev-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > > libtracker_extract0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > libtracker_miner0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > > libtracker_sparql0_16_0-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > tracker-0.15.2,REV=2013.06.17-SunOS5.10-sparc-CSW.pkg.gz > To see errors, run: > /opt/csw/bin/checkpkg --catalog-release unstable --os-release SunOS5.11 > --catalog-architecture sparc fa1d972ed3c73bb4bdabcb2eb3f4d279 > 87ce5a40951f59b59f7c9de6a677f5bd e8ef46502d96679aa0a527ccccf72716 > 2658e5dcb803e0b6d2fb71518f01100f b51364b0d930523850e0910564e1cca5 > 063ddd21b4378cb3f6fad3f876e25bb6 > Packages have not been submitted to the unstable catalog. > slowfranklin at login [login]:~/pkgs > > ---8<--- > > Running the suggested checkpkg commands results in the same error > "KeyError: 'ldd_info'". > > Thanks! > -slow > _______________________________________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Mon Jun 17 21:13:47 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 17 Jun 2013 21:13:47 +0200 Subject: [csw-maintainers] csw-upload-package error from checkpkg: "KeyError: 'ldd_info'" In-Reply-To: References: <26C1A8C0-B7E7-461E-90F5-6C09E37CD182@opencsw.org> Message-ID: Hi Yann, Am 17.06.2013 um 21:06 schrieb Yann Rouillard : > Hmm, I think it's because I updated the checkpkg code in subversion but I also have to update the cswutils package on login otherwise it still uses the old code. > > I rebuild the cswutils package and uploaded it. Dago (or someone with root access), can you install it ? > It's also in my build directory. Updated to 1.21338,REV=2013.06.17 on login. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From slowfranklin at opencsw.org Tue Jun 18 07:35:31 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Tue, 18 Jun 2013 07:35:31 +0200 Subject: [csw-maintainers] csw-upload-package error from checkpkg: "KeyError: 'ldd_info'" In-Reply-To: References: <26C1A8C0-B7E7-461E-90F5-6C09E37CD182@opencsw.org> Message-ID: <556595B7-6554-4421-B4F6-8AF6F95DF883@opencsw.org> Yann, Dago, Am 17.06.2013 um 21:13 schrieb Dagobert Michelsen : > Hi Yann, > > Am 17.06.2013 um 21:06 schrieb Yann Rouillard : >> Hmm, I think it's because I updated the checkpkg code in subversion but I also have to update the cswutils package on login otherwise it still uses the old code. >> >> I rebuild the cswutils package and uploaded it. Dago (or someone with root access), can you install it ? >> It's also in my build directory. > > Updated to 1.21338,REV=2013.06.17 on login. thanks, that fixed the issue. -slow From maciej at opencsw.org Sun Jun 23 11:18:50 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 23 Jun 2013 10:18:50 +0100 Subject: [csw-maintainers] Self-interview after leaving the NetBSD board Message-ID: This is a blog entry from a guy I used to know, involved in the NetBSD project. http://julipedia.meroh.net/2013/06/self-interview-after-leaving-netbsd.html The last time I spoke to him some years ago, he was working on a system checking / diagnostic utility. I never had a chance to talk to him about being a board member, but he recently wrote a blog post about it. I liked the part about taking risk. Food for thought. From pfelecan at opencsw.org Sun Jun 23 19:48:58 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sun, 23 Jun 2013 19:48:58 +0200 Subject: [csw-maintainers] Self-interview after leaving the NetBSD board In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sun, 23 Jun 2013 10:18:50 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > I liked the part about taking risk. Do you think that there is a parallel that we can discuss? -- Peter From dam at opencsw.org Sun Jun 23 22:47:52 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Sun, 23 Jun 2013 22:47:52 +0200 Subject: [csw-maintainers] Self-interview after leaving the NetBSD board In-Reply-To: References: Message-ID: <181609B1-3FDB-465D-9671-9A9B468902F3@opencsw.org> Hi folks, Am 23.06.2013 um 11:18 schrieb Maciej (Matchek) Blizi?ski: > This is a blog entry from a guy I used to know, involved in the NetBSD project. > > http://julipedia.meroh.net/2013/06/self-interview-after-leaving-netbsd.html > > The last time I spoke to him some years ago, he was working on a > system checking / diagnostic utility. I never had a chance to talk to > him about being a board member, but he recently wrote a blog post > about it. > > I liked the part about taking risk. Woah, that was kind of Deja Vu when I read about the poll for changing the version control system. Kind of frightening. Are we already there? The time issue is a strong one - you spent that much time as the project is worth for you. I do still feel strong about the project, but especially the visionary things usually are put down in favor of quickly done necessities. Maybe we can come up with something "visionary" where more people are working on, so you have mutual encouragement and gratification. Maybe a topic which is already long-standing on the agenda. I guess the automatic source builds for BTS could be something like that. It would need work in several areas, like GAR, checkpkg and recipes and would be doable, if at all, only as joint effort. Maybe other maintainers have other (more?) visions? Best regards -- Dago From laurent at opencsw.org Thu Jun 27 13:48:47 2013 From: laurent at opencsw.org (Laurent Blume) Date: Thu, 27 Jun 2013 13:48:47 +0200 Subject: [csw-maintainers] MySQL 5.6 binaries available Message-ID: <51CC269F.9060100@opencsw.org> Hello people, I've pushed packages of MySQL 5.6.12 to experimental: http://buildfarm.opencsw.org/experimental.html#mysql-5.6 3 points of interest: * drop of Solaris 9 support * use of stlport4 * libmysql name collision Details: It's built with a similar recipe to 5.5, with some adjustments where needed, and still following cues from the offical build. One major difference is that the build system now defaults to using stlport4 on Solaris. What that directly implies: I dropped Solaris 9 support, because CSWstlport is not available there at the time. I've not looked if it's possible to bring it, so anybody still interested should definitely speak up. That use of stlport also could imply binary incompatibility with builds of C++ code not also using it (both GCC or Studio). At this point, the only thing directly depending on libstlport.so.1 I've noticed are plugin/validate_password.so and the execs in bin/ and sbin/, so I'm reasonably certain it should not be a problem for libmysql things. At this point, it's still added by the mysql_config script when building against it, so keep that in mind. I will probably remove it in future builds. Another potential issue is that libmysqlclient*.so have the same name as with 5.5. That's one main reason I've not pushed it to unstable. I'm unsure how to handle the transition (I want to keep libmysql from 5.5 for the time being, at least until I've made sure the ones from 5.6 are really compatible). Cheers, Laurent From grzemba at contac-dt.de Thu Jun 27 15:53:35 2013 From: grzemba at contac-dt.de (Carsten Grzemba) Date: Thu, 27 Jun 2013 15:53:35 +0200 Subject: [csw-maintainers] Know problem: link error:symbol belongs to unavailable version /lib/libc.so (SUNW_1.22.7) In-Reply-To: References: Message-ID: Knows somebody this problem: libtool: link: /opt/csw/bin/gcc-4.8 -shared -Wl,-z -Wl,text -Wl,-h -Wl,libjson.so.0 -o .libs/libjson.so.0.1.0 .libs/arraylist.o .libs/debug.o .libs/json_object.o .libs/json_tokener.o .libs/json_util.o .libs/linkhash.o .libs/printbuf.o -L/opt/csw/lib -m32 -march=pentiumpro -m32 -march=pentiumpro Undefined first referenced ?symbol in file vasprintf .libs/printbuf.o (symbol belongs to unavailable version /lib/libc.so (SUNW_1.22.7)) ld: fatal: symbol referencing errors. No output written to .libs/libjson.so.0.1.0 collect2: error: ld returned 1 exit status And the solution? -------------- next part -------------- An HTML attachment was scrubbed... URL: From grzemba at contac-dt.de Thu Jun 27 16:02:35 2013 From: grzemba at contac-dt.de (Carsten Grzemba) Date: Thu, 27 Jun 2013 16:02:35 +0200 Subject: [csw-maintainers] Know problem: link error:symbol belongs to unavailable version /lib/libc.so (SUNW ... In-Reply-To: References: Message-ID: is the reason, that we use old version 1.22.2 and the func vasprintf is not available in version 1.22.2? So how is the recommended fix for this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jh at opencsw.org Thu Jun 27 16:25:45 2013 From: jh at opencsw.org (Jan Holzhueter) Date: Thu, 27 Jun 2013 16:25:45 +0200 Subject: [csw-maintainers] Know problem: link error:symbol belongs to unavailable version /lib/libc.so (SUNW ... In-Reply-To: References: Message-ID: <51CC4B69.9030206@opencsw.org> Hi, Am 27.06.13 16:02, schrieb Carsten Grzemba: > is the reason, that we use old version 1.22.2 and the func vasprintf is > not available in version 1.22.2? yes correct. The autotools or whatever think it is there. But the linker do to use of mapfiles does not allow this. > So how is the recommended fix for this? Not sure if this function used to be definded in an other lib before. Will try to look for it. If not cheat your auto* or whatever checks to fail on the vasprintf test. Greetings Jan From jh at opencsw.org Fri Jun 28 07:36:51 2013 From: jh at opencsw.org (Jan Holzhueter) Date: Fri, 28 Jun 2013 07:36:51 +0200 Subject: [csw-maintainers] Signing broken again Message-ID: <51CD20F3.8060907@opencsw.org> Hi, who ever has the key please fix :) Thx Greetings Jan From maciej at opencsw.org Fri Jun 28 10:51:27 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 28 Jun 2013 09:51:27 +0100 Subject: [csw-maintainers] Signing broken again In-Reply-To: <51CD20F3.8060907@opencsw.org> References: <51CD20F3.8060907@opencsw.org> Message-ID: 2013/6/28 Jan Holzhueter : > Hi, > who ever has the key please fix :) We used to get email notifications. Are they broken? Maciej From jh at opencsw.org Fri Jun 28 15:07:18 2013 From: jh at opencsw.org (Jan Holzhueter) Date: Fri, 28 Jun 2013 15:07:18 +0200 Subject: [csw-maintainers] new check needed Message-ID: <51CD8A86.1060402@opencsw.org> Hi, as it was hit today that linking against a lib which uses sltport explodes that whole stuff. It would be nice if someone from the checkpkg hackers could add a check for linking against stlport and fail in this case. Greetings Jan From maciej at opencsw.org Fri Jun 28 15:16:09 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 28 Jun 2013 14:16:09 +0100 Subject: [csw-maintainers] new check needed In-Reply-To: <51CD8A86.1060402@opencsw.org> References: <51CD8A86.1060402@opencsw.org> Message-ID: 2013/6/28 Jan Holzhueter : > as it was hit today that linking against a lib which uses sltport > explodes that whole stuff. It would be nice if someone from the checkpkg > hackers could add a check for linking against stlport and fail in this case. What would a (natural language) formulation of this check? Something like "the check should fire when (...)". It must be something based on available data - if the data aren't currently available, they'll have to be expanded. To see the available data, find the package's page: http://buildfarm.opencsw.org/pkgdb/srv4// At the bottom of the page, there's a command that'll show you the available metadata. When we have a good formulation, writing the check is easy. Maciej From jh at opencsw.org Fri Jun 28 15:28:00 2013 From: jh at opencsw.org (Jan Holzhueter) Date: Fri, 28 Jun 2013 15:28:00 +0200 Subject: [csw-maintainers] new check needed In-Reply-To: References: <51CD8A86.1060402@opencsw.org> Message-ID: <51CD8F60.70505@opencsw.org> Am 28.06.13 15:16, schrieb Maciej (Matchek) Blizi?ski: > 2013/6/28 Jan Holzhueter : >> as it was hit today that linking against a lib which uses sltport >> explodes that whole stuff. It would be nice if someone from the checkpkg >> hackers could add a check for linking against stlport and fail in this case. > > What would a (natural language) formulation of this check? Something > like "the check should fire when (...)". > The check shoud fire when a shared lib is linked against libstlport.so.1 (CSWlibstlport1) > It must be something based on available data - if the data aren't > currently available, they'll have to be expanded. To see the available > data, find the package's page: > http://buildfarm.opencsw.org/pkgdb/srv4// e.g. http://www.opencsw.org/packages/CSWexempi/ http://buildfarm.opencsw.org/pkgdb/srv4/fc845ce463b808c243425b513d06a6a7/ "needed sonames": [ ... "libstlport.so.1", ... From laurent at opencsw.org Fri Jun 28 15:52:30 2013 From: laurent at opencsw.org (Laurent Blume) Date: Fri, 28 Jun 2013 15:52:30 +0200 Subject: [csw-maintainers] new check needed In-Reply-To: <51CD8F60.70505@opencsw.org> References: <51CD8A86.1060402@opencsw.org> <51CD8F60.70505@opencsw.org> Message-ID: <51CD951E.8070804@opencsw.org> On 28/06/13 15:28, Jan Holzhueter wrote: > The check shoud fire when a shared lib is linked against libstlport.so.1 > (CSWlibstlport1) Thinking about it, should there be a warning for shared modules that are not libs? Case in point: nss_winbind.so.1 in Samba, which is supposed to be symlinked in /usr/lib/nss. (I know it doesn't apply there, it's just an example, and that file is not even named like that yet). There are some of those in MySQL, but I don't believe they can be used by something else. Laurent From laurent at opencsw.org Sun Jun 30 17:15:46 2013 From: laurent at opencsw.org (Laurent Blume) Date: Sun, 30 Jun 2013 17:15:46 +0200 Subject: [csw-maintainers] Adding files from /usr/lib/64/ won't work Message-ID: <51D04BA2.3070503@opencsw.org> Hello all, I['m trying to make a packages adding a few symlinks in /usr/lib so that the NSS bits of SAmba can be used. I had hoped I could just present a fully ready experimental package for you people to look at, but I'm hitting a snag, and I can't seem to get around it: whatever I tried, the 64 bit part never gets added to the package. Here's what's in the recipe (I've tried variants): PKGFILES_CSWsamba-nss-system-links += /usr/lib/nss_winbind_csw.so.1 PKGFILES_CSWsamba-nss-system-links += /usr/lib/nss_wins_csw.so.1 PKGFILES_CSWsamba-nss-system-links += /usr/lib/amd64/nss_winbind_csw.so.1 PKGFILES_CSWsamba-nss-system-links += /usr/lib/amd64/nss_wins_csw.so.1 PKGFILES_CSWsamba-nss-system-links += /usr/lib/sparcv9/nss_winbind_csw.so.1 PKGFILES_CSWsamba-nss-system-links += /usr/lib/sparcv9/nss_wins_csw.so.1 The symlinks have been recated: Jun 30 16:58 install-isa-pentium_pro/usr/lib/nss_winbind_csw.so.1 -> ../../opt/csw/lib/nss_winbind.so.1 Jun 30 16:58 install-isa-pentium_pro/usr/lib/nss_wins_csw.so.1 -> ../../opt/csw/lib/nss_wins.so.1 install-isa-amd64/usr/lib/amd64: lrwxrwxrwx 1 laurent staff 40 Jun 30 17:04 nss_winbind_csw.so.1 -> ../../../opt/csw/lib/64/nss_winbind.so.1 lrwxrwxrwx 1 laurent staff 37 Jun 30 17:04 nss_wins_csw.so.1 -> ../../../opt/csw/lib/64/nss_wins.so.1 But I only ever get the 32 bit ones in the prototype: d none /opt/csw/share/doc/samba_nss_system_links 0755 root bin f none /opt/csw/share/doc/samba_nss_system_links/license 0644 root bin d none /usr/lib 0755 root bin s none /usr/lib/nss_winbind_csw.so.1=../../opt/csw/lib/nss_winbind.so.1 s none /usr/lib/nss_wins_csw.so.1=../../opt/csw/lib/nss_wins.so.1 i checkpkg_override=checkpkg_override.CSWsamba-nss-system-links Any idea what I'm missing there? It's quite annoying. Thanks, Laurent