[ 
https://issues.apache.org/jira/browse/CASSANDRA-10853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15246370#comment-15246370
 ] 

Michael Shuler commented on CASSANDRA-10853:
--------------------------------------------

Since we are now building architecture-specific libraries, the package is no 
longer technically an arch-all build:
{noformat}
dh_python2
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
I: dh_python2 fs:298: renaming copyutil.so to copyutil.x86_64-linux-gnu.so
{noformat}
{noformat}
$ dpkg --contents ../cassandra_3.4_all.deb | grep python
drwxr-xr-x root/root         0 2016-04-18 14:08 ./usr/lib/python2.7/
drwxr-xr-x root/root         0 2016-04-18 14:08 
./usr/lib/python2.7/dist-packages/
-rw-r--r-- root/root       208 2016-04-18 14:08 
./usr/lib/python2.7/dist-packages/cassandra_pylib-0.0.0.egg-info
drwxr-xr-x root/root         0 2016-04-18 14:08 
./usr/lib/python2.7/dist-packages/cqlshlib/
-rw-r--r-- root/root     54083 2016-04-18 13:48 
./usr/lib/python2.7/dist-packages/cqlshlib/cql3handling.py
-rw-r--r-- root/root   6194568 2016-04-18 14:08 
./usr/lib/python2.7/dist-packages/cqlshlib/copyutil.x86_64-linux-gnu.so
-rw-r--r-- root/root      4532 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/helptopics.py
-rw-r--r-- root/root     12973 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/cqlhandling.py
-rw-r--r-- root/root       784 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/__init__.py
-rw-r--r-- root/root      2711 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/saferscanner.py
-rw-r--r-- root/root      4525 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/util.py
-rw-r--r-- root/root     15872 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/wcwidth.py
-rw-r--r-- root/root     19445 2016-04-18 13:48 
./usr/lib/python2.7/dist-packages/cqlshlib/formatting.py
-rw-r--r-- root/root     18854 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/pylexotron.py
-rw-r--r-- root/root      3268 2016-04-18 13:48 
./usr/lib/python2.7/dist-packages/cqlshlib/tracing.py
-rw-r--r-- root/root    101082 2016-04-18 13:48 
./usr/lib/python2.7/dist-packages/cqlshlib/copyutil.py
-rw-r--r-- root/root      3725 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/sslhandling.py
-rw-r--r-- root/root      3956 2016-04-18 13:47 
./usr/lib/python2.7/dist-packages/cqlshlib/displaying.py
{noformat}

> deb package migration to dh_python2
> -----------------------------------
>
>                 Key: CASSANDRA-10853
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10853
>             Project: Cassandra
>          Issue Type: Task
>          Components: Packaging
>            Reporter: Michael Shuler
>            Assignee: Michael Shuler
>             Fix For: 3.0.x, 3.x
>
>
> I'm working on a deb job in jenkins, and I had forgotten to open a bug for 
> this. There is no urgent need, since {{python-support}} is in Jessie, but 
> this package is currently in transition to be removed.
> http://deb.li/dhs2p
> During deb build:
> {noformat}
> dh_pysupport: This program is deprecated, you should use dh_python2 instead. 
> Migration guide: http://deb.li/dhs2p
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to