Bug 246107

Summary: devel/gdb: c++: note: diagnostic msg:
Product: Ports & Packages Reporter: Abdullah Durak <abdullahdurak95>
Component: Individual Port(s)Assignee: Luca Pizzamiglio <pizzamig>
Status: Open ---    
Severity: Affects Only Me CC: danfe, pizzamig
Priority: --- Keywords: needs-qa
Version: LatestFlags: pizzamig: maintainer-feedback+
Hardware: i386   
OS: Any   

Description Abdullah Durak 2020-05-01 21:06:31 UTC
When i use cd /usr/ports/devel/gdb/ && make install clean BATCH="YES" 

i take that mistake and i dont how how can i solve 

FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0)
Target: i386-unknown-freebsd11.3
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I../../gl -I../../gl -I../../src -I/usr/local/include -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -MT formattermanager.lo -MD -MP -MF .deps/formattermanager.Tpo -c formattermanager.cpp -o formattermanager.o >/dev/null 2>&1
c++: note: diagnostic msg:

Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/regexranges-ec18ba.cpp
c++: note: diagnostic msg: /tmp/regexranges-ec18ba.sh
c++: note: diagnostic msg:

Comment 1 Abdullah Durak 2020-05-01 21:11:56 UTC
and when i use cd /usr/ports/devel/subversion
make install clean BATCH="YES" i take that mistake i dont understand

*** [rijndael.lo] Error code 1

make[5]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.8.5/cipher
--- serpent.lo ---
mv -f .deps/serpent.Tpo .deps/serpent.Plo
--- camellia.lo ---
mv -f .deps/camellia.Tpo .deps/camellia.Plo
--- salsa20.lo ---
mv -f .deps/salsa20.Tpo .deps/salsa20.Plo
--- chacha20.lo ---
mv -f .deps/chacha20.Tpo .deps/chacha20.Plo
--- dsa.lo ---
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall -MT dsa.lo -MD -MP -MF .deps/dsa.Tpo -c dsa.c -o dsa.o >/dev/null 2>&1
mv -f .deps/dsa.Tpo .deps/dsa.Plo
1 error

make[5]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.8.5/cipher
*** [all-recursive] Error code 1

make[4]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.8.5
1 error

make[4]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.8.5
*** [all] Error code 2

make[3]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.8.5
1 error

make[3]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.8.5
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

make[2]: stopped in /usr/ports/security/libgcrypt
*** Error code 1

make[1]: stopped in /usr/ports/security/gnupg
*** Error code 1

make: stopped in /usr/ports/devel/subversion
Comment 2 Alexey Dokuchaev freebsd_committer 2020-07-02 06:49:02 UTC
Both ports build just fine for me on my i386 desktop with fairly recent -CURRENT and in the 11.3-RELEASE tinderbox.  I'm afraid you did not provide enough information for us to make more or less accurate guess about what might be causing the build problems you encounter.  At least "uname -a" output is needed.

Building with BATCH=YES suggests that you're quite happy with default options for both ports.  If that's the case, is there some special reason why you can't simply use prebuilt packages (e.g., "pkg install gdb subversion")?
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2020-07-03 03:34:49 UTC
@Reporter Can you please provide:

- The files mentioned in the "PLEASE ATTACH THE FOLLOWING FILES" error (as attachments)
- Full build log (as an attachment)
Comment 4 Luca Pizzamiglio freebsd_committer 2020-07-04 15:05:48 UTC
As already mentioned, to debug properly this build issue, we would need more information.

port configurations (make showconfig), make.conf, the list of installed packges and the full build log would be helpful.

On our build systems, packages are available.

As workaround, as already mentioned by Alexey, you can install packages via:

  pkg install gdb subversion