Thanks for the clarification. I ended up getting the distfile from
geany-plugins website working up to a certain point with make build:
4 warnings generated.
mv -f .deps/addons_la-ao_xmltagging.Tpo .deps/addons_la-ao_xmltagging.Plo
/usr/bin/libtool  --tag=CC    --mode=link cc
-DLOCALEDIR=\""/usr/local/share/locale"\"  -DPREFIX=\""/usr/local"\"
 -DDOCDIR=\""/usr/local/share/doc/geany-plugins"\"
 -DGEANYPLUGINS_DATADIR=\""/usr/local/share"\"
 -DPKGDATADIR=\""/usr/local/share/geany-plugins"\"
 -DLIBDIR=\""/usr/local/lib"\"
 -DPKGLIBDIR=\""/usr/local/lib/geany-plugins"\"
 -DPLUGINDATADIR=\""/usr/local/share/geany-plugins/addons"\"
 -DPLUGINDOCDIR=\""/usr/local/share/doc/geany-plugins/addons"\"
 -DPLUGINLIBDIR=\""/usr/local/lib/geany-plugins/addons"\"
 -DPLUGIN="\"addons\""  -DGTK -I/usr/local/include/geany
-I/usr/local/include/geany/tagmanager -I/usr/local/include/geany/scintilla
-I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0
-I/usr/local/include/at-spi-2.0 -I/usr/X11R6/include
-I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include
-I/usr/local/include -I/usr/local/include/gio-unix-2.0
-I/usr/X11R6/include/libdrm -I/usr/local/include/pango-1.0
-I/usr/local/include/harfbuzz -I/usr/local/include/fribidi
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
-I/usr/local/include/lzo -I/usr/local/include/libpng16
-I/usr/X11R6/include/freetype2 -I/usr/X11R6/include/pixman-1
-I/usr/local/include/gdk-pixbuf-2.0 -pthread -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include  -Wall -Wimplicit-function-declaration
-Wpointer-arith -Wshadow -Wundef -Wwrite-strings -O2 -pipe  -module
-avoid-version -no-undefined -Wl,-z,defs  -o addons.la -rpath
/usr/local/lib/geany addons_la-addons.lo addons_la-ao_blanklines.lo
 addons_la-ao_bookmarklist.lo addons_la-ao_colortip.lo
 addons_la-ao_copyfilepath.lo addons_la-ao_doclist.lo
 addons_la-ao_markword.lo addons_la-ao_openuri.lo  addons_la-ao_systray.lo
