------- Original Message ------- On Tuesday, August 9th, 2022 at 12:06 PM, Vitaly Zaitsev via devel <devel@lists.fedoraproject.org> wrote:
> On 09/08/2022 18:51, Gwyn Ciesla via devel wrote: > > > zfs-fuse is FTBFS starting with f36. > > > gcc -o cmd/mount_zfs/mount_zfs.o -c "-O2 -flto=auto -ffat-lto-objects > -fexceptions -g -grecord-gcc-switches -pipe -Wall > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 > -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 > -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 > -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables > -fstack-clash-protection" -pipe -Wall -std=c99 -Wno-switch -Wno-unused > -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wcast-align > -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT > -DTEXT_DOMAIN=\"zfs-fuse\" -ggdb -DDEBUG -fPIC -DLINUX_AIO > -I/usr/include/tirpc -Ilib/libuutil/include -Ilib/libnvpair/include > -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include > -Ilib/libzfs/include -Ilib/libsolcompat/include -Ilib/libavl/include > cmd/mount_zfs/mount_zfs.c > cc1: error: argument to '-O' should be a non-negative integer, 'g', 's', > 'z' or 'fast' > > Remove the quotes around Fedora build flags. > > Correct: > -O2 -flto=auto -ffat-lto-objects -fexceptions -g ... > > Bogus: > "-O2 -flto=auto -ffat-lto-objects -fexceptions -g ..." Doesn't help: + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh zfs-fuse 0.7.2.2-22.fc38 x86_64 + cd zfs-fuse-0.7.2.2 + export CCFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection + CCFLAGS=-O2 /var/tmp/rpm-tmp.u56vY5: line 42: export: `-flto=auto': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-ffat-lto-objects': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-fexceptions': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-g': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-grecord-gcc-switches': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-pipe': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-Wall': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-Werror=format-security': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-Wp,-D_FORTIFY_SOURCE=2': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-Wp,-D_GLIBCXX_ASSERTIONS': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-fstack-protector-strong': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-m64': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-mtune=generic': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-fasynchronous-unwind-tables': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-fstack-clash-protection': not a valid identifier /var/tmp/rpm-tmp.u56vY5: line 42: export: `-fcf-protection': not a valid identifier error: Bad exit status from /var/tmp/rpm-tmp.u56vY5 (%build) > -- > Sincerely, > Vitaly Zaitsev (vit...@easycoding.org) > _______________________________________________ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue
signature.asc
Description: OpenPGP digital signature
_______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue