Exiv2 problem

I’m trying to compile ART which is a fork from RawTherapee (Another RawTherapee) and I encountered compiling problems due to some version mix up in the opensuse repos (I think) @System vs Main

I use exiv2 0.27.3-lp152.114.1 but I need the development headers libexiv2-devel which is: 0.26-lp152.8.2.

Where do I get libexiv2-devel for 0.27?


> zypper info exiv2

Loading repository data...
Reading installed packages...

Information for package exiv2:
------------------------------
Repository     : @System
Name           : exiv2
Version        : 0.27.3-lp152.114.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/X11
Installed Size : 331.7 KiB
Installed      : Yes
Status         : up-to-date
Source package : exiv2-0.27.3-lp152.114.1.src
Summary        : Tool to access image Exif metadata
Description    : 
    Exiv2 is a command line utility to access image metadata from tags like
    Exif.

and 

> zypper info libexiv2-27

Loading repository data...
Reading installed packages...


Information for package libexiv2-27:
------------------------------------
Repository     : @System
Name           : libexiv2-27
Version        : 0.27.3-lp152.147.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/graphics
Installed Size : 2.8 MiB
Installed      : Yes
Status         : up-to-date
Source package : exiv2-0.27.3-lp152.147.1.src
Summary        : Library to access image metadata
Description    : 
    libexiv2 is a C++ library with a C compatibility interface to access
    image metadata, esp from Exif tags.


while:

> zypper info libexiv2-devel
Loading repository data...
Reading installed packages...


Information for package libexiv2-devel:
---------------------------------------
Repository     : Main Repository
Name           : libexiv2-devel
Version        : 0.26-lp152.8.2
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 478.3 KiB
Installed      : Yes
Status         : up-to-date
Source package : exiv2-0.26-lp152.8.2.src
Summary        : Development Headers for Exiv2
Description    : 
    Exiv2 is a C++ library and a command line utility to access image
    metadata.

The other problem that I have and it could be related is that both libexiv2-26 and libexiv2-26 are installed:


> zypper se *exiv*
Loading repository data...
Reading installed packages...

S  | Name              | Summary                                                       | Type
---+-------------------+---------------------------------------------------------------+--------
i+ | exiv2             | Tool to access image Exif metadata                            | package
i+ | exiv2-lang        | Translations for package exiv2                                | package
i+ | libexiv2-26       | Library to access image metadata                              | package
   | libexiv2-26-32bit | Library to access image metadata                              | package
i+ | libexiv2-27       | Library to access image metadata                              | package
i+ | libexiv2-devel    | Development Headers for Exiv2                                 | package   <<<< points 0.26
   | libexiv2-doc      | Library to access image metadata - Documentation              | package
i  | libgexiv2-2       | A GObject-based Exiv2 wrapper                                 | package
   | libgexiv2-2-32bit | A GObject-based Exiv2 wrapper                                 | package
   | libgexiv2-devel   | A GObject-based Exiv2 wrapper -- Development Files            | package
   | libkexiv2-devel   | Build environment for libkexiv2, a library to manipulate pi-> | package
   | python-gexiv2     | A GObject-based Exiv2 wrapper                                 | package
   | python-pyexiv2    | Python Bindings to Exiv2                                      | package
   | python3-exiv2     | Python3 bindings for the exiv2 library                        | package
   | python3-gexiv2    | A GObject-based Exiv2 wrapper                                 | package

Thank you

Hi
Good thing about OBS, it shows the vendor :wink:


Information for package exiv2:
------------------------------
Repository     : @System
Name           : exiv2
Version        : 0.27.3-lp152.114.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/X11 <== X11 repository

Information for package libexiv2-27:
------------------------------------
Repository     : @System
Name           : libexiv2-27
Version        : 0.27.3-lp152.147.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/graphics <== Graphics repository

At some point you deleted/disabled those repos, hence now system versions… delete them all and use the Leap version (0.26)? Or add use the Graphics repo to get the versions matching…

Thank you but I’m lost.

I re-enabled the graphics repo, then when I tried to do the update after the refresh I get:


> sudo zypper up
Loading repository data...
Reading installed packages...

The following 34 package updates will NOT be installed:
  exiv2 exiv2-lang graphviz graphviz-gd graphviz-gnome graphviz-plugins-core ImageMagick ImageMagick-config-7-SUSE lensfun-tools
  libdjvulibre21 libdmtx0 libgd3 libgraphviz6 libimagequant0 libjbig2 libjbig2dec0 libjpeg62 libjpeg8 libjpeg8-devel libopenjp2-7
  libopenjpeg1 libpodofo0_9_6 libtiff5 libtiff-devel libturbojpeg0 libwebp7 libwebpdemux2 libwebpmux3 optipng pngquant podofo
  python3-lensfun sane-backends sane-backends-autoconfig

