[Fedora-i18n-bugs] [Bug 1278676] rpmbuild does not work with optflags in f23
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1278676
--- Comment #5 from Ľuboš Kardoš <lkardos(a)redhat.com> ---
(In reply to fujiwara from comment #4)
> (In reply to Ľuboš Kardoš from comment #3)
> > You can do this with '--define "optflags `rpm -E %{optflags}` -g"'. If
>
> The suggestion does not help my case since the default optflags includes
> "-O2".
That's not problem, you can override it with another option -O. From gdb man:
If you use multiple -O options, with or without level numbers, the last such
option is the one that is effective.
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years, 3 months
[Fedora-i18n-bugs] [Bug 1278676] rpmbuild does not work with optflags in f23
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1278676
--- Comment #4 from fujiwara <tfujiwar(a)redhat.com> ---
(In reply to Ľuboš Kardoš from comment #3)
> You can do this with '--define "optflags `rpm -E %{optflags}` -g"'. If
The suggestion does not help my case since the default optflags includes "-O2".
> > Why rpmbuild runs LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' forcibly?
>
> Hardening all fedora packages [1] is a change which was announced, discussed
> and approved. Rpm team doesn't initiated nor performed this change. I am not
> entitled to revert this change. You can discuss your problem with owner of
> this change [1].
OK, thanks.
>
> Because this is not a bug in rpm. I am closing this as not a bug.
>
> [1] https://fedoraproject.org//wiki/Changes/Harden_All_Packages
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years, 3 months
[Fedora-i18n-bugs] [Bug 1211040] vino segfaults on Wayland Gnome
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1211040
--- Comment #6 from Ben Liblit <liblit(a)acm.org> ---
Another user experienced a similar problem:
Had just started a "GNOME on Wayland" session.
reporter: libreport-2.6.3
backtrace_rating: 4
cmdline: /usr/libexec/vino-server
crash_function: _XGetRequest
executable: /usr/libexec/vino-server
global_pid: 2624
kernel: 4.2.8-300.fc23.x86_64
package: vino-3.18.1-1.fc23
reason: vino-server killed by SIGSEGV
runlevel: N 5
type: CCpp
uid: 29364
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years, 3 months
[Fedora-i18n-bugs] [Bug 1278049] New: Default search directories do not include the location of TeX Live fonts
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1278049
Bug ID: 1278049
Summary: Default search directories do not include the location
of TeX Live fonts
Product: Fedora
Version: 23
Component: fontconfig
Assignee: tagoh(a)redhat.com
Reporter: dchristidis(a)mykolab.com
QA Contact: extras-qa(a)fedoraproject.org
CC: fonts-bugs(a)lists.fedoraproject.org,
i18n-bugs(a)lists.fedoraproject.org, pnemade(a)redhat.com,
tagoh(a)redhat.com
Description of problem:
Beginning with Fedora 23, the OTF files for Computer Modern Unicode are
included in texlive-cm-unicode. However, fontconfig is not configured to search
the install location by default. Thus, the user is required to perform
additional steps to use that font in TeX or other applications.
Version-Release number of selected component (if applicable):
fontconfig-2.11.94-4.fc23.x86_64
texlive-cm-unicode-svn19445.0.7.0-14.fc23.noarch
How reproducible:
Always
Steps to Reproduce:
1. dnf install texlive-cm-unicode
2. fc-list | grep CMU
Actual results:
fontconfig does not locate the recently installed fonts.
Expected results:
After installation, the fonts should be available for use without further
actions.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ya09ZwpVY1&a=cc_unsubscribe
8 years, 3 months
[Fedora-i18n-bugs] [Bug 1278676] rpmbuild does not work with optflags in f23
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1278676
Ľuboš Kardoš <lkardos(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CLOSED
Resolution|--- |NOTABUG
Last Closed| |2016-01-22 06:47:16
--- Comment #3 from Ľuboš Kardoš <lkardos(a)redhat.com> ---
Yes, the root cause of this error is that you have
'-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' in your LDFLAGS and you don't
have its counterpart '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' in CFLAGS
because you completely rewrote optflags with '--define "optflags -g"'.
Maybe it would be better just to append to optflags instead of rewriting them.
You can do this with '--define "optflags `rpm -E %{optflags}` -g"'. If you
really want to rewrite optflags then you have to modify accordingly also
%{__global_ldflags}. But I don't recommend completely rewrote optflags because
then you will create a package which is against fedora rules.
> Why rpmbuild runs LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' forcibly?
Hardening all fedora packages [1] is a change which was announced, discussed
and approved. Rpm team doesn't initiated nor performed this change. I am not
entitled to revert this change. You can discuss your problem with owner of this
change [1].
Because this is not a bug in rpm. I am closing this as not a bug.
[1] https://fedoraproject.org//wiki/Changes/Harden_All_Packages
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years, 3 months
[Fedora-i18n-bugs] [Bug 1278676] rpmbuild does not work with optflags in f23
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1278676
fujiwara <tfujiwar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|ibus-anthy |rpm
Assignee|tfujiwar(a)redhat.com |packaging-team-maint@redhat
| |.com
--- Comment #2 from fujiwara <tfujiwar(a)redhat.com> ---
I think the package side has not changed anything.
This problem does not happen in Fedora 22 or older.
This problem happens in Fedora 23 or later.
If configure.ac includes "AC_PROG_CC", this problem happens:
- The tarball only includes configure.ac
% zcat ../SOURCES/a-1.5.8.tar.gz | tar tfv -
drwxr-xr-x root/root 0 2016-01-22 16:22 a-1.5.8/
-rw-r--r-- root/root 1207 2016-01-22 16:21 a-1.5.8/configure.ac
- configure.ac has only "AC_PROG_CC" and "AC_INIT".
% cat ../BUILD/a-1.5.8/configure.ac
AC_INIT([ibus-anthy], [ibus_anthy_version],
[https://github.com/ibus/ibus-anthy/issues],[ibus-anthy])
AC_PROG_CC
- a.spec runs only "autoconf" and "%configure".
Name: a
Version: 1.5.8
%prep
%setup -q
%build
autoreconf
%configure
Then this problem always happen:
% rpmbuild -bb --define "optflags -g" a.spec
checking whether we are cross compiling... configure: error: in
`/root/rpmbuild/BUILD/a-1.5.8':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
error: Bad exit status from /var/tmp/rpm-tmp.969HDg (%build)
Why rpmbuild runs LDFLAGS='-Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld' forcibly?
The default CFLAGS is no problem:
CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64
-mtune=generic'
But If I change optflags, the problem happens.
I have no idea to fix this in each package side.
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years, 3 months
[Fedora-i18n-bugs] [Bug 1278676] rpmbuild does not work with optflags in f23
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1278676
Ľuboš Kardoš <lkardos(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |shawn.p.huang(a)gmail.com,
| |tagoh(a)redhat.com,
| |tfujiwar(a)redhat.com
Component|rpm |ibus-anthy
Assignee|packaging-team-maint@redhat |tfujiwar(a)redhat.com
|.com |
--- Comment #1 from Ľuboš Kardoš <lkardos(a)redhat.com> ---
The errors are from a configure script. rpmbuild doesn't care about optflags.
They are just passed to a configure script. A configure script is part of a
package and not part of rpmbuild. So I am reassigning this to ibus-anthy
package.
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years, 3 months