Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mpc/mpfr] Add new port / update mpfr #13081

Merged
merged 16 commits into from Jan 25, 2021
Merged

Conversation

Neumann-A
Copy link
Contributor

@Neumann-A Neumann-A commented Aug 22, 2020

might depend on #12936 if windows CI fails

@Neumann-A
Copy link
Contributor Author

@BillyONeal: depends VM update: 2c2f1e4 . AX_PTHREAD missing. https://www.gnu.org/software/autoconf-archive/ax_pthread.html

@JackBoosY JackBoosY added category:new-port The issue is requesting a new library to be added; consider making a PR! category:port-update The issue is with a library, which is requesting update new revision category:infrastructure Pertaining to the CI/Testing infrastrucutre labels Aug 24, 2020
ports/mpfr/portfile.cmake Outdated Show resolved Hide resolved
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
@JackBoosY JackBoosY added depends:vm-update PR contains changes to the VM provisioning scripts and removed category:infrastructure Pertaining to the CI/Testing infrastrucutre labels Aug 24, 2020
@JackBoosY
Copy link
Contributor

mipr:x64-linux:

autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: warning: couldn't open directory 'm4': No such file or directory
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
autoreconf: running: /usr/bin/autoconf --force
configure:14306: error: possibly undefined macro: AX_PTHREAD
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

@Neumann-A
Copy link
Contributor Author

Neumann-A commented Aug 27, 2020

@NancyLi1013: Why requires author-response? autoconf-archive is missing which is why the error is there. See comment #13081 (comment)

@NancyLi1013
Copy link
Contributor

Thanks for your reply. @Neumann-A
In fact, I mean this PR still needs to be fixed. It seems that this label is not suitable. I will remove it now.

@ras0219-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@NancyLi1013
Copy link
Contributor

The failure on x86-windows:

Starting package 239/289: mpfr:x86-windows
Building package mpfr[core]:x86-windows...
Could not locate cached archive: W:\c4\c415306f605f21769b06fd86ed279f2c0a39342e.zip
-- Downloading http://www.mpfr.org/mpfr-4.1.0/mpfr-4.1.0.tar.xz...
-- Extracting source D:/downloads/mpfr-4.1.0.tar.xz
-- Applying patch gmpd.patch
-- Applying patch dll.patch
-- Using source at D:/buildtrees/mpfr/src/mpfr-4-8955d4bc66.clean
CMake Error at scripts/cmake/vcpkg_acquire_msys.cmake:293 (message):
  Unknown packages were required for vcpkg_acquire_msys(texinfo): texinfo

  This can be resolved by explicitly passing URL/SHA pairs to
  DIRECT_PACKAGES.
Call Stack (most recent call first):
  ports/mpfr/portfile.cmake:16 (vcpkg_acquire_msys)
  scripts/ports.cmake:79 (include)

@Neumann-A
Copy link
Contributor Author

@NancyLi1013: Probably due to the changes to msys. Will only touch it if linux vm has the required deps installed otherwise CI will just be red any way.

@JackBoosY
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@JackBoosY
Copy link
Contributor

@JackBoosY
Copy link
Contributor

Although I installed these all 248 ports before install icu, I still can't repro this regression.

@JackBoosY
Copy link
Contributor

JackBoosY commented Jan 14, 2021

Install scintilla before install icu, this regression can't repro too.

@BillyONeal Do you have any suggestions to repro this?

@JackBoosY
Copy link
Contributor

log about icu regression:
failure logs for x86-windows (17).zip

@Neumann-A
Copy link
Contributor Author

Yeah green ... but i am curious what happened to the regression

@JackBoosY
Copy link
Contributor

@Neumann-A Anyway, I recorded that in this PR.