The following 9 packages are going to be upgraded:
  hugin libexiv2-27 libHalf-2_5-25 libIex-2_5-25 libIlmImf-2_5-25 libIlmThread-2_5-25 libImath-2_5-25 timezone timezone-java

9 packages to upgrade.
Overall download size: 13.3 MiB. Already cached: 0 B. After the operation, additional 1.9 KiB will be used.
Continue? [y/n/v/...? shows all options] (y): 

What’s happening with these updates not happening?

Here are my repos:


> zypper repos
Repository priorities in effect:                                                                       (See 'zypper lr -P' for details)
      90 (raised priority)  :  1 repository
      99 (default priority) :  5 repositories

#  | Alias                                | Name                               | Enabled | GPG Check | Refresh
---+--------------------------------------+------------------------------------+---------+-----------+--------
 1 | https-download.opensuse.org-7e7a5ef7 | X11:common:Factory                 | No      | ----      | ----
 2 | https-download.opensuse.org-f20bcae7 | graphics                           | Yes     | (r ) Yes  | Yes
 3 | openSUSE-Leap-15.2-1                 | openSUSE-Leap-15.2-1               | No      | ----      | ----
 4 | packman                              | packman                            | Yes     | (r ) Yes  | Yes
 5 | repo-debug                           | Debug Repository                   | No      | ----      | ----
 6 | repo-debug-non-oss                   | Debug Repository (Non-OSS)         | No      | ----      | ----
 7 | repo-debug-update                    | Update Repository (Debug)          | No      | ----      | ----
 8 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS) | No      | ----      | ----
 9 | repo-non-oss                         | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes
10 | repo-oss                             | Main Repository                    | Yes     | (r ) Yes  | Yes
11 | repo-source                          | Source Repository                  | No      | ----      | ----
12 | repo-source-non-oss                  | Source Repository (Non-OSS)        | No      | ----      | ----
13 | repo-update                          | Main Update Repository             | Yes     | (r ) Yes  | Yes
14 | repo-update-non-oss                  | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes


What am I doing wrong?

Thanks

Hi
What about a dup from the repo…


zypper dup --from 2

“–allow-vendor-change”?

Please use


zypper lr -d


> zypper lr -d
#  | Alias                                | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                 | Service
---+--------------------------------------+------------------------------------+---------+-----------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
 1 | https-download.opensuse.org-7e7a5ef7 | X11:common:Factory                 | No      | ----      | ----    |   99     | rpm-md | https://download.opensuse.org/repositories/X11:/common:/Factory/openSUSE_Leap_15.2/ | 
 2 | https-download.opensuse.org-f20bcae7 | graphics                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.opensuse.org/repositories/graphics/openSUSE_Leap_15.2/             | 
 3 | openSUSE-Leap-15.2-1                 | openSUSE-Leap-15.2-1               | No      | ----      | ----    |   99     | rpm-md | hd:/?device=/dev/disk/by-id/usb-Kingston_FCR-HS3_-0_08735330903799-0:0-part2        | 
 4 | packman                              | packman                            | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.2/                 | 
 5 | repo-debug                           | Debug Repository                   | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.2/repo/oss/                 | 
 6 | repo-debug-non-oss                   | Debug Repository (Non-OSS)         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/15.2/repo/non-oss/             | 
 7 | repo-debug-update                    | Update Repository (Debug)          | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.2/oss/                            | 
 8 | repo-debug-update-non-oss            | Update Repository (Debug, Non-OSS) | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/15.2/non-oss/                        | 
 9 | repo-non-oss                         | Non-OSS Repository                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/non-oss/                   | 
10 | repo-oss                             | Main Repository                    | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.2/repo/oss/                       | 
11 | repo-source                          | Source Repository                  | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.2/repo/oss/                | 
12 | repo-source-non-oss                  | Source Repository (Non-OSS)        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/15.2/repo/non-oss/            | 
13 | repo-update                          | Main Update Repository             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.2/oss                                   | 
14 | repo-update-non-oss                  | Update Repository (Non-Oss)        | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/15.2/non-oss/                          

Thanks

ILL OP added repo #1, installed exiv from it, disabled it, added repo #2.
Now trying to update exiv from repo #2.

Solution:

  1. Uninstall exif.
  2. Install exif and exif-devel from needed repo.

If you are in doubts, use YaST for checking.

Did you take a look at the following private Build of ART?

It seems that, Paolo Stivanin has successfully built ART for Leap 15.3 and Tumbleweed …

To overwrite installed packages (or packages the package manager thinks are installed but may be faulty),
use the -f or --force flags to “force re-install” the app which over-writes whatever exists including any modified configuration files…

zypper in -f exiv2 libexiv2-devel libgexiv2 libgexiv2-devel 

TSU

Thank you for the info