addons_la-ao_tasks.lo  addons_la-ao_wrapwords.lo addons_la-ao_xmltagging.lo
-L/usr/local/lib -Wl,-rpath-link,/usr/X11R6/lib -lgeany -lgtk-3 -lgdk-3
-lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo
-lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
libtool: link: cc -shared -fPIC -DPIC -o .libs/addons.so -pthread
-DLOCALEDIR="/usr/local/share/locale" -DPREFIX="/usr/local"
-DDOCDIR="/usr/local/share/doc/geany-plugins"
-DGEANYPLUGINS_DATADIR="/usr/local/share"
-DPKGDATADIR="/usr/local/share/geany-plugins" -DLIBDIR="/usr/local/lib"
-DPKGLIBDIR="/usr/local/lib/geany-plugins"
-DPLUGINDATADIR="/usr/local/share/geany-plugins/addons"
-DPLUGINDOCDIR="/usr/local/share/doc/geany-plugins/addons"
-DPLUGINLIBDIR="/usr/local/lib/geany-plugins/addons" -DPLUGIN="addons"
-DGTK -I/usr/local/include/geany -I/usr/local/include/geany/tagmanager
-I/usr/local/include/geany/scintilla -I/usr/local/include/gtk-3.0
-I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0
-I/usr/X11R6/include -I/usr/local/include/dbus-1.0
-I/usr/local/lib/dbus-1.0/include -I/usr/local/include
-I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm
-I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz
-I/usr/local/include/fribidi -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/lzo
-I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2
-I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall
-Wimplicit-function-declaration -Wpointer-arith -Wshadow -Wundef
-Wwrite-strings -O2 -pipe -Wl,-z -Wl,defs -Wl,-rpath-link
-Wl,/usr/X11R6/lib .libs/addons_la-addons.o .libs/addons_la-ao_blanklines.o
.libs/addons_la-ao_bookmarklist.o .libs/addons_la-ao_colortip.o
.libs/addons_la-ao_copyfilepath.o .libs/addons_la-ao_doclist.o
.libs/addons_la-ao_markword.o .libs/addons_la-ao_openuri.o
.libs/addons_la-ao_systray.o .libs/addons_la-ao_tasks.o
.libs/addons_la-ao_wrapwords.o .libs/addons_la-ao_xmltagging.o -L.libs
-lgeany -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz
-lgdk_pixbuf-2.0 -lcairo-gobject -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
-lfontconfig -lfreetype -lz -lXinerama -lXext -lX11 -lxcb -lXi -lXrandr
-lXrender -lXcursor -lXfixes -lXcomposite -lXdamage -lcairo -lepoxy
-lfribidi -lm -liconv -lexpat -lgmodule-2.0 -latk-1.0 -latk-bridge-2.0
-lpangoft2-1.0 -lpthread -lexecinfo -lgthread-2.0 -lpcre -lffi -lgraphite2
-lc++ -lc++abi -lpng -lXau -lXdmcp -lxcb-render -lxcb-shm -lpixman-1 -ljpeg
-Wl,-soname,addons.so
ld: error: undefined symbol: strchr
>>> referenced by ao_colortip.c
>>>               .libs/addons_la-ao_colortip.o:(ao_color_tip_editor_notify)
>>> referenced by ao_openuri.c
>>>               .libs/addons_la-ao_openuri.o:(ao_open_uri_update_menu)
>>> referenced by ao_openuri.c
>>>               .libs/addons_la-ao_openuri.o:(ao_open_uri_update_menu)
>>> referenced 1 more times

ld: error: undefined symbol: strstr
>>> referenced by ao_colortip.c
>>>               .libs/addons_la-ao_colortip.o:(ao_color_tip_editor_notify)
>>> referenced by ao_tasks.c
>>>               .libs/addons_la-ao_tasks.o:(update_tasks_for_doc)
>>> referenced by ao_tasks.c
>>>               .libs/addons_la-ao_tasks.o:(update_tasks_for_doc)
>>> referenced 2 more times

ld: error: undefined symbol: strlen
>>> referenced by ao_colortip.c
>>>
.libs/addons_la-ao_colortip.o:(on_editor_button_press_event)
>>> referenced by ao_openuri.c
>>>               .libs/addons_la-ao_openuri.o:(ao_open_uri_update_menu)
>>> referenced by ao_tasks.c
>>>               .libs/addons_la-ao_tasks.o:(update_tasks_for_doc)

