New submit-request #7063 for openSUSE:Factory:Contrib/polyml
submit-request from: radomir_cernoch home:radomir_cernoch/polyml -> openSUSE:Factory:Contrib/polyml https://build.opensuse.org/package/show?package=polyml&project=home:radomir_cernoch https://build.opensuse.org/package/show?package=polyml&project=openSUSE:Factory:Contrib Description: undefined Source revision md5: 4318635eb9f309016f43d1b8b75745d2 To REVIEW against the previous version: osc submitreq show --diff 7063 To ACCEPT the request: osc submitreq accept 7063 --message="reviewed ok." To DECLINE the request: osc submitreq decline 7063 --message="declined for reason xyz (see ... for background / policy / ...)." To REVOKE the request: osc submitreq revoke 7063 --message="retracted because ..., sorry / thx / see better version ..." -- Hermes messaging (http://hermes.opensuse.org) openSUSE Build Service (https://build.opensuse.org/) Collaboration: http://en.opensuse.org/Build_Service/Collaboration -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
On Wed, Feb 18, 2009 at 4:18 AM,
submit-request from: radomir_cernoch
home:radomir_cernoch/polyml -> openSUSE:Factory:Contrib/polyml
https://build.opensuse.org/package/show?package=polyml&project=home:radomir_cernoch https://build.opensuse.org/package/show?package=polyml&project=openSUSE:Factory:Contrib
Should the user be warned about "executable-stack" and "no-dependency-on" messages from rpmlint?
Description: undefined
Source revision md5: 4318635eb9f309016f43d1b8b75745d2
To REVIEW against the previous version: osc submitreq show --diff 7063
To ACCEPT the request: osc submitreq accept 7063 --message="reviewed ok."
To DECLINE the request: osc submitreq decline 7063 --message="declined for reason xyz (see ... for background / policy / ...)."
To REVOKE the request: osc submitreq revoke 7063 --message="retracted because ..., sorry / thx / see better version ..."
-- Hermes messaging (http://hermes.opensuse.org) openSUSE Build Service (https://build.opensuse.org/) Collaboration: http://en.opensuse.org/Build_Service/Collaboration -- [ ]'s Aledr - Alexandre "OpenSource Solutions for SmallBusiness Problems" -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
On Wed, Feb 18, 2009 at 07:40:00AM -0300, aledr wrote:
On Wed, Feb 18, 2009 at 4:18 AM,
wrote: submit-request from: radomir_cernoch
home:radomir_cernoch/polyml -> openSUSE:Factory:Contrib/polyml
https://build.opensuse.org/package/show?package=polyml&project=home:radomir_cernoch https://build.opensuse.org/package/show?package=polyml&project=openSUSE:Factory:Contrib
Should the user be warned about "executable-stack" and "no-dependency-on" messages from rpmlint?
The no-dependency-on and no-debuginfo warnings could be fixed by following patch: Index: polyml.spec =================================================================== --- polyml.spec (revision 2) +++ polyml.spec (working copy) @@ -33,7 +33,7 @@ %package devel Summary: Development files for %{name} Group: Development/Languages/C and C++ -Requires: c++_compiler glibc-devel libstdc++43-devel +Requires: c++_compiler glibc-devel libstdc++43-devel polyml = %{version} %description devel Poly/ML is a full implementation of Standard ML available as open-source. The package %{name}-devel contains files needed for development. @@ -42,7 +42,7 @@ %setup -n %{name}.%{version} %build -./configure --prefix=/usr --libdir=%{_libdir} +%configure make CFLAGS='%{optflags}' %install ================================= But I'm not sure how about the exectuable-stack (if it has to be fixed). Perhaps Marcus knows... -- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
On Wed, Feb 18, 2009 at 12:21:01PM +0100, Petr Uzel wrote:
On Wed, Feb 18, 2009 at 07:40:00AM -0300, aledr wrote:
On Wed, Feb 18, 2009 at 4:18 AM,
wrote: submit-request from: radomir_cernoch
home:radomir_cernoch/polyml -> openSUSE:Factory:Contrib/polyml
https://build.opensuse.org/package/show?package=polyml&project=home:radomir_cernoch https://build.opensuse.org/package/show?package=polyml&project=openSUSE:Factory:Contrib
Should the user be warned about "executable-stack" and "no-dependency-on" messages from rpmlint?
The no-dependency-on and no-debuginfo warnings could be fixed by following patch:
Index: polyml.spec =================================================================== --- polyml.spec (revision 2) +++ polyml.spec (working copy) @@ -33,7 +33,7 @@ %package devel Summary: Development files for %{name} Group: Development/Languages/C and C++ -Requires: c++_compiler glibc-devel libstdc++43-devel +Requires: c++_compiler glibc-devel libstdc++43-devel polyml = %{version} %description devel Poly/ML is a full implementation of Standard ML available as open-source. The package %{name}-devel contains files needed for development. @@ -42,7 +42,7 @@ %setup -n %{name}.%{version}
%build -./configure --prefix=/usr --libdir=%{_libdir} +%configure make CFLAGS='%{optflags}'
%install
=================================
But I'm not sure how about the exectuable-stack (if it has to be fixed).
Perhaps Marcus knows...
It should be fixed. Likely it has .s or .S files without a note .GNU.stack entry or so. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Right, there are two such files, none of which contains anything like
".GNU.stack":
./libpolyml/sparc_assembly.S
./libpolyml/power_assembly.S
However, I do not think they should affect i586 architecture...
Then I have tried to follow
http://www.gentoo.org/proj/en/hardened/gnu-stack.xml
and added "-Wl,-z,noexecstack" parameters to the linker (part 7 of the
tutorial). It seems to work, but they do not advice to use such
solutions. Do you think this can be used anyway?
Lastly thanks for the patch, it made my life easier. Nevertheless, the
"no-debuginfo" warnings did not disappear. Am I doing something wrong?
Radomir Cernoch
2009/2/18 Marcus Meissner
On Wed, Feb 18, 2009 at 12:21:01PM +0100, Petr Uzel wrote:
On Wed, Feb 18, 2009 at 07:40:00AM -0300, aledr wrote:
On Wed, Feb 18, 2009 at 4:18 AM,
wrote: submit-request from: radomir_cernoch
home:radomir_cernoch/polyml -> openSUSE:Factory:Contrib/polyml
https://build.opensuse.org/package/show?package=polyml&project=home:radomir_cernoch https://build.opensuse.org/package/show?package=polyml&project=openSUSE:Factory:Contrib
Should the user be warned about "executable-stack" and "no-dependency-on" messages from rpmlint?
The no-dependency-on and no-debuginfo warnings could be fixed by following patch:
Index: polyml.spec =================================================================== --- polyml.spec (revision 2) +++ polyml.spec (working copy) @@ -33,7 +33,7 @@ %package devel Summary: Development files for %{name} Group: Development/Languages/C and C++ -Requires: c++_compiler glibc-devel libstdc++43-devel +Requires: c++_compiler glibc-devel libstdc++43-devel polyml = %{version} %description devel Poly/ML is a full implementation of Standard ML available as open-source. The package %{name}-devel contains files needed for development. @@ -42,7 +42,7 @@ %setup -n %{name}.%{version}
%build -./configure --prefix=/usr --libdir=%{_libdir} +%configure make CFLAGS='%{optflags}'
%install
=================================
But I'm not sure how about the exectuable-stack (if it has to be fixed).
Perhaps Marcus knows...
It should be fixed.
Likely it has .s or .S files without a note .GNU.stack entry or so.
Ciao, Marcus
-- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
On Wed, Feb 18, 2009 at 04:37:02PM +0000, Radomír Černoch wrote:
Right, there are two such files, none of which contains anything like ".GNU.stack": ./libpolyml/sparc_assembly.S ./libpolyml/power_assembly.S However, I do not think they should affect i586 architecture...
Then I have tried to follow http://www.gentoo.org/proj/en/hardened/gnu-stack.xml and added "-Wl,-z,noexecstack" parameters to the linker (part 7 of the tutorial). It seems to work, but they do not advice to use such solutions. Do you think this can be used anyway?
The question is why it did not work out of the box, like it should Does it passs -Wl,-z,execstack or some stupid thing? Or does it call the "ld" program manually? Your fix is however good.
Lastly thanks for the patch, it made my life easier. Nevertheless, the "no-debuginfo" warnings did not disappear. Am I doing something wrong?
This means you stripped the binary to early. Perhaps similar to issue above, add -g to the linker flags. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Hmm, does not help. Even with '-g', the
'static-library-without-debuginfo' and 'unstripped-binary-or-object'
errors occur. Do you have any other idea? Not being very familiar with
auto* tools, I am getting desperate... ;-)
Radomir Cernoch
2009/2/18 Marcus Meissner
On Wed, Feb 18, 2009 at 04:37:02PM +0000, Radomír Černoch wrote:
Right, there are two such files, none of which contains anything like ".GNU.stack": ./libpolyml/sparc_assembly.S ./libpolyml/power_assembly.S However, I do not think they should affect i586 architecture...
Then I have tried to follow http://www.gentoo.org/proj/en/hardened/gnu-stack.xml and added "-Wl,-z,noexecstack" parameters to the linker (part 7 of the tutorial). It seems to work, but they do not advice to use such solutions. Do you think this can be used anyway?
The question is why it did not work out of the box, like it should
Does it passs -Wl,-z,execstack or some stupid thing? Or does it call the "ld" program manually?
Your fix is however good.
Lastly thanks for the patch, it made my life easier. Nevertheless, the "no-debuginfo" warnings did not disappear. Am I doing something wrong?
This means you stripped the binary to early. Perhaps similar to issue above, add -g to the linker flags.
Ciao, Marcus -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
On Wed, Feb 18, 2009 at 05:30:29PM +0000, Radomír Černoch wrote:
Hmm, does not help. Even with '-g', the 'static-library-without-debuginfo' and 'unstripped-binary-or-object' errors occur. Do you have any other idea? Not being very familiar with auto* tools, I am getting desperate... ;-)
Hi Radomir, what if you pass '--debug' option to 'osc build' - does that help with the unstripped-binary-or-object ? Concerning the static library, can't that just be removed as the static libraries are almost useless anyway? -- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Hi!
thanks, this looks promising! Passing '--debug' solves _both_
warnings. Does it mean the problem is solved?
Radomir Cernoch
2009/2/18 Petr Uzel
On Wed, Feb 18, 2009 at 05:30:29PM +0000, Radomír Černoch wrote:
Hmm, does not help. Even with '-g', the 'static-library-without-debuginfo' and 'unstripped-binary-or-object' errors occur. Do you have any other idea? Not being very familiar with auto* tools, I am getting desperate... ;-)
Hi Radomir,
what if you pass '--debug' option to 'osc build' - does that help with the unstripped-binary-or-object ?
Concerning the static library, can't that just be removed as the static libraries are almost useless anyway?
-- Best regards / s pozdravem
Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz
-- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
On Wed, Feb 18, 2009 at 06:35:04PM +0000, Radomír Černoch wrote:
Hi!
thanks, this looks promising! Passing '--debug' solves _both_ warnings. Does it mean the problem is solved?
Yes, --debug is passed by default for packages built in Contrib. -- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Great, thanks once more, a new submitreq is already created. I am
spellbound by your skills, you must be magicians!
Radomir Cernoch
2009/2/18 Petr Uzel
On Wed, Feb 18, 2009 at 06:35:04PM +0000, Radomír Černoch wrote:
Hi!
thanks, this looks promising! Passing '--debug' solves _both_ warnings. Does it mean the problem is solved?
Yes, --debug is passed by default for packages built in Contrib.
-- Best regards / s pozdravem
Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz
-- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
Hi again! On Wed, Feb 18, 2009 at 07:03:08PM +0000, Radomír Černoch wrote:
Great, thanks once more, a new submitreq is already created.
Well, I've accepted your previous request (#7097) already. If I'm right then your new request (#7102) just adds -g to LDFLAGS, but this is superfluous - using %configure takes care of this (run 'rpm --eval %configure' to see what it actually does). So if I'm correct, please revoke #7102. Thanks for contributing! -- Best regards / s pozdravem Petr Uzel, Packages maintainer --------------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: puzel@suse.cz Lihovarská 1060/12 tel: +420 284 028 964 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz -- To unsubscribe, e-mail: opensuse-contrib+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-contrib+help@opensuse.org
participants (5)
-
aledr
-
hermes@opensuse.org
-
Marcus Meissner
-
Petr Uzel
-
Radomír Černoch