When trying to emerge scilab-3.0, the build fails complainig: checking if gtk is version 2.1 or later... 2.4.4 Package libgtkhtml-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgtkhtml-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'libgtkhtml-2.0' found checking for html_document_open_stream in -lgtkhtml-2... no configure: error: Could not find the libgtkhtml-2.0 package. !!! ERROR: app-sci/scilab-3.0 failed. !!! Function econf, Line 362, Exitcode 1 !!! econf failed libgtkhtml is on the system (Version 3.0.10-r1), and the /usr/lib/pckconfig Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge scilab 2. 3. Actual Results: Build fails with the message above Expected Results: Should emerge cleanly I'll attach emerge --info output and the emerge log to this bug.
Created attachment 37854 [details] emerge --info output One shouldn't pres enter to fast ;) It should be: libgtkhtml is on the system (Version 3.0.10-r1), and the /usr/lib/pkgconfig folder contains libgtkhtml-3.0.pc .. but not 2.0 ...
Created attachment 37855 [details] emerge log: scilab-3.0
Created attachment 37856 [details] emerge log: libgtkhtml-3.0.10-r1
Maybe scilab absolutely requires libgtkhtml version 2. Check if you have "libgtkhtml-2" installed (emerge -p =libgtkhtml-2*). If not, please install it then try to install scilab again.
I have both 2 and 3 versions of libgtkhtml: aconite scilab # emerge -Cp libgtkhtml >>> These are the packages that I would unmerge: gnome-extra/libgtkhtml selected: 2.6.2 3.0.10-r1 protected: none omitted: none From my log of compiling scilab, it looks like it needs the version 2: aconite portage # cat 4249-scilab-3.0.log | grep gtkhtml checking for html_document_open_stream in -lgtkhtml-2... yes gcc -O -Dlinux -fwritable-strings -DNARROWPROTO `pkg-config gtk+-2.0 --cflags` -I/usr/include -I/usr/include `pkg-config libgtkhtml-2.0 --cflags` -c helpbrowser.c gcc -o browsehelpexe browsehelpexe.c -O -Dlinux -fwritable-strings -DNARROWPROTO `pkg-config gtk+-2.0 --cflags` -I/usr/X11R6/include -I/usr/include -I/usr/include -I. -lieee -L/usr/lib -ltk8.4 -L/usr/lib -ltcl8.4 -ldl `pkg-config gtk+-2.0 libgtkhtml-2.0 --libs` -L/usr/X11R6/lib -lXaw3d -lXmu -lXt -lXext -lSM -lICE -lX11 -lm
Had just libgtkhtml 3 installed. After pulling in version two scilab installed fine, so you're probably rigth about scilab absolutely requireing libgtkhtml version 2. So changing the depencies in the ebuild should fix this. Daniel
Fixed in Portage. Thanks for reporting and for the feedback.