Bug 280201 - sysutils/isomaster: run and build failure after last devel/iniparser update
Summary: sysutils/isomaster: run and build failure after last devel/iniparser update
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: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-09 03:54 UTC by Ale
Modified: 2024-07-09 09:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ale 2024-07-09 03:54:31 UTC
$ isomaster 
ld-elf.so.1: Shared object "libiniparser.so.1" not found, required by "isomaster"


$ pkg info -lx iniparser | grep libiniparser\.so\..
	/usr/local/lib/libiniparser.so.4
	/usr/local/lib/libiniparser.so.4.2.4


# cd /usr/ports/sysutils/isomaster && make
...
In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:234:
/usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   47 | typedef void    (*GtkItemFactoryCallback)  ();
      |                                            ^
      |                                             void
In file included from isomaster.c:23:
In file included from ./isomaster.h:11:
./settings.h:10:10: fatal error: 'iniparser.h' file not found
   10 | #include <iniparser.h>
      |          ^~~~~~~~~~~~~
1 warning and 1 error generated.
gmake: *** [Makefile:92: isomaster.o] Error 1
*** Error code 1

It seems that iniparser.h has been moved from include/iniparser.h to include/iniparser/iniparser.h

$ pkg info -lx iniparser | grep iniparser\.h
	/usr/local/include/iniparser/iniparser.h
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-07-09 07:06:34 UTC
A commit in branch main references this bug:

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

commit 0e8236b4f4049e6dc48153cc05c032a3db96c232
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-07-09 07:01:42 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-07-09 07:05:49 +0000

    sysutils/isomaster: Fix build with latest devel/iniparser

    PR:             280201
    Reported by:    Ale <discipline@tiscali.it>

 sysutils/isomaster/files/patch-settings.h (new) | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2024-07-09 07:08:53 UTC
(In reply to Ale from comment #0)

Hello,

Could you try this fix and let me know if it is working ok?

Thanks
Comment 3 Ale 2024-07-09 07:41:14 UTC
(In reply to Nuno Teixeira from comment #2)
Now it builds and starts correctly.
Thank you.
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2024-07-09 09:13:28 UTC
Committed, thanks!