ld: error: undefined symbol: strncmp
>>> referenced by ao_openuri.c
>>>               .libs/addons_la-ao_openuri.o:(ao_open_uri_update_menu)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Error while executing cc -shared -fPIC -DPIC -o .libs/addons.so -pthread
-DLOCALEDIR="/usr/local/share/locale" -DPREFIX="/usr/local"
-DDOCDIR="/usr/local/share/doc/geany-plugins"
-DGEANYPLUGINS_DATADIR="/usr/local/share"
-DPKGDATADIR="/usr/local/share/geany-plugins" -DLIBDIR="/usr/local/lib"
-DPKGLIBDIR="/usr/local/lib/geany-plugins"
-DPLUGINDATADIR="/usr/local/share/geany-plugins/addons"
-DPLUGINDOCDIR="/usr/local/share/doc/geany-plugins/addons"
-DPLUGINLIBDIR="/usr/local/lib/geany-plugins/addons" -DPLUGIN="addons"
-DGTK -I/usr/local/include/geany -I/usr/local/include/geany/tagmanager
-I/usr/local/include/geany/scintilla -I/usr/local/include/gtk-3.0
-I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0
-I/usr/X11R6/include -I/usr/local/include/dbus-1.0
-I/usr/local/lib/dbus-1.0/include -I/usr/local/include
-I/usr/local/include/gio-unix-2.0 -I/usr/X11R6/include/libdrm
-I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz
-I/usr/local/include/fribidi -I/usr/local/include/atk-1.0
-I/usr/local/include/cairo -I/usr/local/include/lzo
-I/usr/local/include/libpng16 -I/usr/X11R6/include/freetype2
-I/usr/X11R6/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -Wall
-Wimplicit-function-declaration -Wpointer-arith -Wshadow -Wundef
-Wwrite-strings -O2 -pipe -Wl,-z -Wl,defs -Wl,-rpath-link
-Wl,/usr/X11R6/lib .libs/addons_la-addons.o .libs/addons_la-ao_blanklines.o
.libs/addons_la-ao_bookmarklist.o .libs/addons_la-ao_colortip.o
.libs/addons_la-ao_copyfilepath.o .libs/addons_la-ao_doclist.o
.libs/addons_la-ao_markword.o .libs/addons_la-ao_openuri.o
.libs/addons_la-ao_systray.o .libs/addons_la-ao_tasks.o
.libs/addons_la-ao_wrapwords.o .libs/addons_la-ao_xmltagging.o -L.libs
-lgeany -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz
-lgdk_pixbuf-2.0 -lcairo-gobject -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl
-lfontconfig -lfreetype -lz -lXinerama -lXext -lX11 -lxcb -lXi -lXrandr
-lXrender -lXcursor -lXfixes -lXcomposite -lXdamage -lcairo -lepoxy
-lfribidi -lm -liconv -lexpat -lgmodule-2.0 -latk-1.0 -latk-bridge-2.0
-lpangoft2-1.0 -lpthread -lexecinfo -lgthread-2.0 -lpcre -lffi -lgraphite2
-lc++ -lc++abi -lpng -lXau -lXdmcp -lxcb-render -lxcb-shm -lpixman-1 -ljpeg
-Wl,-soname,addons.so
*** Error 2 in addons/src (Makefile:648 'addons.la')
*** Error 1 in addons (Makefile:613 'all-recursive': @fail=;  if
(target_option=k; case ${target_option-} in  ?) ;;  *) echo
"am__make_runni...)
*** Error 1 in . (Makefile:661 'all-recursive': @fail=;  if
(target_option=k; case ${target_option-} in  ?) ;;  *) echo
"am__make_running_wi...)
*** Error 2 in /usr/obj/ports/geany-plugins-1.38/build-amd64 (Makefile:568
'all')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2961
'/usr/obj/ports/geany-plugins-1.38/build-amd64/.build_done': @cd
/usr/obj/po...)
*** Error 2 in /usr/ports/mystuff/editors/geany-plugins
(/usr/ports/infrastructure/mk/bsd.port.mk:2607 'build':
@lock=geany-plugins-1.38;  e...)
OpenOTG$

Do you think that this error is from upstream?

Thank you,
Lewis I.


On Mon, Feb 21, 2022 at 2:20 AM Stuart Henderson <s...@spacehopper.org>
wrote:

> On 2022/02/20 15:44, Lewis ingraham wrote:
> > Hello, thank you for responding! I did what you recommended and got much
> further in the build
> > process. However, I ended up getting this error when doing "make build"
> Github Version of the
> > makefile:
> >
> > *** /usr/obj/ports/geany-plugins-1.38.0/bin/xgettext was called without
> devel/gettext,-tools
> > dependency ***
>
> > As you can see I have installed both of the required packages(Please
> correct me if I am wrong
> > in any way).
>
> Any packages required for the build must be listed in BUILD_DEPENDS,
> it's not just about them being present on your system, they must be
> in the port too
>
> > Also I tried doing a master_sites and distfile version of this makefile
> like you recommended
> > and ended up getting this when doing "make build" with the
> geany-plugins-version:
> > ===>  Checking files for geany-plugins-1.38
> > >> No size recorded for geany-plugins-1.38.tar.gz
>
> make makesum
>
>
>

Attachment: Makefile.geany-plugins-version
Description: Binary data

Reply via email to