Skip to content

extra/libfyaml: First commit of libfyaml#156

Open
emazzucabb wants to merge 2 commits intoqnx-ports:803from
emazzucabb:libfyaml
Open

extra/libfyaml: First commit of libfyaml#156
emazzucabb wants to merge 2 commits intoqnx-ports:803from
emazzucabb:libfyaml

Conversation

@emazzucabb
Copy link
Contributor

First commit of libfyaml

Copy link
Contributor

@taang-qnx taang-qnx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

x86_64 min image dated 8-Dec-2025 was used. Some components were required.

  1. qnx-io-sock-dev
/usr/include/sys/ioctl.h:59:10: fatal error: 'sys/sockio.h' file not found
   59 | #include <sys/sockio.h>
      |          ^~~~~~~~~~~~~~
1 error generated.
make[2]: *** [Makefile:1451: lib/libfyaml_la-fy-input.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:605: all-recursive] Error 1
make: *** [Makefile:510: all] Error 2
>>> ERROR: libfyaml: build failed
  1. -fPIC
cc: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument]
  LINK  libb3portable.la
  LINK  libfyaml.la
/usr/bin/ld: lib/.libs/libfyaml_la-fy-parse.o: warning: relocation against `fy_default_version' in read-only section `.text'
/usr/bin/ld: lib/.libs/libfyaml_la-fy-parse.o: relocation R_X86_64_PC32 against symbol `fy_default_version' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [Makefile:1113: libfyaml.la] Error 1
make[1]: *** [Makefile:605: all-recursive] Error 1
make: *** [Makefile:510: all] Error 2
>>> ERROR: libfyaml: build failed

bash
libtool
m4
qnx-memstream-dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
qnx-memstream-dev
qnx-memstream-dev
qnx-io-sock-dev

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

--mandir=/usr/share/man \
--infodir=/usr/share/info \
--disable-static \
LDFLAGS="$LDFLAGS -lmemstream"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
LDFLAGS="$LDFLAGS -lmemstream"
LDFLAGS="$LDFLAGS -lmemstream"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants