After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 795033 - Fails to build on FreeBSD due to incorrect library name
Fails to build on FreeBSD due to incorrect library name
Status: RESOLVED FIXED
Product: frogr
Classification: Other
Component: general
1.4
Other FreeBSD
: Normal normal
: ---
Assigned To: frogr maintainers
frogr maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-06 14:41 UTC by Ashish SHUKLA (आशीष शुक्ल)
Modified: 2018-04-12 12:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for the issue (885 bytes, patch)
2018-04-06 14:41 UTC, Ashish SHUKLA (आशीष शुक्ल)
none Details | Review

Description Ashish SHUKLA (आशीष शुक्ल) 2018-04-06 14:41:59 UTC
Created attachment 370590 [details] [review]
Fix for the issue

Fails to build with following error:

    Determining dependency 'libgcrypt' with pkg-config executable '/usr/local/bin/pkgconf'
    Dependency libgcrypt found: NO
    Message: gcrypt not found via pkg-config, using meson.find_library()...
    Running compile:
    Working directory:  /tmp/tmpvy8n592j
    Command line:  cc -I/usr/local/include -L/usr/local/lib /tmp/tmpvy8n592j/testfile.c -fstack-protector -fno-strict-aliasing -fstack-protector -O0 -Wl,--start-group -llibgcrypt -Wl,--end-group -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpvy8n592j/output.exe 
    
    Code:
     int main(int argc, char **argv) { return 0; }
    Compiler stdout:
     
    Compiler stderr:
     /usr/bin/ld: cannot find -llibgcrypt
    cc: error: linker command failed with exit code 1 (use -v to see invocation)

Attached diff fixes it.

Thanks!
Comment 1 Mario Sánchez Prada 2018-04-12 12:47:10 UTC
Thanks, pushed to master:
https://git.gnome.org/browse/frogr/commit/?id=830fe795318b3df683a4391434bd050401562626