Bug 158425 - cannot portupgrade graphics/vigra
Summary: cannot portupgrade graphics/vigra
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Vasil Dimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-29 11:50 UTC by Andrei Lavreniyuk
Modified: 2011-07-25 07:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Lavreniyuk 2011-06-29 11:50:06 UTC
# portupgrade vigra-1.6.0_3
--->  Upgrading 'vigra-1.6.0_3' to 'vigra-1.7.1' (graphics/vigra)
--->  Building '/usr/ports/graphics/vigra'
===>  Cleaning for hdf5-1.6.9_1
===>  Cleaning for vigra-1.7.1
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for vigra-1.7.1
=> SHA256 Checksum OK for vigra-1.7.1-src.tar.gz.
===>  Patching for vigra-1.7.1
===>   vigra-1.7.1 depends on file: /usr/local/bin/cmake - found
===>   vigra-1.7.1 depends on shared library: tiff - found
===>   vigra-1.7.1 depends on shared library: jpeg - found
===>   vigra-1.7.1 depends on shared library: png - found
===>   vigra-1.7.1 depends on shared library: fftw3 - found
===>   vigra-1.7.1 depends on shared library: hdf5 - found
===>  Configuring for vigra-1.7.1
/bin/mkdir -p /usr/ports/graphics/vigra/work/vigra-1.7.1
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring VIGRA version 1.7.1
-- Searching for TIFF
-- Found TIFF: /usr/local/lib/libtiff.so 
-- Searching for JPEG
-- Found JPEG: /usr/local/lib/libjpeg.so 
-- Searching for PNG
-- Found ZLIB: /usr/include (found version "1.2.3")
-- Found PNG: /usr/local/lib/libpng.so 
-- Searching for FFTW3
-- Found FFTW3: /usr/local/lib/libfftw3.so 
-- Searching for HDF5
-- Checking HDF5 version (at least 1.6): ok
-- Found HDF5: /usr/local/lib/libhdf5.so 
-- Found Doxygen: /usr/local/bin/doxygen 
-- Found PythonInterp: /usr/local/bin/python2.7 
-- Checking VIGRANUMPY_DEPENDENCIES
-- Searching for Boost
-- Boost version: 1.45.0
-- Found the following Boost libraries:
--   python
-- Found PythonLibs: /usr/local/lib/libpython2.7.so 
-- Searching for Python numpy: ok
-- Searching for Python nosetests: ok
-- Could NOT find sphinx documentation generator
-- Found VIGRANUMPY_DEPENDENCIES: TRUE 
-- ---------------------------------------------------------
-- VIGRA configuration information:
-- ---------------------------------------------------------
--   Using TIFF libraries: /usr/local/lib/libtiff.so
--   Using JPEG libraries: /usr/local/lib/libjpeg.so
--   Using PNG  libraries: /usr/local/lib/libpng.so;/usr/lib/libz.so
--   Using FFTW libraries: /usr/local/lib/libfftw3.so
--   Using HDF5 libraries: /usr/local/lib/libhdf5.so;/usr/local/lib/libhdf5_hl.so;/usr/lib/libz.so
--   Using Python libraries: /usr/local/lib/libpython2.7.so;optimized;/usr/local/lib/libboost_python.so;debug;/usr/local/lib/libboost_python.so
-- ---------------------------------------------------------
--   binaries will be generated in: /usr/ports/graphics/vigra/work/vigra-1.7.1
--   manuals will be generated in: /usr/ports/graphics/vigra/work/vigra-1.7.1/doc
-- ---------------------------------------------------------
--   includes will be installed at: /usr/local/include
--   libraries will be installed at: /usr/local/lib
--   binaries will be installed at: /usr/local/bin
--   vigra manuals will be installed at: /usr/local/share/doc/vigra/vigra/index.html
--   vigranumpy will be installed at /usr/local/lib/python2.7/site-packages
--   vigranumpy manuals cannot be generated (Sphinx missing)
-- ---------------------------------------------------------
-- Configuring done
-- Generating done
CMake Warning: The variable, 'CMAKE_THREAD_LIBS', specified manually, was not used during the generation.
CMake Warning: The variable, 'CMAKE_USE_PTHREADS', specified manually, was not used during the generation.
CMake Warning: The variable, 'THREADS_HAVE_PTHREAD_ARG', specified manually, was not used during the generation.
-- Build files have been written to: /usr/ports/graphics/vigra/work/vigra-1.7.1
===>  Building for vigra-1.7.1
Scanning dependencies of target vigraimpex
[  3%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/bmp.cxx.o
[  6%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/byteorder.cxx.o
[  9%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/codecmanager.cxx.o
[ 12%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/gif.cxx.o
[ 15%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/hdr.cxx.o
[ 18%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/hdf5impex.cxx.o
In file included from /usr/ports/graphics/vigra/work/vigra-1.7.1/src/impex/hdf5impex.cxx:38:
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:442: error: expected ',' or '...' before '*' token
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:442: error: ISO C++ forbids declaration of 'H5L_info_t' with no type
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx: In static member function 'static herr_t vigra::HDF5File::opFunc(hid_t, const char*, int)':
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:445: error: 'H5O_info_t' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:445: error: expected `;' before 'infobuf'
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:446: error: 'infobuf' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:446: error: 'H5Oget_info_by_name' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:449: error: 'H5O_TYPE_GROUP' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:451: error: 'operator_data' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:453: error: 'H5O_TYPE_DATASET' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:455: error: 'operator_data' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx: In member function 'void vigra::HDF5File::cd(std::string)':
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:524: error: 'H5Lexists' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:533: error: 'H5Lexists' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx: In member function 'std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > vigra::HDF5File::ls()':
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:602: error: 'H5_INDEX_NAME' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:602: error: 'H5_ITER_NATIVE' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:602: error: 'H5Literate' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx: In member function 'std::string vigra::HDF5File::getAttribute(std::string, std::string)':
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:691: error: 'H5Lexists' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:704: error: 'H5Aopen_by_name' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx: In member function 'hid_t vigra::HDF5File::getDatasetHandle_(std::string)':
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:1174: error: 'H5Lexists' was not declared in this scope
/usr/ports/graphics/vigra/work/vigra-1.7.1/include/vigra/hdf5impex.hxx:1193: error: 'H5Lexists' was not declared in this scope
*** Error code 1

Stop in /usr/ports/graphics/vigra/work/vigra-1.7.1.
*** Error code 1

Stop in /usr/ports/graphics/vigra/work/vigra-1.7.1.
*** Error code 1

Stop in /usr/ports/graphics/vigra/work/vigra-1.7.1.
*** Error code 1

Stop in /usr/ports/graphics/vigra.
** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20110629-47304-1ad7ho-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=vigra-1.6.0_3 UPGRADE_PORT_VER=1.6.0_3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! graphics/vigra (vigra-1.6.0_3)        (bad C++ code)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-06-29 11:50:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vd

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-06-29 12:42:56 UTC
vd          2011-06-29 11:42:48 UTC

  FreeBSD ports repository

  Modified files:
    graphics/vigra       Makefile 
  Log:
  Use science/hdf5-18 instead of science/hdf5 as dependency
  
  In testing I used science/hdf5-18 but have somehow written science/hdf5
  in the Makefile and it worked because the same lib is provided by
  science/hdf5 too. This should fix [1].
  
  PR:             ports/158425 [1]
  Submitted by:   Andrei Lavreniyuk <andy.lavr@gmail.com>
  
  Revision  Changes    Path
  1.22      +1 -1      ports/graphics/vigra/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Vasil Dimov freebsd_committer freebsd_triage 2011-06-29 12:43:24 UTC
State Changed
From-To: open->feedback

Andrei, I have committed a fix, can you fetch the latest graphics/vigra 
and confirm that it fixes the problem you have reported? 

http://lists.freebsd.org/pipermail/cvs-ports/2011-June/220020.html 

Thanks!
Comment 4 Andrei Lavreniyuk 2011-06-29 13:14:11 UTC
Solved. Thanks!
Comment 5 Andrei Lavreniyuk 2011-07-13 07:58:01 UTC
Hi!


Please close PR. Thanks.


---
Best regards, Andrei Lavreniyuk.
Comment 6 Vasil Dimov freebsd_committer freebsd_triage 2011-07-25 07:45:31 UTC
State Changed
From-To: feedback->closed

Solved