Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638796 - media-gfx/meshlab-2016.12 - ../../../vcglib/wrap/io_trimesh/import_out.h:91:18: error: no matching function for call to ‘vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(FILE*&)’
Summary: media-gfx/meshlab-2016.12 - ../../../vcglib/wrap/io_trimesh/import_out.h:91:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-25 14:11 UTC by Juergen Rose
Modified: 2018-01-13 10:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,483.00 KB, text/plain)
2017-11-25 14:11 UTC, Juergen Rose
Details
per file patch 1 (meshlab-2016.12-001-vcg::CallBackPos.patch,774 bytes, patch)
2017-11-27 19:07 UTC, CaptainBlood
Details | Diff
per file patch 2 (meshlab-2016.12-002-vcg::CallBackPos.patch,632 bytes, patch)
2017-11-27 19:10 UTC, CaptainBlood
Details | Diff
build.log (build.log,805.00 KB, text/x-log)
2017-12-28 09:12 UTC, Jura
Details
fix-compile-vcglib.patch (fix-vcglib.patch,1.45 KB, patch)
2017-12-28 09:32 UTC, Jura
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2017-11-25 14:11:57 UTC
Created attachment 506576 [details]
build.log

'MAKEOPTS=-j1 emerge -v1 meshlab' fails with:
...
x86_64-pc-linux-gnu-g++ -c -march=native -O2 -pipe -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DMESHLAB_SCALAR=float -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_SCRIPT_LIB -DQT_CORE_LIB -I. -I../.. -I../../../vcglib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtOpenGL -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtXmlPatterns -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtScript -isystem /usr/include/qt5/QtCore -I. -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o meshlabdocumentbundler.o meshlabdocumentbundler.cpp
...
In file included from meshlabdocumentbundler.h:4:0,
                 from meshlabdocumentbundler.cpp:11:
../../../vcglib/wrap/io_trimesh/import_out.h: In static member function ‘static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(const char*, unsigned int&, unsigned int&)’:
../../../vcglib/wrap/io_trimesh/import_out.h:91:18: error: no matching function for call to ‘vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(FILE*&)’
     ReadHeader(fp);
                  ^
