pkgsrc-Bugs archive

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

pkg/40151: bootstrap of pkgsrc fails on Ubuntu 8.10



>Number:         40151
>Category:       pkg
>Synopsis:       bootstrap of pkgsrc fails on Ubuntu 8.10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 11 00:05:00 +0000 2008
>Originator:     Ulrich Habel
>Release:        Ubuntu 8.10
>Organization:
>Environment:
Linux spiff 2.6.27-9-generic #1 SMP Thu Nov 20 21:57:00 UTC 2008 i686 GNU/Linux


>Description:
When I try to bootstrap pkgsrc -current on Ubuntu the build of bmake breaks:

gcc *.o lst.lib/*.o -o bmake.boot  
rm -f *.[ado] */*.[ado] 
CC="gcc" LIBC= MAKEFLAGS= 
MAKESYSPATH=`pwd`/mk:/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/share/mk:mk:/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
 ./bmake.boot -f Makefile 
gcc -O2 
-D_PATH_DEFSYSPATH=\"/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/share/mk\"
 -I. -I/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/bmake 
-DHAVE_CONFIG_H  
-I/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/bmake/missing 
-DNEED_HOST_CDEFS_H  -DMAKE_NATIVE  -DSIGNAL_FLAGS=SA_RESTART  -Werror   -c 
/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/bmake/arch.c
cc1: warnings being treated as errors
/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/bmake/arch.c: In function 
?Arch_Touch?:
/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/bmake/arch.c:1036: error: 
ignoring return value of ?fwrite?, declared with attribute warn_unused_result
*** Error code 1

Stop.
bmake.boot: stopped in 
/home/rhaen/Development/NetBSD/pkgsrc/bootstrap/work/bmake/Linux
make: *** [bootstrap] Error 1
===> exited with status 1
aborted.

>How-To-Repeat:
Try to bootstrap pkgsrc on Ubuntu 8.10. Used flags:

./bootstrap --prefix /home/rhaen/pkg --pkgdbdir /home/rhaen/pkg/.pkgdb 
--unprivileged
>Fix:



Home | Main Index | Thread Index | Old Index