Opened 10 months ago

Closed 3 months ago

Last modified 2 months ago

#68895 closed defect (fixed)

folks @0.14.0: meson.build:1:0: ERROR: Unknown options: "telepathy-backend"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: AppleInternal
Port: folks

Description

folks fails to build:

meson.build:1:0: ERROR: Unknown options: "telepathy-backend"

The option is called telepathy_backend not telepathy-backend. This probably wasn't noticed back when the port was last updated because old meson versions silently ignored unknown options while current meson errors.

After fixing that:

  • gnome/folks/Portfile

    diff --git a/gnome/folks/Portfile b/gnome/folks/Portfile
    index 6e509927eca..2ab5f212786 100644
    a b post-patch { 
    4949configure.args      -Dbluez_backend=false \
    5050                    -Deds_backend=false \
    5151                    -Dofono_backend=false \
    52                     -Dtelepathy-backend=false \
     52                    -Dtelepathy_backend=false \
    5353                    -Dzeitgeist=false \
    5454                    -Ddocs=true
    5555

it fails with:

Program valadoc found: NO

meson.build:83:12: ERROR: Program 'valadoc' not found or not executable

folks depends on vala but vala doesn't provide valadoc; I can't find any port that does.

Change History (6)

comment:1 Changed 3 months ago by AppleInternal

same

comment:2 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: AppleInternal added

Has duplicate #70416.

comment:3 in reply to:  description Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

it fails with:

Program valadoc found: NO

meson.build:83:12: ERROR: Program 'valadoc' not found or not executable

folks depends on vala but vala doesn't provide valadoc; I can't find any port that does.

This is #70417. The vala port currently has to be installed with the +docs variant to get the valadoc program.

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

Resolution: fixed
Status: assignedclosed

In ce075de01c432db5e305312eeca2fbbaa0e88634/macports-ports (master):

folks: Fix typo in meson options

telepathy-backend should have been telepathy_backend.

Closes: #68895

Also use path:-based depspec for pkgconfig and remove platforms darwin
line since that's the default.

comment:5 Changed 2 months ago by Christopher Nielsen <mascguy@…>

In 7352fd2fee713ea5d9b89024a9df92af326d3640/macports-ports (master):

vala{,-devel}: add variant valadoc, enabled by default

  • Replaces variant docs; new name is more accurate

See: #68895
Fixes: #70417

comment:6 Changed 2 months ago by neverpanic (Clemens Lang)

In 2870311521cf94f9955aa876710af9ba781aecba/macports-ports (master):

vala{,-devel}: add missing lib dep for graphviz

`
:) cllang@gallumbits:~$ sudo port -vy rev-upgrade
---> Scanning binaries for linking errors
Could not open /opt/local/lib/libcdt.5.dylib: Error opening or reading file (referenced from /opt/local/bin/valadoc-0.56)
Could not open /opt/local/lib/libcgraph.6.dylib: Error opening or reading file (referenced from /opt/local/bin/valadoc-0.56)
Could not open /opt/local/lib/libgvc.6.dylib: Error opening or reading file (referenced from /opt/local/bin/valadoc-0.56)
---> Found 6 broken files, matching files to ports
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: vala @0.56.17+valadoc
`

This has probably been broken for a while, but
7352fd2fee713ea5d9b89024a9df92af326d3640 made valadoc a default variant.

See: #68895
See: #70417

Note: See TracTickets for help on using tickets.