Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647232 - dev-util/astyle-3.1[java]: wrong library in dolib, libastylej.so.3.1 should be libastylej.so.3.1.0
Summary: dev-util/astyle-3.1[java]: wrong library in dolib, libastylej.so.3.1 should b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-10 15:57 UTC by Erik Zeek
Modified: 2018-07-06 13:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info '=dev-util/astyle-3.1::gentoo' (emerge-info.txt,13.33 KB, text/plain)
2018-02-10 15:57 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2018-02-10 15:57:17 UTC
Created attachment 518952 [details]
emerge --info '=dev-util/astyle-3.1::gentoo'

The line:
dolib.so lib${PN}j.so.${PV}

needs a .0 on the end.

 * Package:    dev-util/astyle-3.1
 * Repository: gentoo
 * Maintainer: tamiko@gentoo.org
 * Upstream:   jimp03@email.com https://sourceforge.net/p/astyle/bugs/
 * USE:        abi_x86_64 amd64 elibc_glibc java kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
 * Using: oracle-jdk-bin-1.8
>>> Unpacking source...
>>> Unpacking astyle_3.1_linux.tar.gz to /gentoo/tmp/portage/dev-util/astyle-3.1/work
>>> Source unpacked in /gentoo/tmp/portage/dev-util/astyle-3.1/work
>>> Preparing source in /gentoo/tmp/portage/dev-util/astyle-3.1/work/astyle ...
>>> Source prepared.
>>> Configuring source in /gentoo/tmp/portage/dev-util/astyle-3.1/work/astyle ...
>>> Source configured.
>>> Compiling source in /gentoo/tmp/portage/dev-util/astyle-3.1/work/astyle ...
make -j8 --load-average=18 CXX=x86_64-pc-linux-gnu-g++ -f ../build/gcc/Makefile -C src astyle shared java 
make: Entering directory '/gentoo/tmp/portage/dev-util/astyle-3.1/work/astyle/src'
x86_64-pc-linux-gnu-g++ -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c astyle_main.cpp -o obj/astyle_main.o
x86_64-pc-linux-gnu-g++ -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASBeautifier.cpp -o obj/ASBeautifier.o
x86_64-pc-linux-gnu-g++ -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASFormatter.cpp -o obj/ASFormatter.o
x86_64-pc-linux-gnu-g++ -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASEnhancer.cpp -o obj/ASEnhancer.o
x86_64-pc-linux-gnu-g++ -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASLocalizer.cpp -o obj/ASLocalizer.o
x86_64-pc-linux-gnu-g++ -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASResource.cpp -o obj/ASResource.o
x86_64-pc-linux-gnu-g++ -DASTYLE_LIB -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c astyle_main.cpp -o obj/astyle_main_s.o
x86_64-pc-linux-gnu-g++ -DASTYLE_LIB -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASBeautifier.cpp -o obj/ASBeautifier_s.o
x86_64-pc-linux-gnu-g++ -DASTYLE_LIB -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASFormatter.cpp -o obj/ASFormatter_s.o
x86_64-pc-linux-gnu-g++ -DASTYLE_LIB -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASEnhancer.cpp -o obj/ASEnhancer_s.o
x86_64-pc-linux-gnu-g++ -DASTYLE_LIB -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -c ASResource.cpp -o obj/ASResource_s.o
x86_64-pc-linux-gnu-g++ -DASTYLE_JNI -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -I/opt/oracle-jdk-bin-1.8.0.162/include -I/opt/oracle-jdk-bin-1.8.0.162/include/linux -c astyle_main.cpp -o obj/astyle_main_sj.o
x86_64-pc-linux-gnu-g++ -DASTYLE_JNI -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -I/opt/oracle-jdk-bin-1.8.0.162/include -I/opt/oracle-jdk-bin-1.8.0.162/include/linux -c ASBeautifier.cpp -o obj/ASBeautifier_sj.o
x86_64-pc-linux-gnu-g++ -DASTYLE_JNI -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -I/opt/oracle-jdk-bin-1.8.0.162/include -I/opt/oracle-jdk-bin-1.8.0.162/include/linux -c ASFormatter.cpp -o obj/ASFormatter_sj.o
x86_64-pc-linux-gnu-g++ -DASTYLE_JNI -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -I/opt/oracle-jdk-bin-1.8.0.162/include -I/opt/oracle-jdk-bin-1.8.0.162/include/linux -c ASEnhancer.cpp -o obj/ASEnhancer_sj.o
x86_64-pc-linux-gnu-g++ -DASTYLE_JNI -fPIC -DNDEBUG -Wall -Wextra -fno-rtti -fno-exceptions -std=c++11 -O2 -pipe -ggdb -mtune=native -march=native -I/opt/oracle-jdk-bin-1.8.0.162/include -I/opt/oracle-jdk-bin-1.8.0.162/include/linux -c ASResource.cpp -o obj/ASResource_sj.o
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -o bin/astyle obj/astyle_main.o obj/ASBeautifier.o obj/ASFormatter.o obj/ASEnhancer.o obj/ASLocalizer.o obj/ASResource.o

x86_64-pc-linux-gnu-g++ -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,libastyle.so.3 -o bin/libastyle.so.3.1.0 obj/astyle_main_s.o obj/ASBeautifier_s.o obj/ASFormatter_s.o obj/ASEnhancer_s.o obj/ASResource_s.o

x86_64-pc-linux-gnu-g++ -shared -Wl,-O1 -Wl,--as-needed -Wl,-soname,libastylej.so.3 -o bin/libastylej.so.3.1.0 obj/astyle_main_sj.o obj/ASBeautifier_sj.o obj/ASFormatter_sj.o obj/ASEnhancer_sj.o obj/ASResource_sj.o

make: Leaving directory '/gentoo/tmp/portage/dev-util/astyle-3.1/work/astyle/src'
>>> Source compiled.
>>> Test phase [not enabled]: dev-util/astyle-3.1

>>> Install astyle-3.1 into /gentoo/tmp/portage/dev-util/astyle-3.1/image/ category dev-util
!!! dolib: libastylej.so.3.1 does not exist
 * ERROR: dev-util/astyle-3.1::gentoo failed (install phase):
 *   dolib failed
 * 
 * If you need support, post the output of `emerge --info '=dev-util/astyle-3.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-util/astyle-3.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-util:astyle-3.1:20180210-001513.log.gz'.
 * The ebuild environment file is located at '/gentoo/tmp/portage/dev-util/astyle-3.1/temp/environment'.
 * Working directory: '/gentoo/tmp/portage/dev-util/astyle-3.1/work/astyle/src/bin'
 * S: '/gentoo/tmp/portage/dev-util/astyle-3.1/work/astyle'
 * QA Notice: file does not exist:
 * 
 *      dolib: libastylej.so.3.1 does not exist
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.162"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info =astyle-3.1
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-02-11 21:19:40 UTC
Had the same problem. PR incoming.
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2018-07-06 13:19:52 UTC
This was fixed in https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-util/astyle?id=03617dee8f9bf2344793086434cc98bd809e06aa . Closing.