Bug 277521 - www/netsurf: does not start
Summary: www/netsurf: does not start
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Neel Chauhan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-06 06:19 UTC by Slawomir Wojciech Wojtczak
Modified: 2024-04-12 02:45 UTC (History)
3 users (show)

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


Attachments
fix resources error (948 bytes, patch)
2024-03-28 18:44 UTC, mew14930xvi
no flags Details | Diff
fix resources error (1.55 KB, patch)
2024-03-30 13:33 UTC, mew14930xvi
no flags Details | Diff
Fix Resources Error (1.65 KB, patch)
2024-04-12 02:45 UTC, mew14930xvi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Slawomir Wojciech Wojtczak 2024-03-06 06:19:18 UTC
Hi.

Is it just me or 'www/netsurf' is currently broken?


% uname -prism
FreeBSD 14.0-RELEASE-p5 amd64 amd64 GENERIC



% pkg info www/netsurf        
netsurf-3.11
Name           : netsurf
Version        : 3.11
Installed on   : Wed Mar  6 07:13:16 2024 CET
Origin         : www/netsurf
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : www
Licenses       : MIT and GPLv2
Maintainer     : nc@FreeBSD.org
WWW            : https://www.netsurf-browser.org/
Comment        : Lightweight web browser
Shared Libs required:
        libwebp.so.7
        libwapcaplet.so.0
        libutf8proc.so.3
        librsvg-2.so.2
        libpng16.so.16
        libparserutils.so.0
        libpangocairo-1.0.so.0
        libpango-1.0.so.0
        libnsutils.so.0
        libnspsl.so.0
        libnsgif.so.1
        libnsbmp.so.0
        libjpeg.so.8
        libintl.so.8
        libiconv.so.2
        libhubbub.so.0
        libharfbuzz.so.0
        libgtk-3.so.0
        libgthread-2.0.so.0
        libgobject-2.0.so.0
        libgmodule-2.0.so.0
        libglib-2.0.so.0
        libgio-2.0.so.0
        libgdk_pixbuf-2.0.so.0
        libgdk-3.so.0
        libexpat.so.1
        libdom.so.0
        libcurl.so.4
        libcss.so.0
        libcairo.so.2
        libcairo-gobject.so.2
        libatk-1.0.so.0
Annotations    :
        FreeBSD_version: 1400097
        build_timestamp: 2024-03-02T20:15:10+0000
        built_by       : poudriere-git-3.4.1-1-g1e9f97d6
        cpe            : cpe:2.3:a:netsurf-browser:netsurf:3.11:::::freebsd14:x64
        port_checkout_unclean: no
        port_git_hash  : f2b003b960
        ports_top_checkout_unclean: no
        ports_top_git_hash: 712c7eaa68
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 4.59MiB
Description    :
NetSurf is a lightweight cross-platform Web browser. It supports the
HTML 4 and CSS standards and provides a small, fast, and comprehensive
Web browsing solution. NetSurf was originally written for RISC OS.



% /usr/local/bin/netsurf-gtk     
GTK resources failed to initialise (NotFound)
NetSurf gtk failed to initialise (NotFound)



% doas truss /usr/local/bin/netsurf-gtk 2>&1 | tail -30
openat(AT_FDCWD,"/usr/local/share/locale/en.UTF-8/LC_MESSAGES/glib20.mo",O_RDONLY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/share/locale/en.utf8/LC_MESSAGES/glib20.mo",O_RDONLY,00) ERR#2 'No such file or directory'
openat(AT_FDCWD,"/usr/local/share/locale/en/LC_MESSAGES/glib20.mo",O_RDONLY,00) ERR#2 'No such file or directory'
__realpathat(AT_FDCWD,"/home/vermaden/.config/netsurf/deoptions.ui",0x27d809128400,1024,0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/home",{ mode=drwxr-xr-x ,inode=34,size=4,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/home/vermaden",{ mode=drwxr-xr-x ,inode=2,size=240,blksize=16384 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/home/vermaden/.config",{ mode=drwxr-xr-x ,inode=302,size=170,blksize=11264 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/home/vermaden/.config/netsurf",{ mode=drwx------ ,inode=307409,size=2,blksize=131072 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/home/vermaden/.config/netsurf/deoptions.ui",0x821450bd0,AT_SYMLINK_NOFOLLOW) ERR#2 'No such file or directory'
__realpathat(AT_FDCWD,"/usr/local/share/netsurf//en/deoptions.ui",0x27d809128400,1024,0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr",{ mode=drwxr-xr-x ,inode=5,size=15,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local",{ mode=drwxr-xr-x ,inode=458,size=22,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/share",{ mode=drwxr-xr-x ,inode=34311,size=264,blksize=16384 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/share/netsurf",{ mode=drwxr-xr-x ,inode=476408,size=40,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/share/netsurf/en",{ mode=drwxr-xr-x ,inode=476412,size=6,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/share/netsurf/en/deoptions.ui",0x821450bd0,AT_SYMLINK_NOFOLLOW) ERR#2 'No such file or directory'
__realpathat(AT_FDCWD,"/usr/local/share/netsurf//deoptions.ui",0x27d809128400,1024,0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr",{ mode=drwxr-xr-x ,inode=5,size=15,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local",{ mode=drwxr-xr-x ,inode=458,size=22,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/share",{ mode=drwxr-xr-x ,inode=34311,size=264,blksize=16384 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/share/netsurf",{ mode=drwxr-xr-x ,inode=476408,size=40,blksize=4096 },AT_SYMLINK_NOFOLLOW) = 0 (0x0)
fstatat(AT_FDCWD,"/usr/local/share/netsurf/deoptions.ui",0x821450bd0,AT_SYMLINK_NOFOLLOW) ERR#2 'No such file or directory'
GTK resources failed to initialise (NotFound)
write(2,"GTK resources failed to initiali"...,46) = 46 (0x2e)
NetSurf gtk failed to initialise (NotFound)
write(2,"NetSurf gtk failed to initialise"...,44) = 44 (0x2c)
getpid()                                         = 26764 (0x688c)
getpid()                                         = 26764 (0x688c)
exit(0x2)                                       
process exit, rval = 2




Regards,
vermaden
Comment 1 Andrey Korobkov 2024-03-27 21:29:04 UTC
Exactly the same here.
Comment 2 mew14930xvi 2024-03-28 18:44:39 UTC
Created attachment 249540 [details]
fix resources error

I tested on amd64 14.0R.
Comment 3 mew14930xvi 2024-03-30 13:33:04 UTC
Created attachment 249577 [details]
fix resources error

Fix Resources Error
Fix dependency on xxd
bump PORTREVISION
Comment 4 mew14930xvi 2024-04-12 02:45:03 UTC
Created attachment 249920 [details]
Fix Resources Error

Add LICENSE_FILE