Can I rely on having UTF-8-locale during koji-build?
by Björn Esser
Hello list!
Can I rely on having "en_US.UTF-8" inside a koji-build?
Or in other words:
Is it allowed to do this in spec?
%build
export LC_CTYPE="en_US.UTF-8"
...
Do I need to have BuildRequires on something providing UTF-8-locales?
Cheers,
Björn
9 years, 11 months
[HEADS UP] libtool + %global _hardened_build 1 = no full hardening
by Björn Esser
Hello list!
As discussed a few days ago [1] there's a _severe_ bug in autotool's
libtool known for ages [2] preventing libs not to be build fully
hardened (partial RELRO), even if you have included `%global
_hardened_build 1` into you rpm-spec.
There was some LDFLAGS-hack [3] mentioned by me during review of
bz# 977446 nbdkit, which turned out to block proper exporting of LDFLAGS
during `%configure`-invocation. So I did some experiments how to get a
proper working and future aware solution for this.
I recommend EVERYBODY, who maintains pkgs meeting the above criteria
(libtool + hardening) to re-check their build pkg's proper hardening
invoking `hardening-check --color --verbose $path_to_lib` and if it's
report reveals
...
Read-only relocations: yes
---> Immediate binding: no, not found! <---
to apply the following lines immediatly AFTER invoking `%configure` to
their affected pkg's spec:
# dirty hack to force immediate binding with hardenend build having
# autocrap's libtool pass the need gcc-specs to linker.
sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool
This simple (but effective) hack makes sure ALL hardening-relevant flags
are passed to the linker.
I just filed a ticket for FESCo-meeting [4] to have this workaround
included in `%configure`-macro provided by rpm-package.
If you are unsure whether your package is affected this feel free to ask
me and please provide a build.log, so I can check.
Cheers,
Björn
[1]https://lists.fedoraproject.org/pipermail/devel/2013-June/184429.html
[2]http://lists.gnu.org/archive/html/bug-libtool/2005-10/msg00003.html
[3]https://bugzilla.redhat.com/show_bug.cgi?id=977446#c13
[4]https://fedorahosted.org/fesco/ticket/1132
9 years, 11 months
[HEADS UP] libtool + %global _hardened_build 1 = no full hardening
by Björn Esser
Hello list!
As discussed a few days ago [1] there's a _severe_ bug in autotool's
libtool known for ages [2] preventing libs not to be build fully
hardened (partial RELRO), even if you have included `%global
_hardened_build 1` into you rpm-spec.
There was some LDFLAGS-hack [3] mentioned by me during review of
bz# 977446 nbdkit, which turned out to block proper exporting of LDFLAGS
during `%configure`-invocation. So I did some experiments how to get a
proper working and future aware solution for this.
I recommend EVERYBODY, who maintains pkgs meeting the above criteria
(libtool + hardening) to re-check their build pkg's proper hardening
invoking `hardening-check --color --verbose $path_to_lib` and if it's
report reveals
...
Read-only relocations: yes
---> Immediate binding: no, not found! <---
to apply the following lines immediatly AFTER invoking `%configure` to
their affected pkg's spec:
# dirty hack to force immediate binding with hardenend build having
# autocrap's libtool pass the need gcc-specs to linker.
sed -i -e 's! \\\$compiler_flags !&\\\$CFLAGS \\\$LDFLAGS !' libtool
This simple (but effective) hack makes sure ALL hardening-relevant flags
are passed to the linker.
I just filed a ticket for FESCo-meeting [4] to have this workaround
included in `%configure`-macro provided by rpm-package.
If you are unsure whether your package is affected this feel free to ask
me and please provide a build.log, so I can check.
Cheers,
Björn
[1]https://lists.fedoraproject.org/pipermail/devel/2013-June/184429.html
[2]http://lists.gnu.org/archive/html/bug-libtool/2005-10/msg00003.html
[3]https://bugzilla.redhat.com/show_bug.cgi?id=977446#c13
[4]https://fedorahosted.org/fesco/ticket/1132
9 years, 11 months
Re: [Fedora-packaging] RFE: Documentation packages - no base packagedependency
by Mamoru TASAKA
> https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation
>
> Proposed addition to the guidelines:
>
> Independent documentation -doc packages typically don't require the
> base package. It should be possible to install documentation without
> having to install a program and all its dependencies.
>
> Rationale: Recently, in package review requests, I've seen packagers apply
> https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package
> also to -doc packages. And there are packages in the collection, which
> do that, too. This is a hindrance, especially if one only wants to peruse
> the documentation or install API documentation for remote developing.
> Of course, an exception to this is documentation in a special format,
> which can only be viewed within an application.
>
> Thoughts?
Perhaps meaning of "Independent" (documentation) is ambiguous.
Additionally, I think that many -doc subpackage requires main package is because
-doc installs documents under the directory the main package owns:
i.e. the main package has some "important" documents in one directory
and the rest documents are included in -doc subpackage, and -doc uses the
same directory. Usually I don't want to duplicate ownership of the same directory
for this reason (so usually make -doc subpackage require main package),
however I don't object to your thought so much. I think it is better to write explicitly
that duplicating directory ownership is allowed (if your new proposition is
accepted).
Regards,
Mamoru
9 years, 11 months
error: Failed dependencies: (Fedora 14)
by Thomas Tobian
Hallo guys,
I need one more dependency but I do not know how to figure out:
error: Failed dependencies:
*freetype = 2.4.2-3.fc14* is needed by freetype-devel-2.4.2-3.fc14.x86_64
how could I get this file, in order to complete my installation for
freetype-devel-2.4.2-3.fc14.x86_64
I really appreciate for your help.
Dr Thomas,
9 years, 11 months
Summary/Minutes from today's FPC Meeting (2013-06-20 16:00 - 17:15 UTC)
by James Antill
=============================================
#fedora-meeting-1: Fedora Packaging Committee
=============================================
Meeting started by spot at 15:59:43 UTC. The full logs are available at
http://meetbot.fedoraproject.org/fedora-meeting-1/2013-06-20/fpc.2013-06-...
.
Meeting summary
---------------
* Roll Call (spot, 15:59:52)
* Guideline for patches on Source -
https://fedorahosted.org/fpc/ticket/300 (spot, 16:16:44)
* ACTION: abadger1999's draft, plus additional exception wording
approved (+1:6, 0:0, -1:0) (spot, 16:39:56)
* Policy around packagers not getting an exception for a library or
refusing to comply with an unbundling ruling -
https://fedorahosted.org/fpc/ticket/301 (spot, 16:41:10)
* ACTION: policy draft approved (+1:6, 0:0, -1:0) (spot, 16:43:46)
* Asking for bundling exception for the package "rubygem-rdiscount" -
https://fedorahosted.org/fpc/ticket/304 (spot, 16:45:36)
* Small changes to PHP Guidelines -
https://fedorahosted.org/fpc/ticket/307 (spot, 16:49:29)
* ACTION: PHP changes approved (+1:6, 0:0, -1:0) (spot, 17:03:20)
* Prohibit conditionalizing payload on Architecture -
https://fedorahosted.org/fpc/ticket/306 (spot, 17:05:39)
* ACTION: Draft approved (+1:6, 0:0, -1:0) (spot, 17:11:13)
* Open Floor (spot, 17:11:43)
Meeting ended at 17:13:31 UTC.
Action Items
------------
* abadger1999's draft, plus additional exception wording approved (+1:6,
0:0, -1:0)
* policy draft approved (+1:6, 0:0, -1:0)
* PHP changes approved (+1:6, 0:0, -1:0)
* Draft approved (+1:6, 0:0, -1:0)
Action Items, by person
-----------------------
* abadger1999
* abadger1999's draft, plus additional exception wording approved
(+1:6, 0:0, -1:0)
* **UNASSIGNED**
* policy draft approved (+1:6, 0:0, -1:0)
* PHP changes approved (+1:6, 0:0, -1:0)
* Draft approved (+1:6, 0:0, -1:0)
People Present (lines said)
---------------------------
* spot (76)
* abadger1999 (61)
* tibbs|w (23)
* RemiFedora (23)
* geppetto (20)
* limburgher (13)
* SmootherFrOgZ (6)
* Rathann (6)
* zodbot (3)
* nirik (2)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
9 years, 11 months