pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48909: databases/db4 fails to build with gcc-4.9.0 on linux 3.14.6



>Number:         48909
>Category:       pkg
>Synopsis:       databases/db4 fails to build with gcc-4.9.0 on linux 3.14.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 14 14:45:00 +0000 2014
>Originator:     Philip Miller
>Release:        current
>Organization:
>Environment:
System: Linux phantom 3.14.6-1-ARCH #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 
x86_64 GNU/Linux
>Description:
--- db_upgrade ---
./libtool --mode=execute true db_upgrade
--- db_verify ---
./libtool --mode=execute true db_verify
--- libdb4_cxx-4.8.la ---
g++: error: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crti.o: 
No such file or directory
g++: error: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtbeginS.o: No such 
file or directory
g++: error: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/crtendS.o: No such file 
or directory
g++: error: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../../lib/crtn.o: 
No such file or directory
*** [libdb4_cxx-4.8.la] Error code 1
>How-To-Repeat:
cd $PKGSRC/databases/db4 && bmake

>Fix:
The main problem is the wrong compiler version. 
4.8.2 is assumed, but 4.9.0 is used, so I think only one variable must be 
changed to fix this error, but I don't know which.
Furthermore, this is not the only package, which throws this error, som other 
have similiar problems..., so I think, there must be something set in the mk 
files



Home | Main Index | Thread Index | Old Index