Bug 274608

Summary: Can't upgrade gettext-runtime
Product: Ports & Packages Reporter: Marek <zillion1>
Component: Individual Port(s)Assignee: Tijl Coosemans <tijl>
Status: Closed Not A Bug    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (tijl)
Priority: ---    
Version: Latest   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
compile log none

Description Marek 2023-10-20 11:06:49 UTC
Created attachment 245759 [details]
compile log

Hi there,

The latest gettext-runtime-0.22.3 port does not build on 13.2-RELEASE-p4.

---

...
Making install in tests
 /bin/mkdir -p '/opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext'
 install  -m 0644 ABOUT-NLS '/opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/gettext'
====> Compressing man pages (compress-man)
ls: /opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/share/info/autosprintf.info*: No such file or directory
===>  Installing for gettext-runtime-0.22.3
===>  Checking if gettext-runtime is already installed
===>   Registering installation for gettext-runtime-0.22.3
pkg-static: Unable to access file /opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/include/autosprintf.h:No such file or directory
pkg-static: Unable to access file /opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.a:No such file or directory
pkg-static: Unable to access file /opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.so:No such file or directory
pkg-static: Unable to access file /opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.so.0:No such file or directory
pkg-static: Unable to access file /opt/workdir/usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.so.0.0.0:No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/gettext-runtime
*** Error code 1

Stop.

---

I've removed earlier version using "pkg remove -f gettext\*" command.

Full compile log attached.
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2023-10-20 12:23:00 UTC
The problem is this line in the compile log:

checking whether the C++ compiler supports namespaces... no

Can you attach /opt/workdir/usr/ports/devel/gettext-runtime/work/gettext-0.22.3/gettext-runtime/config.log?  It should contain more information about why this test fails.
Comment 2 Marek 2023-10-20 12:29:54 UTC
OK, never mind.

I've got problems with /usr/include files after switching from 13-STABLE to 13.2-RELEASE.

There was a big mess, so I had to clean /usr/include and extract older files from base.txz.

A little help I found here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273323

Now it's working.