@JackBoosY JackBoosY added the info:reviewed Pull Request changes follow basic guidelines label Jan 19, 2021
@@ -1,6 +1,7 @@
{
"name": "gmp",
"version-string": "6.2.1-2",
"version-string": "6.2.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this already uses a manifest file, why not use version-semver or version versioning schemes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why should it? This is a vcpkg internal update.
As such port-version is the correct thing and should have been from the beginning.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion we should start switching packages to their correct versioning schemes.

Since "version-string" are non-orderable (except by their port version number) by design, continuing to use them will seriously limit the usefulness of "version>=" constraints.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am just doing what vcpkg x-add-version does. If you want "version": "6.2.1", here please tell/teach the command to do that.

@JackBoosY
Copy link
Contributor

JackBoosY commented Jan 22, 2021

[388/459] cmd.exe /C "cd . && D:\downloads\tools\cmake-3.19.2-windows\cmake-3.19.2-win32-x86\bin\cmake.exe -E vs_link_dll --intdir=src\osgEarth\CMakeFiles\osgEarth.dir --rc="C:\PROGRA~2\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe" --mt="C:\PROGRA~2\Windows Kits\10\bin\10.0.19041.0\x64\mt.exe" --manifests  -- "C:\PROGRA~2\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\link.exe"  @CMakeFiles\osgEarth.rsp  /out:lib\osgEarthd.dll /implib:lib\osgEarthd.lib /pdb:lib\osgEarthd.pdb /dll /version:3.1 /machine:x64 /nologo    /debug /INCREMENTAL /NODEFAULTLIB:MSVCRT  && cd ."
FAILED: lib/osgEarthd.dll lib/osgEarthd.lib 
cmd.exe /C "cd . && D:\downloads\tools\cmake-3.19.2-windows\cmake-3.19.2-win32-x86\bin\cmake.exe -E vs_link_dll --intdir=src\osgEarth\CMakeFiles\osgEarth.dir --rc="C:\PROGRA~2\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe" --mt="C:\PROGRA~2\Windows Kits\10\bin\10.0.19041.0\x64\mt.exe" --manifests  -- "C:\PROGRA~2\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\link.exe"  @CMakeFiles\osgEarth.rsp  /out:lib\osgEarthd.dll /implib:lib\osgEarthd.lib /pdb:lib\osgEarthd.pdb /dll /version:3.1 /machine:x64 /nologo    /debug /INCREMENTAL /NODEFAULTLIB:MSVCRT  && cd ."
LINK Pass 1: command "C:\PROGRA~2\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\Hostx64\x64\link.exe @CMakeFiles\osgEarth.rsp /out:lib\osgEarthd.dll /implib:lib\osgEarthd.lib /pdb:lib\osgEarthd.pdb /dll /version:3.1 /machine:x64 /nologo /debug /INCREMENTAL /NODEFAULTLIB:MSVCRT /MANIFEST /MANIFESTFILE:src\osgEarth\CMakeFiles\osgEarth.dir/intermediate.manifest src\osgEarth\CMakeFiles\osgEarth.dir/manifest.res" failed (exit code 1120) with the following output:
   Creating library lib\osgEarthd.lib and object lib\osgEarthd.exp
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: static void __cdecl osgEarth::TiXmlBase::EncodeString(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?EncodeString@TiXmlBase@osgEarth@@SAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEAV34@@Z) referenced in function "void __cdecl `anonymous namespace'::storeNode(class osgEarth::Util::XmlNode const *,class osgEarth::TiXmlNode *)" (?storeNode@?A0x092e8abd@@YAXPEBVXmlNode@Util@osgEarth@@PEAVTiXmlNode@4@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "protected: static char const * __cdecl osgEarth::TiXmlBase::GetEntity(char const *,char *,int *,enum TiXmlEncoding)" (?GetEntity@TiXmlBase@osgEarth@@KAPEBDPEBDPEADPEAHW4TiXmlEncoding@@@Z) referenced in function "protected: static char const * __cdecl osgEarth::TiXmlBase::GetChar(char const *,char *,int *,enum TiXmlEncoding)" (?GetChar@TiXmlBase@osgEarth@@KAPEBDPEBDPEADPEAHW4TiXmlEncoding@@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: virtual __cdecl osgEarth::TiXmlNode::~TiXmlNode(void)" (??1TiXmlNode@osgEarth@@UEAA@XZ) referenced in function "int `public: __cdecl osgEarth::TiXmlComment::TiXmlComment(char const *)'::`1'::dtor$0" (?dtor$0@?0???0TiXmlComment@osgEarth@@QEAA@PEBD@Z@4HA)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlNode const * __cdecl osgEarth::TiXmlNode::FirstChild(char const *)const " (?FirstChild@TiXmlNode@osgEarth@@QEBAPEBV12@PEBD@Z) referenced in function "public: class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlNode::FirstChild(char const *)" (?FirstChild@TiXmlNode@osgEarth@@QEAAPEAV12@PEBD@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlNode const * __cdecl osgEarth::TiXmlNode::LastChild(char const *)const " (?LastChild@TiXmlNode@osgEarth@@QEBAPEBV12@PEBD@Z) referenced in function "public: class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlNode::LastChild(char const *)" (?LastChild@TiXmlNode@osgEarth@@QEAAPEAV12@PEBD@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlNode const * __cdecl osgEarth::TiXmlNode::IterateChildren(class osgEarth::TiXmlNode const *)const " (?IterateChildren@TiXmlNode@osgEarth@@QEBAPEBV12@PEBV12@@Z) referenced in function "public: class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlNode::IterateChildren(class osgEarth::TiXmlNode const *)" (?IterateChildren@TiXmlNode@osgEarth@@QEAAPEAV12@PEBV12@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlNode const * __cdecl osgEarth::TiXmlNode::IterateChildren(char const *,class osgEarth::TiXmlNode const *)const " (?IterateChildren@TiXmlNode@osgEarth@@QEBAPEBV12@PEBDPEBV12@@Z) referenced in function "public: class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlNode::IterateChildren(char const *,class osgEarth::TiXmlNode const *)" (?IterateChildren@TiXmlNode@osgEarth@@QEAAPEAV12@PEBDPEBV12@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlNode::LinkEndChild(class osgEarth::TiXmlNode *)" (?LinkEndChild@TiXmlNode@osgEarth@@QEAAPEAV12@PEAV12@@Z) referenced in function "public: void __cdecl osgEarth::Util::XmlDocument::store(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?store@XmlDocument@Util@osgEarth@@QEBAXAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlNode const * __cdecl osgEarth::TiXmlNode::PreviousSibling(char const *)const " (?PreviousSibling@TiXmlNode@osgEarth@@QEBAPEBV12@PEBD@Z) referenced in function "public: class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlNode::PreviousSibling(char const *)" (?PreviousSibling@TiXmlNode@osgEarth@@QEAAPEAV12@PEBD@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlNode const * __cdecl osgEarth::TiXmlNode::NextSibling(char const *)const " (?NextSibling@TiXmlNode@osgEarth@@QEBAPEBV12@PEBD@Z) referenced in function "public: class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlNode::NextSibling(char const *)" (?NextSibling@TiXmlNode@osgEarth@@QEAAPEAV12@PEBD@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlElement const * __cdecl osgEarth::TiXmlNode::NextSiblingElement(void)const " (?NextSiblingElement@TiXmlNode@osgEarth@@QEBAPEBVTiXmlElement@2@XZ) referenced in function "public: class osgEarth::TiXmlElement * __cdecl osgEarth::TiXmlNode::NextSiblingElement(void)" (?NextSiblingElement@TiXmlNode@osgEarth@@QEAAPEAVTiXmlElement@2@XZ)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlElement const * __cdecl osgEarth::TiXmlNode::NextSiblingElement(char const *)const " (?NextSiblingElement@TiXmlNode@osgEarth@@QEBAPEBVTiXmlElement@2@PEBD@Z) referenced in function "public: class osgEarth::TiXmlElement * __cdecl osgEarth::TiXmlNode::NextSiblingElement(char const *)" (?NextSiblingElement@TiXmlNode@osgEarth@@QEAAPEAVTiXmlElement@2@PEBD@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlElement const * __cdecl osgEarth::TiXmlNode::FirstChildElement(void)const " (?FirstChildElement@TiXmlNode@osgEarth@@QEBAPEBVTiXmlElement@2@XZ) referenced in function "public: class osgEarth::TiXmlElement * __cdecl osgEarth::TiXmlNode::FirstChildElement(void)" (?FirstChildElement@TiXmlNode@osgEarth@@QEAAPEAVTiXmlElement@2@XZ)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlElement const * __cdecl osgEarth::TiXmlNode::FirstChildElement(char const *)const " (?FirstChildElement@TiXmlNode@osgEarth@@QEBAPEBVTiXmlElement@2@PEBD@Z) referenced in function "public: class osgEarth::TiXmlElement * __cdecl osgEarth::TiXmlNode::FirstChildElement(char const *)" (?FirstChildElement@TiXmlNode@osgEarth@@QEAAPEAVTiXmlElement@2@PEBD@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlDocument const * __cdecl osgEarth::TiXmlNode::GetDocument(void)const " (?GetDocument@TiXmlNode@osgEarth@@QEBAPEBVTiXmlDocument@2@XZ) referenced in function "public: class osgEarth::TiXmlDocument * __cdecl osgEarth::TiXmlNode::GetDocument(void)" (?GetDocument@TiXmlNode@osgEarth@@QEAAPEAVTiXmlDocument@2@XZ)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "protected: __cdecl osgEarth::TiXmlNode::TiXmlNode(enum osgEarth::TiXmlNode::NodeType)" (??0TiXmlNode@osgEarth@@IEAA@W4NodeType@01@@Z) referenced in function "public: __cdecl osgEarth::TiXmlComment::TiXmlComment(char const *)" (??0TiXmlComment@osgEarth@@QEAA@PEBD@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlAttribute const * __cdecl osgEarth::TiXmlAttribute::Next(void)const " (?Next@TiXmlAttribute@osgEarth@@QEBAPEBV12@XZ) referenced in function "public: class osgEarth::TiXmlAttribute * __cdecl osgEarth::TiXmlAttribute::Next(void)" (?Next@TiXmlAttribute@osgEarth@@QEAAPEAV12@XZ)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlAttribute const * __cdecl osgEarth::TiXmlAttribute::Previous(void)const " (?Previous@TiXmlAttribute@osgEarth@@QEBAPEBV12@XZ) referenced in function "public: class osgEarth::TiXmlAttribute * __cdecl osgEarth::TiXmlAttribute::Previous(void)" (?Previous@TiXmlAttribute@osgEarth@@QEAAPEAV12@XZ)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl osgEarth::TiXmlAttribute::Parse(char const *,class TiXmlParsingData *,enum TiXmlEncoding)" (?Parse@TiXmlAttribute@osgEarth@@UEAAPEBDPEBDPEAVTiXmlParsingData@@W4TiXmlEncoding@@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl osgEarth::TiXmlAttribute::Print(struct _iobuf *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)const " (?Print@TiXmlAttribute@osgEarth@@QEBAXPEAU_iobuf@@HPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: virtual void __cdecl osgEarth::TiXmlAttribute::Print(struct _iobuf *,int)const " (?Print@TiXmlAttribute@osgEarth@@UEBAXPEAU_iobuf@@H@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: class osgEarth::TiXmlAttribute * __cdecl osgEarth::TiXmlAttributeSet::Find(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?Find@TiXmlAttributeSet@osgEarth@@QEBAPEAVTiXmlAttribute@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "public: int __cdecl osgEarth::TiXmlElement::QueryValueAttribute(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)const " (?QueryValueAttribute@TiXmlElement@osgEarth@@QEBAHAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PEAV34@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl osgEarth::TiXmlElement::TiXmlElement(char const *)" (??0TiXmlElement@osgEarth@@QEAA@PEBD@Z) referenced in function "void __cdecl `anonymous namespace'::storeNode(class osgEarth::Util::XmlNode const *,class osgEarth::TiXmlNode *)" (?storeNode@?A0x092e8abd@@YAXPEBVXmlNode@Util@osgEarth@@PEAVTiXmlNode@4@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: char const * __cdecl osgEarth::TiXmlElement::Attribute(char const *)const " (?Attribute@TiXmlElement@osgEarth@@QEBAPEBDPEBD@Z) referenced in function "public: int __cdecl osgEarth::TiXmlElement::QueryStringAttribute(char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)const " (?QueryStringAttribute@TiXmlElement@osgEarth@@QEBAHPEBDPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: int __cdecl osgEarth::TiXmlElement::QueryDoubleAttribute(char const *,double *)const " (?QueryDoubleAttribute@TiXmlElement@osgEarth@@QEBAHPEBDPEAN@Z) referenced in function "public: int __cdecl osgEarth::TiXmlElement::QueryFloatAttribute(char const *,float *)const " (?QueryFloatAttribute@TiXmlElement@osgEarth@@QEBAHPEBDPEAM@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl osgEarth::TiXmlElement::SetAttribute(char const *,char const *)" (?SetAttribute@TiXmlElement@osgEarth@@QEAAXPEBD0@Z) referenced in function "void __cdecl `anonymous namespace'::storeNode(class osgEarth::Util::XmlNode const *,class osgEarth::TiXmlNode *)" (?storeNode@?A0x092e8abd@@YAXPEBVXmlNode@Util@osgEarth@@PEAVTiXmlNode@4@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: void __cdecl osgEarth::TiXmlElement::RemoveAttribute(char const *)" (?RemoveAttribute@TiXmlElement@osgEarth@@QEAAXPEBD@Z) referenced in function "public: void __cdecl osgEarth::TiXmlElement::RemoveAttribute(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?RemoveAttribute@TiXmlElement@osgEarth@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlComment::Clone(void)const " (?Clone@TiXmlComment@osgEarth@@UEBAPEAVTiXmlNode@2@XZ)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl osgEarth::TiXmlComment::Print(struct _iobuf *,int)const " (?Print@TiXmlComment@osgEarth@@UEBAXPEAU_iobuf@@H@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl osgEarth::TiXmlComment::Parse(char const *,class TiXmlParsingData *,enum TiXmlEncoding)" (?Parse@TiXmlComment@osgEarth@@UEAAPEBDPEBDPEAVTiXmlParsingData@@W4TiXmlEncoding@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl osgEarth::TiXmlComment::Accept(class osgEarth::TiXmlVisitor *)const " (?Accept@TiXmlComment@osgEarth@@UEBA_NPEAVTiXmlVisitor@2@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl osgEarth::TiXmlComment::StreamIn(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamIn@TiXmlComment@osgEarth@@MEAAXPEAV?$basic_istream@DU?$char_traits@D@std@@@std@@PEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl osgEarth::TiXmlText::Print(struct _iobuf *,int)const " (?Print@TiXmlText@osgEarth@@UEBAXPEAU_iobuf@@H@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl osgEarth::TiXmlText::Parse(char const *,class TiXmlParsingData *,enum TiXmlEncoding)" (?Parse@TiXmlText@osgEarth@@UEAAPEBDPEBDPEAVTiXmlParsingData@@W4TiXmlEncoding@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl osgEarth::TiXmlText::Accept(class osgEarth::TiXmlVisitor *)const " (?Accept@TiXmlText@osgEarth@@UEBA_NPEAVTiXmlVisitor@2@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlText::Clone(void)const " (?Clone@TiXmlText@osgEarth@@MEBAPEAVTiXmlNode@2@XZ)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "protected: void __cdecl osgEarth::TiXmlText::CopyTo(class osgEarth::TiXmlText *)const " (?CopyTo@TiXmlText@osgEarth@@IEBAXPEAV12@@Z) referenced in function "public: __cdecl osgEarth::TiXmlText::TiXmlText(class osgEarth::TiXmlText const &)" (??0TiXmlText@osgEarth@@QEAA@AEBV01@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl osgEarth::TiXmlText::StreamIn(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamIn@TiXmlText@osgEarth@@MEAAXPEAV?$basic_istream@DU?$char_traits@D@std@@@std@@PEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl osgEarth::TiXmlDeclaration::TiXmlDeclaration(char const *,char const *,char const *)" (??0TiXmlDeclaration@osgEarth@@QEAA@PEBD00@Z) referenced in function "public: void __cdecl osgEarth::Util::XmlDocument::store(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?store@XmlDocument@Util@osgEarth@@QEBAXAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlDeclaration::Clone(void)const " (?Clone@TiXmlDeclaration@osgEarth@@UEBAPEAVTiXmlNode@2@XZ)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl osgEarth::TiXmlDeclaration::Print(struct _iobuf *,int,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)const " (?Print@TiXmlDeclaration@osgEarth@@UEBAXPEAU_iobuf@@HPEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl osgEarth::TiXmlDeclaration::Parse(char const *,class TiXmlParsingData *,enum TiXmlEncoding)" (?Parse@TiXmlDeclaration@osgEarth@@UEAAPEBDPEBDPEAVTiXmlParsingData@@W4TiXmlEncoding@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl osgEarth::TiXmlDeclaration::Accept(class osgEarth::TiXmlVisitor *)const " (?Accept@TiXmlDeclaration@osgEarth@@UEBA_NPEAVTiXmlVisitor@2@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl osgEarth::TiXmlDeclaration::StreamIn(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamIn@TiXmlDeclaration@osgEarth@@MEAAXPEAV?$basic_istream@DU?$char_traits@D@std@@@std@@PEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlUnknown::Clone(void)const " (?Clone@TiXmlUnknown@osgEarth@@UEBAPEAVTiXmlNode@2@XZ)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl osgEarth::TiXmlUnknown::Print(struct _iobuf *,int)const " (?Print@TiXmlUnknown@osgEarth@@UEBAXPEAU_iobuf@@H@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual char const * __cdecl osgEarth::TiXmlUnknown::Parse(char const *,class TiXmlParsingData *,enum TiXmlEncoding)" (?Parse@TiXmlUnknown@osgEarth@@UEAAPEBDPEBDPEAVTiXmlParsingData@@W4TiXmlEncoding@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl osgEarth::TiXmlUnknown::Accept(class osgEarth::TiXmlVisitor *)const " (?Accept@TiXmlUnknown@osgEarth@@UEBA_NPEAVTiXmlVisitor@2@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "protected: void __cdecl osgEarth::TiXmlUnknown::CopyTo(class osgEarth::TiXmlUnknown *)const " (?CopyTo@TiXmlUnknown@osgEarth@@IEBAXPEAV12@@Z) referenced in function "public: __cdecl osgEarth::TiXmlUnknown::TiXmlUnknown(class osgEarth::TiXmlUnknown const &)" (??0TiXmlUnknown@osgEarth@@QEAA@AEBV01@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl osgEarth::TiXmlUnknown::StreamIn(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamIn@TiXmlUnknown@osgEarth@@MEAAXPEAV?$basic_istream@DU?$char_traits@D@std@@@std@@PEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: __cdecl osgEarth::TiXmlDocument::TiXmlDocument(void)" (??0TiXmlDocument@osgEarth@@QEAA@XZ) referenced in function "public: static class osgEarth::Util::XmlDocument * __cdecl osgEarth::Util::XmlDocument::load(class std::basic_istream<char,struct std::char_traits<char> > &,class osgEarth::URIContext const &)" (?load@XmlDocument@Util@osgEarth@@SAPEAV123@AEAV?$basic_istream@DU?$char_traits@D@std@@@std@@AEBVURIContext@3@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: bool __cdecl osgEarth::TiXmlDocument::LoadFile(char const *,enum TiXmlEncoding)" (?LoadFile@TiXmlDocument@osgEarth@@QEAA_NPEBDW4TiXmlEncoding@@@Z) referenced in function "public: bool __cdecl osgEarth::TiXmlDocument::LoadFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum TiXmlEncoding)" (?LoadFile@TiXmlDocument@osgEarth@@QEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4TiXmlEncoding@@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: bool __cdecl osgEarth::TiXmlDocument::SaveFile(char const *)const " (?SaveFile@TiXmlDocument@osgEarth@@QEBA_NPEBD@Z) referenced in function "public: bool __cdecl osgEarth::TiXmlDocument::SaveFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)const " (?SaveFile@TiXmlDocument@osgEarth@@QEBA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: virtual char const * __cdecl osgEarth::TiXmlDocument::Parse(char const *,class TiXmlParsingData *,enum TiXmlEncoding)" (?Parse@TiXmlDocument@osgEarth@@UEAAPEBDPEBDPEAVTiXmlParsingData@@W4TiXmlEncoding@@@Z) referenced in function "public: static class osgEarth::Util::XmlDocument * __cdecl osgEarth::Util::XmlDocument::load(class std::basic_istream<char,struct std::char_traits<char> > &,class osgEarth::URIContext const &)" (?load@XmlDocument@Util@osgEarth@@SAPEAV123@AEAV?$basic_istream@DU?$char_traits@D@std@@@std@@AEBVURIContext@3@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl osgEarth::TiXmlDocument::Print(struct _iobuf *,int)const " (?Print@TiXmlDocument@osgEarth@@UEBAXPEAU_iobuf@@H@Z)
XmlUtils.cpp.obj : error LNK2019: unresolved external symbol "public: virtual bool __cdecl osgEarth::TiXmlDocument::Accept(class osgEarth::TiXmlVisitor *)const " (?Accept@TiXmlDocument@osgEarth@@UEBA_NPEAVTiXmlVisitor@2@@Z) referenced in function "public: void __cdecl osgEarth::Util::XmlDocument::store(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?store@XmlDocument@Util@osgEarth@@QEBAXAEAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual class osgEarth::TiXmlNode * __cdecl osgEarth::TiXmlDocument::Clone(void)const " (?Clone@TiXmlDocument@osgEarth@@MEBAPEAVTiXmlNode@2@XZ)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "protected: virtual void __cdecl osgEarth::TiXmlDocument::StreamIn(class std::basic_istream<char,struct std::char_traits<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?StreamIn@TiXmlDocument@osgEarth@@MEAAXPEAV?$basic_istream@DU?$char_traits@D@std@@@std@@PEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::VisitEnter(class osgEarth::TiXmlDocument const &)" (?VisitEnter@TiXmlPrinter@@UEAA_NAEBVTiXmlDocument@osgEarth@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::VisitExit(class osgEarth::TiXmlDocument const &)" (?VisitExit@TiXmlPrinter@@UEAA_NAEBVTiXmlDocument@osgEarth@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::VisitEnter(class osgEarth::TiXmlElement const &,class osgEarth::TiXmlAttribute const *)" (?VisitEnter@TiXmlPrinter@@UEAA_NAEBVTiXmlElement@osgEarth@@PEBVTiXmlAttribute@3@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::VisitExit(class osgEarth::TiXmlElement const &)" (?VisitExit@TiXmlPrinter@@UEAA_NAEBVTiXmlElement@osgEarth@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::Visit(class osgEarth::TiXmlDeclaration const &)" (?Visit@TiXmlPrinter@@UEAA_NAEBVTiXmlDeclaration@osgEarth@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::Visit(class osgEarth::TiXmlText const &)" (?Visit@TiXmlPrinter@@UEAA_NAEBVTiXmlText@osgEarth@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::Visit(class osgEarth::TiXmlComment const &)" (?Visit@TiXmlPrinter@@UEAA_NAEBVTiXmlComment@osgEarth@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: virtual bool __cdecl TiXmlPrinter::Visit(class osgEarth::TiXmlUnknown const &)" (?Visit@TiXmlPrinter@@UEAA_NAEBVTiXmlUnknown@osgEarth@@@Z)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "public: static int const * const osgEarth::TiXmlBase::utf8ByteTable" (?utf8ByteTable@TiXmlBase@osgEarth@@2QBHB)
XmlUtils.cpp.obj : error LNK2001: unresolved external symbol "private: static bool osgEarth::TiXmlBase::condenseWhiteSpace" (?condenseWhiteSpace@TiXmlBase@osgEarth@@0_NA)
lib\osgEarthd.dll : fatal error LNK1120: 67 unresolved externals
ninja: build stopped: subcommand failed.

full log
failure logs for x64-windows (15).zip

Will try to rerun the test.

@JackBoosY
Copy link
Contributor

It seems a baseline regression.

@JackBoosY
Copy link
Contributor

Already merged from master.

@dan-shaw dan-shaw merged commit f2ec6c5 into microsoft:master Jan 25, 2021
Jimmy-Hu added a commit to Jimmy-Hu/vcpkg that referenced this pull request Jan 25, 2021
[mpc/mpfr] Add new port / update mpfr (microsoft#13081)
@Neumann-A Neumann-A deleted the add_mpc branch January 25, 2021 07:59
@cenit
Copy link
Contributor

cenit commented Jan 25, 2021

@BillyONeal this is an example of what I was trying to discuss with you earlier: this PR changed a dependency, from mpir to gmp, without any additional note, and broke downstream check in CI for other ports without anyone noticing.
This is not a problem with the scope of this PR of course, which is good and important. The problem is that it caused downstream problems and the CI system is completely blind to them!

The problem is that now, due to already accepted failures in baseline, all ports that were depending on mpir and mpfr are now broken by default, since gmp cannot be installed if mpir is installed.
Also, gmp port is broken on linux at least for me (I don't know why/how/if it passes on ci), and so any additional fix based on it will be even more difficult.

TL;DR : try to install openmvs now. It depends on both gmp and mpir and so it's bound to fail. It was not before. It is completely untested by ci now, and it was not before. This is only an example.

@cenit
Copy link
Contributor

cenit commented Jan 25, 2021

That's similar to what I experience always with the opencv port. Somehow, externally it gets broken and no-one gets notified about that. That just means more work to fix parallel unrelated ports every time I want to update it (and make it really work of course, not just pretending it)

@Neumann-A
Copy link
Contributor Author

Neumann-A commented Jan 25, 2021

Also, gmp port is broken on linux at least for me (I don't know why/how/if it passes on ci)

probably due to #13081 (comment). Need to install autconf-archive

Trying to fix it in #15860 but I really need an inverse dependency lookup for those issues (e.g. vcpkg depend-info gmp --invers or something like that). Furthermore CI should tell us difference between the ports tested in the current master CI and vs the ones in the PR and warn if there is a negative difference.

@cenit
Copy link
Contributor

cenit commented Jan 25, 2021

Yes, you should put a note in the port file for linux and osx to install autoconf-archive (both on apt and in brew).
I don't understand why you need reverse dependency lookup, but anything that might help you or any other port maintainer to do a better job is important

@LilyWangLL LilyWangLL mentioned this pull request Dec 8, 2021
Sungeun0318 pushed a commit to Sungeun0318/-vcpkg that referenced this pull request May 15, 2024
* Add meson from microsoft/vcpkg#12860

* Add autoconf-archive from microsoft/vcpkg#13081

* Add kf5windowsystem libs from microsoft/vcpkg#13467

* Open the FTP and SFTP ports from microsoft/vcpkg#14412

* Add libxcb-util0-dev from microsoft/vcpkg#14678

* Add libasound2-dev from microsoft/vcpkg#14774

* Remove no longer necessary apt-mark calls.

* Update nasm on Linux.

* Fix longstanding bug where Storage was publicly accessible and change to generate SAS token rather than File Share

* Delete no longer necessary azure storage firewall rules.

* Install the newer Windows SDK with the VS installer instead of manually.

* Install the VS2015 and VS2017 compilers.

* Update Powershell-Core to 7.1.0.

* Update source of WDK.

* Update pools.

* [opentracing] Repair arm64-windows failures caused by mojibake in `expected.hpp` and errors in opentracing-cpp's lint for arm64 where it thinks exceptions are disabled when they are enabled.

Fixes:
C:\Dev\vcpkg\buildtrees\opentracing\src\b67575dab0-0250653c81.clean\3rd_party\include\opentracing/expected/expected.hpp(1): warning C4828: The file contains a character starting at offset 0x4a77 that is illegal in the current source character set (codepage 65001).

Fixes:
D:\buildtrees\opentracing\src\b67575dab0-0250653c81.clean\include\opentracing/tracer.h:223:5: error: cannot use 'try' with exceptions disabled [clang-diagnostic-error]
    try {
    ^

* [mmloader] Patch out overrides of CMAKE_C_FLAGS and CMAKE_CXX_FLAGS that inserted /WX.

Note that this port sets /GS-, possibly because it may be for authoring shellcode.

* Bump storage API version to 2020-04-08.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:new-port The issue is requesting a new library to be added; consider making a PR! category:port-update The issue is with a library, which is requesting update new revision info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants