We are in the process to prepare initial GCC 7 packages for Factory
(without yet switching the default build compiler). There is a staging
set up switching the default build compiler to GCC 7 at
openSUSE:Factory:Staging:Gcc7. There are still numerous build failures
due to (in)valid C++ code being rejected more pedantically or new warnings
tripping over -Werror used in package builds. So this is a first heads-up
for you in case you want to check the status of your package (or you
received a bugzilla saying it won't build with GCC 7).
One important thing with GCC 7 is that it no longer provides support for
the Java language. For a transitional period "GCC Java" will continued
to be provided by GCC 6 but that should be considered legacy. See the
packaging documentation on how to build Java packages and consider
dropping support for the GCJ Java "flavor" in other packages.
Any help with reducing the build fails in openSUSE:Factory:Staging:Gcc7 is
appreciated.
Thanks,
Richard.
--
Richard Biener <rguenther(a)suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
What is the best way to check if a rpm macro is defined?
Many packages rely on macros which are provided by additional
development packages. Thats fine during package build, but bad for
bugfixing because one should not have each and every random devel
package installed. Its usually enough to have a minimal installation
with osc/quilt/vim to adjust packages, 'osc build' will install the
required packages in the chroot.
The way quilt setup *.spec works is that it expands all macros, and
fails if they are not found. But processing just the %prep section
usually requires no macros.
Simple macros like kde4_runtime_requires can be written like
%{?kde4_runtime_requires} to avoid the error. But this seems to fail for
complex macros like suse_kernel_module_package. I tried a few
combinations like %{?suse_kernel_module_package} or
%if '%{?suse_kernel_module_package}' != '', but each one fails.
How can I do quilt setup a KMP package if kernel-devel is not installed?
Olaf
Hi,
I have a package that at some stage replaces a directory with a symlink.
RPM does not like that. See
https://bugzilla.opensuse.org/show_bug.cgi?id=1022710
After some searching I have come up with the following solution, adding
the following lines to the spec file:
+%pre
+# boo#1022710: fix upgrade from 13.2 to Leap
+# liberation has become a symlink in Leap and RPM does not like to
overwrite a directory with a symlink
+if [ -d %{_datadir}/%{name}/fonts/liberation ] && \
+ ! [ -L %{_datadir}/%{name}/fonts/liberation ]; then
+ rm -rf %{_datadir}/%{name}/fonts/liberation
+ ln -s %{_datadir}/fonts/truetype/ %{_datadir}/%{name}/fonts/liberation
+fi
+
I have already prepared a SR:
https://build.opensuse.org/request/show/453602
Before accepting that SR I would like to ask you: is this solution
correct? If not, what should I do then?
Thanks,
Cor
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Hi packagers,
I am packaging docker and we have this problem that if a user runs an
unattended update, docker gets updated and so restarted. However, this
is causing downtime issues on their services which are inside containers.
I know there is the "--skip-interactive" flag for zypper ...
So my question is. Should we mark docker as "interactive" and if so, how
do we do that?
Should we not restart docker when installing? I think you should, but am
I wrong?
Are there other packages with similar problems? mariadb?
thanks in advance
jordi
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Hi, is there a python tool to find dependencies of a python script in a
package?
Thanks
Dave P
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org
Hi, I found a package that had been converted from wxWidgets-2.8 which
needed manual requires, to wxWidgets3 which works with rpm automatic
find requires and the manual requires macro failed but the package still
built with an empty requires. see: openSUSE:Leap:42.2 wxhexeditor.
IMHO there should at least be an rpmlint warning for a binary package
that builds with no requires, this is possibly the cause of
https://bugzilla.opensuse.org/show_bug.cgi?id=1022460 .
I wonder if there are anymore packages out there that also have this
problem, does anyone know how to search for them?
Thanks
Dave P (user plater)
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner(a)opensuse.org