Opened 3 years ago

Closed 3 years ago

#64750 closed defect (duplicate)

poppler @22.02.0_1 does not build on PPC Mac OS X 10.4.11, Tiger, because: Invalid value for configure.compiler:

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: ppc tiger Cc: devans@…
Port: poppler

Description

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-22.02.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/graphics/poppler/files/patch-glib_CMakeFiles.txt-fix-include-ordering.diff'
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_poppler/poppler/work/poppler-22.02.0" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/graphics/poppler/files/patch-glib_CMakeFiles.txt-fix-include-ordering.diff'
patching file glib/CMakeLists.txt
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: configure phase started at Tue Mar  1 14:02:30 CET 2022
--->  Configuring poppler
Error: Failed to configure poppler: Invalid value for configure.compiler: 
DEBUG: Error code: NONE
DEBUG: Backtrace: Invalid value for configure.compiler: 
    while executing
"[ditem_key $ditem prerun] $targetname"

Attachments (1)

main.log (24.9 KB) - added by ballapete (Peter "Pete" Dyballa) 3 years ago.
Main.log from PPC Tiger, Mac OS X 10.4.11

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Tiger, Mac OS X 10.4.11

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Have you modified MacPorts or the poppler Portfile? I don't see anything unusual in the poppler Porfile regarding compiler selection. It merely says that it requires C++17 and C11 and thread-local storage; MacPorts should select a compiler satisfying those requirements.

comment:2 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

I don't think so. On my PowerBook G4 I have Tiger and Leopard installed:

-rw-r--r-- 1 root x11   5063 12. Feb 23:11 /Volumes/Leopard/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/graphics/poppler/Portfile
-rw-r--r-- 1 root x11   5063 12. Feb 23:11 /opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/graphics/poppler/Portfile

and am using these configuration files:

pete 235 /\ l -t /opt/local/etc/macports/
insgesamt 60
-rw-r--r-- 1 root admin 1478 19. Feb 22:57 sources.conf
-r--r--r-- 1 root admin  120 31. Okt 01:09 stats.conf
-r--r--r-- 1 root admin 2549 18. Jun 2021  archive_sites.conf.default
-r--r--r-- 1 root admin 9182 18. Jun 2021  macports.conf.default
-r--r--r-- 1 root admin  515 18. Jun 2021  pubkeys.conf.default
-r--r--r-- 1 root admin 1181 18. Jun 2021  sources.conf.default
-r--r--r-- 1 root admin  389 18. Jun 2021  variants.conf.default
-rw-r--r-- 1 root admin 8288 12. Mär 2016  macports.conf
-rw-r--r-- 1 root admin  461  4. Sep 2014  variants.conf
-rw-r--r-- 1 root admin  523  4. Sep 2014  pubkeys.conf
-rw-r--r-- 1 root admin 1941  4. Sep 2014  archive_sites.conf

Sources.conf has been modified to include my local clamav-legacy port:

pete 243 /\ tail -5 {/Volumes/Leopard,}/opt/local/etc/macports/sources.conf
==> /Volumes/Leopard/opt/local/etc/macports/sources.conf <==
#rsync://rsync.macports.org/release/tarballs/ports.tar [default]
#rsync://lil.fr.rsync.macports.org/release/tarballs/ports.tar [default]
rsync://nue.de.rsync.macports.org/macports/release/tarballs/ports.tar [default]
#file:///opt/mports/trunk/dports [default]
file:///Volumes/BSD-Linux/Lokale_Ports

==> /opt/local/etc/macports/sources.conf <==
#rsync://rsync.macports.org/release/tarballs/ports.tar [default]
#rsync://lil.fr.rsync.macports.org/release/tarballs/ports.tar [default]
rsync://nue.de.rsync.macports.org/macports/release/tarballs/ports.tar [default]
#file:///opt/mports/trunk/dports [default]
file:///Volumes/BSD-Linux/Lokale_Ports

Should I check some particular file?

comment:3 Changed 3 years ago by ballapete (Peter "Pete" Dyballa)

The portfile must be wrong. When trying to quit it vi tells me

E37: No write since last change (add ! to override)
Last edited 3 years ago by ballapete (Peter "Pete" Dyballa) (previous) (diff)

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

I'm not sure what you mean by your last comment.

In any case I am able to reproduce the problem on Tiger on Intel.

I think the problem is that MacPorts base has not put any compilers into the list of possible compilers. I don't know why.

The same problem was reported for R in #64669 however the cause there may be different.

comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #63281.

Note: See TracTickets for help on using tickets.