Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
liblas compile error and possible bug
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Sun Jun 09, 2024 7:45 pm    Post subject: liblas compile error and possible bug Reply with quote

Evening/Morning folks ...


The profile switch is still going on :-< and I'm facing error compiling sci-geosciences/liblas-1.8.1-r3. I can put the whole log, but it's only one error, so I'll just put it instead

Code:
[27/81] /bin/x86_64-pc-linux-gnu-gcc -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DHAVE_LIBGEOTIFF=1 -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/. -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/../include -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/../include/liblas/capi  -O2 -pipe -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3 -fno-strict-aliasing -MD-MT apps/CMakeFiles/las2col.dir/las2col.c.o -MF apps/CMakeFiles/las2col.dir/las2col.c.o.d -o apps/CMakeFiles/las2col.dir/las2col.c.o -c /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c
FAILED: apps/CMakeFiles/las2col.dir/las2col.c.o
/bin/x86_64-pc-linux-gnu-gcc -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DHAVE_LIBGEOTIFF=1 -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/. -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/../include -I/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/../include/liblas/capi  -O2 -pipe -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3 -fno-strict-aliasing -MD -MT apps/CMakeFiles/las2col.dir/las2col.c.o -MF apps/CMakeFiles/las2col.dir/las2col.c.o.d -o apps/CMakeFiles/las2col.dir/las2col.c.o -c /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c
/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c: In function ‘S64’:
/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c:574:33: warning: format ‘%ld’ expects argument of type ‘long int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
574 |         int scanned = sscanf(s, "lld%" SCNd64 "%c", &i, &c);
|                                 ^~~~~~              ~~
|                                                     |
|                                                     long long int *
In file included from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c:26:
/usr/include/inttypes.h:213:41: note: format string is defined here
213 | # define SCNd64         __PRI64_PREFIX "d"
/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c: In function ‘main’:
/var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c:1048:24: error: passing argument 1 of ‘fsync’ makes integer from pointer without a cast [-Wint-conversion]
1048 |         fsync(files_out[i]);
|               ~~~~~~~~~^~~
|                        |
|                        FILE *
In file included from /var/tmp/portage/sci-geosciences/liblas-1.8.1-r3/work/libLAS-1.8.1/apps/las2col.c:30:
/usr/include/unistd.h:989:23: note: expected ‘int’ but argument is of type ‘FILE *’
989 | extern int fsync (int __fd);
|                   ~~~~^~~~



I have the latest version of boost installed

Code:
# emerge -s dev-libs/boost

[ Results for search key : dev-libs/boost ]
Searching...

*  dev-libs/boost
Latest version available: 1.85.0-r1
Latest version installed: 1.85.0-r1
Size of files: 121,109 KiB
Homepage:      https://www.boost.org/
Description:   Boost Libraries for C++
License:       Boost-1.0

[ Applications found : 1 ]


Also

