FreeBSD and Portupgrade

wow, so many issues, you’d not believe how many draft blog posts I have going while I try to resolve everything… In fact I have so many I can’t even tell which ones are related right now.

 

So, Today’s newest issue has actually been around for at least 3 weeks, I have noticed when I run portupgrade -ra that a very large number of errors fly by on my screen, all extremely similar and I think all during dependency builds for a single port that I have not captured the name of, but do I do know some of the culprits…

 

Now currently I cannot get a pretty scroll bar to limit the size of the “code” block so I’ll just leave it at the very bottom.  :)

It all seems to revolve around boost, python, and gcc 4.2.2.  I’ve been to /usr/ports/lang/gcc42 & /usr/ports/lang/gcc44 & /usr/ports/lang/gcc45  and ran a sudo make config in each location, all reported back nothing to configure.  I also went to /usr/ports/lang/python and did the same thing and got the same result and one more time for /usr/ports/devel/boost_build with the same results.  so I cannot figure out where the multi-thread checkbox was in the configure screen that I know I checked and I know showed up during a portupgrade I did some time ago and of course was before I started doing system backups.

 

I did the only thing else I could think of… I went to the gcc42 directory and ran sudo make config-recursive install clean and you know what? it did it, it did not tell me it was already installed, in fact it had to DL the gcc-core-4.2-20090325.tar.bz2 file to do the installation, so maybe the issue is that gcc was missing to begin with?

Now I did see some pretty wierd things go by my screen, like “craphunt” and “chamber” (pot?) and of course you can’t have unix without “dump” also saw what is definitely my favorite one “gimplify” tons of java stuff flew off my screen as well.

 

Well at the end it failed because a couple of dependencies failed to install, including gstreamer.  I tried to install gstreamer and it failed, I tried to force the install and it still failed.

 

 


from ./boost/python/tuple.hpp:8,
from libs/python/src/tuple.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
libs/python/src/tuple.cpp: In static member function 'static boost::python::detail::new_reference_t* boost::python::detail::tuple_base::call(const boost::python::api::object&)':
libs/python/src/tuple.cpp:12: warning: dereferencing type-punned pointer will break strict-aliasing rules
"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/tuple.o" "libs/python/src/tuple.cpp"
...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/tuple.o...
..failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/object/pickle_support.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/errors.hpp:12,
from libs/python/src/errors.cpp:10:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o" "libs/python/src/errors.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/errors.o...

from libs/python/src/wrapper.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/wrapper.o" "libs/python/src/wrapper.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/wrapper.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/ssize_t.hpp:9,
from ./boost/python/object.hpp:8,
from ./boost/python/import.hpp:8,
from libs/python/src/import.cpp:6:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o" "libs/python/src/import.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/threading-multi/import.o...

t-aliasing rules

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/tuple.o" "libs/python/src/tuple.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/tuple.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/str.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/str.hpp:8,
from libs/python/src/str.cpp:4:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
libs/python/src/str.cpp: In static member function 'static boost::python::detail::new_reference_t* boost::python::detail::str_base::call(const boost::python::api::object&)':
libs/python/src/str.cpp:16: warning: dereferencing type-punned pointer will break strict-aliasing rules

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/str.o" "libs/python/src/str.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/str.o...

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/inheritance.o" "libs/python/src/object/inheritance.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/inheritance.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/life_support.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/object/life_support.hpp:7,
from libs/python/src/object/life_support.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
libs/python/src/object/life_support.cpp: In function 'PyObject* boost::python::objects::make_nurse_and_patient(PyObject*, PyObject*)':
libs/python/src/object/life_support.cpp:94: warning: dereferencing type-punned pointer will break strict-aliasing rules
libs/python/src/object/life_support.cpp:96: warning: dereferencing type-punned pointer will break strict-aliasing rules

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/life_support.o" "libs/python/src/object/life_support.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/object/life_support.o...

