ApolloAuto / apollo

An open autonomous driving platform
Apache License 2.0
25.06k stars 9.68k forks source link

[BUG] proto.so and proto.a files are in the included dirs in the apollo/neo/ apt packages. #15371

Open ZhenshengLee opened 5 months ago

ZhenshengLee commented 5 months ago

Describe the bug

I install the debs through ubuntu apt, and found many bazel installation output path in the deb packages.

To Reproduce Steps to reproduce the behavior:

sudo bash -c "echo 'deb https://apollo-pkg-beta.cdn.bcebos.com/neo/beta bionic main' >> /etc/apt/sources.list"
wget -O - https://apollo-pkg-beta.cdn.bcebos.com/neo/beta/key/deb.gpg.key | sudo apt-key add -
sudo apt update

sudo apt install apollo-neo-cyber-dev

dpkg -L apollo-neo-common-msgs-dev | grep -Ei audio_msgs | grep .so

the output shows

/opt/apollo/neo/packages/common-msgs-dev/1.0.0.1/include/audio_msgs/libaudio_common_proto.so
/opt/apollo/neo/packages/common-msgs-dev/1.0.0.1/include/audio_msgs/libaudio_event_proto.so
/opt/apollo/neo/packages/common-msgs-dev/1.0.0.1/include/audio_msgs/libaudio_proto.so

Expected behavior

the library binary should be installed in the proper, clear directories.

Desktop (please complete the following information):

Additional context

I believe the latest https://github.com/ApolloAuto/apollo/blob/master/scripts/apollo_release.sh will not install the binary in the manner of bazel.