[MacPorts] #66381: libepoxy @1.5.10 stopped building on PPC Tiger, Mac OS X 10.4.11
MacPorts
noreply at macports.org
Thu Dec 1 22:14:55 UTC 2022
#66381: libepoxy @1.5.10 stopped building on PPC Tiger, Mac OS X 10.4.11
-----------------------+----------------------
Reporter: ballapete | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Keywords: tiger ppc | Port: libepoxy
-----------------------+----------------------
In the last two weeks I started to upgrade my ports from `Python 3.9 to
Python 3.10`:
{{{
libepoxy @1.5.9_2+python38 (active) requested_variants='+python38'
platform='darwin 8' archs='ppc' date='2022-01-23T11:34:00+0100'
libepoxy @1.5.9_2+python39 requested_variants='' platform='darwin 8'
archs='ppc' date='2022-05-14T22:59:07+0200'
libepoxy @1.5.10_0+python39 (active) requested_variants='+python39'
platform='darwin 8' archs='ppc' date='2022-05-15T21:52:11+0200'
libepoxy @1.5.10_0 (active) requested_variants='' platform='darwin 8'
archs='ppc' date='2022-11-27T00:04:33+0100'
--
meson @0.55.3_1 (active) requested_variants='' platform='darwin 8'
archs='noarch' date='2020-10-22T16:38:21+0200'
meson @0.58.2_0 (active) requested_variants='' platform='darwin 8'
archs='noarch' date='2022-01-15T17:53:45+0100'
meson @0.58.2_0 (active) requested_variants='' platform='darwin 8'
archs='noarch' date='2022-05-14T13:27:31+0200'
meson @0.58.2_0 (active) requested_variants='' platform='darwin 8'
archs='noarch' date='2022-11-27T09:45:01+0100'
}}}
Today I tried to fix `meson`s `wrong handling of nm arguments` or
`handling of wrong nm arguments` (the use of `llvm-nm` would be an
alternative):
{{{
--- mesonbuild/scripts/symbolextractor.py~ 1970-01-01
01:00:00.000000000 +0100
+++ mesonbuild/scripts/symbolextractor.py 2022-12-01
18:32:05.000000000 +0100
@@ -146,8 +146,7 @@
break
result = [arr[match + 2], arr[match + 5]] # Libreoffice stores all 5
lines but the others seem irrelevant.
# Get a list of all symbols exported
- output = call_tool('nm', ['--extern-only', '--defined-only',
- '--format=posix', libfilename])
+ output = call_tool('nm', ['-a', '-U', '-P', libfilename])
if not output:
dummy_syms(outfilename)
return
}}}
Since I recorded some time ago that `meson` has a problem with `nm` when
`building libepoxy` I first tried to build this port again to see whether
the fault persists with `Python 3.10`. But the build stops during
configuration phase:
{{{
Checking for function "dlvsym" with dependency -ldl: NO
Run-time dependency appleframeworks found: NO (tried framework)
test/meson.build:164:2: ERROR: Dependency "appleframeworks" not found,
tried framework
A full log can be found at
/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_graphics_libepoxy/libepoxy/work/build
/meson-logs/meson-log.txt
}}}
This log file has at the end:
{{{
Run-time dependency appleframeworks found: NO (tried framework)
test/meson.build:164:2: ERROR: Dependency "appleframeworks" not found,
tried framework
}}}
The test in `test\meson.build` is:
{{{
162 # Apple
163 if host_machine.system().contains('darwin')
164 opengl_dep = dependency('appleframeworks', modules: ['OpenGL',
'Carbon'], required: true)
165
166 cgl_tests = [
167 [ 'cgl_core', [ 'cgl_core.c' ] ],
168 [ 'cgl_epoxy_api', [ 'cgl_epoxy_api.c' ] ],
169 ]
170
171 foreach t: cgl_tests
172 test_name = t[0]
173 test_sources = t[1]
174
175 test(test_name,
176 executable(
177 test_name, test_sources,
178 c_args: test_cflags,
179 include_directories: libepoxy_inc,
180 dependencies: [ libepoxy_dep, opengl_dep ],
181 ),
182 )
183 endforeach
184 endif
}}}
Is the cause of failure due to building `libepoxy without Python support`?
--
Ticket URL: <https://trac.macports.org/ticket/66381>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list