Code:
# emerge --info sci-geosciences/liblas
Portage 3.0.65 (python 3.12.4-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.39-r7, 6.9.0-rc6-rt3-OptiPlex-7040-1.2.1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.9.0-rc6-rt3-OptiPlex-7040-1.2.1-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-glibc2.39
KiB Mem:    32626520 total,  17934272 free
KiB Swap:   97675260 total,  97646508 free
Head commit of repository gentoo: 754a72f8aa63942f0dcdb7ccad2d078f761bf64b

Timestamp of repository benzene-overlay: Sun, 09 Jun 2024 08:19:01 +0000
Head commit of repository benzene-overlay: 39789fbe44f99ca538e36384bf4a610c380ec8cb

Head commit of repository compiz-reloaded: ac5fb6fd84401ebd99d4238192e8063b602e6d89

Timestamp of repository gentoo-zh: Sat, 08 Jun 2024 15:03:49 +0000
Head commit of repository gentoo-zh: e6a3cd96e8ab13956f1f8f491db43fc994b44ea5

Timestamp of repository guru: Sat, 08 Jun 2024 22:48:55 +0000
Head commit of repository guru: 975045a574a42361ed226bb00cab13e2ab456427

Timestamp of repository phackerlay: Sun, 09 Jun 2024 13:18:53 +0000
Head commit of repository phackerlay: 61fae2b0c03044248feb6d67be21b92f05fd0098

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-lang/perl:             5.38.2-r6::gentoo
dev-lang/python:           3.8.19_p2::gentoo, 3.9.19_p3::gentoo, 3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.4::gentoo, 3.13.0_beta1_p3::gentoo
dev-lang/rust:             1.78.0::gentoo
dev-lang/rust-bin:         1.78.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.7::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.6::gentoo
sys-devel/gcc:             13.3.0::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo, 18.1.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.6::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r7::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: https://github.com/gentoo/gentoo.git
priority: -1000
volatile: False

benzene-overlay
location: /var/db/repos/benzene-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/benzene-overlay.git
masters: gentoo
volatile: False

compiz-reloaded
location: /var/db/repos/compiz-reloaded
sync-type: git
sync-uri: https://github.com/ethus3h/compiz-reloaded-overlay
masters: gentoo
volatile: False

gentoo-zh
location: /var/db/repos/gentoo-zh
sync-type: git
sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git
masters: gentoo
volatile: False

guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False

local
location: /var/db/repos/local
masters: gentoo
volatile: False

phackerlay
location: /var/db/repos/phackerlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/phackerlay.git
masters: gentoo
volatile: False

Binary Repositories:

gentoobinhost
priority: 1
sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ADA_TARGET="gcc_12"
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ARCH="amd64"
AUTOCLEAN="yes"
BINPKG_COMPRESS="xz"
BINPKG_COMPRESS_FLAGS="-9 -T16"
BINPKG_FORMAT="gpkg"
BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign--armor [PORTAGE_CONFIG]"
BINPKG_GPG_SIGNING_DIGEST="SHA512"
BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]"
BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg"
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_12 python_single_target_python3_12 multilib zstd cet systemd sysv-utils udev"
BROOT=""
CALLIGRA_FEATURES="karbon sheets words"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe  -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32 -mfpmath=sse"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/boot/dtbs/* /lib/modules/*"
COMMON_FLAGS=" -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf/etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CPU_FLAGS_X86="aes avx avx2 f16c fma4 mmx pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3 vpclmulqdq"
CXXFLAGS="-O2 -pipe  -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/run/media/deyaa/Developement/distfiles"
ECLASS_DEBUG_OUTPUT="on"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS=" --jobs=2 --load-average=8.00 --keep-going=y -v --usepkg --buildpkg --fail-clean=n"
EMERGE_WARNING_DELAY="10"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
EPREFIX=""
EROOT="/"
ESYSROOT="/"
FCFLAGS="-O2 -pipe  -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live candy compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles installsources ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict test test-fail-continue unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FETCHCOMMAND="/usr/bin/aria2c -x 16 -d "${DISTDIR}" -o "${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ;[[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
FFLAGS="-O2 -pipe  -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3"
GCC_SPECS=""
GENTOO_MIRRORS="https://gitweb.gentoo.org/repo/gentoo.git/tree"
GPG_VERIFY_GROUP_DROP="nogroup"
GPG_VERIFY_USER_DROP="nobody"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox"
GRUB_PLATFORMS="efi-64"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.42/info:/usr/share/autoconf-2.72/info:/usr/share/autoconf-2.71/info:/usr/share/autoconf-2.13/info:/usr/share/automake-1.16.5/info:/usr/share/info"
INPUT_DEVICES="libinput"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack"
KERNEL="linux"
KERNELDIR="/run/media/deyaa/Developement/src"
LADSPA_PATH="/usr/lib64/ladspa"
LANG="en_US.utf8"
LANGUAGE="en_US.utf8"
LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text"
LC_ADDRESS="en_US.utf8"
LC_ALL="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_CTYPE="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_NAME="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_TIME="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LEX="flex"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib"
LLVM_TARGETS="X86"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=00:tw=30;42
:ow=34;42:st=37;44:ex=01;32:*.7z=01;31:*.ace=01;31:*.alz=01;31:*.apk=01;31:*.arc=01;31:*.arj=01;31:*.bz=01;31:*.bz2=01;31:*.cab=01;31:*.cpio=01;31:*.crate=01;31:*.deb=01;31
:*.drpm=01;31:*.dwm=01;31:*.dz=01;31:*.ear=01;31:*.egg=01;31:*.esd=01;31:*.gz=01;31:*.jar=01;31:*.lha=01;31:*.lrz=01;31:*.lz=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.lzo=01;31:
*.pyz=01;31:*.rar=01;31:*.rpm=01;31:*.rz=01;31:*.sar=01;31:*.swm=01;31:*.t7z=01;31:*.tar=01;31:*.taz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tgz=01;31:*.tlz=01;31:*.txz=01;31:*.tz=01;31:
*.tzo=01;31:*.tzst=01;31:*.udeb=01;31:*.war=01;31:*.whl=01;31:*.wim=01;31:*.xz=01;31:*.z=01;31:*.zip=01;31:*.zoo=01;31:*.zst=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:
*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:
*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:
*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:
*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:
*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.crdownload=00;90:*.dpkg-dist=00;90:*.dpkg-new=00;90:*.dpkg-old=00;90:*.dpkg-tmp=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:*.swp=00;90:*.tmp=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:
*.ucf-old=00;90:"
LUA_SINGLE_TARGET="lua5-1"
LUA_TARGETS="lua5-1"
LV2_PATH="/usr/lib64/lv2"
MAKEOPTS="-j16"
MANPAGER="manpager"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.42/man:/usr/local/share/man:/usr/share/man:/usr/lib/rust/man:/usr/lib/llvm/18/share/man:
/usr/lib/llvm/17/share/man"
MOZ_GMP_PATH="/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32/usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)"
NPM_CONFIG_GLOBALCONFIG="/etc/npm/npmrc"
OFFICE_IMPLEMENTATION="libreoffice"
PAGER="/usr/bin/less"
PATH="/bin:/lib:/lib64:/opt/bin:/sbin:/usr/bin:/usr/lib:/usr/lib/llvm/15/bin:/usr/lib/llvm/17/bin:/usr/lib64:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/x86_64-pc-linux-gnu"
PERL_FEATURES=""
PHP_TARGETS="php8-2"
PKGDIR="/run/media/deyaa/Developement/binpkgs"
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux arm64-macos hppa ia64 loongm68k mips ppc ppc-macos ppc64 ppc64-linux riscv riscv-linux s390 sparc x64-macos x64-solaris x86 x86-linux x86-macos"
PORTAGE_BIN_PATH="/usr/lib/portage/python3.12"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_LOGDIR="/var/log/portage"
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib/python3.12/site-packages"
PORTAGE_PYTHONPATH="/usr/lib/python3.12/site-packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TRUST_HELPER="/usr/bin/getuto"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima        security.selinux system.nfs4_acl user.apache_handler         user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*"
POSTGRES_TARGETS="postgres15"
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_12"
PYTHON_TARGETS="python3_12"
QUICKPKG_DEFAULT_OPTS="--include-config=n --include-unmodified-config=n"
RESUMECOMMAND="/usr/bin/aria2c -x 16 -c -d "${DISTDIR}" -o "${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}""
ROOT="/"
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/18/bin:/usr/lib/llvm/17/bin"
RPMDIR="/var/cache/rpm"
RUBY_TARGETS="ruby31 ruby32"
SHELL="/bin/bash"
SHLVL="1"
SYMLINK_LIB="no"
SYSROOT="/"
TERM="xterm-256color"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
UNINSTALL_IGNORE="/boot/dtbs/* /lib/modules/* /var/run /var/lock /bin /lib /lib32 /lib64 /libx32 /sbin /usr/sbin /usr/lib/modules/*"
USE="X a52 aac acl acpi alsa amd64 bash-completion bluetooth branding brotli bzip2 cairo cdda cdr cetcgi colord crypt cups custom-cflags cxx dbus debug debuginfod dga dri drm dts dvd dvdr eds encode evo exif ffmpeg flac gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc lm-sensors lto lz4 lzma lzo mad man mng mp3 mp4 mpeg mpi mtp multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pangopcre pdf pgo pipewire png policykit ppds qt5 readline sdl seccomp sound spell ssl startup-notification svg symlink sysprof systemd systemtap systemtd test test-rust theora threads tiff tracker truetypeudev udisks unicode upower usb v4l vaapi valgrind vc vdo vorbis vpx vulkan wayland webp wifi wxwidgets x264 x265 xattr xcb xft xml xv xvid zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fsdav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma4 mmx pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
USER="root"
USERLAND="GNU"
USE_EXPAND="ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS AMDGPU_TARGETS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LLVM_SLOT LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PERL_FEATURES PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XTABLES_ADDONS"
USE_EXPAND_HIDDEN="ABI_MIPS ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 x86-linux"
USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS"
USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS"
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d"
VIDEO_CARDS="intel"
XAUTHORITY="/root/.xauthTqDHvy"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
ac_cv_c_undeclared_builtin_options="none needed"
enable_year2038="no"
gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration"
gl_cv_func_getcwd_path_max="yes"

