Bug 241342 - devel/binutils: fails to build: fatal error: 'libintl.h' file not found
Summary: devel/binutils: fails to build: fatal error: 'libintl.h' file not found
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-10-19 13:20 UTC by Martin Filla
Modified: 2021-07-15 15:56 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bapt)


Attachments
config.log (93.74 KB, text/plain)
2019-10-19 17:18 UTC, Martin Filla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2019-10-19 13:20:26 UTC
Hello, i compiled virtualbox-ose with portmaster
but i installed gettext library but i have still problem with libintl.h

FreeBSD  12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC  amd64
version virtualbox : virtualbox-ose-5.2.32_1

Makefile:3917: warning: ignoring old recipe for target 'ifuncmain7picstatic'
(for i in `seq 1 70000`; do \
   echo "int var_$i __attribute__((section(\"section_$i\"))) = $i;"; \
 done) > many_sections_define.h.tmp
mv -f many_sections_define.h.tmp many_sections_define.h
(for i in `seq 1 1000 70000`; do \
   echo "assert(var_$i == $i);"; \
 done) > many_sections_check.h.tmp
mv -f many_sections_check.h.tmp many_sections_check.h
gmake  all-am
gmake[7]: Entering directory '/usr/ports/devel/binutils/work/binutils-2.32/gold/testsuite'
Makefile:3669: warning: overriding recipe for target 'ifuncmain1picstatic'
Makefile:3665: warning: ignoring old recipe for target 'ifuncmain1picstatic'
Makefile:3773: warning: overriding recipe for target 'ifuncmain2picstatic'
Makefile:3769: warning: ignoring old recipe for target 'ifuncmain2picstatic'
Makefile:3805: warning: overriding recipe for target 'ifuncmain4picstatic'
Makefile:3801: warning: ignoring old recipe for target 'ifuncmain4picstatic'
Makefile:3845: warning: overriding recipe for target 'ifuncmain5picstatic'
Makefile:3841: warning: ignoring old recipe for target 'ifuncmain5picstatic'
Makefile:3921: warning: overriding recipe for target 'ifuncmain7picstatic'
Makefile:3917: warning: ignoring old recipe for target 'ifuncmain7picstatic'
gmake[7]: Nothing to be done for 'all-am'.
gmake[7]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.32/gold/testsuite'
gmake[6]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.32/gold/testsuite'
gmake[6]: Entering directory '/usr/ports/devel/binutils/work/binutils-2.32/gold'
/usr/local/bin/clang++80 -DHAVE_CONFIG_H -I.  -I. -I./../include -I./../elfcpp -DLOCALEDIR="\"/usr/local/share/locale\"" -DBINDIR="\"/usr/local/bin\"" -DTOOLBINDIR="\"/usr/local/x86_64-portbld-freebsd12.0/bin\"" -DTOOLLIBDIR="\"/usr/local/x86_64-portbld-freebsd12.0/lib\""   -W -Wall    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=archive.o  -pthread -O2 -pipe  -Wno-c++11-narrowing  -MT archive.o -MD -MP -MF .deps/archive.Tpo -c -o archive.o archive.cc
In file included from archive.cc:23:
In file included from ./gold.h:35:
./system.h:38:11: fatal error: 'libintl.h' file not found
# include <libintl.h>
          ^~~~~~~~~~~
1 error generated.
gmake[6]: *** [Makefile:1133: archive.o] Error 1
gmake[6]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.32/gold'
gmake[5]: *** [Makefile:1156: all-recursive] Error 1
gmake[5]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.32/gold'
gmake[4]: *** [Makefile:896: all] Error 2
gmake[4]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.32/gold'
gmake[3]: *** [Makefile:6043: all-gold] Error 2
gmake[3]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.32'
gmake[2]: *** [Makefile:849: all] Error 2
gmake[2]: Leaving directory '/usr/ports/devel/binutils/work/binutils-2.32'
*** Error code 1
Comment 1 Tobias Kortkamp freebsd_committer freebsd_triage 2019-10-19 14:14:47 UTC
Problem is clearly in devel/binutils per the build log. Reassign accordingly.
Comment 2 Martin Filla 2019-10-19 17:18:12 UTC
Created attachment 208423 [details]
config.log

Hi, 
here is config log from binutils 2.32 from compilation with portmaster
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2021-07-15 15:56:24 UTC
I've successfully compile current devel/binutils port with and without NLS option. The problem seems to gone.

Feel free to reopen this PR, if the problem persists.