Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37275 closed defect (invalid)

py27-pygtksourceview

Reported by: jolivetr Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: py27-pygtksourceview

Description (last modified by mf2k (Frank Schima))

Hello,

I have a problem installing the py27-pygtksourceview. At some point, it looks for libpng14.la , while in the Makefile, libpng15 is specified. I looked into the /opt/local/lib directory, there is libpng.la and libpng15.la

Here is a copy of the main.log file, where it crashes:

#####
:notice:build --->  Building py27-pygtksourceview
:debug:build Executing org.macports.build (py27-pygtksourceview)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1" && /usr/bin/make -j4 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1" && /usr/bin/make -j4 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1'
:info:build /usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1'
:info:build Making all in test
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1/test'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1/test'
:info:build Making all in docs
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1/docs'
:info:build /usr/bin/make  all-am
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1/docs'
:info:build make[3]: Nothing to be done for `all-am'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1/docs'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1/docs'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1'
:info:build /bin/sh ./libtool --tag=CC   --mode=link /usr/bin/clang -D_REENTRANT -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/pygtk-2.0 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pygtk-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/libffi-3.0.11/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15 -I/opt/local/include/gtksourceview-2.0 -I/opt/local/include/libxml2   -pipe -O2 -arch x86_64 -Wall -fno-strict-aliasing -module -avoid-version -export-symbols-regex initgtksourceview2   -L/opt/local/lib -arch x86_64 -o gtksourceview2.la -rpath /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages gtksourceview2_la-gtksourceview2module.lo gtksourceview2_la-gtksourceview2.lo -L/opt/local/lib -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lXext -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lintl    
:info:build grep: /opt/local/lib/libpng14.la: No such file or directory
:info:build /opt/local/bin/gsed: can't read /opt/local/lib/libpng14.la: No such file or directory
:info:build libtool: link: `/opt/local/lib/libpng14.la' is not a valid libtool archive
:info:build make[2]: *** [gtksourceview2.la] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/work/pygtksourceview-2.10.1" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port py27-pygtksourceview returned: command execution failed
:debug:build Error code: CHILDSTATUS 30199 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for py27-pygtksourceview: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port py27-pygtksourceview for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pygtksourceview/py27-pygtksourceview/main.log
####

Cheers,

Romain Jolivet

Attachments (1)

search-oldlibpng.sh (679 bytes) - added by jmroot (Joshua Root) 12 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: libpng14 removed
Resolution: invalid
Status: newclosed

In the future, please use WikiFormatting.

You libpng port is out of date. Run the following:

sudo port selfupdate
sudo port upgrade outdated
sudo port clean py27-pygtksourceview
sudo port install py27-pygtksourceview

comment:2 Changed 12 years ago by jmroot (Joshua Root)

If that's not the case, run the attached script which will show you which ports are referencing an old version of libpng. These ports need to be rebuilt. The revisions of all affected ports should already have been incremented, which would cause them to be rebuilt, but if one was missed, let us know.

Changed 12 years ago by jmroot (Joshua Root)

Attachment: search-oldlibpng.sh added

comment:3 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.