=================================================================
Package Settings
=================================================================

sci-geosciences/liblas-1.8.1-r3::gentoo was built with the following:
USE="-gdal" ABI_X86="(64)"
CFLAGS="-O2 -pipe -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3 -fno-strict-aliasing"
CXXFLAGS="-O2 -pipe -O3 -pipe -march=x86-64-v3 -mtune=skylake -ggdb3 -fno-strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live candy compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles installsources ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict test test-fail-continue unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"

And the question is, is this a bug, or something I did?


Mod note: Added some line breaks to LS_COLORS; Banana
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4669
Location: Germany

PostPosted: Sun Jun 09, 2024 8:20 pm    Post subject: Reply with quote

It is probably https://bugs.gentoo.org/933089
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Sun Jun 09, 2024 8:29 pm    Post subject: Reply with quote

The accompanied build log shows the same error I get, among other errors I didn't get. I think it maybe related to the new boost library?!
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1248
Location: Richmond Hill, Canada

PostPosted: Sun Jun 09, 2024 8:48 pm    Post subject: Reply with quote

According to github the 1.8.1 tagged 8 years ago. I guess back then the compiler were more forgiving.

The compiler error is correctly identify the code use of fsync(2) is incorrect.

The master branch on github already corrected this problem.

So you need to either try to build the code from master branch you self, or wait the developer release a new version and wait for Gentoo maintainer update ebuild for new release.
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Sun Jun 09, 2024 8:55 pm    Post subject: Reply with quote

Quote:
So you need to either try to build the code from master branch you self


I'll give it a try then post back ...
Back to top
View user's profile Send private message
Demo
Tux's lil' helper
Tux's lil' helper


Joined: 25 Nov 2022
Posts: 126

PostPosted: Mon Jun 10, 2024 2:55 pm    Post subject: Reply with quote

I gave it a try and did a shallow clone of the git repo, to be clearer " --depth=1 --branch=master". None of the gentoo patches was applied successfully. And I got tons of errors in the compilation.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum