Bug 249170 - x11/pixman doesn't compile on PPC64
Summary: x11/pixman doesn't compile on PPC64
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-07 15:15 UTC by Luciano Mannucci
Modified: 2020-09-09 12:24 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano Mannucci 2020-09-07 15:15:44 UTC
Compilation ends with:


libtool: compile:  gcc10 -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -Werror=uninitialized -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing -Wall -Wdeclaration-after-statement -Wno-unused-local-typedefs -fno-strict-aliasing -fvisibility=hidden -MT pixman-ppc.lo -MD -MP -MF .deps/pixman-ppc.Tpo -c pixman-ppc.c  -fPIC -DPIC -o .libs/pixman-ppc.o
pixman-ppc.c:73:10: fatal error: sys/auxv.h: No such file or directory
   73 | #include <sys/auxv.h>
      |          ^~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/x11/pixman/work/pixman-0.40.0/pixman
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/x11/pixman/work/pixman-0.40.0
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/x11/pixman/work/pixman-0.40.0
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/pixman
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20200907-11733-fjyvc0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=pixman-0.40.0 UPGRADE_PORT_VER=0.40.0 make MAKE_JOBS_UNSAFE=yes

This reminds me another port that had a similar problem. Wai it nss?

Luciano.
Comment 1 Niclas Zeising freebsd_committer 2020-09-08 13:09:55 UTC
Possible related to bug 249005.  Piotr, can you have a look?
Comment 2 Piotr Kubaj freebsd_committer 2020-09-08 14:07:33 UTC
Are you on FreeBSD 12 or 13?
Comment 3 Luciano Mannucci 2020-09-08 15:06:18 UTC
(In reply to Piotr Kubaj from comment #2)
Freebsd 11
Comment 4 Piotr Kubaj freebsd_committer 2020-09-08 16:42:01 UTC
(In reply to Luciano Mannucci from comment #3)
The reason it doesn't work is that sys/auxv.h and elf_aux_info() function require at least 12.0.

I didn't do a code variant that would work on 11, because powerpc64 is currently a tier 2 platform - it's not in commercial use and there are only private users and developers currently using FreeBSD/powerpc64 port. So please upgrade to 12.1.

This will bring you numerous fixes, e.g. working libsoup (which brings a lot of desktop ports) and available binary packages.

Alternatively, you could upgrade to CURRENT, on which you would get Firefox working.
Comment 5 Luciano Mannucci 2020-09-09 12:24:42 UTC
(In reply to Piotr Kubaj from comment #4)
Well, it is a production machine, it may take me a while to upgrade.
I'll do than anyway.

Thanks,

Luciano.