from ./boost/python/detail/wrapper_base.hpp:7,
from ./boost/python/wrapper.hpp:7,
from libs/python/src/wrapper.cpp:5:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/wrapper.o" "libs/python/src/wrapper.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/wrapper.o...
gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/import.o
In file included from ./boost/python/detail/wrap_python.hpp:142,
from ./boost/python/detail/prefix.hpp:13,
from ./boost/python/ssize_t.hpp:9,
from ./boost/python/object.hpp:8,
from ./boost/python/import.hpp:8,
from libs/python/src/import.cpp:6:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory

"c++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthread -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -DNDEBUG -I"." -I"/usr/local/include/python2.6" -c -o "bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/import.o" "libs/python/src/import.cpp"

...failed gcc.compile.c++ bin.v2/libs/python/build/gcc-4.2.1/release/link-static/threading-multi/import.o...

gnome@FreeBSD.org, and attach (a)
"/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/gobject-introspection.
*** Error code 1

Stop in /usr/ports/sysutils/polkit.
*** Error code 1

Stop in /usr/ports/devel/gconf2.
*** Error code 1

Stop in /usr/ports/devel/gconf2.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100331-81619-37oww9-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gconf2-2.26.2_1 UPGRADE_PORT_VER=2.26.2_1 make
** Fix the problem and try again.
---> Skipping 'devel/libgsf' (libgsf-1.14.15_1) because a requisite package 'gconf2-2.26.2_1' (devel/gconf2) failed (specify -k to force)
---> Upgrading 'gstreamer-0.10.24' to 'gstreamer-0.10.28' (multimedia/gstreamer)
---> Building '/usr/ports/multimedia/gstreamer'
===> Cleaning for gobject-introspection-0.6.7

Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome@FreeBSD.org, and attach (a)
"/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.6.7/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer output.
Also, it might be a good idea to provide an overview of all packages installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome@FreeBSD.org), because attachments sent to FreeBSD mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/gobject-introspection.
*** Error code 1

Stop in /usr/ports/multimedia/gstreamer.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100331-81619-kpb867-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gstreamer-0.10.24 UPGRADE_PORT_VER=0.10.24 make
** Fix the problem and try again.
---> Skipping 'x11/libxklavier' (libxklavier-3.9,1) because a requisite package 'iso-codes-3.10.3' (misc/iso-codes) failed (specify -k to force)
---> Skipping 'multimedia/gstreamer-plugins' (gstreamer-plugins-0.10.24,3) because a requisite package 'gstreamer-0.10.24' (multimedia/gstreamer) failed (specify -k to force)
---> Upgrading 'py26-libxml2-2.7.5' to 'py26-libxml2-2.7.6' (textproc/py-libxml2)
---> Building '/usr/ports/textproc/py-libxml2'
===> Cleaning for py26-libxml2-2.7.6

otypes -Wnested-externs -Winline -Wredundant-decls -MT types.lo -MD -MP -MF .deps/types.Tpo -c types.c -fPIC -DPIC -o .libs/types.o
./generator.py:27: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead.
import xmllib
In file included from /usr/local/include/python2.6/Python.h:86,
from libxml_wrap.h:1,
from types.c:9:
/usr/local/include/python2.6/intobject.h:45: warning: ISO C90 does not support 'long long'
In file included from /usr/local/include/python2.6/Python.h:88,
from libxml_wrap.h:1,
from types.c:9:
/usr/local/include/python2.6/longobject.h:47: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:48: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:49: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:50: warning: ISO C90 does not support 'long long'
/usr/local/include/python2.6/longobject.h:51: warning: ISO C90 does not support 'long long'
In file included from libxml_wrap.h:1,
from types.c:9:
/usr/local/include/python2.6/Python.h:168:17: error: pth.h: No such file or directory
gmake[1]: *** [types.lo] Error 1
gmake[1]: *** Waiting for unfinished jobs....

 

 

 

 

About

One thought on “FreeBSD and Portupgrade

Leave a Reply

1 visitors online now
0 guests, 1 bots, 0 members
Max visitors today: 4 at 02:46 am UTC
This month: 44 at 06-03-2020 03:58 am UTC
This year: 80 at 02-23-2020 11:52 pm UTC
All time: 1100 at 08-08-2011 08:11 pm UTC