Bug 275158 - net-im/dino: build fail
Summary: net-im/dino: build fail
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-17 23:15 UTC by Ivan Rozhuk
Modified: 2023-12-05 17:50 UTC (History)
1 user (show)

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


Attachments
patch (779 bytes, patch)
2023-11-17 23:32 UTC, Ivan Rozhuk
rozhuk.im: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2023-11-17 23:15:43 UTC
...
-- Detecting CXX compile features - done
-- Enabled plugin: omemo
-- Enabled plugin: openpgp
-- Enabled plugin: http-files
-- Enabled plugin: ice
-- Enabled plugin: rtp
-- Disabled plugin: notification-sound
-- Disabled plugin: ice
-- Disabled plugin: omemo
-- Disabled plugin: rtp
-- Enabled plugin: openpgp
-- Enabled plugin: http-files
-- Configuring Dino  with plugins: http-files, openpgp
...
FAILED: plugins/gpgme-vala/CMakeFiles/gpgme-vala.dir/src/gpgme_fix.c.o 
/usr/local/libexec/ccache/cc  -I/tmp/ports/usr/ports/net-im/dino/work/.build/plugins/gpgme-vala -I/tmp/ports/usr/ports/net-im/dino/work/.build/exports -isystem /usr/local/include/gee-0.8 -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  -fdebug-prefix-map=/tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3=. -fdiagnostics-color -Wall -Wextra -Werror=format-security -Wno-duplicate-decl-specifier -fno-omit-frame-pointer -g -O2 -pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  -fdebug-prefix-map=/tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3=. -DNDEBUG -fPIC    -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-value -Wno-unused-variable -Wno-incompatible-pointer-types-discards-qualifiers -Wno-deprecated-declarations -Wno-missing-braces -I/tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3/plugins/gpgme-vala/src -MD -MT plugins/gpgme-vala/CMakeFiles/gpgme-vala.dir/src/gpgme_fix.c.o -MF plugins/gpgme-vala/CMakeFiles/gpgme-vala.dir/src/gpgme_fix.c.o.d -o plugins/gpgme-vala/CMakeFiles/gpgme-vala.dir/src/gpgme_fix.c.o -c /tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3/plugins/gpgme-vala/src/gpgme_fix.c
In file included from /tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3/plugins/gpgme-vala/src/gpgme_fix.c:1:
/tmp/ports/usr/ports/net-im/dino/work/.build/exports/gpgme_fix.h:5:10: fatal error: 'gpgme.h' file not found
#include <gpgme.h>
         ^~~~~~~~~
1 error generated.
...
FAILED: crypto-vala/CMakeFiles/crypto-vala.dir/src/random.c.o 
/usr/local/libexec/ccache/cc -DG_LOG_DOMAIN=\"crypto-vala\" -Dcrypto_vala_EXPORTS -I/tmp/ports/usr/ports/net-im/dino/work/.build/crypto-vala -I/tmp/ports/usr/ports/net-im/dino/work/.build/exports -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  -fdebug-prefix-map=/tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3=. -fdiagnostics-color -Wall -Wextra -Werror=format-security -Wno-duplicate-decl-specifier -fno-omit-frame-pointer -g -O2 -pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  -fdebug-prefix-map=/tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3=. -DNDEBUG -fPIC    -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-value -Wno-unused-variable -Wno-incompatible-pointer-types-discards-qualifiers -Wno-deprecated-declarations -Wno-missing-braces -pthread -MD -MT crypto-vala/CMakeFiles/crypto-vala.dir/src/random.c.o -MF crypto-vala/CMakeFiles/crypto-vala.dir/src/random.c.o.d -o crypto-vala/CMakeFiles/crypto-vala.dir/src/random.c.o -c /tmp/ports/usr/ports/net-im/dino/work/.build/crypto-vala/src/random.c
/tmp/ports/usr/ports/net-im/dino/work/.build/crypto-vala/src/random.c:6:10: fatal error: 'gcrypt.h' file not found
#include "gcrypt.h"
         ^~~~~~~~~~
1 error generated.
...
FAILED: crypto-vala/CMakeFiles/crypto-vala.dir/src/srtp.c.o 
/usr/local/libexec/ccache/cc -DG_LOG_DOMAIN=\"crypto-vala\" -Dcrypto_vala_EXPORTS -I/tmp/ports/usr/ports/net-im/dino/work/.build/crypto-vala -I/tmp/ports/usr/ports/net-im/dino/work/.build/exports -isystem /usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include -O2 -pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  -fdebug-prefix-map=/tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3=. -fdiagnostics-color -Wall -Wextra -Werror=format-security -Wno-duplicate-decl-specifier -fno-omit-frame-pointer -g -O2 -pipe -O3 -pipe -funroll-loops -mretpoline -fno-delete-null-pointer-checks  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing  -fdebug-prefix-map=/tmp/ports/usr/ports/net-im/dino/work/dino-0.4.3=. -DNDEBUG -fPIC    -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-value -Wno-unused-variable -Wno-incompatible-pointer-types-discards-qualifiers -Wno-deprecated-declarations -Wno-missing-braces -pthread -MD -MT crypto-vala/CMakeFiles/crypto-vala.dir/src/srtp.c.o -MF crypto-vala/CMakeFiles/crypto-vala.dir/src/srtp.c.o.d -o crypto-vala/CMakeFiles/crypto-vala.dir/src/srtp.c.o -c /tmp/ports/usr/ports/net-im/dino/work/.build/crypto-vala/src/srtp.c
/tmp/ports/usr/ports/net-im/dino/work/.build/crypto-vala/src/srtp.c:6:10: fatal error: 'srtp2/srtp.h' file not found
#include "srtp2/srtp.h"
         ^~~~~~~~~~~~~~
1 error generated.
Comment 1 Ivan Rozhuk 2023-11-17 23:32:31 UTC
Created attachment 246381 [details]
patch

Add "localbase" to USES.
-I/usr/local/include was missed, probably this is side affect after pkgconf update.
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2023-12-03 23:24:31 UTC
Hi,

Thanks for the patch. I'm looking at this, and will get back to you shortly.

Sorry for the delay in responding.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-12-05 17:48:26 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c0a832bee9f60e53a8a3b4e050c2b7170434b330

commit c0a832bee9f60e53a8a3b4e050c2b7170434b330
Author:     Rozhuk Ivan <rozhuk.im@gmail.com>
AuthorDate: 2023-11-17 23:30:44 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2023-12-05 17:47:20 +0000

    net-im/dino: fix build

    PR:             275158
    Approved by:    maintainer

 net-im/dino/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Ashish SHUKLA freebsd_committer freebsd_triage 2023-12-05 17:50:07 UTC
Committed, thanks!

Sorry for the delay.