Package Details: afdko 4.0.1-3

Git Clone URL: https://aur.archlinux.org/afdko.git (read-only, click to copy)
Package Base: afdko
Description: Adobe Font Development Kit for OpenType
Upstream URL: https://github.com/adobe-type-tools/afdko
Licenses: Apache-2.0
Conflicts: spot-client
Submitter: wiill
Maintainer: alerque
Last Packager: alerque
Votes: 17
Popularity: 0.115516
First Submitted: 2017-01-05 03:39 (UTC)
Last Updated: 2024-04-27 12:34 (UTC)

Pinned Comments

alerque commented on 2020-03-04 09:16 (UTC)

PSA: I've started hosting this and all its dependencies as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.

Latest Comments

1 2 3 4 Next › Last »

rekman commented on 2024-05-26 00:11 (UTC) (edited on 2024-05-26 00:15 (UTC) by rekman)

FTBFS with errors similar to the one below (full makepkg --cleanbuild output)

FAILED: c/sfntdiff/source/CMakeFiles/sfntdiff.dir/Dopt.c.o 
/usr/bin/clang -DANTLR4CPP_STATIC -I/usr/include/libxml2 -I/home/koyomi/.cache/paru/clone/afdko/src/afdko-4.0.1/c/sfntdiff/source/../../spot/sfnt_includes -I/home/koyomi/.cache/paru/clone/afdko/src/afdko-4.0.1/c/sfntdiff/source/../../shared/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/koyomi/.cache/paru/clone/afdko/src=/usr/src/debug/afdko -flto=auto -O3 -DNDEBUG -MD -MT c/sfntdiff/source/CMakeFiles/sfntdiff.dir/Dopt.c.o -MF c/sfntdiff/source/CMakeFiles/sfntdiff.dir/Dopt.c.o.d -o c/sfntdiff/source/CMakeFiles/sfntdiff.dir/Dopt.c.o -c /home/koyomi/.cache/paru/clone/afdko/src/afdko-4.0.1/c/sfntdiff/source/Dopt.c
/home/koyomi/.cache/paru/clone/afdko/src/afdko-4.0.1/c/sfntdiff/source/Dopt.c:16:12: error: expected parameter declarator
   16 | extern int fprintf(FILE *stream, const char *format, ...);
      |            ^
/usr/include/bits/stdio2.h:92:26: note: expanded from macro 'fprintf'
   92 |   __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
      |                          ^
/usr/include/features.h:423:31: note: expanded from macro '__USE_FORTIFY_LEVEL'
  423 | #  define __USE_FORTIFY_LEVEL 3
      |                               ^
/home/koyomi/.cache/paru/clone/afdko/src/afdko-4.0.1/c/sfntdiff/source/Dopt.c:16:12: error: expected ')'
/usr/include/bits/stdio2.h:92:26: note: expanded from macro 'fprintf'
   92 |   __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
      |                          ^
/usr/include/features.h:423:31: note: expanded from macro '__USE_FORTIFY_LEVEL'
  423 | #  define __USE_FORTIFY_LEVEL 3
      |                               ^
/home/koyomi/.cache/paru/clone/afdko/src/afdko-4.0.1/c/sfntdiff/source/Dopt.c:16:12: note: to match this '('
/usr/include/bits/stdio2.h:92:17: note: expanded from macro 'fprintf'
   92 |   __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
      |                 ^
/home/koyomi/.cache/paru/clone/afdko/src/afdko-4.0.1/c/sfntdiff/source/Dopt.c:16:12: error: conflicting types for '__fprintf_chk'
   16 | extern int fprintf(FILE *stream, const char *format, ...);
      |            ^
/usr/include/bits/stdio2.h:92:3: note: expanded from macro 'fprintf'
   92 |   __fprintf_chk (stream, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__)
      |   ^
/usr/include/bits/stdio2-decl.h:49:12: note: previous declaration is here
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^
3 errors generated.

This seems to be due to CC=clang CXX=clang++ environment variables. The package builds with gcc. If the package requires a specific compiler the PKGBUILD should set CC, CXX to ensure that compiler is used.

alerque commented on 2024-01-13 12:02 (UTC)

@Fulmine and others, upstream keeps changing directions here and I'm somitmes a version behind figuring out what they did. If anybody wants to contribute I'm usually open to patches even PRs toward this or any of my packages here.

IncredibleLaser commented on 2023-02-04 10:06 (UTC)

I think you're misunderstanding the packaging guidelines. The case you're referring to is for when two packages for the same program (or library or whatever) exist, one for the fixed versions and one for building from VCS. In that case, per guidelines, the VCS package should conflict and provide the base package as it offers the same functionality, but is slightly different.

In the case here, this package has nothing to do with the spot client, and it's not really clear to me why it contains /usr/bin/spot. Plus there's also a 'spot-client' package this one is also in conflict with due to the overlapping filename.

Since 'afdko' is the package going against the convention here — providing a binary with a filename with no connection to the package — I'd put the conflict here, or rather rename the binary if possible, i.e. it's not called from somewhere else.

alerque commented on 2023-01-11 08:21 (UTC)

@EndlessEden That conflict should be added on the VCS package (-git) not this one per Arch packaging guidelines.

EndlessEden commented on 2022-12-14 20:30 (UTC)

this package produces /usr/bin/spot| which is also is in 'spot-client-git'. please either add 'spot-client-git' to conflicts or rename it to adobe-spot during packaging.

SolarAquarion commented on 2021-05-05 23:44 (UTC)

<alad> SolarAquarion: those packages have circular deps in the checkdepends so it'd only build with makepkg --nocheck