libcurl4-openssl-dev:amd64 and libcurl4-openssl-dev:i386 both want to
install /usr/bin/curl-config, but the file varies unnecessarily by
architecture.

mark@mela zsh% shasum -a 256 
libcurl4-openssl-dev_7.52.1-4ubuntu1.1_*/data/usr/bin/curl-config
223e5aa695ab4f5ce24b41397ee828f59240c5252075de9e4b4d730fa333bc12  
libcurl4-openssl-dev_7.52.1-4ubuntu1.1_amd64/data/usr/bin/curl-config
283beb056326c71097e6d109db85f92e1768c9fc3847bb0541812ff2afda3dba  
libcurl4-openssl-dev_7.52.1-4ubuntu1.1_i386/data/usr/bin/curl-config

They only differ in a small and insignificant part of the string in the
line that follows --configure in this script.

mark@mela zsh% diff -U1 
libcurl4-openssl-dev_7.52.1-4ubuntu1.1_*/data/usr/bin/curl-config
--- libcurl4-openssl-dev_7.52.1-4ubuntu1.1_amd64/data/usr/bin/curl-config       
2017-04-17 20:20:57.000000000 +0000
+++ libcurl4-openssl-dev_7.52.1-4ubuntu1.1_i386/data/usr/bin/curl-config        
2017-04-17 20:20:57.000000000 +0000
@@ -157,3 +157,3 @@
     --configure)
-        echo " … 'CFLAGS=-g -O2 
-fdebug-prefix-map=/build/curl-5aqeqB/curl-7.52.1=. …'"
+        echo " … 'CFLAGS=-g -O2 
-fdebug-prefix-map=/build/curl-95csPZ/curl-7.52.1=. …'"
         ;;

Those randomly generated directory names, /build/curl-5aqeqB vs. /build
/curl-95csPZ, are causing each architecture’s curl-config to differ.
They’re also not helping anyone at all being carried all the way through
to the shipping /usr/bin/curl-config.

This is also
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1565498,
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1513693.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1451525

Title:
  package libcurl4-gnutls-dev 7.37.1-1ubuntu3.4 failed to
  install/upgrade: trying to overwrite shared '/usr/bin/curl-config',
  which is different from other instances of package libcurl4-gnutls-
  dev:i386

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1451525/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to