../../../vcglib/wrap/io_trimesh/import_out.h:76:13: note: candidate: static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(FILE*, unsigned int&, unsigned int&)
 static bool ReadHeader(FILE *fp,unsigned int &num_cams, unsigned int &num_points){
...
../../../vcglib/wrap/io_trimesh/import_nvm.h:91:18: error: no matching function for call to ‘vcg::tri::io::ImporterNVM<OpenMeshType>::ReadHeader(FILE*&)’
     ReadHeader(fp);
...
../../../vcglib/wrap/io_trimesh/import_nvm.h:73:15: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...’, declared with attribute warn_unused_result [-Wunused-result]
         fscanf(fp, "%c", &c);
         ~~~~~~^~~~~~~~~~~~~~
make[1]: *** [Makefile:4960: meshlabdocumentbundler.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/media-gfx/meshlab-2016.12/work/meshlab-2016.12/src/common'



root@lynxold:/usr/src(13)# emerge --info '=media-gfx/meshlab-2016.12::gentoo'
Portage 2.3.16 (python 3.4.6-final-0, default/linux/amd64/13.0/desktop, gcc-7.2.0, glibc-2.26-r3, 4.14.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:    16103936 total,   3851684 free
KiB Swap:   50331644 total,  50308340 free
Timestamp of repository gentoo: Sat, 25 Nov 2017 11:30:01 +0000
Head commit of repository gentoo: aff5eaa946f533f5e199d2d32e3279a505102280
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p2) 2.29.1
distcc[9254] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Aug 28 2017 12:27:53 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r100::sage-on-gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.10.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.9::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage_lynx
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

g-cpan
    location: /var/lib/cpan
    masters: gentoo
    priority: 1

g-octave
    location: /var/lib/g-octave
    masters: gentoo
    priority: 2

ago
    location: /var/lib/layman/ago
    masters: gentoo
    priority: 50

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    masters: gentoo science
    priority: 50

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA NVIDIA-CUDA Nero-AAC-EULA GIMPS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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_TMPDIR="/var/tmp"
USE="64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 amr ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audiofile aufs automap automount barcode bash-completion berkdb blas blast bluetooth bluray boost branding btrfs bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cilk clang cli cmake collada consolekit contrib cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia digitalradio djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples excel exif expat extensions extra extras faac faad fam ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx ftp fuse gcj gd gdal gdbm gedit geoip geolocation geos gfortran gif gimp git glade glamor glib glpk gml gmp gnome gnome-keyring gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile hdaps hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jadetex java jbig jit john jpeg jpeg2k kate kde kdepim kdrive kerberos keymap kpathsea kvm ladspa lame lapack latex lcms ldap lensfun libffi libgda libkms libnotify libsamplerate lirc live lm_sensors lua lzma lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp multilib multimedia musepack musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg opencl opencv openexr opengl openmp openvg pam pango pcre pda pdf pdl2 perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds ppp preview-latex proj projectm pstricks pulseaudio python q16 q32 qemu qhull qml qt3support qt4 qt5 quicktime raw readline reiserfs reports rle romio rpc rrdcgi rrdtool rtlsdr sage samba sasl schroedinger science sdk sdl seccomp secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite ssl startup-notification stlport subtitles subversion sudo suexec svg svm swig systemd szip t1lib tbb tcl tcpd tex tex4ht theora thesaurus thinkpad threads thunderbird tidy tiff tk tools truetype udev udisks unicode upower usb utempter v4l v4l2 vaapi vala valgrind vdpau video vim-syntax virt-network virtualbox visio vorbis vpx vtk wav wayland webdav webdav-serf webkit wifi wmf wxwidgets x264 xa xattr xcb xen xetex xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zsh-completion zvbi" ABI_X86="64" ALSA_CARDS="intel8x0" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog sensors thermal" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="nss" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf superstar2 tnt tripmate tsip ublox nmea0183 nmea2000 passthrough" GRUB_PLATFORMS="emu efi-64 pc xen" INPUT_DEVICES="keyboard mouse evdev synaptics void" KERNEL="linux" L10N="de en fr ru" LCD_DEVICES="cfontz hd44780 mtxorb ncurses X lcd2usb lcdlinux png usblcd SureElec" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr ru" LIRC_DEVICES="devinput" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965 displaylink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




root@lynxold:/usr/src(14)# emerge -pqv '=media-gfx/meshlab-2016.12::gentoo'
[ebuild     U ] media-gfx/meshlab-2016.12 [1.3.3-r1] USE="-minimal%"
Comment 1 CaptainBlood 2017-11-26 01:46:51 UTC
same here.

patch as https://github.com/cnr-isti-vclab/meshlab/issues/188 has been applied, unsuccessfully.
-------------------------------------------------------------------------------
emerge --info meshlab 
 * Failed to change nice value to '-12'
 * [Errno 1] Operation not permitted

Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/13.0, gcc-7.2.0, glibc-2.26-r3, 4.9.49-gentoo-r1-krnlschd x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.49-gentoo-r1-krnlschd-x86_64-Intel-R-_Core-TM-_i3-3217U_CPU_@_1.80GHz-with-gentoo-2.4.1
KiB Mem:     8050948 total,   3491532 free
KiB Swap:    8048528 total,   8048528 free
Timestamp of repository gentoo: Sun, 26 Nov 2017 00:15:01 +0000
Head commit of repository gentoo: 727b15eb2a096d6680d9d5eecd011407fa377eed
Timestamp of repository jorgicio: Sat, 25 Nov 2017 11:09:13 +0000
Head commit of repository jorgicio: c29c5ac02cf9091e0c148a6ad98a419a5ee374d3

Timestamp of repository mv: Fri, 24 Nov 2017 18:41:42 +0000
Head commit of repository mv: 5627e2ad3de00c0308870b20202a70f655f46339

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc[14253] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Oct  5 2017 01:06:39 [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.9::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

sabayon
    location: /var/lib/layman/sabayon
    masters: gentoo
    priority: -10001

ssnb
    location: /var/lib/layman/ssnb
    masters: gentoo
    priority: -10001

sublime-text
    location: /var/lib/layman/sublime-text
    masters: gentoo
    priority: -10001

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --timeout=600

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

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

zyrenth
    location: /var/lib/layman/zyrenth
    masters: gentoo
    priority: 50

Installed sets: @gcc-toolchain
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=ivybridge -O2 -fopenmp -flto=4 -fuse-linker-plugin -fno-fat-lto-objects    -flto-compression-level=9 -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe -I/usr/include/tirpc/"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -mtune=ivybridge -O2 -fopenmp -flto=4 -fuse-linker-plugin -fno-fat-lto-objects    -flto-compression-level=9 -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe -I/usr/include/tirpc/    "
DISTDIR="/usr/distfiles"
EMERGE_DEFAULT_OPTS="	--alert y 			--alphabetical 		--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  	--autounmask-write y 			--misspell-suggestions n 		--noconfmem 			--nospinner  			--quiet-build y  			--tree 			--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirrors.evowise.com/gentoo/ http://tux.rainside.sk/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.neolabs.kz/gentoo/pub http://mirrors.soeasyto.com/distfiles.gentoo.org/ http://gentoo.mirror.web4u.cz/"
LANG="fr_FR.utf8"
LDFLAGS=" -Wl,-O1 -Wl,-flto     -Wl,-s  -Wl,-fuse-ld=gold -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common "
MAKEOPTS="-j3 -l3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=600"
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_TMPDIR="/var/tmp"
USE="X amd64 bluetooth bzip2 cli consolekit cracklib crypt cxx dbus dri egl fftw flac fortran gdbm gif gles gles1 gles2 gmp iconv icu id3tag jack jpeg2k ladspa mad modules multilib multislot ncurses nls nptl ogg openal opengl openmp opus orc pam pch pcre png policykit portaudio pulseaudio qt5 readline seccomp session smp sndfile sox sse sse2 sse4_1 ssl ssse3 svg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite tcpd threads tiff truetype twolame udev udisks unicode upower v4l vaapi vorbis x264 xcb xinerama xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6" RUBY_TARGETS="ruby22" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND

=================================================================
                        Package Settings
=================================================================
!!! /etc/portage/package.env references non-existent file: /etc/portage/env/ld.bfd.conf

media-gfx/meshlab-1.3.3-r1::gentoo was built with the following:
USE="" ABI_X86="(64)"
CFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -O2 -fopenmp -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -flto-report -flto-compression-level=9 -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe"
CXXFLAGS="-march=ivybridge -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mf16c -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -O2 -fopenmp -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -flto-report -flto-compression-level=9 -fgraphite-identity -floop-block -floop-interchange -floop-strip-mine -ftree-loop-distribution -ftree-loop-linear -pipe -std=gnu++98"
Comment 2 CaptainBlood 2017-11-27 19:07:55 UTC
Created attachment 506848 [details, diff]
per file patch 1
Comment 3 CaptainBlood 2017-11-27 19:10:32 UTC
Created attachment 506850 [details, diff]
per file patch 2
Comment 4 Larry the Git Cow gentoo-dev 2017-12-27 16:21:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5adf61fc5ab5b1d96143e1ebb5f62d7ea26b5f0

commit b5adf61fc5ab5b1d96143e1ebb5f62d7ea26b5f0
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2017-12-27 16:16:45 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2017-12-27 16:21:15 +0000

    media-gfx/meshlab: fix align and plugin path
    
    - Align fix -> Submitted-by:luc_pierard_de_maujouy@yahoo.fr
    Closes: https://bugs.gentoo.org/638796
    
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../files/2016.12/meshlab-2016.12-align1.patch     |  16 ++++
 .../files/2016.12/meshlab-2016.12-align2.patch     |  11 +++
 .../2016.12/meshlab-2016.12-fix-plugins-path.patch |  17 ++++
 media-gfx/meshlab/meshlab-2016.12-r1.ebuild        | 104 +++++++++++++++++++++
 4 files changed, 148 insertions(+)
Comment 5 Jura 2017-12-28 09:11:17 UTC
bug did not disappear
Comment 6 Jura 2017-12-28 09:12:40 UTC
Created attachment 511810 [details]
build.log
Comment 7 Miroslav Šulc gentoo-dev 2017-12-28 09:14:35 UTC
i can confirm it does not compile and ends up with the same error.
Comment 8 Jura 2017-12-28 09:32:43 UTC
Created attachment 511814 [details, diff]
fix-compile-vcglib.patch

fix compile
Comment 9 Amy Liffey gentoo-dev 2017-12-28 10:53:30 UTC
I wonder why it works for me. I cant really test if it disappear if it works for me :) 

Alright let me add this patch then. :)
Comment 10 Juergen Rose 2018-01-12 20:41:28 UTC
It still fails with the same error.
Comment 11 Amy Liffey gentoo-dev 2018-01-12 23:54:15 UTC
(In reply to Juergen Rose from comment #10)
> It still fails with t
Comment 12 Larry the Git Cow gentoo-dev 2018-01-13 10:25:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcc5a4f75d7ddd502fc8a7b7ae0f080134987ba2

commit bcc5a4f75d7ddd502fc8a7b7ae0f080134987ba2
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2018-01-13 10:22:32 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2018-01-13 10:25:44 +0000

    media-gfx/meshlab: remove readheader
    
    Submitted-by: Jura <me@slie.ru>
    Closes: https://bugs.gentoo.org/638796
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../2016.12/meshlab-2016.12-remove-header.patch    |  38 ++++++++
 media-gfx/meshlab/meshlab-2016.12-r2.ebuild        | 108 +++++++++++++++++++++
 2 files changed, 146 insertions(+)