Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56937 closed defect (invalid)

Gperf 3.1 Build Error with Mojave

Reported by: iamjstates (Jay States) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.5.3
Keywords: Cc:
Port: gperf

Description (last modified by mf2k (Frank Schima))

This is the print out from the logs. I will attach the whole main.log

:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./version.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./positions.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./options.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./keyword.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./keyword-list.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./input.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./bool-array.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./hash-table.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./search.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./output.cc
:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -I/usr/local/ports/include -I. -I./../lib -c ./main.cc
:info:build ./output.cc:327:11: warning: format string is empty [-Wformat-zero-length]
:info:build           "",
:info:build           ^~
:info:build ./output.cc:380:11: warning: format string is empty [-Wformat-zero-length]
:info:build           "",
:info:build           ^~
:info:build ./output.cc:441:11: warning: format string is empty [-Wformat-zero-length]
:info:build           "",
:info:build           ^~
:info:build ./output.cc:842:11: warning: format string is empty [-Wformat-zero-length]
:info:build           "",
:info:build           ^~
:info:build ./output.cc:1998:11: warning: format string is empty [-Wformat-zero-length]
:info:build           "",
:info:build           ^~
:info:build 5 warnings generated.

Attachments (1)

main.log (21.4 KB) - added by iamjstates (Jay States) 6 years ago.
mail.log

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by iamjstates (Jay States)

Attachment: main.log added

mail.log

comment:1 Changed 6 years ago by mf2k (Frank Schima)

In the future, please use WikiFormatting, fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers gperf), if any.

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Port: gperf added
Status: newassigned

comment:3 Changed 6 years ago by mf2k (Frank Schima)

The actual error is:

:info:build /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -L/usr/local/ports/lib -Wl,-headerpad_max_install_names -arch x86_64 -o gperf version.o positions.o options.o keyword.o keyword-list.o input.o bool-array.o hash-table.o search.o output.o main.o ../lib/libgp.a -lm
:info:build ld: archive has no table of contents file '../lib/libgp.a' for architecture x86_64
:info:build clang: error: unable to execute command: Segmentation fault: 11

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: invalid
Status: assignedclosed

Since this is prerelease software, I do not believe this is the appropriate forum to discuss this issue.
Please see the prerelease FAQ for more details.

comment:5 Changed 6 years ago by patr1ck (Patrick B. Gibson)

Can this please be reopened? I'm seeing the same thing on the now-released Mojave 10.14 (18A389) using a built-from-source MacPorts 2.5.3.

Last edited 6 years ago by patr1ck (Patrick B. Gibson) (previous) (diff)

comment:6 Changed 6 years ago by mf2k (Frank Schima)

Where is this directory coming from?

/usr/local/ports/include

See this wiki page about using /usr/local.

Last edited 6 years ago by mf2k (Frank Schima) (previous) (diff)

comment:7 Changed 6 years ago by patr1ck (Patrick B. Gibson)

This seems fixed in MacPorts 2.5.4 after running selfupdate and clean gperf. Thanks!

Note: See TracTickets for help on using tickets.